@infonomic/uikit 6.8.1 → 6.9.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/README.md +183 -19
- package/dist/components/accordion/accordion.js +11 -11
- package/dist/components/accordion/accordion.module.css +11 -1
- package/dist/components/accordion/accordion_module.css +3 -1
- package/dist/components/avatar/avatar.js +5 -5
- package/dist/components/avatar/avatar.module.css +9 -4
- package/dist/components/avatar/avatar_module.css +3 -1
- package/dist/components/badge/badge.d.ts +1 -1
- package/dist/components/badge/badge.js +2 -2
- package/dist/components/badge/badge.module.css +9 -4
- package/dist/components/badge/badge_module.css +3 -1
- package/dist/components/button/button-group.d.ts +1 -1
- package/dist/components/button/button-group.js +2 -2
- package/dist/components/button/button-group.module.css +11 -1
- package/dist/components/button/button-group_module.css +4 -2
- package/dist/components/button/button.js +2 -2
- package/dist/components/button/button.module.css +9 -4
- package/dist/components/button/button_module.css +3 -1
- package/dist/components/button/combo-button.d.ts +1 -1
- package/dist/components/button/combo-button.js +8 -8
- package/dist/components/button/combo-button.module.css +11 -1
- package/dist/components/button/combo-button_module.css +3 -1
- package/dist/components/button/control-buttons.js +4 -4
- package/dist/components/button/control-buttons.module.css +11 -1
- package/dist/components/button/control-buttons_module.css +3 -1
- package/dist/components/button/copy-button.js +3 -3
- package/dist/components/button/copy-button.module.css +9 -4
- package/dist/components/button/copy-button_module.css +3 -1
- package/dist/components/button/icon-button.js +2 -2
- package/dist/components/button/index.d.ts +5 -5
- package/dist/components/card/card.js +7 -7
- package/dist/components/card/card.module.css +9 -4
- package/dist/components/card/card_module.css +3 -1
- package/dist/components/chips/chip.js +6 -6
- package/dist/components/chips/chip.module.css +9 -4
- package/dist/components/chips/chip_module.css +3 -1
- package/dist/components/container/container.js +2 -2
- package/dist/components/container/container.module.css +9 -4
- package/dist/components/container/container_module.css +6 -4
- package/dist/components/dropdown/dropdown.js +20 -20
- package/dist/components/dropdown/dropdown.module.css +9 -4
- package/dist/components/dropdown/dropdown_module.css +3 -1
- package/dist/components/hamburger/hamburger.js +4 -4
- package/dist/components/hamburger/hamburger.module.css +9 -4
- package/dist/components/hamburger/hamburger_module.css +3 -1
- package/dist/components/inputs/autocomplete.js +10 -10
- package/dist/components/inputs/autocomplete.module.css +9 -4
- package/dist/components/inputs/autocomplete_module.css +3 -1
- package/dist/components/inputs/calendar.js +24 -24
- package/dist/components/inputs/calendar.module.css +9 -4
- package/dist/components/inputs/calendar_module.css +4 -2
- package/dist/components/inputs/checkbox-group.js +2 -2
- package/dist/components/inputs/checkbox-group.module.css +9 -4
- package/dist/components/inputs/checkbox-group_module.css +3 -1
- package/dist/components/inputs/checkbox.js +6 -6
- package/dist/components/inputs/checkbox.module.css +9 -4
- package/dist/components/inputs/checkbox_module.css +3 -1
- package/dist/components/inputs/error-text.js +2 -2
- package/dist/components/inputs/error-text.module.css +9 -4
- package/dist/components/inputs/error-text_module.css +3 -1
- package/dist/components/inputs/help-text.js +2 -2
- package/dist/components/inputs/help-text.module.css +9 -4
- package/dist/components/inputs/help-text_module.css +3 -1
- package/dist/components/inputs/input-adornment.js +2 -2
- package/dist/components/inputs/input-adornment.module.css +9 -4
- package/dist/components/inputs/input-adornment_module.css +3 -1
- package/dist/components/inputs/input-password.d.ts +18 -2
- package/dist/components/inputs/input-password.d.ts.map +1 -1
- package/dist/components/inputs/input-password.js +19 -11
- package/dist/components/inputs/input-password.module.css +55 -0
- package/dist/components/inputs/input-password.module.js +5 -0
- package/dist/components/inputs/input-password_module.css +25 -0
- package/dist/components/inputs/input.d.ts +1 -1
- package/dist/components/inputs/input.js +6 -6
- package/dist/components/inputs/input.module.css +9 -4
- package/dist/components/inputs/input_module.css +3 -1
- package/dist/components/inputs/label.js +2 -2
- package/dist/components/inputs/label.module.css +9 -4
- package/dist/components/inputs/label_module.css +3 -1
- package/dist/components/inputs/radio-group.d.ts +1 -1
- package/dist/components/inputs/radio-group.js +3 -3
- package/dist/components/inputs/radio-group.module.css +9 -4
- package/dist/components/inputs/radio-group_module.css +3 -1
- package/dist/components/inputs/select.js +6 -6
- package/dist/components/inputs/select.module.css +9 -4
- package/dist/components/inputs/select_module.css +3 -1
- package/dist/components/inputs/text-area.js +3 -3
- package/dist/components/inputs/text-area.module.css +9 -4
- package/dist/components/inputs/text-area_module.css +3 -1
- package/dist/components/notifications/alert.js +11 -11
- package/dist/components/notifications/alert.module.css +9 -4
- package/dist/components/notifications/alert_module.css +4 -2
- package/dist/components/notifications/toast.js +8 -8
- package/dist/components/notifications/toast.module.css +9 -4
- package/dist/components/notifications/toast_module.css +5 -3
- package/dist/components/pager/ellipses.js +2 -2
- package/dist/components/pager/first-button.d.ts +1 -1
- package/dist/components/pager/first-button.js +2 -2
- package/dist/components/pager/hooks/usePagination.d.ts +1 -1
- package/dist/components/pager/last-button.d.ts +1 -1
- package/dist/components/pager/last-button.js +2 -2
- package/dist/components/pager/next-button.d.ts +1 -1
- package/dist/components/pager/next-button.js +2 -2
- package/dist/components/pager/number-button.d.ts +1 -1
- package/dist/components/pager/number-button.js +3 -3
- package/dist/components/pager/pagination.d.ts +7 -7
- package/dist/components/pager/pagination.js +3 -3
- package/dist/components/pager/pagination.module.css +9 -4
- package/dist/components/pager/pagination_module.css +4 -2
- package/dist/components/pager/previous-button.d.ts +1 -1
- package/dist/components/pager/previous-button.js +2 -2
- package/dist/components/scroll-area/scroll-area.js +8 -8
- package/dist/components/scroll-area/scroll-area.module.css +9 -4
- package/dist/components/scroll-area/scroll-area_module.css +3 -1
- package/dist/components/scroll-to-top/scroll-to-top.js +2 -2
- package/dist/components/scroll-to-top/scroll-to-top.module.css +9 -3
- package/dist/components/scroll-to-top/scroll-to-top_module.css +4 -2
- package/dist/components/section/section.js +2 -2
- package/dist/components/section/section.module.css +9 -4
- package/dist/components/section/section_module.css +3 -1
- package/dist/components/shimmer/shimmer.js +4 -4
- package/dist/components/shimmer/shimmer.module.css +9 -4
- package/dist/components/shimmer/shimmer_module.css +3 -1
- package/dist/components/table/table.js +10 -10
- package/dist/components/table/table.module.css +9 -4
- package/dist/components/table/table_module.css +3 -1
- package/dist/components/tabs/tabs.js +5 -5
- package/dist/components/tabs/tabs.module.css +9 -4
- package/dist/components/tabs/tabs_module.css +3 -1
- package/dist/components/tooltip/tooltip.js +3 -3
- package/dist/components/tooltip/tooltip.module.css +9 -4
- package/dist/components/tooltip/tooltip_module.css +3 -1
- package/dist/css-layers.d.ts +23 -0
- package/dist/css-layers.d.ts.map +1 -0
- package/dist/css-layers.js +14 -0
- package/dist/icons/activity-icon.js +3 -3
- package/dist/icons/ai-icon.js +3 -3
- package/dist/icons/calendar-icon.js +3 -3
- package/dist/icons/check-icon.js +3 -3
- package/dist/icons/chevron-down-icon.js +3 -3
- package/dist/icons/chevron-left-double-icon.js +3 -3
- package/dist/icons/chevron-left-icon.js +3 -3
- package/dist/icons/chevron-right-double-icon.js +3 -3
- package/dist/icons/chevron-right-icon.js +3 -3
- package/dist/icons/chevron-up-icon.js +3 -3
- package/dist/icons/chevrons-up-down.js +3 -3
- package/dist/icons/close-icon.js +3 -3
- package/dist/icons/copy-icon.js +3 -3
- package/dist/icons/danger-icon.js +3 -3
- package/dist/icons/dashboard-icon.js +3 -3
- package/dist/icons/delete-icon.js +3 -3
- package/dist/icons/document-icon.js +3 -3
- package/dist/icons/download-icon.js +3 -3
- package/dist/icons/edit-icon.js +3 -3
- package/dist/icons/ellipsis-icon.js +3 -3
- package/dist/icons/email-icon.js +3 -3
- package/dist/icons/external-link-icon.js +3 -3
- package/dist/icons/eye-closed-icon.js +3 -3
- package/dist/icons/eye-open-icon.js +3 -3
- package/dist/icons/github-icon.js +3 -3
- package/dist/icons/globe-icon.js +3 -3
- package/dist/icons/google-icon.js +2 -2
- package/dist/icons/gripper-vertical-icon.js +3 -3
- package/dist/icons/history-icon.js +3 -3
- package/dist/icons/home-icon.js +3 -3
- package/dist/icons/icon-element.js +2 -2
- package/dist/icons/icons.module.css +11 -1
- package/dist/icons/icons_module.css +3 -1
- package/dist/icons/info-icon.js +3 -3
- package/dist/icons/infonomic-icon.js +3 -3
- package/dist/icons/light-icon.js +3 -3
- package/dist/icons/location-pin-icon.js +3 -3
- package/dist/icons/markdown-icon.js +3 -3
- package/dist/icons/moon-icon.js +3 -3
- package/dist/icons/plus-icon.js +3 -3
- package/dist/icons/primary-icon.js +3 -3
- package/dist/icons/refresh-icon.js +3 -3
- package/dist/icons/return-icon.js +3 -3
- package/dist/icons/roles-icon.js +3 -3
- package/dist/icons/search-icon.js +3 -3
- package/dist/icons/search-menu-icon.js +3 -3
- package/dist/icons/settings-gear-icon.js +3 -3
- package/dist/icons/settings-sliders-icon.js +3 -3
- package/dist/icons/sign-out-icon.js +3 -3
- package/dist/icons/stop-icon.js +3 -3
- package/dist/icons/stopwatch-icon.d.ts +1 -1
- package/dist/icons/stopwatch-icon.js +3 -3
- package/dist/icons/success-icon.js +3 -3
- package/dist/icons/user-icon.js +3 -3
- package/dist/icons/users-icon.js +3 -3
- package/dist/icons/wallet-icon.js +3 -3
- package/dist/icons/warning-icon.js +3 -3
- package/dist/icons/x-icon.js +3 -3
- package/dist/loaders/ellipses.js +3 -3
- package/dist/loaders/ellipses.module.css +9 -4
- package/dist/loaders/ellipses_module.css +3 -1
- package/dist/loaders/ring.js +3 -3
- package/dist/loaders/ring.module.css +9 -4
- package/dist/loaders/ring_module.css +3 -1
- package/dist/loaders/spinner.js +4 -4
- package/dist/loaders/spinner.module.css +9 -4
- package/dist/loaders/spinner_module.css +3 -1
- package/dist/react.d.ts +14 -14
- package/dist/styles/components-vanilla.css +1 -1
- package/dist/styles/reset.css +1 -1
- package/dist/styles/styles.css +1 -1
- package/dist/styles/typography.css +1 -1
- package/dist/widgets/datepicker/datepicker.d.ts +42 -1
- package/dist/widgets/datepicker/datepicker.d.ts.map +1 -1
- package/dist/widgets/datepicker/datepicker.js +46 -16
- package/dist/widgets/datepicker/datepicker.module.css +21 -2
- package/dist/widgets/datepicker/datepicker.module.js +1 -0
- package/dist/widgets/datepicker/datepicker_module.css +7 -2
- package/dist/widgets/drawer/drawer-container.js +2 -2
- package/dist/widgets/drawer/drawer-content.js +2 -2
- package/dist/widgets/drawer/drawer-header.js +2 -2
- package/dist/widgets/drawer/drawer-top-actions.js +2 -2
- package/dist/widgets/drawer/drawer.d.ts +4 -4
- package/dist/widgets/drawer/drawer.js +3 -3
- package/dist/widgets/drawer/drawer.module.css +11 -1
- package/dist/widgets/drawer/drawer_module.css +4 -2
- package/dist/widgets/modal/modal-actions.js +2 -2
- package/dist/widgets/modal/modal-container.js +2 -2
- package/dist/widgets/modal/modal-content.js +2 -2
- package/dist/widgets/modal/modal-context.d.ts +20 -0
- package/dist/widgets/modal/modal-context.d.ts.map +1 -0
- package/dist/widgets/modal/modal-context.js +4 -0
- package/dist/widgets/modal/modal-header.d.ts +1 -1
- package/dist/widgets/modal/modal-header.d.ts.map +1 -1
- package/dist/widgets/modal/modal-header.js +25 -3
- package/dist/widgets/modal/modal.d.ts +13 -8
- package/dist/widgets/modal/modal.d.ts.map +1 -1
- package/dist/widgets/modal/modal.js +11 -7
- package/dist/widgets/modal/modal.module.css +11 -1
- package/dist/widgets/modal/modal_module.css +5 -3
- package/dist/widgets/timeline/timeline.js +8 -8
- package/dist/widgets/timeline/timeline.module.css +9 -4
- package/dist/widgets/timeline/timeline_module.css +3 -1
- package/package.json +46 -33
- package/src/components/accordion/accordion.module.css +11 -1
- package/src/components/accordion/accordion.tsx +1 -1
- package/src/components/avatar/avatar.module.css +9 -4
- package/src/components/avatar/avatar.tsx +1 -1
- package/src/components/badge/badge.module.css +9 -4
- package/src/components/badge/badge.tsx +1 -1
- package/src/components/button/button-group.module.css +11 -1
- package/src/components/button/button-group.tsx +1 -1
- package/src/components/button/button.module.css +9 -4
- package/src/components/button/button.tsx +1 -1
- package/src/components/button/combo-button.module.css +11 -1
- package/src/components/button/combo-button.tsx +1 -1
- package/src/components/button/control-buttons.module.css +11 -1
- package/src/components/button/control-buttons.tsx +1 -1
- package/src/components/button/copy-button.module.css +9 -4
- package/src/components/button/copy-button.tsx +1 -1
- package/src/components/button/icon-button.tsx +1 -1
- package/src/components/card/card.module.css +9 -4
- package/src/components/card/card.tsx +1 -1
- package/src/components/chips/chip.module.css +9 -4
- package/src/components/chips/chip.tsx +1 -1
- package/src/components/container/container.module.css +9 -4
- package/src/components/container/container.tsx +1 -1
- package/src/components/dropdown/dropdown.module.css +9 -4
- package/src/components/dropdown/dropdown.tsx +1 -1
- package/src/components/hamburger/hamburger.module.css +9 -4
- package/src/components/hamburger/hamburger.tsx +1 -1
- package/src/components/inputs/autocomplete.module.css +9 -4
- package/src/components/inputs/autocomplete.tsx +1 -1
- package/src/components/inputs/calendar.module.css +9 -4
- package/src/components/inputs/calendar.tsx +1 -1
- package/src/components/inputs/checkbox-group.module.css +9 -4
- package/src/components/inputs/checkbox-group.tsx +1 -1
- package/src/components/inputs/checkbox.module.css +9 -4
- package/src/components/inputs/checkbox.tsx +1 -1
- package/src/components/inputs/error-text.module.css +9 -4
- package/src/components/inputs/error-text.tsx +1 -1
- package/src/components/inputs/help-text.module.css +9 -4
- package/src/components/inputs/help-text.tsx +1 -1
- package/src/components/inputs/input-adornment.module.css +9 -4
- package/src/components/inputs/input-adornment.tsx +1 -1
- package/src/components/inputs/input-password.module.css +55 -0
- package/src/components/inputs/input-password.tsx +49 -7
- package/src/components/inputs/input.module.css +9 -4
- package/src/components/inputs/input.tsx +1 -1
- package/src/components/inputs/label.module.css +9 -4
- package/src/components/inputs/label.tsx +1 -1
- package/src/components/inputs/radio-group.module.css +9 -4
- package/src/components/inputs/radio-group.tsx +1 -1
- package/src/components/inputs/select.module.css +9 -4
- package/src/components/inputs/select.tsx +1 -1
- package/src/components/inputs/text-area.module.css +9 -4
- package/src/components/inputs/text-area.tsx +1 -1
- package/src/components/notifications/alert.module.css +9 -4
- package/src/components/notifications/alert.tsx +1 -1
- package/src/components/notifications/toast.module.css +9 -4
- package/src/components/notifications/toast.tsx +1 -1
- package/src/components/pager/ellipses.tsx +1 -1
- package/src/components/pager/first-button.tsx +1 -1
- package/src/components/pager/last-button.tsx +1 -1
- package/src/components/pager/next-button.tsx +1 -1
- package/src/components/pager/number-button.tsx +1 -1
- package/src/components/pager/pagination.module.css +9 -4
- package/src/components/pager/pagination.tsx +1 -1
- package/src/components/pager/previous-button.tsx +1 -1
- package/src/components/scroll-area/scroll-area.module.css +9 -4
- package/src/components/scroll-area/scroll-area.tsx +1 -1
- package/src/components/scroll-to-top/scroll-to-top.module.css +9 -3
- package/src/components/scroll-to-top/scroll-to-top.tsx +1 -1
- package/src/components/section/section.module.css +9 -4
- package/src/components/section/section.tsx +1 -1
- package/src/components/shimmer/shimmer.module.css +9 -4
- package/src/components/shimmer/shimmer.tsx +1 -1
- package/src/components/table/table.module.css +9 -4
- package/src/components/table/table.tsx +1 -1
- package/src/components/tabs/tabs.module.css +9 -4
- package/src/components/tabs/tabs.tsx +1 -1
- package/src/components/tooltip/tooltip.module.css +9 -4
- package/src/components/tooltip/tooltip.tsx +1 -1
- package/src/css-layers.ts +34 -0
- package/src/icons/activity-icon.tsx +1 -1
- package/src/icons/ai-icon.tsx +1 -1
- package/src/icons/calendar-icon.tsx +1 -1
- package/src/icons/check-icon.tsx +1 -1
- package/src/icons/chevron-down-icon.tsx +1 -1
- package/src/icons/chevron-left-double-icon.tsx +1 -1
- package/src/icons/chevron-left-icon.tsx +1 -1
- package/src/icons/chevron-right-double-icon.tsx +1 -1
- package/src/icons/chevron-right-icon.tsx +1 -1
- package/src/icons/chevron-up-icon.tsx +1 -1
- package/src/icons/chevrons-up-down.tsx +1 -1
- package/src/icons/close-icon.tsx +1 -1
- package/src/icons/copy-icon.tsx +1 -1
- package/src/icons/danger-icon.tsx +1 -1
- package/src/icons/dashboard-icon.tsx +1 -1
- package/src/icons/delete-icon.tsx +1 -1
- package/src/icons/document-icon.tsx +1 -1
- package/src/icons/download-icon.tsx +1 -1
- package/src/icons/edit-icon.tsx +1 -1
- package/src/icons/ellipsis-icon.tsx +1 -1
- package/src/icons/email-icon.tsx +1 -1
- package/src/icons/external-link-icon.tsx +1 -1
- package/src/icons/eye-closed-icon.tsx +1 -1
- package/src/icons/eye-open-icon.tsx +1 -1
- package/src/icons/github-icon.tsx +1 -1
- package/src/icons/globe-icon.tsx +1 -1
- package/src/icons/google-icon.tsx +1 -1
- package/src/icons/gripper-vertical-icon.tsx +1 -1
- package/src/icons/history-icon.tsx +1 -1
- package/src/icons/home-icon.tsx +1 -1
- package/src/icons/icon-element.tsx +1 -1
- package/src/icons/icons.module.css +11 -1
- package/src/icons/info-icon.tsx +1 -1
- package/src/icons/infonomic-icon.tsx +1 -1
- package/src/icons/light-icon.tsx +1 -1
- package/src/icons/location-pin-icon.tsx +1 -1
- package/src/icons/markdown-icon.tsx +1 -1
- package/src/icons/moon-icon.tsx +1 -1
- package/src/icons/plus-icon.tsx +1 -1
- package/src/icons/primary-icon.tsx +1 -1
- package/src/icons/refresh-icon.tsx +1 -1
- package/src/icons/return-icon.tsx +1 -1
- package/src/icons/roles-icon.tsx +1 -1
- package/src/icons/search-icon.tsx +1 -1
- package/src/icons/search-menu-icon.tsx +1 -1
- package/src/icons/settings-gear-icon.tsx +1 -1
- package/src/icons/settings-sliders-icon.tsx +1 -1
- package/src/icons/sign-out-icon.tsx +1 -1
- package/src/icons/stop-icon.tsx +1 -1
- package/src/icons/stopwatch-icon.tsx +1 -1
- package/src/icons/success-icon.tsx +1 -1
- package/src/icons/user-icon.tsx +1 -1
- package/src/icons/users-icon.tsx +1 -1
- package/src/icons/wallet-icon.tsx +1 -1
- package/src/icons/warning-icon.tsx +1 -1
- package/src/icons/x-icon.tsx +1 -1
- package/src/loaders/ellipses.module.css +9 -4
- package/src/loaders/ellipses.tsx +1 -1
- package/src/loaders/ring.module.css +9 -4
- package/src/loaders/ring.tsx +1 -1
- package/src/loaders/spinner.module.css +9 -4
- package/src/loaders/spinner.tsx +1 -1
- package/src/styles/base/animations.css +12 -0
- package/src/styles/base/base.css +12 -0
- package/src/styles/base/borders.css +12 -0
- package/src/styles/base/breakpoints.css +12 -0
- package/src/styles/base/colors.css +12 -0
- package/src/styles/base/opacity.css +12 -0
- package/src/styles/base/shadows.css +12 -0
- package/src/styles/base/size.css +12 -0
- package/src/styles/base/spacing.css +12 -0
- package/src/styles/base/transitions.css +12 -0
- package/src/styles/base/typography.css +12 -0
- package/src/styles/base/z-index.css +12 -0
- package/src/styles/components/components.css +12 -0
- package/src/styles/components/fade-in-lift.css +27 -13
- package/src/styles/components/hamburger.css +11 -6
- package/src/styles/components/loaders.css +168 -154
- package/src/styles/functional/README.md +18 -18
- package/src/styles/functional/borders.css +12 -0
- package/src/styles/functional/colors.css +12 -0
- package/src/styles/functional/functional.css +12 -0
- package/src/styles/functional/grid-flex.css +12 -0
- package/src/styles/functional/shadcn-compat.css +12 -0
- package/src/styles/functional/surfaces.css +12 -0
- package/src/styles/functional/typography.css +12 -0
- package/src/styles/local-fonts.css +12 -0
- package/src/styles/reset.css +18 -0
- package/src/styles/styles.css +9 -4
- package/src/styles/theme/autofill.css +12 -0
- package/src/styles/theme/defaults.css +12 -0
- package/src/styles/theme/scrollers.css +12 -0
- package/src/styles/theme/theme.css +12 -0
- package/src/styles/typography/fonts.css +12 -0
- package/src/styles/typography/prose.css +12 -0
- package/src/styles/typography.css +12 -0
- package/src/styles/utils/scroll-layout-shift.css +12 -0
- package/src/styles/utils/utility-classes.css +12 -0
- package/src/styles/utils/utils.css +12 -0
- package/src/widgets/datepicker/datepicker.module.css +21 -2
- package/src/widgets/datepicker/datepicker.tsx +98 -5
- package/src/widgets/drawer/drawer-container.tsx +1 -1
- package/src/widgets/drawer/drawer-content.tsx +1 -1
- package/src/widgets/drawer/drawer-header.tsx +1 -1
- package/src/widgets/drawer/drawer-top-actions.tsx +1 -1
- package/src/widgets/drawer/drawer.module.css +11 -1
- package/src/widgets/drawer/drawer.tsx +1 -1
- package/src/widgets/modal/modal-actions.tsx +1 -1
- package/src/widgets/modal/modal-container.tsx +1 -1
- package/src/widgets/modal/modal-content.tsx +1 -1
- package/src/widgets/modal/modal-context.ts +23 -0
- package/src/widgets/modal/modal-header.tsx +30 -3
- package/src/widgets/modal/modal.module.css +11 -1
- package/src/widgets/modal/modal.tsx +16 -7
- package/src/widgets/timeline/timeline.module.css +9 -4
- package/src/widgets/timeline/timeline.tsx +1 -1
|
@@ -1,4 +1,14 @@
|
|
|
1
|
-
@layer
|
|
1
|
+
@layer base,
|
|
2
|
+
infonomic-base,
|
|
3
|
+
theme,
|
|
4
|
+
infonomic-theme,
|
|
5
|
+
infonomic-functional,
|
|
6
|
+
infonomic-typography,
|
|
7
|
+
components,
|
|
8
|
+
infonomic-components,
|
|
9
|
+
overrides,
|
|
10
|
+
infonomic-utilities,
|
|
11
|
+
utilities;
|
|
2
12
|
|
|
3
13
|
@layer infonomic-components {
|
|
4
14
|
.combo-button-wrapper,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@layer infonomic-base, infonomic-
|
|
1
|
+
@layer base, infonomic-base, theme, infonomic-theme, infonomic-functional, infonomic-typography, components;
|
|
2
2
|
|
|
3
3
|
@layer infonomic-components {
|
|
4
4
|
:is(.combo-button-wrapper-nRtH6j, .infonomic-combo-button-wrapper) {
|
|
@@ -70,3 +70,5 @@
|
|
|
70
70
|
}
|
|
71
71
|
}
|
|
72
72
|
|
|
73
|
+
@layer overrides, infonomic-utilities, utilities;
|
|
74
|
+
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
|
-
import
|
|
3
|
+
import clsx from "clsx";
|
|
4
4
|
import control_buttons_module from "./control-buttons.module.js";
|
|
5
5
|
const DirectionalButton = ({ size = 'md', direction, className, onClick, ref, ...rest })=>{
|
|
6
6
|
const handleClick = ()=>{
|
|
@@ -12,7 +12,7 @@ const DirectionalButton = ({ size = 'md', direction, className, onClick, ref, ..
|
|
|
12
12
|
onClick: handleClick,
|
|
13
13
|
type: "button",
|
|
14
14
|
"aria-label": direction,
|
|
15
|
-
className:
|
|
15
|
+
className: clsx('infonomic-control-button', direction, size, control_buttons_module["directional-button"], control_buttons_module[direction], control_buttons_module[size], className),
|
|
16
16
|
children: /*#__PURE__*/ jsx("span", {
|
|
17
17
|
children: /*#__PURE__*/ jsx("svg", {
|
|
18
18
|
className: "icon",
|
|
@@ -37,7 +37,7 @@ const PlayButton = ({ size = 'md', className, onClick, ref, ...rest })=>{
|
|
|
37
37
|
onClick: handleClick,
|
|
38
38
|
type: "button",
|
|
39
39
|
"aria-label": "play",
|
|
40
|
-
className:
|
|
40
|
+
className: clsx('control-button', 'play', size, control_buttons_module["play-button"], control_buttons_module[size], className),
|
|
41
41
|
children: /*#__PURE__*/ jsx("span", {
|
|
42
42
|
children: /*#__PURE__*/ jsx("svg", {
|
|
43
43
|
className: "icon",
|
|
@@ -65,7 +65,7 @@ const StopButton = ({ size = 'md', className, onClick, ref, ...rest })=>{
|
|
|
65
65
|
onClick: handleClick,
|
|
66
66
|
type: "button",
|
|
67
67
|
"aria-label": "stop",
|
|
68
|
-
className:
|
|
68
|
+
className: clsx('control-button', 'stop', size, control_buttons_module["stop-button"], control_buttons_module[size], className),
|
|
69
69
|
children: /*#__PURE__*/ jsx("span", {
|
|
70
70
|
children: /*#__PURE__*/ jsx("svg", {
|
|
71
71
|
className: "icon",
|
|
@@ -1,4 +1,14 @@
|
|
|
1
|
-
@layer
|
|
1
|
+
@layer base,
|
|
2
|
+
infonomic-base,
|
|
3
|
+
theme,
|
|
4
|
+
infonomic-theme,
|
|
5
|
+
infonomic-functional,
|
|
6
|
+
infonomic-typography,
|
|
7
|
+
components,
|
|
8
|
+
infonomic-components,
|
|
9
|
+
overrides,
|
|
10
|
+
infonomic-utilities,
|
|
11
|
+
utilities;
|
|
2
12
|
|
|
3
13
|
@layer infonomic-components {
|
|
4
14
|
.stop-button,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@layer infonomic-base, infonomic-
|
|
1
|
+
@layer base, infonomic-base, theme, infonomic-theme, infonomic-functional, infonomic-typography, components;
|
|
2
2
|
|
|
3
3
|
@layer infonomic-components {
|
|
4
4
|
:is(.stop-button-krMTsl, .play-button-GfHYHO, .directional-button-kGS8rA, .infonomic-stop-button, .infonomic-play-button, .infonomic-directional-button) {
|
|
@@ -107,3 +107,5 @@
|
|
|
107
107
|
}
|
|
108
108
|
}
|
|
109
109
|
|
|
110
|
+
@layer overrides, infonomic-utilities, utilities;
|
|
111
|
+
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
3
|
import { useEffect, useState } from "react";
|
|
4
|
-
import
|
|
4
|
+
import clsx from "clsx";
|
|
5
5
|
import { Tooltip } from "../tooltip/tooltip.js";
|
|
6
6
|
import { Button } from "./button.js";
|
|
7
7
|
import copy_button_module from "./copy-button.module.js";
|
|
@@ -31,7 +31,7 @@ function CopyButton({ text, hoverText = 'Copy', copiedText = 'Copied!', variant,
|
|
|
31
31
|
]);
|
|
32
32
|
const tooltipText = copied ? copiedText : hoverText;
|
|
33
33
|
return /*#__PURE__*/ jsx("div", {
|
|
34
|
-
className:
|
|
34
|
+
className: clsx('infonomic-copy-button-container', copy_button_module["copy-button-container"], containerClassName),
|
|
35
35
|
children: /*#__PURE__*/ jsx(Tooltip, {
|
|
36
36
|
side: "top",
|
|
37
37
|
sideOffset: 2,
|
|
@@ -47,7 +47,7 @@ function CopyButton({ text, hoverText = 'Copy', copiedText = 'Copied!', variant,
|
|
|
47
47
|
intent: intent,
|
|
48
48
|
fullWidth: fullWidth,
|
|
49
49
|
ripple: ripple,
|
|
50
|
-
className:
|
|
50
|
+
className: clsx('infonomic-copy-button', `infonomic-copy-button-${variant}`, `infonomic-copy-button-${size}`, `infonomic-copy-button-${intent}`, copy_button_module[size], className),
|
|
51
51
|
onClick: handleCopied,
|
|
52
52
|
...rest,
|
|
53
53
|
children: /*#__PURE__*/ jsx("svg", {
|
|
@@ -1,9 +1,14 @@
|
|
|
1
|
-
@layer
|
|
2
|
-
infonomic-
|
|
3
|
-
|
|
1
|
+
@layer base,
|
|
2
|
+
infonomic-base,
|
|
3
|
+
theme,
|
|
4
4
|
infonomic-theme,
|
|
5
|
+
infonomic-functional,
|
|
5
6
|
infonomic-typography,
|
|
6
|
-
|
|
7
|
+
components,
|
|
8
|
+
infonomic-components,
|
|
9
|
+
overrides,
|
|
10
|
+
infonomic-utilities,
|
|
11
|
+
utilities;
|
|
7
12
|
|
|
8
13
|
@layer infonomic-components {
|
|
9
14
|
.copy-button-container,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@layer
|
|
1
|
+
@layer base, infonomic-base, theme, infonomic-theme, infonomic-functional, infonomic-typography, components;
|
|
2
2
|
|
|
3
3
|
@layer infonomic-components {
|
|
4
4
|
:is(.copy-button-container-vCNz8o, .infonomic-copy-button-container) {
|
|
@@ -47,3 +47,5 @@
|
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
+
@layer overrides, infonomic-utilities, utilities;
|
|
51
|
+
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
|
-
import
|
|
3
|
+
import clsx from "clsx";
|
|
4
4
|
import { Button } from "./button.js";
|
|
5
5
|
import button_module from "./button.module.js";
|
|
6
6
|
const IconButton = ({ square = false, round = true, variant, size = 'sm', intent, className, children, ...rest })=>/*#__PURE__*/ jsx(Button, {
|
|
7
7
|
variant: variant,
|
|
8
8
|
size: size,
|
|
9
9
|
intent: intent,
|
|
10
|
-
className:
|
|
10
|
+
className: clsx('icon-button', variant, size, intent, {
|
|
11
11
|
[button_module.square]: square
|
|
12
12
|
}, {
|
|
13
13
|
[button_module.round]: !square && round
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export * from './button';
|
|
2
|
-
export * from './button-group';
|
|
3
|
-
export * from './control-buttons';
|
|
4
|
-
export * from './copy-button';
|
|
5
|
-
export * from './icon-button';
|
|
1
|
+
export * from './button.js';
|
|
2
|
+
export * from './button-group.js';
|
|
3
|
+
export * from './control-buttons.js';
|
|
4
|
+
export * from './copy-button.js';
|
|
5
|
+
export * from './icon-button.js';
|
|
6
6
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useRender } from "@base-ui/react/use-render";
|
|
3
|
-
import
|
|
3
|
+
import clsx from "clsx";
|
|
4
4
|
import card_module from "./card.module.js";
|
|
5
5
|
const Card = ({ className, hover, children, render, ref, ...rest })=>{
|
|
6
6
|
const hoverClasses = null != hover && true === hover ? card_module["card-hover"] : void 0;
|
|
7
|
-
const classes =
|
|
7
|
+
const classes = clsx('infonomic-card', card_module.card, hoverClasses, className);
|
|
8
8
|
const element = useRender({
|
|
9
9
|
defaultTagName: 'div',
|
|
10
10
|
render,
|
|
@@ -20,31 +20,31 @@ const Card = ({ className, hover, children, render, ref, ...rest })=>{
|
|
|
20
20
|
Card.displayName = 'Card';
|
|
21
21
|
const Header = ({ className, ref, ...props })=>/*#__PURE__*/ jsx("div", {
|
|
22
22
|
ref: ref,
|
|
23
|
-
className:
|
|
23
|
+
className: clsx('infonomic-card-header', card_module["card-header"], className),
|
|
24
24
|
...props
|
|
25
25
|
});
|
|
26
26
|
Header.displayName = 'CardHeader';
|
|
27
27
|
const Title = ({ className, ref, ...props })=>/*#__PURE__*/ jsx("div", {
|
|
28
28
|
ref: ref,
|
|
29
|
-
className:
|
|
29
|
+
className: clsx('infonomic-card-title', card_module["card-title"], className),
|
|
30
30
|
...props
|
|
31
31
|
});
|
|
32
32
|
Title.displayName = 'CardTitle';
|
|
33
33
|
const Description = ({ className, ref, ...props })=>/*#__PURE__*/ jsx("div", {
|
|
34
34
|
ref: ref,
|
|
35
|
-
className:
|
|
35
|
+
className: clsx("infonomic-card-description", card_module["card-description"], className),
|
|
36
36
|
...props
|
|
37
37
|
});
|
|
38
38
|
Description.displayName = "CardDescription";
|
|
39
39
|
const Content = ({ className, ref, ...props })=>/*#__PURE__*/ jsx("div", {
|
|
40
40
|
ref: ref,
|
|
41
|
-
className:
|
|
41
|
+
className: clsx('infonomic-card-content', card_module["card-content"], className),
|
|
42
42
|
...props
|
|
43
43
|
});
|
|
44
44
|
Content.displayName = 'CardContent';
|
|
45
45
|
const Footer = ({ className, ref, ...props })=>/*#__PURE__*/ jsx("div", {
|
|
46
46
|
ref: ref,
|
|
47
|
-
className:
|
|
47
|
+
className: clsx('infonomic-card-footer', card_module["card-footer"], className),
|
|
48
48
|
...props
|
|
49
49
|
});
|
|
50
50
|
Footer.displayName = 'CardFooter';
|
|
@@ -1,9 +1,14 @@
|
|
|
1
|
-
@layer
|
|
2
|
-
infonomic-
|
|
3
|
-
|
|
1
|
+
@layer base,
|
|
2
|
+
infonomic-base,
|
|
3
|
+
theme,
|
|
4
4
|
infonomic-theme,
|
|
5
|
+
infonomic-functional,
|
|
5
6
|
infonomic-typography,
|
|
6
|
-
|
|
7
|
+
components,
|
|
8
|
+
infonomic-components,
|
|
9
|
+
overrides,
|
|
10
|
+
infonomic-utilities,
|
|
11
|
+
utilities;
|
|
7
12
|
|
|
8
13
|
@layer infonomic-components {
|
|
9
14
|
.card,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@layer
|
|
1
|
+
@layer base, infonomic-base, theme, infonomic-theme, infonomic-functional, infonomic-typography, components;
|
|
2
2
|
|
|
3
3
|
@layer infonomic-components {
|
|
4
4
|
:is(.card-mqJaiW, .infonomic-card) {
|
|
@@ -60,3 +60,5 @@
|
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
62
|
|
|
63
|
+
@layer overrides, infonomic-utilities, utilities;
|
|
64
|
+
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { mergeProps } from "@base-ui/react/merge-props";
|
|
4
4
|
import { useRender } from "@base-ui/react/use-render";
|
|
5
|
-
import
|
|
5
|
+
import clsx from "clsx";
|
|
6
6
|
import { CheckIcon } from "../../icons/check-icon.js";
|
|
7
7
|
import { CloseIcon } from "../../icons/close-icon.js";
|
|
8
8
|
import chip_module from "./chip.module.js";
|
|
@@ -54,7 +54,7 @@ const Chip = ({ variant = 'assist', intent = 'primary', size = 'md', selected =
|
|
|
54
54
|
onClick: handleRemoveClick,
|
|
55
55
|
onKeyDown: handleRemoveKeyDown,
|
|
56
56
|
children: /*#__PURE__*/ jsx(CloseIcon, {
|
|
57
|
-
className:
|
|
57
|
+
className: clsx('infonomic-chip-close-icon', chip_module.icon, chip_module["close-icon"])
|
|
58
58
|
})
|
|
59
59
|
}) : endIcon;
|
|
60
60
|
const appliedVariant = isSelected ? 'filled' : 'outlined';
|
|
@@ -65,7 +65,7 @@ const Chip = ({ variant = 'assist', intent = 'primary', size = 'md', selected =
|
|
|
65
65
|
'aria-disabled': disabled || void 0,
|
|
66
66
|
'aria-pressed': isSelectable ? isSelected : void 0,
|
|
67
67
|
'aria-selected': isSelectable ? isSelected : void 0,
|
|
68
|
-
className:
|
|
68
|
+
className: clsx('infonomic-chip', `infonomic-chip-${variant}`, `infonomic-chip-${intent}`, `infonomic-chip-${size}`, {
|
|
69
69
|
selected: isSelected,
|
|
70
70
|
disabled,
|
|
71
71
|
removable: isRemovable
|
|
@@ -76,15 +76,15 @@ const Chip = ({ variant = 'assist', intent = 'primary', size = 'md', selected =
|
|
|
76
76
|
children: /*#__PURE__*/ jsxs(Fragment, {
|
|
77
77
|
children: [
|
|
78
78
|
null != leadingIcon && /*#__PURE__*/ jsx("span", {
|
|
79
|
-
className:
|
|
79
|
+
className: clsx('infonomic-chip-icon-wrapper', chip_module.iconWrapper),
|
|
80
80
|
children: leadingIcon
|
|
81
81
|
}),
|
|
82
82
|
/*#__PURE__*/ jsx("span", {
|
|
83
|
-
className:
|
|
83
|
+
className: clsx('infonomic-chip-label', chip_module.label),
|
|
84
84
|
children: children
|
|
85
85
|
}),
|
|
86
86
|
null != trailingIcon && /*#__PURE__*/ jsx("span", {
|
|
87
|
-
className:
|
|
87
|
+
className: clsx('infonomic-chip-icon-wrapper', chip_module.iconWrapper),
|
|
88
88
|
children: trailingIcon
|
|
89
89
|
})
|
|
90
90
|
]
|
|
@@ -1,9 +1,14 @@
|
|
|
1
|
-
@layer
|
|
2
|
-
infonomic-
|
|
3
|
-
|
|
1
|
+
@layer base,
|
|
2
|
+
infonomic-base,
|
|
3
|
+
theme,
|
|
4
4
|
infonomic-theme,
|
|
5
|
+
infonomic-functional,
|
|
5
6
|
infonomic-typography,
|
|
6
|
-
|
|
7
|
+
components,
|
|
8
|
+
infonomic-components,
|
|
9
|
+
overrides,
|
|
10
|
+
infonomic-utilities,
|
|
11
|
+
utilities;
|
|
7
12
|
|
|
8
13
|
@layer infonomic-components {
|
|
9
14
|
.chip,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@layer
|
|
1
|
+
@layer base, infonomic-base, theme, infonomic-theme, infonomic-functional, infonomic-typography, components;
|
|
2
2
|
|
|
3
3
|
@layer infonomic-components {
|
|
4
4
|
:is(.chip-AhhT7N, .infonomic-chip) {
|
|
@@ -313,3 +313,5 @@
|
|
|
313
313
|
}
|
|
314
314
|
}
|
|
315
315
|
|
|
316
|
+
@layer overrides, infonomic-utilities, utilities;
|
|
317
|
+
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
2
|
+
import clsx from "clsx";
|
|
3
3
|
import container_module from "./container.module.js";
|
|
4
4
|
const container_Container = function({ ref, className, children, ...rest }) {
|
|
5
5
|
return /*#__PURE__*/ jsx("div", {
|
|
6
6
|
ref: ref,
|
|
7
7
|
...rest,
|
|
8
|
-
className:
|
|
8
|
+
className: clsx('infonomic-container', container_module.container, className),
|
|
9
9
|
children: children
|
|
10
10
|
});
|
|
11
11
|
};
|
|
@@ -1,9 +1,14 @@
|
|
|
1
|
-
@layer
|
|
2
|
-
infonomic-
|
|
3
|
-
|
|
1
|
+
@layer base,
|
|
2
|
+
infonomic-base,
|
|
3
|
+
theme,
|
|
4
4
|
infonomic-theme,
|
|
5
|
+
infonomic-functional,
|
|
5
6
|
infonomic-typography,
|
|
6
|
-
|
|
7
|
+
components,
|
|
8
|
+
infonomic-components,
|
|
9
|
+
overrides,
|
|
10
|
+
infonomic-utilities,
|
|
11
|
+
utilities;
|
|
7
12
|
|
|
8
13
|
@layer infonomic-components {
|
|
9
14
|
.container,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@layer
|
|
1
|
+
@layer base, infonomic-base, theme, infonomic-theme, infonomic-functional, infonomic-typography, components;
|
|
2
2
|
|
|
3
3
|
@layer infonomic-components {
|
|
4
4
|
:is(.container-tSpizY, .infonomic-container) {
|
|
@@ -8,22 +8,24 @@
|
|
|
8
8
|
padding: 0 1rem;
|
|
9
9
|
}
|
|
10
10
|
|
|
11
|
-
@media (
|
|
11
|
+
@media (width >= 66rem) {
|
|
12
12
|
:is(.container-tSpizY, .infonomic-container) {
|
|
13
13
|
max-width: 64rem;
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
16
|
|
|
17
|
-
@media (
|
|
17
|
+
@media (width >= 77rem) {
|
|
18
18
|
:is(.container-tSpizY, .infonomic-container) {
|
|
19
19
|
max-width: 74.375rem;
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
-
@media (
|
|
23
|
+
@media (width >= 94rem) {
|
|
24
24
|
:is(.container-tSpizY, .infonomic-container) {
|
|
25
25
|
max-width: 87.5rem;
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
+
@layer overrides, infonomic-utilities, utilities;
|
|
31
|
+
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
3
|
import { Menu } from "@base-ui/react/menu";
|
|
4
|
-
import
|
|
4
|
+
import clsx from "clsx";
|
|
5
5
|
import dropdown_module from "./dropdown.module.js";
|
|
6
6
|
function Root({ children, ...rest }) {
|
|
7
7
|
return /*#__PURE__*/ jsx(Menu.Root, {
|
|
@@ -10,7 +10,7 @@ function Root({ children, ...rest }) {
|
|
|
10
10
|
});
|
|
11
11
|
}
|
|
12
12
|
const Trigger = ({ ref, className, children, ...rest })=>/*#__PURE__*/ jsx(Menu.Trigger, {
|
|
13
|
-
className:
|
|
13
|
+
className: clsx('infonomic-dropdown-trigger', className),
|
|
14
14
|
ref: ref,
|
|
15
15
|
...rest,
|
|
16
16
|
children: children
|
|
@@ -31,7 +31,7 @@ const Content = ({ ref, className, children, side, sideOffset, align, alignOffse
|
|
|
31
31
|
anchor: anchor,
|
|
32
32
|
children: /*#__PURE__*/ jsx(Menu.Popup, {
|
|
33
33
|
ref: ref,
|
|
34
|
-
className:
|
|
34
|
+
className: clsx('infonomic-dropdown-content', dropdown_module["dropdown-content"], className),
|
|
35
35
|
...rest,
|
|
36
36
|
children: children
|
|
37
37
|
})
|
|
@@ -39,28 +39,28 @@ const Content = ({ ref, className, children, side, sideOffset, align, alignOffse
|
|
|
39
39
|
Content.displayName = 'Content';
|
|
40
40
|
const Group = ({ ref, className, children, ...rest })=>/*#__PURE__*/ jsx(Menu.Group, {
|
|
41
41
|
ref: ref,
|
|
42
|
-
className:
|
|
42
|
+
className: clsx('infonomic-dropdown-group', className),
|
|
43
43
|
...rest,
|
|
44
44
|
children: children
|
|
45
45
|
});
|
|
46
46
|
Group.displayName = 'Group';
|
|
47
47
|
const Item = ({ ref, className, children, ...rest })=>/*#__PURE__*/ jsx(Menu.Item, {
|
|
48
48
|
ref: ref,
|
|
49
|
-
className:
|
|
49
|
+
className: clsx('infonomic-dropdown-item', dropdown_module["dropdown-item"], className),
|
|
50
50
|
...rest,
|
|
51
51
|
children: children
|
|
52
52
|
});
|
|
53
53
|
Item.displayName = 'Item';
|
|
54
54
|
const Label = ({ ref, className, children, ...rest })=>/*#__PURE__*/ jsx(Menu.GroupLabel, {
|
|
55
55
|
ref: ref,
|
|
56
|
-
className:
|
|
56
|
+
className: clsx('infonomic-dropdown-label', className),
|
|
57
57
|
...rest,
|
|
58
58
|
children: children
|
|
59
59
|
});
|
|
60
60
|
Label.displayName = 'Label';
|
|
61
61
|
const Separator = ({ ref, className, ...props })=>/*#__PURE__*/ jsx(Menu.Separator, {
|
|
62
62
|
ref: ref,
|
|
63
|
-
className:
|
|
63
|
+
className: clsx('infonomic-dropdown-separator', dropdown_module["dropdown-separator"], className),
|
|
64
64
|
...props
|
|
65
65
|
});
|
|
66
66
|
Separator.displayName = 'Separator';
|
|
@@ -78,7 +78,7 @@ const SubContent = ({ ref, className, children, side, sideOffset, align, alignOf
|
|
|
78
78
|
collisionPadding: collisionPadding,
|
|
79
79
|
children: /*#__PURE__*/ jsx(Menu.Popup, {
|
|
80
80
|
ref: ref,
|
|
81
|
-
className:
|
|
81
|
+
className: clsx('infonomic-dropdown-subcontent', dropdown_module["dropdown-subcontent"], className),
|
|
82
82
|
...rest,
|
|
83
83
|
children: children
|
|
84
84
|
})
|
|
@@ -86,22 +86,22 @@ const SubContent = ({ ref, className, children, side, sideOffset, align, alignOf
|
|
|
86
86
|
SubContent.displayName = 'SubContent';
|
|
87
87
|
const SubTrigger = ({ ref, className, children, ...rest })=>/*#__PURE__*/ jsx(Menu.SubmenuTrigger, {
|
|
88
88
|
ref: ref,
|
|
89
|
-
className:
|
|
89
|
+
className: clsx('infonomic-dropdown-subtrigger', className),
|
|
90
90
|
...rest,
|
|
91
91
|
children: children
|
|
92
92
|
});
|
|
93
93
|
SubTrigger.displayName = 'SubTrigger';
|
|
94
94
|
const Dropdown = {
|
|
95
|
-
Root
|
|
96
|
-
Trigger
|
|
97
|
-
Portal
|
|
98
|
-
Content
|
|
99
|
-
Group
|
|
100
|
-
Item
|
|
101
|
-
Label
|
|
102
|
-
Separator
|
|
103
|
-
Sub
|
|
104
|
-
SubContent
|
|
105
|
-
SubTrigger
|
|
95
|
+
Root,
|
|
96
|
+
Trigger,
|
|
97
|
+
Portal,
|
|
98
|
+
Content,
|
|
99
|
+
Group,
|
|
100
|
+
Item,
|
|
101
|
+
Label,
|
|
102
|
+
Separator,
|
|
103
|
+
Sub,
|
|
104
|
+
SubContent,
|
|
105
|
+
SubTrigger
|
|
106
106
|
};
|
|
107
107
|
export { Dropdown };
|
|
@@ -1,9 +1,14 @@
|
|
|
1
|
-
@layer
|
|
2
|
-
infonomic-
|
|
3
|
-
|
|
1
|
+
@layer base,
|
|
2
|
+
infonomic-base,
|
|
3
|
+
theme,
|
|
4
4
|
infonomic-theme,
|
|
5
|
+
infonomic-functional,
|
|
5
6
|
infonomic-typography,
|
|
6
|
-
|
|
7
|
+
components,
|
|
8
|
+
infonomic-components,
|
|
9
|
+
overrides,
|
|
10
|
+
infonomic-utilities,
|
|
11
|
+
utilities;
|
|
7
12
|
|
|
8
13
|
@layer infonomic-components {
|
|
9
14
|
.dropdown-content,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@layer
|
|
1
|
+
@layer base, infonomic-base, theme, infonomic-theme, infonomic-functional, infonomic-typography, components;
|
|
2
2
|
|
|
3
3
|
@layer infonomic-components {
|
|
4
4
|
:is(.dropdown-content-oNxY22, .dropdown-subcontent-JZGnvB, .infonomic-dropdown-content, .infonomic-dropdown-subcontent) {
|
|
@@ -109,3 +109,5 @@
|
|
|
109
109
|
}
|
|
110
110
|
}
|
|
111
111
|
|
|
112
|
+
@layer overrides, infonomic-utilities, utilities;
|
|
113
|
+
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
3
|
import { useCallback, useEffect } from "react";
|
|
4
|
-
import
|
|
4
|
+
import clsx from "clsx";
|
|
5
5
|
import hamburger_module from "./hamburger.module.js";
|
|
6
6
|
function Hamburger({ className, colorScheme = 'auto', open = false, onChange, ariaLabel = 'Toggle menu', ariaControls, ...other }) {
|
|
7
7
|
const handleClick = (event)=>{
|
|
@@ -25,7 +25,7 @@ function Hamburger({ className, colorScheme = 'auto', open = false, onChange, ar
|
|
|
25
25
|
return /*#__PURE__*/ jsx("button", {
|
|
26
26
|
type: "button",
|
|
27
27
|
onClick: handleClick,
|
|
28
|
-
className:
|
|
28
|
+
className: clsx('infonomic-hamburger', hamburger_module.hamburger, {
|
|
29
29
|
[hamburger_module.open]: open,
|
|
30
30
|
[hamburger_module.onDark]: 'onDark' === colorScheme,
|
|
31
31
|
[hamburger_module.onLight]: 'onLight' === colorScheme
|
|
@@ -35,10 +35,10 @@ function Hamburger({ className, colorScheme = 'auto', open = false, onChange, ar
|
|
|
35
35
|
"aria-expanded": open,
|
|
36
36
|
...other,
|
|
37
37
|
children: /*#__PURE__*/ jsx("span", {
|
|
38
|
-
className:
|
|
38
|
+
className: clsx('infonomic-hamburger-box', hamburger_module.box),
|
|
39
39
|
"aria-hidden": "true",
|
|
40
40
|
children: /*#__PURE__*/ jsx("span", {
|
|
41
|
-
className:
|
|
41
|
+
className: clsx('infonomic-hamburger-inner', hamburger_module.inner)
|
|
42
42
|
})
|
|
43
43
|
})
|
|
44
44
|
});
|
|
@@ -1,9 +1,14 @@
|
|
|
1
|
-
@layer
|
|
2
|
-
infonomic-
|
|
3
|
-
|
|
1
|
+
@layer base,
|
|
2
|
+
infonomic-base,
|
|
3
|
+
theme,
|
|
4
4
|
infonomic-theme,
|
|
5
|
+
infonomic-functional,
|
|
5
6
|
infonomic-typography,
|
|
6
|
-
|
|
7
|
+
components,
|
|
8
|
+
infonomic-components,
|
|
9
|
+
overrides,
|
|
10
|
+
infonomic-utilities,
|
|
11
|
+
utilities;
|
|
7
12
|
|
|
8
13
|
@layer infonomic-components {
|
|
9
14
|
.hamburger,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@layer
|
|
1
|
+
@layer base, infonomic-base, theme, infonomic-theme, infonomic-functional, infonomic-typography, components;
|
|
2
2
|
|
|
3
3
|
@layer infonomic-components {
|
|
4
4
|
:is(.hamburger-CFjgP7, .infonomic-hamburger) {
|
|
@@ -167,3 +167,5 @@
|
|
|
167
167
|
}
|
|
168
168
|
}
|
|
169
169
|
|
|
170
|
+
@layer overrides, infonomic-utilities, utilities;
|
|
171
|
+
|