@infonomic/uikit 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/dist/components/@types/shared.d.ts +9 -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 +11 -0
- package/dist/components/accordion/accordion_module.css +60 -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 +3 -0
- package/dist/components/avatar/avatar.d.ts.map +1 -0
- package/dist/components/avatar/avatar.js +24 -0
- package/dist/components/avatar/avatar.module.js +12 -0
- package/dist/components/avatar/avatar_module.css +44 -0
- package/dist/components/button/@types/button.d.ts +12 -0
- package/dist/components/button/@types/button.d.ts.map +1 -0
- package/dist/components/button/@types/button.js +7 -0
- package/dist/components/button/button-group.d.ts +37 -0
- package/dist/components/button/button-group.d.ts.map +1 -0
- package/dist/components/button/button-group.js +81 -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 +23 -0
- package/dist/components/button/button.d.ts.map +1 -0
- package/dist/components/button/button.js +28 -0
- package/dist/components/button/button.module.js +24 -0
- package/dist/components/button/button_module.css +503 -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 +118 -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 +57 -0
- package/dist/components/button/copy-button.module.js +13 -0
- package/dist/components/button/copy-button_module.css +30 -0
- package/dist/components/button/icon-button.d.ts +9 -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/calendar/calendar.d.ts +31 -0
- package/dist/components/calendar/calendar.d.ts.map +1 -0
- package/dist/components/calendar/calendar.js +122 -0
- package/dist/components/calendar/calendar.module.js +45 -0
- package/dist/components/calendar/calendar_module.css +256 -0
- package/dist/components/card/card.d.ts +44 -0
- package/dist/components/card/card.d.ts.map +1 -0
- package/dist/components/card/card.js +52 -0
- package/dist/components/card/card.module.js +11 -0
- package/dist/components/card/card_module.css +66 -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 +60 -0
- package/dist/components/dropdown/dropdown.d.ts.map +1 -0
- package/dist/components/dropdown/dropdown.js +92 -0
- package/dist/components/dropdown/dropdown.module.js +16 -0
- package/dist/components/dropdown/dropdown_module.css +117 -0
- package/dist/components/hamburger/hamburger.d.ts +11 -0
- package/dist/components/hamburger/hamburger.d.ts.map +1 -0
- package/dist/components/hamburger/hamburger.js +49 -0
- package/dist/components/input/@types/checkbox.d.ts +13 -0
- package/dist/components/input/@types/checkbox.d.ts.map +1 -0
- package/dist/components/input/@types/checkbox.js +10 -0
- package/dist/components/input/@types/input.d.ts +13 -0
- package/dist/components/input/@types/input.d.ts.map +1 -0
- package/dist/components/input/@types/input.js +11 -0
- package/dist/components/input/checkbox-group.d.ts +14 -0
- package/dist/components/input/checkbox-group.d.ts.map +1 -0
- package/dist/components/input/checkbox-group.js +42 -0
- package/dist/components/input/checkbox.d.ts +23 -0
- package/dist/components/input/checkbox.d.ts.map +1 -0
- package/dist/components/input/checkbox.js +47 -0
- package/dist/components/input/checkbox.module.js +25 -0
- package/dist/components/input/checkbox_module.css +248 -0
- package/dist/components/input/error-text.d.ts +9 -0
- package/dist/components/input/error-text.d.ts.map +1 -0
- package/dist/components/input/error-text.js +11 -0
- package/dist/components/input/error-text.module.js +5 -0
- package/dist/components/input/error-text_module.css +13 -0
- package/dist/components/input/errors.d.ts +14 -0
- package/dist/components/input/errors.d.ts.map +1 -0
- package/dist/components/input/errors.js +31 -0
- package/dist/components/input/help-text.d.ts +8 -0
- package/dist/components/input/help-text.d.ts.map +1 -0
- package/dist/components/input/help-text.js +10 -0
- package/dist/components/input/help-text.module.js +5 -0
- package/dist/components/input/help-text_module.css +13 -0
- package/dist/components/input/index.d.ts +9 -0
- package/dist/components/input/index.d.ts.map +1 -0
- package/dist/components/input/index.js +8 -0
- package/dist/components/input/input-adornment.d.ts +11 -0
- package/dist/components/input/input-adornment.d.ts.map +1 -0
- package/dist/components/input/input-adornment.js +15 -0
- package/dist/components/input/input-adornment.module.js +7 -0
- package/dist/components/input/input-adornment_module.css +19 -0
- package/dist/components/input/input.d.ts +25 -0
- package/dist/components/input/input.d.ts.map +1 -0
- package/dist/components/input/input.js +60 -0
- package/dist/components/input/input.module.js +27 -0
- package/dist/components/input/input_module.css +283 -0
- package/dist/components/input/label.d.ts +11 -0
- package/dist/components/input/label.d.ts.map +1 -0
- package/dist/components/input/label.js +18 -0
- package/dist/components/input/label.module.js +6 -0
- package/dist/components/input/label_module.css +22 -0
- package/dist/components/input/radio-group.d.ts +23 -0
- package/dist/components/input/radio-group.d.ts.map +1 -0
- package/dist/components/input/radio-group.js +32 -0
- package/dist/components/input/radio-group.module.js +20 -0
- package/dist/components/input/radio-group_module.css +186 -0
- package/dist/components/input/select.d.ts +33 -0
- package/dist/components/input/select.d.ts.map +1 -0
- package/dist/components/input/select.js +84 -0
- package/dist/components/input/select.module.js +13 -0
- package/dist/components/input/select_module.css +77 -0
- package/dist/components/input/text-area.d.ts +20 -0
- package/dist/components/input/text-area.d.ts.map +1 -0
- package/dist/components/input/text-area.js +45 -0
- package/dist/components/input/text-area.module.js +6 -0
- package/dist/components/input/text-area_module.css +10 -0
- package/dist/components/input/utils.d.ts +3 -0
- package/dist/components/input/utils.d.ts.map +1 -0
- package/dist/components/input/utils.js +11 -0
- package/dist/components/notifications/@types/alert.d.ts +6 -0
- package/dist/components/notifications/@types/alert.d.ts.map +1 -0
- package/dist/components/notifications/@types/alert.js +0 -0
- package/dist/components/notifications/@types/toast.d.ts +9 -0
- package/dist/components/notifications/@types/toast.d.ts.map +1 -0
- package/dist/components/notifications/@types/toast.js +0 -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 +103 -0
- package/dist/components/notifications/alert.module.js +20 -0
- package/dist/components/notifications/alert_module.css +114 -0
- package/dist/components/notifications/index.js +2 -0
- package/dist/components/notifications/toast.d.ts +21 -0
- package/dist/components/notifications/toast.d.ts.map +1 -0
- package/dist/components/notifications/toast.js +82 -0
- package/dist/components/notifications/toast.module.js +24 -0
- package/dist/components/notifications/toast_module.css +207 -0
- package/dist/components/overlay/index.d.ts +2 -0
- package/dist/components/overlay/index.d.ts.map +1 -0
- package/dist/components/overlay/index.js +1 -0
- package/dist/components/overlay/overlay.d.ts +9 -0
- package/dist/components/overlay/overlay.d.ts.map +1 -0
- package/dist/components/overlay/overlay.js +47 -0
- package/dist/components/overlay/overlay.module.js +13 -0
- package/dist/components/overlay/overlay_module.css +42 -0
- package/dist/components/pager/@types/index.d.ts +3 -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 +31 -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 +0 -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 +31 -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 +35 -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 +42 -0
- package/dist/components/pager/pagination.d.ts +104 -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 +98 -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 +33 -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 +32 -0
- package/dist/components/scroll-area/scroll-area.module.js +9 -0
- package/dist/components/scroll-area/scroll-area_module.css +79 -0
- package/dist/components/scroll-to-top/scroll-to-top.d.ts +10 -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 +43 -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 +8 -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 +42 -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 +82 -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 +57 -0
- package/dist/components/timeline/timeline.d.ts +60 -0
- package/dist/components/timeline/timeline.d.ts.map +1 -0
- package/dist/components/timeline/timeline.js +74 -0
- package/dist/components/timeline/timeline.module.js +17 -0
- package/dist/components/timeline/timeline_module.css +77 -0
- package/dist/components/tooltip/tooltip.d.ts +16 -0
- package/dist/components/tooltip/tooltip.d.ts.map +1 -0
- package/dist/components/tooltip/tooltip.js +33 -0
- package/dist/components/tooltip/tooltip.module.js +7 -0
- package/dist/components/tooltip/tooltip_module.css +51 -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/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/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 +25 -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 +24 -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/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/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 +19 -0
- package/dist/icons/icon-sprite.js +10 -0
- package/dist/icons/icons.module.js +44 -0
- package/dist/icons/icons_module.css +148 -0
- package/dist/icons/index.d.ts +40 -0
- package/dist/icons/index.d.ts.map +1 -0
- package/dist/icons/index.js +39 -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 +24 -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/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 +24 -0
- package/dist/icons/types/icon.d.ts +10 -0
- package/dist/icons/types/icon.d.ts.map +1 -0
- package/dist/icons/types/icon.js +0 -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 +24 -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/loaders/ellipses.d.ts +4 -0
- package/dist/loaders/ellipses.d.ts.map +1 -0
- package/dist/loaders/ellipses.js +23 -0
- package/dist/loaders/ring.d.ts +4 -0
- package/dist/loaders/ring.d.ts.map +1 -0
- package/dist/loaders/ring.js +25 -0
- package/dist/loaders/spinner.d.ts +6 -0
- package/dist/loaders/spinner.d.ts.map +1 -0
- package/dist/loaders/spinner.js +22 -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 +0 -0
- package/dist/react.d.ts +97 -0
- package/dist/react.d.ts.map +1 -0
- package/dist/react.js +92 -0
- package/dist/styles/styles.css +1 -0
- package/dist/styles/typography.css +1 -0
- package/dist/theme/theme-provider/index.js +1 -0
- package/dist/theme/theme-provider/provider.js +25 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -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.d.ts +2 -0
- package/dist/utils/getPortalRoot.d.ts.map +1 -0
- package/dist/utils/getPortalRoot.js +4 -0
- package/dist/utils/isTouchDevice.js +3 -0
- package/dist/utils/objectsToArray.js +15 -0
- package/dist/utils/objectsToString.js +5 -0
- package/dist/utils/polymorphic.js +0 -0
- package/dist/utils/to-kebab-case.js +5 -0
- package/dist/widgets/datepicker/datepicker.js +245 -0
- package/dist/widgets/datepicker/datepicker.module.js +33 -0
- package/dist/widgets/datepicker/datepicker_module.css +187 -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 +14 -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-wrapper.d.ts +9 -0
- package/dist/widgets/drawer/drawer-wrapper.d.ts.map +1 -0
- package/dist/widgets/drawer/drawer-wrapper.js +37 -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 +74 -0
- package/dist/widgets/drawer/drawer.module.js +29 -0
- package/dist/widgets/drawer/drawer_module.css +109 -0
- package/dist/widgets/drawer/motionDomAnimation.d.ts +3 -0
- package/dist/widgets/drawer/motionDomAnimation.d.ts.map +1 -0
- package/dist/widgets/drawer/motionDomAnimation.js +4 -0
- package/dist/widgets/drawer/motionDomMax.d.ts +3 -0
- package/dist/widgets/drawer/motionDomMax.d.ts.map +1 -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-wrapper.d.ts +8 -0
- package/dist/widgets/modal/modal-wrapper.d.ts.map +1 -0
- package/dist/widgets/modal/modal-wrapper.js +36 -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 +71 -0
- package/dist/widgets/modal/modal.module.js +14 -0
- package/dist/widgets/modal/modal_module.css +82 -0
- package/dist/widgets/modal/motionDomAnimation.d.ts +3 -0
- package/dist/widgets/modal/motionDomAnimation.d.ts.map +1 -0
- package/dist/widgets/modal/motionDomAnimation.js +4 -0
- package/dist/widgets/modal/motionDomMax.d.ts +3 -0
- package/dist/widgets/modal/motionDomMax.d.ts.map +1 -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 +108 -0
- package/package.json +112 -0
- package/src/astro.js +43 -0
|
@@ -0,0 +1,503 @@
|
|
|
1
|
+
@layer infonomic-base, infonomic-utilities, infonomic-theme, infonomic-typography;
|
|
2
|
+
|
|
3
|
+
@layer infonomic-components {
|
|
4
|
+
.button-IjDhC0 {
|
|
5
|
+
cursor: pointer;
|
|
6
|
+
text-align: center;
|
|
7
|
+
gap: var(--gap-2);
|
|
8
|
+
white-space: nowrap;
|
|
9
|
+
outline-offset: 2px;
|
|
10
|
+
transition: background-color var(--transition-normal), box-shadow var(--transition-normal);
|
|
11
|
+
border-radius: var(--border-radius-sm);
|
|
12
|
+
border: none;
|
|
13
|
+
outline: 2px solid #0000;
|
|
14
|
+
justify-content: center;
|
|
15
|
+
align-items: center;
|
|
16
|
+
font-weight: normal;
|
|
17
|
+
line-height: 0;
|
|
18
|
+
display: inline-flex;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.button-IjDhC0:disabled, .button-IjDhC0[disabled] {
|
|
22
|
+
pointer-events: none;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.button-IjDhC0:focus, .button-IjDhC0:active {
|
|
26
|
+
--ring-offset-color: var(--background);
|
|
27
|
+
--ring-offset-shadow: var(--ring-inset) 0 0 0 var(--ring-offset-width) var(--ring-offset-color);
|
|
28
|
+
--ring-shadow: var(--ring-inset) 0 0 0 calc(1px + var(--ring-offset-width)) var(--ring-color);
|
|
29
|
+
box-shadow: var(--ring-offset-shadow), var(--ring-shadow), var(--shadow, 0 0 #0000);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.button-IjDhC0.square-P_6yde {
|
|
33
|
+
aspect-ratio: 1;
|
|
34
|
+
border-radius: var(--border-radius-sm);
|
|
35
|
+
padding: 0;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.button-IjDhC0.round-uqus3n {
|
|
39
|
+
aspect-ratio: 1;
|
|
40
|
+
border-radius: var(--border-radius-full);
|
|
41
|
+
padding: 0;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.xs-jxTd5R {
|
|
45
|
+
min-height: 26px;
|
|
46
|
+
padding: .2rem .4rem;
|
|
47
|
+
font-size: .7rem;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.sm-uD_Ugt {
|
|
51
|
+
min-height: 32px;
|
|
52
|
+
padding: .25rem .5rem;
|
|
53
|
+
font-size: .775rem;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.md-Qp9ad6 {
|
|
57
|
+
min-height: 38px;
|
|
58
|
+
padding: .625rem 1.25rem;
|
|
59
|
+
font-size: .95rem;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.lg-FAYTen {
|
|
63
|
+
min-height: 46px;
|
|
64
|
+
padding: .75rem 1.5rem;
|
|
65
|
+
font-size: 1.1rem;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.xl-Gwvhl4 {
|
|
69
|
+
min-height: 54px;
|
|
70
|
+
padding: .75rem 1.5rem;
|
|
71
|
+
font-size: 1.2rem;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.filled-CwGsrO {
|
|
75
|
+
color: var(--button-variant-filled-foreground);
|
|
76
|
+
background-color: var(--button-variant-filled);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.filled-CwGsrO:hover {
|
|
80
|
+
background-color: var(--button-variant-filled-hover);
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.filled-CwGsrO:focus, .filled-CwGsrO:active {
|
|
84
|
+
--ring-color: var(--button-ring-color);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.filled-CwGsrO:disabled, .filled-CwGsrO[disabled] {
|
|
88
|
+
background-color: oklch(from var(--button-variant-filled) calc(l * 1.1) calc(c * .85) h);
|
|
89
|
+
color: oklch(from var(--button-variant-filled-foreground) calc(l * .9) calc(c * .85) h);
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.outlined-nZGbxu {
|
|
93
|
+
border: 1px solid var(--button-variant-outlined-border);
|
|
94
|
+
color: var(--button-variant-outlined-foreground);
|
|
95
|
+
background-color: var(--button-variant-outlined);
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.outlined-nZGbxu:disabled, .outlined-nZGbxu[disabled] {
|
|
99
|
+
border-color: oklch(from var(--button-variant-outlined-border) calc(l * 1.5) calc(c * .8) h);
|
|
100
|
+
color: oklch(from var(--button-variant-outlined-foreground) calc(l * 1.1) calc(c * .7) h);
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.outlined-nZGbxu:hover {
|
|
104
|
+
background-color: var(--button-variant-outlined-hover);
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.outlined-nZGbxu:focus, .outlined-nZGbxu:active {
|
|
108
|
+
--ring-color: var(--button-ring-color);
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
.gradient-ySC3O3 {
|
|
112
|
+
color: var(--button-variant-gradient-foreground);
|
|
113
|
+
background: linear-gradient(45deg, var(--button-variant-gradient-start), var(--button-variant-gradient-end));
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.gradient-ySC3O3:disabled, .gradient-ySC3O3[disabled] {
|
|
117
|
+
background: unset;
|
|
118
|
+
background-color: oklch(from var(--button-variant-gradient-end) calc(l * 1.2) calc(c * .85) h);
|
|
119
|
+
color: oklch(from var(--button-variant-gradient-foreground) calc(l * .9) calc(c * .85) h);
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.gradient-ySC3O3:hover {
|
|
123
|
+
color: var(--button-variant-gradient-foreground);
|
|
124
|
+
background: linear-gradient(45deg, var(--button-variant-gradient-start), var(--button-variant-gradient-end));
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
.gradient-ySC3O3:focus, .gradient-ySC3O3:active {
|
|
128
|
+
--ring-color: var(--button-ring-color);
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.text-GaxlcE {
|
|
132
|
+
background-color: var(--button-variant-text);
|
|
133
|
+
color: var(--button-variant-text-foreground);
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
.text-GaxlcE:disabled, .text-GaxlcE[disabled] {
|
|
137
|
+
color: oklch(from var(--button-variant-text-foreground) calc(l * 1.5) calc(c * .5) h);
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
.text-GaxlcE:hover {
|
|
141
|
+
background-color: var(--button-variant-text-hover);
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
.text-GaxlcE:focus, .text-GaxlcE:active {
|
|
145
|
+
--ring-color: var(--button-ring-color);
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
.primary-tUmczz {
|
|
149
|
+
--button: var(--primary-600);
|
|
150
|
+
--button-ring-color: var(--button);
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
.primary-tUmczz.filled-CwGsrO {
|
|
154
|
+
--button-variant-filled: var(--button);
|
|
155
|
+
--button-variant-filled-foreground: white;
|
|
156
|
+
--button-variant-filled-hover: oklch(from var(--button) calc(l * .9) c h);
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
.primary-tUmczz.outlined-nZGbxu {
|
|
160
|
+
--button-variant-outlined: transparent;
|
|
161
|
+
--button-variant-outlined-foreground: var(--primary-700);
|
|
162
|
+
--button-variant-outlined-hover: oklch(from var(--button) calc(l * 2.15) calc(c * .2) h);
|
|
163
|
+
--button-variant-outlined-border: var(--primary-700);
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
.primary-tUmczz.text-GaxlcE {
|
|
167
|
+
--button-variant-text: transparent;
|
|
168
|
+
--button-variant-text-foreground: oklch(from var(--button) calc(l * .7) c h);
|
|
169
|
+
--button-variant-text-hover: oklch(from var(--canvas-50) calc(l * .995) c h);
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
.primary-tUmczz.gradient-ySC3O3 {
|
|
173
|
+
--button-variant-gradient-start: var(--primary-500);
|
|
174
|
+
--button-variant-gradient-end: var(--primary-700);
|
|
175
|
+
--button-variant-gradient-foreground: white;
|
|
176
|
+
--button-variant-gradient-hover: var(--gray-900);
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
.secondary-UqT2AY {
|
|
180
|
+
--button: var(--secondary-500);
|
|
181
|
+
--button-ring-color: var(--button);
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
.secondary-UqT2AY.filled-CwGsrO {
|
|
185
|
+
--button-variant-filled: var(--button);
|
|
186
|
+
--button-variant-filled-foreground: black;
|
|
187
|
+
--button-variant-filled-hover: oklch(from var(--button) calc(l * .95) c h);
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
.secondary-UqT2AY.outlined-nZGbxu {
|
|
191
|
+
--button-variant-outlined: transparent;
|
|
192
|
+
--button-variant-outlined-foreground: var(--secondary-950);
|
|
193
|
+
--button-variant-outlined-hover: oklch(from var(--button) calc(l * 1.6) calc(c * .2) h);
|
|
194
|
+
--button-variant-outlined-border: var(--secondary-700);
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
.secondary-UqT2AY.text-GaxlcE {
|
|
198
|
+
--button-variant-text: transparent;
|
|
199
|
+
--button-variant-text-foreground: oklch(from var(--button) calc(l * .7) c h);
|
|
200
|
+
--button-variant-text-hover: oklch(from var(--canvas-50) calc(l * .995) c h);
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
.secondary-UqT2AY.gradient-ySC3O3 {
|
|
204
|
+
--button-variant-gradient-start: var(--secondary-500);
|
|
205
|
+
--button-variant-gradient-end: var(--secondary-700);
|
|
206
|
+
--button-variant-gradient-foreground: black;
|
|
207
|
+
--button-variant-gradient-hover: var(--gray-900);
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
.noeffect-fpxSgg {
|
|
211
|
+
--button: var(--gray-100);
|
|
212
|
+
--button-ring-color: var(--gray-200);
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
.noeffect-fpxSgg.filled-CwGsrO {
|
|
216
|
+
--button-variant-filled: var(--button);
|
|
217
|
+
--button-variant-filled-foreground: black;
|
|
218
|
+
--button-variant-filled-hover: oklch(from var(--button) calc(l * .95) c h);
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
.noeffect-fpxSgg.outlined-nZGbxu {
|
|
222
|
+
--button-variant-outlined: transparent;
|
|
223
|
+
--button-variant-outlined-foreground: var(--gray-800);
|
|
224
|
+
--button-variant-outlined-hover: oklch(from var(--button) calc(l * 2.9) calc(c * .2) h);
|
|
225
|
+
--button-variant-outlined-border: var(--gray-500);
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
.noeffect-fpxSgg.text-GaxlcE {
|
|
229
|
+
--button-variant-text: transparent;
|
|
230
|
+
--button-variant-text-foreground: oklch(from var(--button) calc(l * .5) c h);
|
|
231
|
+
--button-variant-text-hover: oklch(from var(--canvas-50) calc(l * .995) c h);
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
.noeffect-fpxSgg.gradient-ySC3O3 {
|
|
235
|
+
--button-variant-gradient-start: var(--gray-100);
|
|
236
|
+
--button-variant-gradient-end: var(--gray-200);
|
|
237
|
+
--button-variant-gradient-foreground: black;
|
|
238
|
+
--button-variant-gradient-hover: var(--gray-400);
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
.success-fTNDEn {
|
|
242
|
+
--button: var(--green-400);
|
|
243
|
+
--button-ring-color: var(--button);
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
.success-fTNDEn.filled-CwGsrO {
|
|
247
|
+
--button-variant-filled: var(--button);
|
|
248
|
+
--button-variant-filled-foreground: white;
|
|
249
|
+
--button-variant-filled-hover: oklch(from var(--button) calc(l * .9) c h);
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
.success-fTNDEn.outlined-nZGbxu {
|
|
253
|
+
--button-variant-outlined: transparent;
|
|
254
|
+
--button-variant-outlined-foreground: var(--green-600);
|
|
255
|
+
--button-variant-outlined-hover: oklch(from var(--button) calc(l * 1.6) calc(c * .2) h);
|
|
256
|
+
--button-variant-outlined-border: var(--green-600);
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
.success-fTNDEn.text-GaxlcE {
|
|
260
|
+
--button-variant-text: transparent;
|
|
261
|
+
--button-variant-text-foreground: oklch(from var(--button) calc(l * .7) c h);
|
|
262
|
+
--button-variant-text-hover: oklch(from var(--canvas-50) calc(l * .995) c h);
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
.success-fTNDEn.gradient-ySC3O3 {
|
|
266
|
+
--button-variant-gradient-start: var(--green-500);
|
|
267
|
+
--button-variant-gradient-end: var(--green-700);
|
|
268
|
+
--button-variant-gradient-foreground: white;
|
|
269
|
+
--button-variant-gradient-hover: var(--gray-900);
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
.info-qrdXQD {
|
|
273
|
+
--button: var(--blue-400);
|
|
274
|
+
--button-ring-color: var(--button);
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
.info-qrdXQD.filled-CwGsrO {
|
|
278
|
+
--button-variant-filled: var(--button);
|
|
279
|
+
--button-variant-filled-foreground: white;
|
|
280
|
+
--button-variant-filled-hover: oklch(from var(--button) calc(l * .9) c h);
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
.info-qrdXQD.outlined-nZGbxu {
|
|
284
|
+
--button-variant-outlined: transparent;
|
|
285
|
+
--button-variant-outlined-foreground: var(--blue-300);
|
|
286
|
+
--button-variant-outlined-hover: oklch(from var(--button) calc(l * 1.9) calc(c * .2) h);
|
|
287
|
+
--button-variant-outlined-border: var(--blue-500);
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
.info-qrdXQD.text-GaxlcE {
|
|
291
|
+
--button-variant-text: transparent;
|
|
292
|
+
--button-variant-text-foreground: oklch(from var(--button) calc(l * .7) c h);
|
|
293
|
+
--button-variant-text-hover: oklch(from var(--canvas-50) calc(l * .995) c h);
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
.info-qrdXQD.gradient-ySC3O3 {
|
|
297
|
+
--button-variant-gradient-start: var(--blue-500);
|
|
298
|
+
--button-variant-gradient-end: var(--blue-700);
|
|
299
|
+
--button-variant-gradient-foreground: white;
|
|
300
|
+
--button-variant-gradient-hover: var(--gray-900);
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
.warning-a00T3A {
|
|
304
|
+
--button: var(--yellow-300);
|
|
305
|
+
--button-ring-color: var(--button);
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
.warning-a00T3A.filled-CwGsrO {
|
|
309
|
+
--button-variant-filled: var(--button);
|
|
310
|
+
--button-variant-filled-foreground: black;
|
|
311
|
+
--button-variant-filled-hover: oklch(from var(--button) calc(l * .95) c h);
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
.warning-a00T3A.outlined-nZGbxu {
|
|
315
|
+
--button-variant-outlined: transparent;
|
|
316
|
+
--button-variant-outlined-foreground: var(--yellow-700);
|
|
317
|
+
--button-variant-outlined-hover: oklch(from var(--button) calc(l * 1.9) calc(c * .2) h);
|
|
318
|
+
--button-variant-outlined-border: var(--yellow-500);
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
.warning-a00T3A.text-GaxlcE {
|
|
322
|
+
--button-variant-text: transparent;
|
|
323
|
+
--button-variant-text-foreground: oklch(from var(--button) calc(l * .6) c h);
|
|
324
|
+
--button-variant-text-hover: oklch(from var(--canvas-50) calc(l * .995) c h);
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
.warning-a00T3A.gradient-ySC3O3 {
|
|
328
|
+
--button-variant-gradient-start: var(--yellow-300);
|
|
329
|
+
--button-variant-gradient-end: var(--yellow-400);
|
|
330
|
+
--button-variant-gradient-foreground: black;
|
|
331
|
+
--button-variant-gradient-hover: var(--gray-900);
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
.danger-rwIV_i {
|
|
335
|
+
--button: var(--red-400);
|
|
336
|
+
--button-ring-color: var(--button);
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
.danger-rwIV_i.filled-CwGsrO {
|
|
340
|
+
--button-variant-filled: var(--button);
|
|
341
|
+
--button-variant-filled-foreground: white;
|
|
342
|
+
--button-variant-filled-hover: oklch(from var(--button) calc(l * .9) c h);
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
.danger-rwIV_i.outlined-nZGbxu {
|
|
346
|
+
--button-variant-outlined: transparent;
|
|
347
|
+
--button-variant-outlined-foreground: var(--red-500);
|
|
348
|
+
--button-variant-outlined-hover: oklch(from var(--button) calc(l * 1.8) calc(c * .3) h);
|
|
349
|
+
--button-variant-outlined-border: var(--red-500);
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
.danger-rwIV_i.text-GaxlcE {
|
|
353
|
+
--button-variant-text: transparent;
|
|
354
|
+
--button-variant-text-foreground: oklch(from var(--button) calc(l * .7) c h);
|
|
355
|
+
--button-variant-text-hover: oklch(from var(--canvas-50) calc(l * .995) c h);
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
.danger-rwIV_i.gradient-ySC3O3 {
|
|
359
|
+
--button-variant-gradient-start: var(--red-500);
|
|
360
|
+
--button-variant-gradient-end: var(--red-700);
|
|
361
|
+
--button-variant-gradient-foreground: white;
|
|
362
|
+
--button-variant-gradient-hover: var(--gray-900);
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
.fullWidth-wXvP0v {
|
|
366
|
+
width: 100%;
|
|
367
|
+
display: flex;
|
|
368
|
+
}
|
|
369
|
+
|
|
370
|
+
.dark .button-IjDhC0:focus:not(:where([class~="not-dark"], [class~="not-dark"] *)), .dark .button-IjDhC0:active:not(:where([class~="not-dark"], [class~="not-dark"] *)) {
|
|
371
|
+
--ring-offset-color: var(--background);
|
|
372
|
+
}
|
|
373
|
+
|
|
374
|
+
.dark .primary-tUmczz:not(:where([class~="not-dark"], [class~="not-dark"] *)) {
|
|
375
|
+
--button: var(--primary-600);
|
|
376
|
+
--button-ring-color: var(--button);
|
|
377
|
+
}
|
|
378
|
+
|
|
379
|
+
.dark .primary-tUmczz.filled-CwGsrO:not(:where([class~="not-dark"], [class~="not-dark"] *)) {
|
|
380
|
+
--button-variant-filled: var(--button);
|
|
381
|
+
--button-variant-filled-foreground: white;
|
|
382
|
+
--button-variant-filled-hover: oklch(from var(--button) calc(l * .9) c h);
|
|
383
|
+
}
|
|
384
|
+
|
|
385
|
+
.dark .primary-tUmczz.outlined-nZGbxu:not(:where([class~="not-dark"], [class~="not-dark"] *)) {
|
|
386
|
+
--button-variant-outlined-foreground: var(--primary-100);
|
|
387
|
+
--button-variant-outlined-hover: oklch(from var(--button) calc(l * .45) calc(c * .1) h);
|
|
388
|
+
--button-variant-outlined-border: var(--primary-500);
|
|
389
|
+
}
|
|
390
|
+
|
|
391
|
+
.dark .primary-tUmczz.text-GaxlcE:not(:where([class~="not-dark"], [class~="not-dark"] *)) {
|
|
392
|
+
--button-variant-text: transparent;
|
|
393
|
+
--button-variant-text-foreground: var(--button);
|
|
394
|
+
--button-variant-text-hover: var(--canvas-800);
|
|
395
|
+
}
|
|
396
|
+
|
|
397
|
+
.dark .secondary-UqT2AY.outlined-nZGbxu:not(:where([class~="not-dark"], [class~="not-dark"] *)) {
|
|
398
|
+
--button-variant-outlined-foreground: var(--secondary-500);
|
|
399
|
+
--button-variant-outlined-hover: oklch(from var(--button) calc(l * .3) calc(c * .1) h);
|
|
400
|
+
--button-variant-outlined-border: var(--secondary-500);
|
|
401
|
+
}
|
|
402
|
+
|
|
403
|
+
.dark .secondary-UqT2AY.text-GaxlcE:not(:where([class~="not-dark"], [class~="not-dark"] *)) {
|
|
404
|
+
--button-variant-text-foreground: var(--button);
|
|
405
|
+
--button-variant-text-hover: var(--canvas-800);
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
.dark .noeffect-fpxSgg:not(:where([class~="not-dark"], [class~="not-dark"] *)) {
|
|
409
|
+
--button: var(--gray-900);
|
|
410
|
+
--button-ring-color: var(--gray-900);
|
|
411
|
+
}
|
|
412
|
+
|
|
413
|
+
.dark .noeffect-fpxSgg.filled-CwGsrO:not(:where([class~="not-dark"], [class~="not-dark"] *)) {
|
|
414
|
+
--button-variant-filled: var(--button);
|
|
415
|
+
--button-variant-filled-foreground: white;
|
|
416
|
+
--button-variant-filled-hover: oklch(from var(--button) calc(l * .95) c h);
|
|
417
|
+
}
|
|
418
|
+
|
|
419
|
+
.dark .noeffect-fpxSgg.outlined-nZGbxu:not(:where([class~="not-dark"], [class~="not-dark"] *)) {
|
|
420
|
+
--button-variant-outlined: transparent;
|
|
421
|
+
--button-variant-outlined-foreground: var(--gray-300);
|
|
422
|
+
--button-variant-outlined-hover: oklch(from var(--button) calc(l * .75) calc(c * .2) h);
|
|
423
|
+
--button-variant-outlined-border: var(--gray-500);
|
|
424
|
+
}
|
|
425
|
+
|
|
426
|
+
.dark .noeffect-fpxSgg.text-GaxlcE:not(:where([class~="not-dark"], [class~="not-dark"] *)) {
|
|
427
|
+
--button-variant-text: transparent;
|
|
428
|
+
--button-variant-text-foreground: var(--gray-300);
|
|
429
|
+
--button-variant-text-hover: var(--canvas-800);
|
|
430
|
+
}
|
|
431
|
+
|
|
432
|
+
.dark .noeffect-fpxSgg.gradient-ySC3O3:not(:where([class~="not-dark"], [class~="not-dark"] *)) {
|
|
433
|
+
--button-variant-gradient-start: var(--gray-950);
|
|
434
|
+
--button-variant-gradient-end: var(--gray-900);
|
|
435
|
+
--button-variant-gradient-foreground: white;
|
|
436
|
+
--button-variant-gradient-hover: var(--gray-900);
|
|
437
|
+
}
|
|
438
|
+
|
|
439
|
+
.dark .success-fTNDEn.outlined-nZGbxu:not(:where([class~="not-dark"], [class~="not-dark"] *)) {
|
|
440
|
+
--button-variant-outlined-foreground: var(--green-500);
|
|
441
|
+
--button-variant-outlined-hover: oklch(from var(--button) calc(l * .35) calc(c * .1) h);
|
|
442
|
+
--button-variant-outlined-border: var(--green-500);
|
|
443
|
+
}
|
|
444
|
+
|
|
445
|
+
.dark .success-fTNDEn.text-GaxlcE:not(:where([class~="not-dark"], [class~="not-dark"] *)) {
|
|
446
|
+
--button-variant-text-foreground: var(--button);
|
|
447
|
+
--button-variant-text-hover: var(--canvas-800);
|
|
448
|
+
}
|
|
449
|
+
|
|
450
|
+
.dark .info-qrdXQD.outlined-nZGbxu:not(:where([class~="not-dark"], [class~="not-dark"] *)) {
|
|
451
|
+
--button-variant-outlined-foreground: var(--blue-300);
|
|
452
|
+
--button-variant-outlined-hover: oklch(from var(--button) calc(l * .43) calc(c * .1) h);
|
|
453
|
+
--button-variant-outlined-border: var(--blue-500);
|
|
454
|
+
}
|
|
455
|
+
|
|
456
|
+
.dark .info-qrdXQD.text-GaxlcE:not(:where([class~="not-dark"], [class~="not-dark"] *)) {
|
|
457
|
+
--button-variant-text-foreground: var(--button);
|
|
458
|
+
--button-variant-text-hover: var(--canvas-800);
|
|
459
|
+
}
|
|
460
|
+
|
|
461
|
+
.dark .warning-a00T3A.outlined-nZGbxu:not(:where([class~="not-dark"], [class~="not-dark"] *)) {
|
|
462
|
+
--button-variant-outlined-foreground: var(--yellow-500);
|
|
463
|
+
--button-variant-outlined-hover: oklch(from var(--button) calc(l * .31) calc(c * .1) h);
|
|
464
|
+
--button-variant-outlined-border: var(--yellow-500);
|
|
465
|
+
}
|
|
466
|
+
|
|
467
|
+
.dark .warning-a00T3A.text-GaxlcE:not(:where([class~="not-dark"], [class~="not-dark"] *)) {
|
|
468
|
+
--button-variant-text-foreground: var(--button);
|
|
469
|
+
--button-variant-text-hover: var(--canvas-800);
|
|
470
|
+
}
|
|
471
|
+
|
|
472
|
+
.dark .danger-rwIV_i.outlined-nZGbxu:not(:where([class~="not-dark"], [class~="not-dark"] *)) {
|
|
473
|
+
--button-variant-outlined-foreground: var(--red-500);
|
|
474
|
+
--button-variant-outlined-hover: oklch(from var(--button) calc(l * .4) calc(c * .1) h);
|
|
475
|
+
--button-variant-outlined-border: var(--red-500);
|
|
476
|
+
}
|
|
477
|
+
|
|
478
|
+
.dark .danger-rwIV_i.text-GaxlcE:not(:where([class~="not-dark"], [class~="not-dark"] *)) {
|
|
479
|
+
--button-variant-text-foreground: var(--button);
|
|
480
|
+
--button-variant-text-hover: var(--canvas-800);
|
|
481
|
+
}
|
|
482
|
+
|
|
483
|
+
.dark .filled-CwGsrO:disabled:not(:where([class~="not-dark"], [class~="not-dark"] *)), .dark .filled-CwGsrO[disabled]:not(:where([class~="not-dark"], [class~="not-dark"] *)) {
|
|
484
|
+
background-color: oklch(from var(--button-variant-filled) calc(l * .85) calc(c * .85) h);
|
|
485
|
+
color: oklch(from var(--button-variant-filled-foreground) calc(l * .85) calc(c * .85) h);
|
|
486
|
+
}
|
|
487
|
+
|
|
488
|
+
.dark .outlined-nZGbxu:disabled:not(:where([class~="not-dark"], [class~="not-dark"] *)), .dark .outlined-nZGbxu[disabled]:not(:where([class~="not-dark"], [class~="not-dark"] *)) {
|
|
489
|
+
border-color: oklch(from var(--button-variant-outlined-border) calc(l * .8) calc(c * .8) h);
|
|
490
|
+
color: oklch(from var(--button-variant-outlined-foreground) calc(l * .8) calc(c * .8) h);
|
|
491
|
+
}
|
|
492
|
+
|
|
493
|
+
.dark .gradient-ySC3O3:disabled:not(:where([class~="not-dark"], [class~="not-dark"] *)), .dark .gradient-ySC3O3[disabled]:not(:where([class~="not-dark"], [class~="not-dark"] *)) {
|
|
494
|
+
background: unset;
|
|
495
|
+
background-color: oklch(from var(--button-variant-gradient-end) calc(l * .85) calc(c * .85) h);
|
|
496
|
+
color: oklch(from var(--button-variant-gradient-foreground) calc(l * .85) calc(c * .85) h);
|
|
497
|
+
}
|
|
498
|
+
|
|
499
|
+
.dark .text-GaxlcE:disabled:not(:where([class~="not-dark"], [class~="not-dark"] *)), .dark .text-GaxlcE[disabled]:not(:where([class~="not-dark"], [class~="not-dark"] *)) {
|
|
500
|
+
color: oklch(from var(--button-variant-text-foreground) calc(l * .85) calc(c * .85) h);
|
|
501
|
+
}
|
|
502
|
+
}
|
|
503
|
+
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type React from 'react';
|
|
2
|
+
import type { Size } from './@types/button.js';
|
|
3
|
+
type ButtonType = React.JSX.IntrinsicElements['button'];
|
|
4
|
+
interface ControlButtonProps extends ButtonType {
|
|
5
|
+
size?: Size;
|
|
6
|
+
className?: string;
|
|
7
|
+
onClick?: () => void;
|
|
8
|
+
ref?: React.RefObject<HTMLButtonElement>;
|
|
9
|
+
}
|
|
10
|
+
interface DirectionalButtonProps extends ControlButtonProps {
|
|
11
|
+
direction: 'up' | 'down' | 'left' | 'right';
|
|
12
|
+
}
|
|
13
|
+
export declare const DirectionalButton: ({ size, direction, className, onClick, ref, ...rest }: DirectionalButtonProps) => React.JSX.Element;
|
|
14
|
+
export declare const PlayButton: ({ size, className, onClick, ref, ...rest }: ControlButtonProps) => React.JSX.Element;
|
|
15
|
+
export declare const StopButton: ({ size, className, onClick, ref, ...rest }: ControlButtonProps) => React.JSX.Element;
|
|
16
|
+
export {};
|
|
17
|
+
//# sourceMappingURL=control-buttons.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"control-buttons.d.ts","sourceRoot":"","sources":["../../../src/components/button/control-buttons.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAI9B,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAA;AAE9C,KAAK,UAAU,GAAG,KAAK,CAAC,GAAG,CAAC,iBAAiB,CAAC,QAAQ,CAAC,CAAA;AAEvD,UAAU,kBAAmB,SAAQ,UAAU;IAC7C,IAAI,CAAC,EAAE,IAAI,CAAA;IACX,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;IACpB,GAAG,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,iBAAiB,CAAC,CAAA;CACzC;AAED,UAAU,sBAAuB,SAAQ,kBAAkB;IACzD,SAAS,EAAE,IAAI,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,CAAA;CAC5C;AAED,eAAO,MAAM,iBAAiB,GAAI,uDAO/B,sBAAsB,sBA0BxB,CAAA;AAED,eAAO,MAAM,UAAU,GAAI,4CAMxB,kBAAkB,sBA6BpB,CAAA;AAED,eAAO,MAAM,UAAU,GAAI,4CAMxB,kBAAkB,sBA+BpB,CAAA"}
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
'use client'
|
|
2
|
+
import { jsx } from "react/jsx-runtime";
|
|
3
|
+
import classnames from "classnames";
|
|
4
|
+
import control_buttons_module from "./control-buttons.module.js";
|
|
5
|
+
const DirectionalButton = ({ size = 'md', direction, className, onClick, ref, ...rest })=>{
|
|
6
|
+
const handleClick = ()=>{
|
|
7
|
+
if (null != onClick) onClick();
|
|
8
|
+
};
|
|
9
|
+
return /*#__PURE__*/ jsx("button", {
|
|
10
|
+
ref: ref,
|
|
11
|
+
...rest,
|
|
12
|
+
onClick: handleClick,
|
|
13
|
+
type: "button",
|
|
14
|
+
"aria-label": direction,
|
|
15
|
+
className: classnames(control_buttons_module["directional-button"], control_buttons_module[direction], control_buttons_module[size], className),
|
|
16
|
+
children: /*#__PURE__*/ jsx("span", {
|
|
17
|
+
children: /*#__PURE__*/ jsx("svg", {
|
|
18
|
+
className: "icon",
|
|
19
|
+
focusable: "false",
|
|
20
|
+
"aria-hidden": "true",
|
|
21
|
+
viewBox: "0 0 51 32",
|
|
22
|
+
children: /*#__PURE__*/ jsx("path", {
|
|
23
|
+
fill: "currentColor",
|
|
24
|
+
d: "M25.4,9.8L45.6,30l4.5-4.5L25.4,0.8L0.8,25.4L5.3,30L25.4,9.8z"
|
|
25
|
+
})
|
|
26
|
+
})
|
|
27
|
+
})
|
|
28
|
+
});
|
|
29
|
+
};
|
|
30
|
+
const PlayButton = ({ size = 'md', className, onClick, ref, ...rest })=>{
|
|
31
|
+
const handleClick = ()=>{
|
|
32
|
+
if (null != onClick) onClick();
|
|
33
|
+
};
|
|
34
|
+
return /*#__PURE__*/ jsx("button", {
|
|
35
|
+
ref: ref,
|
|
36
|
+
...rest,
|
|
37
|
+
onClick: handleClick,
|
|
38
|
+
type: "button",
|
|
39
|
+
"aria-label": "play",
|
|
40
|
+
className: classnames(control_buttons_module["play-button"], control_buttons_module[size], className),
|
|
41
|
+
children: /*#__PURE__*/ jsx("span", {
|
|
42
|
+
children: /*#__PURE__*/ jsx("svg", {
|
|
43
|
+
className: "icon",
|
|
44
|
+
focusable: "false",
|
|
45
|
+
"aria-hidden": "true",
|
|
46
|
+
viewBox: "0 0 32 32",
|
|
47
|
+
children: /*#__PURE__*/ jsx("path", {
|
|
48
|
+
d: "M12 8L26 16L12 24V8Z",
|
|
49
|
+
fill: "none",
|
|
50
|
+
stroke: "currentColor",
|
|
51
|
+
strokeWidth: "2",
|
|
52
|
+
strokeLinejoin: "round"
|
|
53
|
+
})
|
|
54
|
+
})
|
|
55
|
+
})
|
|
56
|
+
});
|
|
57
|
+
};
|
|
58
|
+
const StopButton = ({ size = 'md', className, onClick, ref, ...rest })=>{
|
|
59
|
+
const handleClick = ()=>{
|
|
60
|
+
if (null != onClick) onClick();
|
|
61
|
+
};
|
|
62
|
+
return /*#__PURE__*/ jsx("button", {
|
|
63
|
+
ref: ref,
|
|
64
|
+
...rest,
|
|
65
|
+
onClick: handleClick,
|
|
66
|
+
type: "button",
|
|
67
|
+
"aria-label": "stop",
|
|
68
|
+
className: classnames(control_buttons_module["stop-button"], control_buttons_module[size], className),
|
|
69
|
+
children: /*#__PURE__*/ jsx("span", {
|
|
70
|
+
children: /*#__PURE__*/ jsx("svg", {
|
|
71
|
+
className: "icon",
|
|
72
|
+
focusable: "false",
|
|
73
|
+
"aria-hidden": "true",
|
|
74
|
+
viewBox: "0 0 32 32",
|
|
75
|
+
children: /*#__PURE__*/ jsx("rect", {
|
|
76
|
+
x: "4",
|
|
77
|
+
y: "4",
|
|
78
|
+
width: "24",
|
|
79
|
+
height: "24",
|
|
80
|
+
fill: "none",
|
|
81
|
+
stroke: "currentColor",
|
|
82
|
+
strokeWidth: "3"
|
|
83
|
+
})
|
|
84
|
+
})
|
|
85
|
+
})
|
|
86
|
+
});
|
|
87
|
+
};
|
|
88
|
+
export { DirectionalButton, PlayButton, StopButton };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import "./control-buttons_module.css";
|
|
2
|
+
const control_buttons_module = {
|
|
3
|
+
"stop-button": "stop-button-krMTsl",
|
|
4
|
+
stopButton: "stop-button-krMTsl",
|
|
5
|
+
"play-button": "play-button-GfHYHO",
|
|
6
|
+
playButton: "play-button-GfHYHO",
|
|
7
|
+
"directional-button": "directional-button-kGS8rA",
|
|
8
|
+
directionalButton: "directional-button-kGS8rA",
|
|
9
|
+
icon: "icon-k646_6",
|
|
10
|
+
xs: "xs-lujClY",
|
|
11
|
+
sm: "sm-Ay8zIA",
|
|
12
|
+
md: "md-wBr0Jw",
|
|
13
|
+
lg: "lg-idpovR",
|
|
14
|
+
xl: "xl-jHgaWE",
|
|
15
|
+
up: "up-fGNcdy",
|
|
16
|
+
down: "down-y1K3Vt",
|
|
17
|
+
left: "left-B6s4j6",
|
|
18
|
+
right: "right-nFxLqo"
|
|
19
|
+
};
|
|
20
|
+
export { control_buttons_module as default };
|