@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,3 +1,3 @@
|
|
|
1
|
-
import type { UsePaginationProps, UsePaginationResult } from './types/usePagination';
|
|
1
|
+
import type { UsePaginationProps, UsePaginationResult } from './types/usePagination.js';
|
|
2
2
|
export declare function usePagination(props: UsePaginationProps): UsePaginationResult;
|
|
3
3
|
//# sourceMappingURL=usePagination.d.ts.map
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
3
|
import react from "react";
|
|
4
|
-
import
|
|
4
|
+
import clsx from "clsx";
|
|
5
5
|
import { ChevronRightDoubleIcon } from "../../icons/chevron-right-double-icon.js";
|
|
6
6
|
import { usePager } from "./pagination.js";
|
|
7
7
|
import pagination_module from "./pagination.module.js";
|
|
8
8
|
const LastButton = ({ ref, className, disabled, count, render, children, ...rest })=>{
|
|
9
9
|
const { variant } = usePager();
|
|
10
10
|
const sharedProps = {
|
|
11
|
-
className:
|
|
11
|
+
className: clsx(pagination_module["last-button"], pagination_module[variant], pagination_module["rounded-right"], 'pagination-last', className),
|
|
12
12
|
disabled,
|
|
13
13
|
title: 'Last',
|
|
14
14
|
'data-testid': 'pagination-last',
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
3
|
import react from "react";
|
|
4
|
-
import
|
|
4
|
+
import clsx from "clsx";
|
|
5
5
|
import { ChevronRightIcon } from "../../icons/chevron-right-icon.js";
|
|
6
6
|
import { usePager } from "./pagination.js";
|
|
7
7
|
import pagination_module from "./pagination.module.js";
|
|
8
8
|
const NextButton = ({ ref, className, disabled, page, render, children, ...rest })=>{
|
|
9
9
|
const { variant, showLastButton } = usePager();
|
|
10
10
|
const sharedProps = {
|
|
11
|
-
className:
|
|
11
|
+
className: clsx(pagination_module["next-button"], [
|
|
12
12
|
pagination_module[variant]
|
|
13
13
|
], {
|
|
14
14
|
[pagination_module["rounded-right"]]: null == showLastButton || false === showLastButton
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
3
|
import react from "react";
|
|
4
|
-
import
|
|
4
|
+
import clsx from "clsx";
|
|
5
5
|
import { useMediaQuery } from "../../hooks/use-media-query.js";
|
|
6
6
|
import { usePager } from "./pagination.js";
|
|
7
7
|
import pagination_module from "./pagination.module.js";
|
|
@@ -10,7 +10,7 @@ const NumberButton = ({ ref, page, className, disabled, activeClassName, render,
|
|
|
10
10
|
const { variant, currentPage, count, showFirstButton, showLastButton, hideNextButton, hidePrevButton } = usePager();
|
|
11
11
|
const active = page === currentPage;
|
|
12
12
|
const sharedProps = {
|
|
13
|
-
className:
|
|
13
|
+
className: clsx(pagination_module["number-button"], [
|
|
14
14
|
pagination_module[variant]
|
|
15
15
|
], {
|
|
16
16
|
[pagination_module.active]: true === active,
|
|
@@ -20,7 +20,7 @@ const NumberButton = ({ ref, page, className, disabled, activeClassName, render,
|
|
|
20
20
|
}, {
|
|
21
21
|
[pagination_module["rounded-right"]]: page === count && (!(showLastButton ?? false) && (hideNextButton ?? false) || mobile)
|
|
22
22
|
}, 'pagination-number', className),
|
|
23
|
-
'data-testid':
|
|
23
|
+
'data-testid': clsx({
|
|
24
24
|
'pager-number-active': currentPage === page,
|
|
25
25
|
[`pager-number-${page}`]: currentPage !== page
|
|
26
26
|
}).length > 0 || void 0,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { Ellipses } from './ellipses.js';
|
|
3
|
-
import { FirstButton } from './first-button';
|
|
4
|
-
import { LastButton } from './last-button';
|
|
5
|
-
import { NextButton } from './next-button';
|
|
6
|
-
import { NumberButton } from './number-button';
|
|
7
|
-
import { PreviousButton } from './previous-button';
|
|
8
|
-
import type { Variant } from './@types';
|
|
9
|
-
import type { UsePaginationItem, UsePaginationProps } from './hooks/types/usePagination';
|
|
3
|
+
import { FirstButton } from './first-button.js';
|
|
4
|
+
import { LastButton } from './last-button.js';
|
|
5
|
+
import { NextButton } from './next-button.js';
|
|
6
|
+
import { NumberButton } from './number-button.js';
|
|
7
|
+
import { PreviousButton } from './previous-button.js';
|
|
8
|
+
import type { Variant } from './@types/index.js';
|
|
9
|
+
import type { UsePaginationItem, UsePaginationProps } from './hooks/types/usePagination.js';
|
|
10
10
|
declare const PAGINATION_NAME = "Pagination";
|
|
11
11
|
export interface PagerContextType {
|
|
12
12
|
variant: Variant;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { Fragment, jsx } from "react/jsx-runtime";
|
|
3
3
|
import react, { useContext } from "react";
|
|
4
|
-
import
|
|
4
|
+
import clsx from "clsx";
|
|
5
5
|
import { Ellipses } from "./ellipses.js";
|
|
6
6
|
import { FirstButton } from "./first-button.js";
|
|
7
7
|
import { usePagination } from "./hooks/usePagination.js";
|
|
@@ -113,11 +113,11 @@ const Root = ({ ref, className, itemsClassName, children, ariaLabel, dataTestId,
|
|
|
113
113
|
return /*#__PURE__*/ jsx("nav", {
|
|
114
114
|
"data-testid": dataTestId,
|
|
115
115
|
ref: ref,
|
|
116
|
-
className:
|
|
116
|
+
className: clsx('infonomic-pagination-root', pagination_module["pagination-root"], 'pagination-root', className),
|
|
117
117
|
...rest,
|
|
118
118
|
"aria-label": ariaLabel ?? 'Pager navigation',
|
|
119
119
|
children: /*#__PURE__*/ jsx("ul", {
|
|
120
|
-
className:
|
|
120
|
+
className: clsx('infonomic-pagination-items', pagination_module["pagination-items"], pagination_module[variant], itemsClassName),
|
|
121
121
|
children: children
|
|
122
122
|
})
|
|
123
123
|
});
|
|
@@ -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
|
.pagination-root,
|
|
@@ -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(.pagination-root-yB674z, .infonomic-pagination-root) {
|
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
display: none;
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
@media (
|
|
93
|
+
@media (width >= 40rem) {
|
|
94
94
|
.mobile-toggle-iw4kkx {
|
|
95
95
|
display: flex;
|
|
96
96
|
}
|
|
@@ -101,3 +101,5 @@
|
|
|
101
101
|
}
|
|
102
102
|
}
|
|
103
103
|
|
|
104
|
+
@layer overrides, infonomic-utilities, utilities;
|
|
105
|
+
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type { PagerButtonProps, RefType } from './pagination';
|
|
2
|
+
import type { PagerButtonProps, RefType } from './pagination.js';
|
|
3
3
|
export declare function PreviousButton({ ref, className, disabled, render, children, ...rest }: PagerButtonProps & {
|
|
4
4
|
ref?: React.RefObject<RefType>;
|
|
5
5
|
}): React.JSX.Element;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
3
|
import react from "react";
|
|
4
|
-
import
|
|
4
|
+
import clsx from "clsx";
|
|
5
5
|
import { ChevronLeftIcon } from "../../icons/chevron-left-icon.js";
|
|
6
6
|
import { usePager } from "./pagination.js";
|
|
7
7
|
import pagination_module from "./pagination.module.js";
|
|
8
8
|
const PreviousButton = ({ ref, className, disabled, render, children, ...rest })=>{
|
|
9
9
|
const { showFirstButton, variant } = usePager();
|
|
10
10
|
const sharedProps = {
|
|
11
|
-
className:
|
|
11
|
+
className: clsx(pagination_module["previous-button"], pagination_module[variant], {
|
|
12
12
|
[pagination_module["rounded-left"]]: null == showFirstButton || false === showFirstButton
|
|
13
13
|
}, 'pagination-previous', className),
|
|
14
14
|
disabled,
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { ScrollArea } from "@base-ui/react/scroll-area";
|
|
3
|
-
import
|
|
3
|
+
import clsx from "clsx";
|
|
4
4
|
import scroll_area_module from "./scroll-area.module.js";
|
|
5
5
|
const scroll_area_ScrollArea = ({ children, style, className })=>/*#__PURE__*/ jsxs(ScrollArea.Root, {
|
|
6
6
|
style: style,
|
|
7
|
-
className:
|
|
7
|
+
className: clsx('infonomic-scroll-area', scroll_area_module.root, className),
|
|
8
8
|
children: [
|
|
9
9
|
/*#__PURE__*/ jsx(ScrollArea.Viewport, {
|
|
10
|
-
className:
|
|
10
|
+
className: clsx('infonomic-scroll-area-viewport', scroll_area_module.viewport),
|
|
11
11
|
children: /*#__PURE__*/ jsx(ScrollArea.Content, {
|
|
12
12
|
children: children
|
|
13
13
|
})
|
|
14
14
|
}),
|
|
15
15
|
/*#__PURE__*/ jsx(ScrollArea.Scrollbar, {
|
|
16
|
-
className:
|
|
16
|
+
className: clsx('infonomic-scroll-area-scrollbar', scroll_area_module.scrollbar),
|
|
17
17
|
orientation: "vertical",
|
|
18
18
|
children: /*#__PURE__*/ jsx(ScrollArea.Thumb, {
|
|
19
|
-
className:
|
|
19
|
+
className: clsx('infonomic-scroll-area-thumb', scroll_area_module.thumb)
|
|
20
20
|
})
|
|
21
21
|
}),
|
|
22
22
|
/*#__PURE__*/ jsx(ScrollArea.Scrollbar, {
|
|
23
|
-
className:
|
|
23
|
+
className: clsx('infonomic-scroll-area-scrollbar', scroll_area_module.scrollbar),
|
|
24
24
|
orientation: "horizontal",
|
|
25
25
|
children: /*#__PURE__*/ jsx(ScrollArea.Thumb, {
|
|
26
|
-
className:
|
|
26
|
+
className: clsx('infonomic-scroll-area-thumb', scroll_area_module.thumb)
|
|
27
27
|
})
|
|
28
28
|
}),
|
|
29
29
|
/*#__PURE__*/ jsx(ScrollArea.Corner, {
|
|
30
|
-
className:
|
|
30
|
+
className: clsx('infonomic-scroll-area-corner', scroll_area_module.corner)
|
|
31
31
|
})
|
|
32
32
|
]
|
|
33
33
|
});
|
|
@@ -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
|
.root,
|
|
@@ -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(.root-XJbuOo, .infonomic-scroll-area) {
|
|
@@ -61,3 +61,5 @@
|
|
|
61
61
|
}
|
|
62
62
|
}
|
|
63
63
|
|
|
64
|
+
@layer overrides, infonomic-utilities, utilities;
|
|
65
|
+
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { useEffect, useState } from "react";
|
|
4
|
-
import
|
|
4
|
+
import clsx from "clsx";
|
|
5
5
|
import scroll_to_top_module from "./scroll-to-top.module.js";
|
|
6
6
|
function ScrollToTop({ className, showAt = 200, offset = -65, type = 'button', 'aria-label': ariaLabel = 'Scroll to top', onClick, ...props }) {
|
|
7
7
|
const [show, setShow] = useState(false);
|
|
@@ -38,7 +38,7 @@ function ScrollToTop({ className, showAt = 200, offset = -65, type = 'button', '
|
|
|
38
38
|
type: type,
|
|
39
39
|
"aria-label": ariaLabel,
|
|
40
40
|
onClick: handleOnClick,
|
|
41
|
-
className:
|
|
41
|
+
className: clsx('infonomic-scroll-to-top', scroll_to_top_module["scroll-to-top"], {
|
|
42
42
|
'infonomic-scroll-to-top-shown': show,
|
|
43
43
|
[scroll_to_top_module["scroll-to-top-shown"]]: show
|
|
44
44
|
}, className),
|
|
@@ -1,8 +1,14 @@
|
|
|
1
|
-
@layer
|
|
2
|
-
infonomic-
|
|
1
|
+
@layer base,
|
|
2
|
+
infonomic-base,
|
|
3
|
+
theme,
|
|
3
4
|
infonomic-theme,
|
|
5
|
+
infonomic-functional,
|
|
4
6
|
infonomic-typography,
|
|
5
|
-
|
|
7
|
+
components,
|
|
8
|
+
infonomic-components,
|
|
9
|
+
overrides,
|
|
10
|
+
infonomic-utilities,
|
|
11
|
+
utilities;
|
|
6
12
|
|
|
7
13
|
@layer infonomic-components {
|
|
8
14
|
.scroll-to-top,
|
|
@@ -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(.scroll-to-top-WYqAAl, .infonomic-scroll-to-top) {
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
right: 10px;
|
|
75
75
|
}
|
|
76
76
|
|
|
77
|
-
@media screen and (
|
|
77
|
+
@media screen and (width >= 587px) {
|
|
78
78
|
:is(.scroll-to-top-WYqAAl, .infonomic-scroll-to-top) {
|
|
79
79
|
bottom: 45px;
|
|
80
80
|
right: 45px;
|
|
@@ -98,3 +98,5 @@
|
|
|
98
98
|
}
|
|
99
99
|
}
|
|
100
100
|
|
|
101
|
+
@layer overrides, infonomic-utilities, utilities;
|
|
102
|
+
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
2
|
+
import clsx from "clsx";
|
|
3
3
|
import section_module from "./section.module.js";
|
|
4
4
|
const section_Section = function({ ref, className, children, ...rest }) {
|
|
5
5
|
return /*#__PURE__*/ jsx("section", {
|
|
6
|
-
className:
|
|
6
|
+
className: clsx('infonomic-section', section_module.section, className),
|
|
7
7
|
ref: ref,
|
|
8
8
|
...rest,
|
|
9
9
|
children: children
|
|
@@ -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
|
.section,
|
|
@@ -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(.section-CEcZOp, .infonomic-section) {
|
|
@@ -7,3 +7,5 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
|
|
10
|
+
@layer overrides, infonomic-utilities, utilities;
|
|
11
|
+
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
2
|
+
import clsx from "clsx";
|
|
3
3
|
import shimmer_module from "./shimmer.module.js";
|
|
4
4
|
const toCssSize = (value)=>'number' == typeof value ? `${value}px` : value;
|
|
5
5
|
function Shimmer({ className, width = '100%', height, lineHeight, borderRadius, variant = 'rectangular', lines = 1, children, ...other }) {
|
|
@@ -16,7 +16,7 @@ function Shimmer({ className, width = '100%', height, lineHeight, borderRadius,
|
|
|
16
16
|
if ('text' === variant && lines > 1) {
|
|
17
17
|
const resolvedLineHeight = toCssSize(lineHeight);
|
|
18
18
|
return /*#__PURE__*/ jsx("div", {
|
|
19
|
-
className:
|
|
19
|
+
className: clsx(shimmer_module.shimmerContainer, className),
|
|
20
20
|
style: {
|
|
21
21
|
width: toCssSize(width),
|
|
22
22
|
height: toCssSize(height)
|
|
@@ -25,7 +25,7 @@ function Shimmer({ className, width = '100%', height, lineHeight, borderRadius,
|
|
|
25
25
|
children: Array.from({
|
|
26
26
|
length: lines
|
|
27
27
|
}, (_, index)=>/*#__PURE__*/ jsx("div", {
|
|
28
|
-
className:
|
|
28
|
+
className: clsx(shimmer_module.shimmer, shimmer_module.text),
|
|
29
29
|
style: {
|
|
30
30
|
width: index === lines - 1 ? '75%' : '100%',
|
|
31
31
|
height: resolvedLineHeight,
|
|
@@ -41,7 +41,7 @@ function Shimmer({ className, width = '100%', height, lineHeight, borderRadius,
|
|
|
41
41
|
borderRadius
|
|
42
42
|
};
|
|
43
43
|
return /*#__PURE__*/ jsx("div", {
|
|
44
|
-
className:
|
|
44
|
+
className: clsx(shimmer_module.shimmer, getVariantClass(), className),
|
|
45
45
|
style: shimmerStyle,
|
|
46
46
|
...other,
|
|
47
47
|
children: children
|
|
@@ -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
|
/* 'border-collapse w-full text-sm text-left text-gray-700 dark:text-gray-400 m-0', */
|
|
9
14
|
@layer infonomic-components {
|
|
@@ -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(.shimmer-hQj5gn, .infonomic-shimmer) {
|
|
@@ -45,3 +45,5 @@
|
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
+
@layer overrides, infonomic-utilities, utilities;
|
|
49
|
+
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
2
|
+
import clsx from "clsx";
|
|
3
3
|
import table_module from "./table.module.js";
|
|
4
4
|
function Table({ ref, className, children, ...rest }) {
|
|
5
|
-
const classes =
|
|
5
|
+
const classes = clsx(table_module.table, 'infonomic-table', className);
|
|
6
6
|
return /*#__PURE__*/ jsx("table", {
|
|
7
7
|
ref: ref,
|
|
8
8
|
className: classes,
|
|
@@ -11,13 +11,13 @@ function Table({ ref, className, children, ...rest }) {
|
|
|
11
11
|
});
|
|
12
12
|
}
|
|
13
13
|
function Container({ ref, className, children, ...rest }) {
|
|
14
|
-
const classes =
|
|
14
|
+
const classes = clsx(table_module["table-container"], 'infonomic-table-container', className);
|
|
15
15
|
return /*#__PURE__*/ jsx("div", {
|
|
16
16
|
ref: ref,
|
|
17
17
|
className: classes,
|
|
18
18
|
...rest,
|
|
19
19
|
children: /*#__PURE__*/ jsx("div", {
|
|
20
|
-
className:
|
|
20
|
+
className: clsx('infonomic-table-scroller', table_module["table-scroller"]),
|
|
21
21
|
children: children
|
|
22
22
|
})
|
|
23
23
|
});
|
|
@@ -25,13 +25,13 @@ function Container({ ref, className, children, ...rest }) {
|
|
|
25
25
|
function Body({ ref, className, children, ...rest }) {
|
|
26
26
|
return /*#__PURE__*/ jsx("tbody", {
|
|
27
27
|
ref: ref,
|
|
28
|
-
className:
|
|
28
|
+
className: clsx('infonomic-table-body', className),
|
|
29
29
|
...rest,
|
|
30
30
|
children: children
|
|
31
31
|
});
|
|
32
32
|
}
|
|
33
33
|
function Header({ ref, className, children, ...rest }) {
|
|
34
|
-
const classes =
|
|
34
|
+
const classes = clsx(table_module["table-header"], 'infonomic-table-header', className);
|
|
35
35
|
return /*#__PURE__*/ jsx("thead", {
|
|
36
36
|
ref: ref,
|
|
37
37
|
className: classes,
|
|
@@ -40,7 +40,7 @@ function Header({ ref, className, children, ...rest }) {
|
|
|
40
40
|
});
|
|
41
41
|
}
|
|
42
42
|
function Row({ ref, className, children, ...rest }) {
|
|
43
|
-
const classes =
|
|
43
|
+
const classes = clsx(table_module["table-row"], 'infonomic-table-row', className);
|
|
44
44
|
return /*#__PURE__*/ jsx("tr", {
|
|
45
45
|
ref: ref,
|
|
46
46
|
className: classes,
|
|
@@ -49,7 +49,7 @@ function Row({ ref, className, children, ...rest }) {
|
|
|
49
49
|
});
|
|
50
50
|
}
|
|
51
51
|
function HeadingCell({ ref, className, children, ...rest }) {
|
|
52
|
-
const classes =
|
|
52
|
+
const classes = clsx(table_module["table-heading-cell"], 'infonomic-table-heading-cell', 'not-prose', className);
|
|
53
53
|
return /*#__PURE__*/ jsx("th", {
|
|
54
54
|
ref: ref,
|
|
55
55
|
className: classes,
|
|
@@ -58,7 +58,7 @@ function HeadingCell({ ref, className, children, ...rest }) {
|
|
|
58
58
|
});
|
|
59
59
|
}
|
|
60
60
|
function Cell({ ref, className, children, ...rest }) {
|
|
61
|
-
const classes =
|
|
61
|
+
const classes = clsx(table_module["table-cell"], 'infonomic-table-cell', className);
|
|
62
62
|
return /*#__PURE__*/ jsx("td", {
|
|
63
63
|
ref: ref,
|
|
64
64
|
className: classes,
|
|
@@ -67,7 +67,7 @@ function Cell({ ref, className, children, ...rest }) {
|
|
|
67
67
|
});
|
|
68
68
|
}
|
|
69
69
|
function Footer({ ref, className, children, ...rest }) {
|
|
70
|
-
const classes =
|
|
70
|
+
const classes = clsx('text-xs text-gray-700 uppercase bg-canvas-100 dark:bg-canvas-700 dark:text-gray-400', className);
|
|
71
71
|
return /*#__PURE__*/ jsx("tfoot", {
|
|
72
72
|
ref: ref,
|
|
73
73
|
className: classes,
|
|
@@ -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
|
/* 'border-collapse w-full text-sm text-left text-gray-700 dark:text-gray-400 m-0', */
|
|
9
14
|
@layer infonomic-components {
|
|
@@ -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(.table-container-SdhhjR, .infonomic-table-container) {
|
|
@@ -89,3 +89,5 @@
|
|
|
89
89
|
}
|
|
90
90
|
}
|
|
91
91
|
|
|
92
|
+
@layer overrides, infonomic-utilities, utilities;
|
|
93
|
+
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
3
|
import { Tabs } from "@base-ui/react/tabs";
|
|
4
|
-
import
|
|
4
|
+
import clsx from "clsx";
|
|
5
5
|
import tabs_module from "./tabs.module.js";
|
|
6
6
|
const tabs_Tabs = ({ ref, className, ...props })=>/*#__PURE__*/ jsx(Tabs.Root, {
|
|
7
7
|
ref: ref,
|
|
8
|
-
className:
|
|
8
|
+
className: clsx(tabs_module["tabs-root"], 'infonomic-tabs-root', className),
|
|
9
9
|
...props
|
|
10
10
|
});
|
|
11
11
|
tabs_Tabs.displayName = 'Tabs';
|
|
12
12
|
const TabsList = ({ ref, className, ...props })=>/*#__PURE__*/ jsx(Tabs.List, {
|
|
13
13
|
ref: ref,
|
|
14
|
-
className:
|
|
14
|
+
className: clsx(tabs_module["tabs-list"], 'infonomic-tabs-list', className),
|
|
15
15
|
...props
|
|
16
16
|
});
|
|
17
17
|
TabsList.displayName = 'TabsList';
|
|
18
18
|
const TabsTrigger = ({ ref, className, ...props })=>/*#__PURE__*/ jsx(Tabs.Tab, {
|
|
19
19
|
ref: ref,
|
|
20
|
-
className:
|
|
20
|
+
className: clsx(tabs_module["tabs-trigger"], 'infonomic-tabs-trigger', className),
|
|
21
21
|
...props
|
|
22
22
|
});
|
|
23
23
|
TabsTrigger.displayName = 'TabsTrigger';
|
|
24
24
|
const TabsContent = ({ ref, className, keepMounted = true, ...props })=>/*#__PURE__*/ jsx(Tabs.Panel, {
|
|
25
25
|
ref: ref,
|
|
26
26
|
keepMounted: keepMounted,
|
|
27
|
-
className:
|
|
27
|
+
className: clsx(tabs_module["tabs-content"], 'infonomic-tabs-content', className),
|
|
28
28
|
...props
|
|
29
29
|
});
|
|
30
30
|
TabsContent.displayName = 'TabsContent';
|
|
@@ -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
|
.tabs-root,
|
|
@@ -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(.tabs-root-H5dXfK, .infonomic-tabs-root) {
|
|
@@ -50,3 +50,5 @@
|
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
+
@layer overrides, infonomic-utilities, utilities;
|
|
54
|
+
|