@accelint/design-toolkit 9.9.2 → 9.10.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/catalog-info.yaml +2 -2
- package/dist/components/accordion/group.d.ts +2 -2
- package/dist/components/accordion/header.d.ts +2 -2
- package/dist/components/accordion/index.d.ts +2 -2
- package/dist/components/accordion/styles.module.css +19 -3
- package/dist/components/accordion/trigger.d.ts +2 -2
- package/dist/components/action-bar/index.d.ts +2 -2
- package/dist/components/audio/index.d.ts +2 -2
- package/dist/components/avatar/context.d.ts +4 -4
- package/dist/components/avatar/index.d.ts +2 -2
- package/dist/components/badge/context.d.ts +4 -4
- package/dist/components/badge/index.d.ts +2 -2
- package/dist/components/breadcrumbs/index.d.ts +2 -2
- package/dist/components/breadcrumbs/item.d.ts +2 -2
- package/dist/components/button/context.d.ts +8 -8
- package/dist/components/button/index.d.ts +2 -2
- package/dist/components/button/link.d.ts +2 -2
- package/dist/components/button/styles.module.css +16 -0
- package/dist/components/button/toggle.d.ts +2 -2
- package/dist/components/carousel/context.d.ts +40 -0
- package/dist/components/carousel/context.js +55 -0
- package/dist/components/carousel/context.js.map +1 -0
- package/dist/components/carousel/gallery.d.ts +38 -0
- package/dist/components/carousel/gallery.js +84 -0
- package/dist/components/carousel/gallery.js.map +1 -0
- package/dist/components/carousel/index.d.ts +56 -0
- package/dist/components/carousel/index.js +66 -0
- package/dist/components/carousel/index.js.map +1 -0
- package/dist/components/carousel/navigation.d.ts +51 -0
- package/dist/components/carousel/navigation.js +82 -0
- package/dist/components/carousel/navigation.js.map +1 -0
- package/dist/components/carousel/position.d.ts +33 -0
- package/dist/components/carousel/position.js +48 -0
- package/dist/components/carousel/position.js.map +1 -0
- package/dist/components/carousel/select.d.ts +38 -0
- package/dist/components/carousel/select.js +69 -0
- package/dist/components/carousel/select.js.map +1 -0
- package/dist/components/carousel/style.module.css +62 -0
- package/dist/components/carousel/types.d.ts +87 -0
- package/dist/components/carousel/types.js +12 -0
- package/dist/components/carousel/viewer.d.ts +40 -0
- package/dist/components/carousel/viewer.js +75 -0
- package/dist/components/carousel/viewer.js.map +1 -0
- package/dist/components/checkbox/context.d.ts +3 -3
- package/dist/components/checkbox/group.d.ts +2 -2
- package/dist/components/checkbox/group.js +1 -1
- package/dist/components/checkbox/index.d.ts +2 -2
- package/dist/components/chip/context.d.ts +4 -4
- package/dist/components/chip/deletable.d.ts +2 -2
- package/dist/components/chip/index.d.ts +2 -2
- package/dist/components/chip/list.d.ts +4 -4
- package/dist/components/chip/selectable.d.ts +2 -2
- package/dist/components/classification-badge/context.d.ts +4 -4
- package/dist/components/classification-badge/index.d.ts +2 -2
- package/dist/components/classification-banner/context.d.ts +4 -4
- package/dist/components/classification-banner/index.d.ts +2 -2
- package/dist/components/clock/index.d.ts +2 -2
- package/dist/components/color-picker/index.d.ts +2 -2
- package/dist/components/combobox-field/context.d.ts +4 -4
- package/dist/components/combobox-field/index.d.ts +2 -2
- package/dist/components/combobox-field/index.js +1 -1
- package/dist/components/combobox-field/styles.module.css +12 -0
- package/dist/components/coordinate-field/context.d.ts +6 -6
- package/dist/components/coordinate-field/index.d.ts +2 -2
- package/dist/components/coordinate-field/segment.d.ts +2 -2
- package/dist/components/date-field/index.d.ts +2 -2
- package/dist/components/deferred-collection/index.d.ts +2 -2
- package/dist/components/details-list/context.d.ts +4 -4
- package/dist/components/details-list/index.d.ts +2 -2
- package/dist/components/details-list/label.d.ts +2 -2
- package/dist/components/details-list/value.d.ts +2 -2
- package/dist/components/dialog/content.d.ts +2 -2
- package/dist/components/dialog/context.d.ts +2 -2
- package/dist/components/dialog/footer.d.ts +2 -2
- package/dist/components/dialog/index.d.ts +2 -2
- package/dist/components/dialog/styles.module.css +23 -0
- package/dist/components/dialog/title.d.ts +2 -2
- package/dist/components/divider/context.d.ts +4 -4
- package/dist/components/divider/index.d.ts +2 -2
- package/dist/components/drawer/back.d.ts +2 -2
- package/dist/components/drawer/close.d.ts +2 -2
- package/dist/components/drawer/content.d.ts +2 -2
- package/dist/components/drawer/context.d.ts +2 -2
- package/dist/components/drawer/footer.d.ts +2 -2
- package/dist/components/drawer/header-title.d.ts +2 -2
- package/dist/components/drawer/header.d.ts +2 -2
- package/dist/components/drawer/index.d.ts +2 -2
- package/dist/components/drawer/layout-main.d.ts +2 -2
- package/dist/components/drawer/layout.d.ts +2 -2
- package/dist/components/drawer/menu-item.d.ts +2 -2
- package/dist/components/drawer/menu.d.ts +2 -2
- package/dist/components/drawer/panel.d.ts +2 -2
- package/dist/components/drawer/styles.module.css +54 -2
- package/dist/components/drawer/trigger.d.ts +2 -2
- package/dist/components/drawer/view.d.ts +2 -2
- package/dist/components/flashcard/index.d.ts +9 -9
- package/dist/components/floating-card/context.d.ts +37 -5
- package/dist/components/floating-card/context.js +18 -3
- package/dist/components/floating-card/context.js.map +1 -1
- package/dist/components/floating-card/index.d.ts +51 -1
- package/dist/components/floating-card/index.js +41 -11
- package/dist/components/floating-card/index.js.map +1 -1
- package/dist/components/floating-card/provider.d.ts +94 -17
- package/dist/components/floating-card/provider.js +116 -20
- package/dist/components/floating-card/provider.js.map +1 -1
- package/dist/components/floating-card/styles.module.css +5 -0
- package/dist/components/gantt/components/base-elements/point.d.ts +28 -0
- package/dist/components/gantt/components/base-elements/point.js +44 -0
- package/dist/components/gantt/components/base-elements/point.js.map +1 -0
- package/dist/components/gantt/components/base-elements/range.d.ts +30 -0
- package/dist/components/gantt/components/base-elements/range.js +51 -0
- package/dist/components/gantt/components/base-elements/range.js.map +1 -0
- package/dist/components/gantt/components/base-elements/use-point-element-layout/index.d.ts +12 -0
- package/dist/components/gantt/components/base-elements/use-point-element-layout/index.js +42 -0
- package/dist/components/gantt/components/base-elements/use-point-element-layout/index.js.map +1 -0
- package/dist/components/gantt/components/base-elements/use-range-element-layout/index.d.ts +23 -0
- package/dist/components/gantt/components/base-elements/use-range-element-layout/index.js +50 -0
- package/dist/components/gantt/components/base-elements/use-range-element-layout/index.js.map +1 -0
- package/dist/components/gantt/components/containers/external/gantt-content-container/index.d.ts +23 -0
- package/dist/components/gantt/components/containers/external/gantt-content-container/index.js +40 -0
- package/dist/components/gantt/components/containers/external/gantt-content-container/index.js.map +1 -0
- package/dist/components/gantt/components/containers/external/gantt-panel-container/index.d.ts +23 -0
- package/dist/components/gantt/components/containers/external/gantt-panel-container/index.js +33 -0
- package/dist/components/gantt/components/containers/external/gantt-panel-container/index.js.map +1 -0
- package/dist/components/gantt/components/containers/external/styles.module.css +32 -0
- package/dist/components/gantt/components/containers/internal/index.d.ts +22 -0
- package/dist/components/gantt/components/containers/internal/index.js +35 -0
- package/dist/components/gantt/components/containers/internal/index.js.map +1 -0
- package/dist/components/gantt/components/containers/internal/layout-container/index.d.ts +22 -0
- package/dist/components/gantt/components/containers/internal/layout-container/index.js +27 -0
- package/dist/components/gantt/components/containers/internal/layout-container/index.js.map +1 -0
- package/dist/components/gantt/components/containers/internal/styles.module.css +35 -0
- package/dist/components/gantt/components/containers/internal/virtualized-content-height-container/index.d.ts +22 -0
- package/dist/components/gantt/components/containers/internal/virtualized-content-height-container/index.js +38 -0
- package/dist/components/gantt/components/containers/internal/virtualized-content-height-container/index.js.map +1 -0
- package/dist/components/gantt/components/content-row/block.d.ts +27 -0
- package/dist/components/gantt/components/content-row/block.js +39 -0
- package/dist/components/gantt/components/content-row/block.js.map +1 -0
- package/dist/components/gantt/components/content-row/bracket.d.ts +23 -0
- package/dist/components/gantt/components/content-row/bracket.js +48 -0
- package/dist/components/gantt/components/content-row/bracket.js.map +1 -0
- package/dist/components/gantt/components/content-row/icon-marker.d.ts +27 -0
- package/dist/components/gantt/components/content-row/icon-marker.js +41 -0
- package/dist/components/gantt/components/content-row/icon-marker.js.map +1 -0
- package/dist/components/gantt/components/content-row/index.d.ts +24 -0
- package/dist/components/gantt/components/content-row/index.js +32 -0
- package/dist/components/gantt/components/content-row/index.js.map +1 -0
- package/dist/components/gantt/components/content-row/marker.d.ts +21 -0
- package/dist/components/gantt/components/content-row/marker.js +35 -0
- package/dist/components/gantt/components/content-row/marker.js.map +1 -0
- package/dist/components/gantt/components/content-row/spacer.d.ts +23 -0
- package/dist/components/gantt/components/content-row/spacer.js +35 -0
- package/dist/components/gantt/components/content-row/spacer.js.map +1 -0
- package/dist/components/gantt/components/content-row/styles.module.css +198 -0
- package/dist/components/gantt/components/content-row/use-elapsed-percentage/index.d.ts +19 -0
- package/dist/components/gantt/components/content-row/use-elapsed-percentage/index.js +27 -0
- package/dist/components/gantt/components/content-row/use-elapsed-percentage/index.js.map +1 -0
- package/dist/components/gantt/components/content-row/use-is-elapsed/index.d.ts +10 -0
- package/dist/components/gantt/components/content-row/use-is-elapsed/index.js +24 -0
- package/dist/components/gantt/components/content-row/use-is-elapsed/index.js.map +1 -0
- package/dist/components/gantt/components/current-time/index.d.ts +28 -0
- package/dist/components/gantt/components/current-time/index.js +63 -0
- package/dist/components/gantt/components/current-time/index.js.map +1 -0
- package/dist/components/gantt/components/current-time/styles.module.css +42 -0
- package/dist/components/gantt/components/current-time/use-current-time-layout/index.d.ts +31 -0
- package/dist/components/gantt/components/current-time/use-current-time-layout/index.js +58 -0
- package/dist/components/gantt/components/current-time/use-current-time-layout/index.js.map +1 -0
- package/dist/components/gantt/components/header/index.d.ts +25 -0
- package/dist/components/gantt/components/header/index.js +41 -0
- package/dist/components/gantt/components/header/index.js.map +1 -0
- package/dist/components/gantt/components/header/styles.module.css +23 -0
- package/dist/components/gantt/components/panel-row/index.d.ts +24 -0
- package/dist/components/gantt/components/panel-row/index.js +33 -0
- package/dist/components/gantt/components/panel-row/index.js.map +1 -0
- package/dist/components/gantt/components/panel-row/styles.module.css +24 -0
- package/dist/components/gantt/components/rows-virtualizer/index.d.ts +25 -0
- package/dist/components/gantt/components/rows-virtualizer/index.js +67 -0
- package/dist/components/gantt/components/rows-virtualizer/index.js.map +1 -0
- package/dist/components/gantt/components/rows-virtualizer/styles.module.css +30 -0
- package/dist/components/gantt/components/rows-virtualizer/use-rendered-rows/index.d.ts +29 -0
- package/dist/components/gantt/components/rows-virtualizer/use-rendered-rows/index.js +57 -0
- package/dist/components/gantt/components/rows-virtualizer/use-rendered-rows/index.js.map +1 -0
- package/dist/components/gantt/components/rows-virtualizer/use-scroll-sync/index.d.ts +10 -0
- package/dist/components/gantt/components/rows-virtualizer/use-scroll-sync/index.js +58 -0
- package/dist/components/gantt/components/rows-virtualizer/use-scroll-sync/index.js.map +1 -0
- package/dist/components/gantt/components/styles.module.css +46 -0
- package/dist/components/gantt/components/timeline/index.d.ts +19 -0
- package/dist/components/gantt/components/timeline/index.js +45 -0
- package/dist/components/gantt/components/timeline/index.js.map +1 -0
- package/dist/components/gantt/components/timeline/use-timeline-transform/index.d.ts +29 -0
- package/dist/components/gantt/components/timeline/use-timeline-transform/index.js +33 -0
- package/dist/components/gantt/components/timeline/use-timeline-transform/index.js.map +1 -0
- package/dist/components/gantt/components/timeline-chunk/index.d.ts +25 -0
- package/dist/components/gantt/components/timeline-chunk/index.js +43 -0
- package/dist/components/gantt/components/timeline-chunk/index.js.map +1 -0
- package/dist/components/gantt/constants.d.ts +31 -0
- package/dist/components/gantt/constants.js +57 -0
- package/dist/components/gantt/constants.js.map +1 -0
- package/dist/components/gantt/context/index.d.ts +60 -0
- package/dist/components/gantt/context/index.js +78 -0
- package/dist/components/gantt/context/index.js.map +1 -0
- package/dist/components/gantt/context/store/index.d.ts +45 -0
- package/dist/components/gantt/context/store/index.js +42 -0
- package/dist/components/gantt/context/store/index.js.map +1 -0
- package/dist/components/gantt/context/temporal-data/index.d.ts +48 -0
- package/dist/components/gantt/context/temporal-data/index.js +80 -0
- package/dist/components/gantt/context/temporal-data/index.js.map +1 -0
- package/dist/components/gantt/gantt.d.ts +50 -0
- package/dist/components/gantt/gantt.js +51 -0
- package/dist/components/gantt/gantt.js.map +1 -0
- package/dist/components/gantt/hooks/use-horizontal-scroll-update/index.d.ts +22 -0
- package/dist/components/gantt/hooks/use-horizontal-scroll-update/index.js +36 -0
- package/dist/components/gantt/hooks/use-horizontal-scroll-update/index.js.map +1 -0
- package/dist/components/gantt/hooks/use-layout-subscription/index.d.ts +26 -0
- package/dist/components/gantt/hooks/use-layout-subscription/index.js +45 -0
- package/dist/components/gantt/hooks/use-layout-subscription/index.js.map +1 -0
- package/dist/components/gantt/hooks/use-resize-intersection-effect/index.d.ts +26 -0
- package/dist/components/gantt/hooks/use-resize-intersection-effect/index.js +50 -0
- package/dist/components/gantt/hooks/use-resize-intersection-effect/index.js.map +1 -0
- package/dist/components/gantt/hooks/use-root-element-height/index.d.ts +5 -0
- package/dist/components/gantt/hooks/use-root-element-height/index.js +24 -0
- package/dist/components/gantt/hooks/use-root-element-height/index.js.map +1 -0
- package/dist/components/gantt/hooks/use-scrollbar-height/index.d.ts +5 -0
- package/dist/components/gantt/hooks/use-scrollbar-height/index.js +40 -0
- package/dist/components/gantt/hooks/use-scrollbar-height/index.js.map +1 -0
- package/dist/components/gantt/hooks/use-total-data-region-thresholds/index.d.ts +19 -0
- package/dist/components/gantt/hooks/use-total-data-region-thresholds/index.js +87 -0
- package/dist/components/gantt/hooks/use-total-data-region-thresholds/index.js.map +1 -0
- package/dist/components/gantt/hooks/use-vertical-scroll-update/index.d.ts +22 -0
- package/dist/components/gantt/hooks/use-vertical-scroll-update/index.js +38 -0
- package/dist/components/gantt/hooks/use-vertical-scroll-update/index.js.map +1 -0
- package/dist/components/gantt/public-types.d.ts +31 -0
- package/dist/components/gantt/public-types.js +12 -0
- package/dist/components/gantt/store.d.ts +51 -0
- package/dist/components/gantt/store.js +46 -0
- package/dist/components/gantt/store.js.map +1 -0
- package/dist/components/gantt/styles.module.css +30 -0
- package/dist/components/gantt/types.d.ts +67 -0
- package/dist/components/gantt/types.js +12 -0
- package/dist/components/gantt/utils/conversions.d.ts +23 -0
- package/dist/components/gantt/utils/conversions.js +34 -0
- package/dist/components/gantt/utils/conversions.js.map +1 -0
- package/dist/components/gantt/utils/dates.d.ts +11 -0
- package/dist/components/gantt/utils/dates.js +41 -0
- package/dist/components/gantt/utils/dates.js.map +1 -0
- package/dist/components/gantt/utils/formatting.d.ts +5 -0
- package/dist/components/gantt/utils/formatting.js +54 -0
- package/dist/components/gantt/utils/formatting.js.map +1 -0
- package/dist/components/gantt/utils/generation.d.ts +19 -0
- package/dist/components/gantt/utils/generation.js +37 -0
- package/dist/components/gantt/utils/generation.js.map +1 -0
- package/dist/components/gantt/utils/helpers.d.ts +26 -0
- package/dist/components/gantt/utils/helpers.js +55 -0
- package/dist/components/gantt/utils/helpers.js.map +1 -0
- package/dist/components/gantt/utils/layout.d.ts +32 -0
- package/dist/components/gantt/utils/layout.js +55 -0
- package/dist/components/gantt/utils/layout.js.map +1 -0
- package/dist/components/gantt/utils/thresholds.d.ts +52 -0
- package/dist/components/gantt/utils/thresholds.js +116 -0
- package/dist/components/gantt/utils/thresholds.js.map +1 -0
- package/dist/components/hero/context.d.ts +2 -2
- package/dist/components/hero/index.d.ts +2 -2
- package/dist/components/hero/subtitle.d.ts +2 -2
- package/dist/components/hero/title.d.ts +2 -2
- package/dist/components/hotkey/context.d.ts +4 -4
- package/dist/components/hotkey/index.d.ts +2 -2
- package/dist/components/hotkey/set.d.ts +2 -2
- package/dist/components/icon/context.d.ts +4 -4
- package/dist/components/icon/index.d.ts +2 -2
- package/dist/components/input/context.d.ts +2 -2
- package/dist/components/input/index.d.ts +2 -2
- package/dist/components/kanban/card-body.d.ts +2 -2
- package/dist/components/kanban/card-header-actions.d.ts +2 -2
- package/dist/components/kanban/card-header-title.d.ts +2 -2
- package/dist/components/kanban/card-header.d.ts +2 -2
- package/dist/components/kanban/card.d.ts +2 -2
- package/dist/components/kanban/column-actions.d.ts +2 -2
- package/dist/components/kanban/column-container.d.ts +2 -2
- package/dist/components/kanban/column-content.d.ts +2 -2
- package/dist/components/kanban/column-header-actions.d.ts +2 -2
- package/dist/components/kanban/column-header-drag-handle.d.ts +2 -2
- package/dist/components/kanban/column-header-title.d.ts +2 -2
- package/dist/components/kanban/column-header.d.ts +2 -2
- package/dist/components/kanban/column.d.ts +2 -2
- package/dist/components/kanban/context.d.ts +2 -2
- package/dist/components/kanban/header-actions.d.ts +2 -2
- package/dist/components/kanban/header-search.d.ts +2 -2
- package/dist/components/kanban/header-title.d.ts +2 -2
- package/dist/components/kanban/header.d.ts +2 -2
- package/dist/components/kanban/kanban.d.ts +4 -4
- package/dist/components/label/context.d.ts +4 -4
- package/dist/components/label/index.d.ts +2 -2
- package/dist/components/lines/index.d.ts +2 -2
- package/dist/components/link/context.d.ts +2 -2
- package/dist/components/link/index.d.ts +2 -2
- package/dist/components/list/context.d.ts +2 -2
- package/dist/components/list/index.d.ts +2 -2
- package/dist/components/list/item-content.d.ts +2 -2
- package/dist/components/list/item-description.d.ts +2 -2
- package/dist/components/list/item-title.d.ts +2 -2
- package/dist/components/list/item.d.ts +2 -2
- package/dist/components/media-controls/context.d.ts +4 -4
- package/dist/components/media-controls/fullscreen-button.d.ts +2 -2
- package/dist/components/media-controls/index.d.ts +2 -2
- package/dist/components/media-controls/mute-button.d.ts +2 -2
- package/dist/components/media-controls/play-button.d.ts +2 -2
- package/dist/components/media-controls/playback-rate.d.ts +2 -2
- package/dist/components/media-controls/seek-button.d.ts +2 -2
- package/dist/components/media-controls/time-display.d.ts +2 -2
- package/dist/components/media-controls/time-range.d.ts +2 -2
- package/dist/components/media-controls/volume-slider.d.ts +2 -2
- package/dist/components/menu/context.d.ts +2 -2
- package/dist/components/menu/index.d.ts +2 -2
- package/dist/components/menu/item-description.d.ts +2 -2
- package/dist/components/menu/item-label.d.ts +2 -2
- package/dist/components/menu/item.d.ts +2 -2
- package/dist/components/menu/section.d.ts +2 -2
- package/dist/components/menu/separator.d.ts +2 -2
- package/dist/components/menu/styles.module.css +12 -0
- package/dist/components/menu/submenu.d.ts +2 -2
- package/dist/components/notice/index.d.ts +2 -2
- package/dist/components/notice/index.js +1 -0
- package/dist/components/notice/index.js.map +1 -1
- package/dist/components/notice/list.d.ts +2 -2
- package/dist/components/notice/list.js +10 -1
- package/dist/components/notice/list.js.map +1 -1
- package/dist/components/notice/notice-icon.d.ts +2 -2
- package/dist/components/notice/styles.module.css +27 -0
- package/dist/components/options/context.d.ts +2 -2
- package/dist/components/options/index.d.ts +2 -2
- package/dist/components/options/item-content.d.ts +2 -2
- package/dist/components/options/item-description.d.ts +2 -2
- package/dist/components/options/item-label.d.ts +2 -2
- package/dist/components/options/item.d.ts +2 -2
- package/dist/components/options/section.d.ts +2 -2
- package/dist/components/pagination/context.d.ts +2 -2
- package/dist/components/pagination/index.d.ts +2 -2
- package/dist/components/pagination/next.d.ts +2 -2
- package/dist/components/pagination/pages.d.ts +2 -2
- package/dist/components/pagination/prev.d.ts +2 -2
- package/dist/components/popover/content.d.ts +2 -2
- package/dist/components/popover/footer.d.ts +2 -2
- package/dist/components/popover/index.d.ts +2 -2
- package/dist/components/popover/styles.module.css +34 -0
- package/dist/components/popover/title.d.ts +2 -2
- package/dist/components/popover/trigger.d.ts +2 -2
- package/dist/components/query-builder/action-element.d.ts +2 -2
- package/dist/components/query-builder/actions.d.ts +4 -4
- package/dist/components/query-builder/combinator-selector.d.ts +2 -2
- package/dist/components/query-builder/index.d.ts +2 -2
- package/dist/components/query-builder/rule-group.d.ts +4 -4
- package/dist/components/query-builder/rule.d.ts +2 -2
- package/dist/components/query-builder/value-editor.d.ts +2 -2
- package/dist/components/query-builder/value-selector.d.ts +2 -2
- package/dist/components/query-builder/value-selector.js +1 -1
- package/dist/components/radio/context.d.ts +3 -3
- package/dist/components/radio/group.d.ts +2 -2
- package/dist/components/radio/index.d.ts +2 -2
- package/dist/components/search-field/context.d.ts +4 -4
- package/dist/components/search-field/index.d.ts +2 -2
- package/dist/components/select-field/context.d.ts +4 -4
- package/dist/components/select-field/index.d.ts +2 -2
- package/dist/components/sidenav/avatar.d.ts +2 -2
- package/dist/components/sidenav/content.d.ts +2 -2
- package/dist/components/sidenav/context.d.ts +2 -2
- package/dist/components/sidenav/footer.d.ts +2 -2
- package/dist/components/sidenav/header.d.ts +2 -2
- package/dist/components/sidenav/index.d.ts +2 -2
- package/dist/components/sidenav/item.d.ts +2 -2
- package/dist/components/sidenav/link.d.ts +2 -2
- package/dist/components/sidenav/menu-item.d.ts +2 -2
- package/dist/components/sidenav/menu.d.ts +2 -2
- package/dist/components/sidenav/styles.module.css +10 -2
- package/dist/components/sidenav/trigger.d.ts +2 -2
- package/dist/components/skeleton/index.d.ts +2 -2
- package/dist/components/slider/index.d.ts +2 -2
- package/dist/components/status-indicator/index.d.ts +2 -2
- package/dist/components/switch/context.d.ts +4 -4
- package/dist/components/switch/index.d.ts +2 -2
- package/dist/components/switch/styles.module.css +8 -0
- package/dist/components/table/body.d.ts +2 -2
- package/dist/components/table/cell.d.ts +2 -2
- package/dist/components/table/context.d.ts +2 -2
- package/dist/components/table/header-cell.d.ts +2 -2
- package/dist/components/table/header.d.ts +2 -2
- package/dist/components/table/index.d.ts +2 -2
- package/dist/components/table/index.js +2 -2
- package/dist/components/table/index.js.map +1 -1
- package/dist/components/table/row.d.ts +2 -2
- package/dist/components/tabs/context.d.ts +6 -6
- package/dist/components/tabs/index.d.ts +2 -2
- package/dist/components/tabs/list.d.ts +2 -2
- package/dist/components/tabs/panel.d.ts +2 -2
- package/dist/components/tabs/tab.d.ts +2 -2
- package/dist/components/text-area-field/context.d.ts +4 -4
- package/dist/components/text-area-field/index.d.ts +2 -2
- package/dist/components/text-field/context.d.ts +4 -4
- package/dist/components/text-field/index.d.ts +2 -2
- package/dist/components/time-field/index.d.ts +2 -2
- package/dist/components/tooltip/context.d.ts +2 -2
- package/dist/components/tooltip/index.d.ts +2 -2
- package/dist/components/tooltip/styles.module.css +35 -0
- package/dist/components/tooltip/trigger.d.ts +2 -2
- package/dist/components/tree/context.d.ts +3 -3
- package/dist/components/tree/index.d.ts +2 -2
- package/dist/components/tree/index.js +20 -10
- package/dist/components/tree/index.js.map +1 -1
- package/dist/components/tree/item-actions.d.ts +2 -2
- package/dist/components/tree/item-content.d.ts +2 -2
- package/dist/components/tree/item-content.js +3 -2
- package/dist/components/tree/item-content.js.map +1 -1
- package/dist/components/tree/item-description.d.ts +2 -2
- package/dist/components/tree/item-label.d.ts +2 -2
- package/dist/components/tree/item-prefix-icon.d.ts +2 -2
- package/dist/components/tree/item.d.ts +2 -2
- package/dist/components/tree/lines.d.ts +2 -2
- package/dist/components/tree/types.d.ts +1 -0
- package/dist/components/video/index.d.ts +2 -2
- package/dist/components/view-stack/index.d.ts +2 -2
- package/dist/components/view-stack/trigger.d.ts +2 -2
- package/dist/components/view-stack/view.d.ts +2 -2
- package/dist/hooks/use-tree/actions/cache.d.ts +20 -3
- package/dist/hooks/use-tree/actions/cache.js +110 -2
- package/dist/hooks/use-tree/actions/cache.js.map +1 -1
- package/dist/hooks/use-tree/actions/index.d.ts +2 -1
- package/dist/hooks/use-tree/actions/index.js +70 -11
- package/dist/hooks/use-tree/actions/index.js.map +1 -1
- package/dist/hooks/use-tree/state/index.d.ts +20 -1
- package/dist/hooks/use-tree/state/index.js +22 -2
- package/dist/hooks/use-tree/state/index.js.map +1 -1
- package/dist/hooks/use-tree/types.d.ts +14 -0
- package/dist/index.d.ts +24 -5
- package/dist/index.js +27 -10
- package/dist/providers/portal.d.ts +2 -2
- package/dist/providers/theme-provider.d.ts +2 -2
- package/package.json +64 -6
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../../../../../../src/components/gantt/components/base-elements/use-range-element-layout/index.ts"],"sourcesContent":["// __private-exports\n/*\n * Copyright 2026 Hypergiant Galactic Systems Inc. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport { useCallback, useMemo } from 'react';\nimport { TIMESCALE_MAPPING } from '@/components/gantt/constants';\nimport { useTemporalDataContext } from '@/components/gantt/context/temporal-data';\nimport { useLayoutSubscription } from '@/components/gantt/hooks/use-layout-subscription';\nimport { type GanttState, selectors } from '@/components/gantt/store';\nimport { deriveRangeElementLayout } from '@/components/gantt/utils/layout';\nimport type { GanttTimeBounds, GanttTimescale } from '@/components/gantt/types';\n\ntype UseRangeElementLayoutProps = {\n element: HTMLDivElement | null;\n timeBounds: GanttTimeBounds;\n};\n\nconst storeSelector = (timescale: GanttTimescale) => (state: GanttState) => [\n selectors.roundedCurrentPositionMs(TIMESCALE_MAPPING[timescale])(state),\n selectors.roundedCurrentRowScrollPx(state),\n];\n\nexport function useRangeElementLayout(props: UseRangeElementLayoutProps) {\n const { timeBounds, element } = props;\n const { startMs, endMs } = timeBounds;\n\n const { renderedRegionBounds, msPerPx, timescale, totalBounds } =\n useTemporalDataContext();\n\n const applyRangeElementLayout = useCallback(() => {\n if (!element) {\n return;\n }\n\n const { widthPx, translateX } = deriveRangeElementLayout(\n renderedRegionBounds,\n { startMs, endMs },\n totalBounds,\n msPerPx,\n );\n\n element.style.width = `${widthPx}px`;\n element.style.transform = `translateX(${translateX}px)`;\n }, [element, renderedRegionBounds, startMs, endMs, totalBounds, msPerPx]);\n\n const selector = useMemo(() => storeSelector(timescale), [timescale]);\n\n useLayoutSubscription({\n callback: applyRangeElementLayout,\n selector,\n });\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;AA0BA,MAAM,iBAAiB,eAA+B,UAAsB,CAC1E,UAAU,yBAAyB,kBAAkB,WAAW,CAAC,MAAM,EACvE,UAAU,0BAA0B,MAAM,CAC3C;AAED,SAAgB,sBAAsB,OAAmC;CACvE,MAAM,EAAE,YAAY,YAAY;CAChC,MAAM,EAAE,SAAS,UAAU;CAE3B,MAAM,EAAE,sBAAsB,SAAS,WAAW,gBAChD,wBAAwB;AAoB1B,uBAAsB;EACpB,UAnB8B,kBAAkB;AAChD,OAAI,CAAC,QACH;GAGF,MAAM,EAAE,SAAS,eAAe,yBAC9B,sBACA;IAAE;IAAS;IAAO,EAClB,aACA,QACD;AAED,WAAQ,MAAM,QAAQ,GAAG,QAAQ;AACjC,WAAQ,MAAM,YAAY,cAAc,WAAW;KAClD;GAAC;GAAS;GAAsB;GAAS;GAAO;GAAa;GAAQ,CAAC;EAMvE,UAJe,cAAc,cAAc,UAAU,EAAE,CAAC,UAAU,CAAC;EAKpE,CAAC"}
|
package/dist/components/gantt/components/containers/external/gantt-content-container/index.d.ts
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2026 Hypergiant Galactic Systems Inc. All rights reserved.
|
|
3
|
+
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
5
|
+
* of the License at https://www.apache.org/licenses/LICENSE-2.0
|
|
6
|
+
*
|
|
7
|
+
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
8
|
+
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
9
|
+
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
10
|
+
* governing permissions and limitations under the License.
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
import { PropsWithChildren } from "react";
|
|
14
|
+
import * as react_jsx_runtime203 from "react/jsx-runtime";
|
|
15
|
+
|
|
16
|
+
//#region src/components/gantt/components/containers/external/gantt-content-container/index.d.ts
|
|
17
|
+
/** Scrollable content area of the Gantt chart containing the timeline header and virtualized content rows. */
|
|
18
|
+
declare function GanttContentContainer({
|
|
19
|
+
children
|
|
20
|
+
}: PropsWithChildren): react_jsx_runtime203.JSX.Element;
|
|
21
|
+
//#endregion
|
|
22
|
+
export { GanttContentContainer };
|
|
23
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2026 Hypergiant Galactic Systems Inc. All rights reserved.
|
|
3
|
+
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
5
|
+
* of the License at https://www.apache.org/licenses/LICENSE-2.0
|
|
6
|
+
*
|
|
7
|
+
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
8
|
+
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
9
|
+
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
10
|
+
* governing permissions and limitations under the License.
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
import { useGanttContext } from "../../../../context/index.js";
|
|
15
|
+
import { useTemporalDataContext } from "../../../../context/temporal-data/index.js";
|
|
16
|
+
import { CurrentTime } from "../../../current-time/index.js";
|
|
17
|
+
import { ContentHeader } from "../../../header/index.js";
|
|
18
|
+
import { ContentRowsVirtualizer } from "../../../rows-virtualizer/index.js";
|
|
19
|
+
import { Timeline } from "../../../timeline/index.js";
|
|
20
|
+
import { useHorizontalScrollUpdate } from "../../../../hooks/use-horizontal-scroll-update/index.js";
|
|
21
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
22
|
+
import styles from "../styles.module.css";
|
|
23
|
+
|
|
24
|
+
//#region src/components/gantt/components/containers/external/gantt-content-container/index.tsx
|
|
25
|
+
/** Scrollable content area of the Gantt chart containing the timeline header and virtualized content rows. */
|
|
26
|
+
function GanttContentContainer({ children }) {
|
|
27
|
+
const { assignGanttContentElementRef } = useGanttContext();
|
|
28
|
+
const { currentTimeMs } = useTemporalDataContext();
|
|
29
|
+
const { onScroll } = useHorizontalScrollUpdate();
|
|
30
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
31
|
+
ref: assignGanttContentElementRef,
|
|
32
|
+
className: styles["gantt-content"],
|
|
33
|
+
onScroll,
|
|
34
|
+
children: [/* @__PURE__ */ jsxs(ContentHeader, { children: [currentTimeMs && /* @__PURE__ */ jsx(CurrentTime, { currentTimeMs }), /* @__PURE__ */ jsx(Timeline, {})] }), /* @__PURE__ */ jsx(ContentRowsVirtualizer, { children })]
|
|
35
|
+
});
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
//#endregion
|
|
39
|
+
export { GanttContentContainer };
|
|
40
|
+
//# sourceMappingURL=index.js.map
|
package/dist/components/gantt/components/containers/external/gantt-content-container/index.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../../../../../../../src/components/gantt/components/containers/external/gantt-content-container/index.tsx"],"sourcesContent":["/*\n * Copyright 2026 Hypergiant Galactic Systems Inc. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport { CurrentTime } from '@/components/gantt/components/current-time';\nimport { ContentHeader } from '@/components/gantt/components/header';\nimport { ContentRowsVirtualizer } from '@/components/gantt/components/rows-virtualizer';\nimport { Timeline } from '@/components/gantt/components/timeline';\nimport { useGanttContext } from '@/components/gantt/context';\nimport { useTemporalDataContext } from '@/components/gantt/context/temporal-data';\nimport { useHorizontalScrollUpdate } from '@/components/gantt/hooks/use-horizontal-scroll-update';\nimport styles from '../styles.module.css';\nimport type { PropsWithChildren } from 'react';\n\n/** Scrollable content area of the Gantt chart containing the timeline header and virtualized content rows. */\nexport function GanttContentContainer({ children }: PropsWithChildren) {\n const { assignGanttContentElementRef } = useGanttContext();\n const { currentTimeMs } = useTemporalDataContext();\n const { onScroll } = useHorizontalScrollUpdate();\n\n return (\n <div\n ref={assignGanttContentElementRef}\n className={styles['gantt-content']}\n onScroll={onScroll}\n >\n <ContentHeader>\n {currentTimeMs && <CurrentTime currentTimeMs={currentTimeMs} />}\n <Timeline />\n </ContentHeader>\n <ContentRowsVirtualizer>{children}</ContentRowsVirtualizer>\n </div>\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAuBA,SAAgB,sBAAsB,EAAE,YAA+B;CACrE,MAAM,EAAE,iCAAiC,iBAAiB;CAC1D,MAAM,EAAE,kBAAkB,wBAAwB;CAClD,MAAM,EAAE,aAAa,2BAA2B;AAEhD,QACE,qBAAC;EACC,KAAK;EACL,WAAW,OAAO;EACR;aAEV,qBAAC,4BACE,iBAAiB,oBAAC,eAA2B,gBAAiB,EAC/D,oBAAC,aAAW,IACE,EAChB,oBAAC,0BAAwB,WAAkC;GACvD"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2026 Hypergiant Galactic Systems Inc. All rights reserved.
|
|
3
|
+
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
5
|
+
* of the License at https://www.apache.org/licenses/LICENSE-2.0
|
|
6
|
+
*
|
|
7
|
+
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
8
|
+
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
9
|
+
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
10
|
+
* governing permissions and limitations under the License.
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
import { PropsWithChildren } from "react";
|
|
14
|
+
import * as react_jsx_runtime205 from "react/jsx-runtime";
|
|
15
|
+
|
|
16
|
+
//#region src/components/gantt/components/containers/external/gantt-panel-container/index.d.ts
|
|
17
|
+
/** Fixed-width side panel of the Gantt chart for row labels, paired alongside `GanttContentContainer`. */
|
|
18
|
+
declare function GanttPanelContainer({
|
|
19
|
+
children
|
|
20
|
+
}: PropsWithChildren): react_jsx_runtime205.JSX.Element;
|
|
21
|
+
//#endregion
|
|
22
|
+
export { GanttPanelContainer };
|
|
23
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2026 Hypergiant Galactic Systems Inc. All rights reserved.
|
|
3
|
+
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
5
|
+
* of the License at https://www.apache.org/licenses/LICENSE-2.0
|
|
6
|
+
*
|
|
7
|
+
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
8
|
+
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
9
|
+
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
10
|
+
* governing permissions and limitations under the License.
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
import { useGanttContext } from "../../../../context/index.js";
|
|
15
|
+
import { PanelHeader } from "../../../header/index.js";
|
|
16
|
+
import { PanelRowsVirtualizer } from "../../../rows-virtualizer/index.js";
|
|
17
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
18
|
+
import styles from "../styles.module.css";
|
|
19
|
+
|
|
20
|
+
//#region src/components/gantt/components/containers/external/gantt-panel-container/index.tsx
|
|
21
|
+
/** Fixed-width side panel of the Gantt chart for row labels, paired alongside `GanttContentContainer`. */
|
|
22
|
+
function GanttPanelContainer({ children }) {
|
|
23
|
+
const { assignGanttPanelElementRef } = useGanttContext();
|
|
24
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
25
|
+
ref: assignGanttPanelElementRef,
|
|
26
|
+
className: styles["gantt-panel"],
|
|
27
|
+
children: [/* @__PURE__ */ jsx(PanelHeader, {}), /* @__PURE__ */ jsx(PanelRowsVirtualizer, { children })]
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
//#endregion
|
|
32
|
+
export { GanttPanelContainer };
|
|
33
|
+
//# sourceMappingURL=index.js.map
|
package/dist/components/gantt/components/containers/external/gantt-panel-container/index.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../../../../../../../src/components/gantt/components/containers/external/gantt-panel-container/index.tsx"],"sourcesContent":["/*\n * Copyright 2026 Hypergiant Galactic Systems Inc. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport { PanelHeader } from '@/components/gantt/components/header';\nimport { PanelRowsVirtualizer } from '@/components/gantt/components/rows-virtualizer';\nimport { useGanttContext } from '@/components/gantt/context';\nimport styles from '../styles.module.css';\nimport type { PropsWithChildren } from 'react';\n\n/** Fixed-width side panel of the Gantt chart for row labels, paired alongside `GanttContentContainer`. */\nexport function GanttPanelContainer({ children }: PropsWithChildren) {\n const { assignGanttPanelElementRef } = useGanttContext();\n\n return (\n <div ref={assignGanttPanelElementRef} className={styles['gantt-panel']}>\n <PanelHeader />\n <PanelRowsVirtualizer>{children}</PanelRowsVirtualizer>\n </div>\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAmBA,SAAgB,oBAAoB,EAAE,YAA+B;CACnE,MAAM,EAAE,+BAA+B,iBAAiB;AAExD,QACE,qBAAC;EAAI,KAAK;EAA4B,WAAW,OAAO;aACtD,oBAAC,gBAAc,EACf,oBAAC,wBAAsB,WAAgC;GACnD"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2026 Hypergiant Galactic Systems Inc. All rights reserved.
|
|
3
|
+
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
5
|
+
* of the License at https://www.apache.org/licenses/LICENSE-2.0
|
|
6
|
+
*
|
|
7
|
+
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
8
|
+
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
9
|
+
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
10
|
+
* governing permissions and limitations under the License.
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
@reference '@accelint/design-foundation/styles';
|
|
14
|
+
|
|
15
|
+
@layer components.l1 {
|
|
16
|
+
.gantt-content {
|
|
17
|
+
@apply bg-surface-default relative max-h-full overflow-x-auto overflow-y-hidden;
|
|
18
|
+
|
|
19
|
+
flex: 1 1 auto;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.gantt-panel-content-root {
|
|
23
|
+
@apply bg-surface-default relative max-h-full overflow-x-hidden overflow-y-hidden;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.gantt-panel {
|
|
27
|
+
@apply bg-surface-default relative max-h-full max-w-full overflow-x-hidden overflow-y-hidden border-r;
|
|
28
|
+
|
|
29
|
+
border-color: var(--outline-static);
|
|
30
|
+
flex: 0 0 238px;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2026 Hypergiant Galactic Systems Inc. All rights reserved.
|
|
3
|
+
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
5
|
+
* of the License at https://www.apache.org/licenses/LICENSE-2.0
|
|
6
|
+
*
|
|
7
|
+
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
8
|
+
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
9
|
+
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
10
|
+
* governing permissions and limitations under the License.
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
import { PropsWithChildren } from "react";
|
|
14
|
+
import * as react_jsx_runtime204 from "react/jsx-runtime";
|
|
15
|
+
|
|
16
|
+
//#region src/components/gantt/components/containers/internal/index.d.ts
|
|
17
|
+
declare function RootContainer({
|
|
18
|
+
children
|
|
19
|
+
}: PropsWithChildren): react_jsx_runtime204.JSX.Element;
|
|
20
|
+
//#endregion
|
|
21
|
+
export { RootContainer };
|
|
22
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2026 Hypergiant Galactic Systems Inc. All rights reserved.
|
|
3
|
+
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
5
|
+
* of the License at https://www.apache.org/licenses/LICENSE-2.0
|
|
6
|
+
*
|
|
7
|
+
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
8
|
+
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
9
|
+
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
10
|
+
* governing permissions and limitations under the License.
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
import { useVerticalScrollUpdate } from "../../../hooks/use-vertical-scroll-update/index.js";
|
|
15
|
+
import { LayoutContainer } from "./layout-container/index.js";
|
|
16
|
+
import { VirtualizedContentHeightContainer } from "./virtualized-content-height-container/index.js";
|
|
17
|
+
import { useGanttContext } from "../../../context/index.js";
|
|
18
|
+
import { jsx } from "react/jsx-runtime";
|
|
19
|
+
import styles from "./styles.module.css";
|
|
20
|
+
|
|
21
|
+
//#region src/components/gantt/components/containers/internal/index.tsx
|
|
22
|
+
function RootContainer({ children }) {
|
|
23
|
+
const { assignRootElementRef } = useGanttContext();
|
|
24
|
+
const { onScroll } = useVerticalScrollUpdate();
|
|
25
|
+
return /* @__PURE__ */ jsx("div", {
|
|
26
|
+
ref: assignRootElementRef,
|
|
27
|
+
className: styles.root,
|
|
28
|
+
onScroll,
|
|
29
|
+
children: /* @__PURE__ */ jsx(VirtualizedContentHeightContainer, { children: /* @__PURE__ */ jsx(LayoutContainer, { children }) })
|
|
30
|
+
});
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
//#endregion
|
|
34
|
+
export { RootContainer };
|
|
35
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../../../../../../src/components/gantt/components/containers/internal/index.tsx"],"sourcesContent":["// __private-exports\n/*\n * Copyright 2026 Hypergiant Galactic Systems Inc. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport { useGanttContext } from '@/components/gantt/context';\nimport { useVerticalScrollUpdate } from '@/components/gantt/hooks/use-vertical-scroll-update';\nimport { LayoutContainer } from './layout-container';\nimport styles from './styles.module.css';\nimport { VirtualizedContentHeightContainer } from './virtualized-content-height-container';\nimport type { PropsWithChildren } from 'react';\n\nexport function RootContainer({ children }: PropsWithChildren) {\n const { assignRootElementRef } = useGanttContext();\n const { onScroll } = useVerticalScrollUpdate();\n\n return (\n <div ref={assignRootElementRef} className={styles.root} onScroll={onScroll}>\n <VirtualizedContentHeightContainer>\n <LayoutContainer>{children}</LayoutContainer>\n </VirtualizedContentHeightContainer>\n </div>\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAoBA,SAAgB,cAAc,EAAE,YAA+B;CAC7D,MAAM,EAAE,yBAAyB,iBAAiB;CAClD,MAAM,EAAE,aAAa,yBAAyB;AAE9C,QACE,oBAAC;EAAI,KAAK;EAAsB,WAAW,OAAO;EAAgB;YAChE,oBAAC,+CACC,oBAAC,mBAAiB,WAA2B,GACX;GAChC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2026 Hypergiant Galactic Systems Inc. All rights reserved.
|
|
3
|
+
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
5
|
+
* of the License at https://www.apache.org/licenses/LICENSE-2.0
|
|
6
|
+
*
|
|
7
|
+
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
8
|
+
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
9
|
+
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
10
|
+
* governing permissions and limitations under the License.
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
import { PropsWithChildren } from "react";
|
|
14
|
+
import * as react_jsx_runtime206 from "react/jsx-runtime";
|
|
15
|
+
|
|
16
|
+
//#region src/components/gantt/components/containers/internal/layout-container/index.d.ts
|
|
17
|
+
declare function LayoutContainer({
|
|
18
|
+
children
|
|
19
|
+
}: PropsWithChildren): react_jsx_runtime206.JSX.Element;
|
|
20
|
+
//#endregion
|
|
21
|
+
export { LayoutContainer };
|
|
22
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2026 Hypergiant Galactic Systems Inc. All rights reserved.
|
|
3
|
+
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
5
|
+
* of the License at https://www.apache.org/licenses/LICENSE-2.0
|
|
6
|
+
*
|
|
7
|
+
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
8
|
+
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
9
|
+
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
10
|
+
* governing permissions and limitations under the License.
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
import { jsx } from "react/jsx-runtime";
|
|
15
|
+
import styles from "../styles.module.css";
|
|
16
|
+
|
|
17
|
+
//#region src/components/gantt/components/containers/internal/layout-container/index.tsx
|
|
18
|
+
function LayoutContainer({ children }) {
|
|
19
|
+
return /* @__PURE__ */ jsx("div", {
|
|
20
|
+
className: styles.layout,
|
|
21
|
+
children
|
|
22
|
+
});
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
//#endregion
|
|
26
|
+
export { LayoutContainer };
|
|
27
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../../../../../../../src/components/gantt/components/containers/internal/layout-container/index.tsx"],"sourcesContent":["// __private-exports\n/*\n * Copyright 2026 Hypergiant Galactic Systems Inc. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport styles from '../styles.module.css';\nimport type { PropsWithChildren } from 'react';\n\nexport function LayoutContainer({ children }: PropsWithChildren) {\n return <div className={styles.layout}>{children}</div>;\n}\n"],"mappings":";;;;;;;;;;;;;;;;;AAgBA,SAAgB,gBAAgB,EAAE,YAA+B;AAC/D,QAAO,oBAAC;EAAI,WAAW,OAAO;EAAS;GAAe"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2026 Hypergiant Galactic Systems Inc. All rights reserved.
|
|
3
|
+
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
5
|
+
* of the License at https://www.apache.org/licenses/LICENSE-2.0
|
|
6
|
+
*
|
|
7
|
+
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
8
|
+
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
9
|
+
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
10
|
+
* governing permissions and limitations under the License.
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
@reference '@accelint/design-foundation/styles';
|
|
14
|
+
|
|
15
|
+
@layer components.l1 {
|
|
16
|
+
.virtualized-content-height {
|
|
17
|
+
--height: attr(data-height px);
|
|
18
|
+
height: var(--height);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.stuck {
|
|
22
|
+
@apply sticky top-0 max-h-full;
|
|
23
|
+
|
|
24
|
+
--height: attr(data-height px);
|
|
25
|
+
height: var(--height);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.layout {
|
|
29
|
+
@apply relative flex max-h-full flex-row;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.root {
|
|
33
|
+
@apply relative h-full max-h-full w-full overflow-x-hidden overflow-y-auto;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2026 Hypergiant Galactic Systems Inc. All rights reserved.
|
|
3
|
+
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
5
|
+
* of the License at https://www.apache.org/licenses/LICENSE-2.0
|
|
6
|
+
*
|
|
7
|
+
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
8
|
+
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
9
|
+
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
10
|
+
* governing permissions and limitations under the License.
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
import { PropsWithChildren } from "react";
|
|
14
|
+
import * as react_jsx_runtime97 from "react/jsx-runtime";
|
|
15
|
+
|
|
16
|
+
//#region src/components/gantt/components/containers/internal/virtualized-content-height-container/index.d.ts
|
|
17
|
+
declare function VirtualizedContentHeightContainer({
|
|
18
|
+
children
|
|
19
|
+
}: PropsWithChildren): react_jsx_runtime97.JSX.Element;
|
|
20
|
+
//#endregion
|
|
21
|
+
export { VirtualizedContentHeightContainer };
|
|
22
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2026 Hypergiant Galactic Systems Inc. All rights reserved.
|
|
3
|
+
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
5
|
+
* of the License at https://www.apache.org/licenses/LICENSE-2.0
|
|
6
|
+
*
|
|
7
|
+
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
8
|
+
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
9
|
+
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
10
|
+
* governing permissions and limitations under the License.
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
import { GANTT_HEADER_HEIGHT_PX } from "../../../../constants.js";
|
|
15
|
+
import { selectors } from "../../../../store.js";
|
|
16
|
+
import { useGanttStore } from "../../../../context/store/index.js";
|
|
17
|
+
import { useRootElementHeight } from "../../../../hooks/use-root-element-height/index.js";
|
|
18
|
+
import { jsx } from "react/jsx-runtime";
|
|
19
|
+
import styles from "../styles.module.css";
|
|
20
|
+
|
|
21
|
+
//#region src/components/gantt/components/containers/internal/virtualized-content-height-container/index.tsx
|
|
22
|
+
function VirtualizedContentHeightContainer({ children }) {
|
|
23
|
+
const virtualizedHeightPx = useGanttStore(selectors.virtualizedHeightPx);
|
|
24
|
+
const rootElementHeight = useRootElementHeight();
|
|
25
|
+
return /* @__PURE__ */ jsx("div", {
|
|
26
|
+
className: styles["virtualized-content-height"],
|
|
27
|
+
"data-height": virtualizedHeightPx + GANTT_HEADER_HEIGHT_PX,
|
|
28
|
+
children: /* @__PURE__ */ jsx("div", {
|
|
29
|
+
className: styles.stuck,
|
|
30
|
+
"data-height": rootElementHeight,
|
|
31
|
+
children
|
|
32
|
+
})
|
|
33
|
+
});
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
//#endregion
|
|
37
|
+
export { VirtualizedContentHeightContainer };
|
|
38
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../../../../../../../src/components/gantt/components/containers/internal/virtualized-content-height-container/index.tsx"],"sourcesContent":["// __private-exports\n/*\n * Copyright 2026 Hypergiant Galactic Systems Inc. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport type { PropsWithChildren } from 'react';\nimport { GANTT_HEADER_HEIGHT_PX } from '@/components/gantt/constants';\nimport { useGanttStore } from '@/components/gantt/context/store';\nimport { useRootElementHeight } from '@/components/gantt/hooks/use-root-element-height';\nimport { selectors } from '@/components/gantt/store';\nimport styles from '../styles.module.css';\n\nexport function VirtualizedContentHeightContainer({\n children,\n}: PropsWithChildren) {\n const virtualizedHeightPx = useGanttStore(selectors.virtualizedHeightPx);\n const rootElementHeight = useRootElementHeight();\n\n return (\n <div\n className={styles['virtualized-content-height']}\n data-height={virtualizedHeightPx + GANTT_HEADER_HEIGHT_PX}\n >\n <div className={styles.stuck} data-height={rootElementHeight}>\n {children}\n </div>\n </div>\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAoBA,SAAgB,kCAAkC,EAChD,YACoB;CACpB,MAAM,sBAAsB,cAAc,UAAU,oBAAoB;CACxE,MAAM,oBAAoB,sBAAsB;AAEhD,QACE,oBAAC;EACC,WAAW,OAAO;EAClB,eAAa,sBAAsB;YAEnC,oBAAC;GAAI,WAAW,OAAO;GAAO,eAAa;GACxC;IACG;GACF"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2026 Hypergiant Galactic Systems Inc. All rights reserved.
|
|
3
|
+
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
5
|
+
* of the License at https://www.apache.org/licenses/LICENSE-2.0
|
|
6
|
+
*
|
|
7
|
+
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
8
|
+
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
9
|
+
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
10
|
+
* governing permissions and limitations under the License.
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
import { RangeProps } from "../base-elements/range.js";
|
|
14
|
+
import * as react_jsx_runtime198 from "react/jsx-runtime";
|
|
15
|
+
|
|
16
|
+
//#region src/components/gantt/components/content-row/block.d.ts
|
|
17
|
+
/** Time-range element rendered as a filled bar on the timeline. Supports elapsed-percentage styling and child content. */
|
|
18
|
+
declare function GanttBlock({
|
|
19
|
+
children,
|
|
20
|
+
startTimeMs,
|
|
21
|
+
endTimeMs,
|
|
22
|
+
className,
|
|
23
|
+
...rest
|
|
24
|
+
}: RangeProps): react_jsx_runtime198.JSX.Element;
|
|
25
|
+
//#endregion
|
|
26
|
+
export { GanttBlock };
|
|
27
|
+
//# sourceMappingURL=block.d.ts.map
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2026 Hypergiant Galactic Systems Inc. All rights reserved.
|
|
3
|
+
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
5
|
+
* of the License at https://www.apache.org/licenses/LICENSE-2.0
|
|
6
|
+
*
|
|
7
|
+
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
8
|
+
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
9
|
+
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
10
|
+
* governing permissions and limitations under the License.
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
import { Range } from "../base-elements/range.js";
|
|
15
|
+
import { useElapsedPercentage } from "./use-elapsed-percentage/index.js";
|
|
16
|
+
import { clsx } from "@accelint/design-foundation/lib/utils";
|
|
17
|
+
import { jsx } from "react/jsx-runtime";
|
|
18
|
+
import styles from "./styles.module.css";
|
|
19
|
+
|
|
20
|
+
//#region src/components/gantt/components/content-row/block.tsx
|
|
21
|
+
/** Time-range element rendered as a filled bar on the timeline. Supports elapsed-percentage styling and child content. */
|
|
22
|
+
function GanttBlock({ children, startTimeMs, endTimeMs, className, ...rest }) {
|
|
23
|
+
const elapsedPct = useElapsedPercentage({
|
|
24
|
+
startMs: startTimeMs,
|
|
25
|
+
endMs: endTimeMs
|
|
26
|
+
});
|
|
27
|
+
return /* @__PURE__ */ jsx(Range, {
|
|
28
|
+
...rest,
|
|
29
|
+
startTimeMs,
|
|
30
|
+
endTimeMs,
|
|
31
|
+
className: clsx(styles["row-block"], className),
|
|
32
|
+
"data-elapsed-pct": elapsedPct,
|
|
33
|
+
children
|
|
34
|
+
});
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
//#endregion
|
|
38
|
+
export { GanttBlock };
|
|
39
|
+
//# sourceMappingURL=block.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"block.js","names":[],"sources":["../../../../../src/components/gantt/components/content-row/block.tsx"],"sourcesContent":["/*\n * Copyright 2026 Hypergiant Galactic Systems Inc. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport { clsx } from '@accelint/design-foundation/lib/utils';\nimport { Range, type RangeProps } from '../base-elements/range';\nimport styles from './styles.module.css';\nimport { useElapsedPercentage } from './use-elapsed-percentage';\n\n/** Time-range element rendered as a filled bar on the timeline. Supports elapsed-percentage styling and child content. */\nexport function GanttBlock({\n children,\n startTimeMs,\n endTimeMs,\n className,\n ...rest\n}: RangeProps) {\n const elapsedPct = useElapsedPercentage({\n startMs: startTimeMs,\n endMs: endTimeMs,\n });\n\n return (\n <Range\n {...rest}\n startTimeMs={startTimeMs}\n endTimeMs={endTimeMs}\n className={clsx(styles['row-block'], className)}\n data-elapsed-pct={elapsedPct}\n >\n {children}\n </Range>\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAkBA,SAAgB,WAAW,EACzB,UACA,aACA,WACA,WACA,GAAG,QACU;CACb,MAAM,aAAa,qBAAqB;EACtC,SAAS;EACT,OAAO;EACR,CAAC;AAEF,QACE,oBAAC;EACC,GAAI;EACS;EACF;EACX,WAAW,KAAK,OAAO,cAAc,UAAU;EAC/C,oBAAkB;EAEjB;GACK"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2026 Hypergiant Galactic Systems Inc. All rights reserved.
|
|
3
|
+
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
5
|
+
* of the License at https://www.apache.org/licenses/LICENSE-2.0
|
|
6
|
+
*
|
|
7
|
+
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
8
|
+
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
9
|
+
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
10
|
+
* governing permissions and limitations under the License.
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
import { PointProps } from "../base-elements/point.js";
|
|
14
|
+
import * as react_jsx_runtime199 from "react/jsx-runtime";
|
|
15
|
+
|
|
16
|
+
//#region src/components/gantt/components/content-row/bracket.d.ts
|
|
17
|
+
/** Opening bracket marker at a specific timestamp, indicating the start of a grouped range. */
|
|
18
|
+
declare function GanttBracketOpen(props: PointProps): react_jsx_runtime199.JSX.Element;
|
|
19
|
+
/** Closing bracket marker at a specific timestamp, indicating the end of a grouped range. */
|
|
20
|
+
declare function GanttBracketClose(props: PointProps): react_jsx_runtime199.JSX.Element;
|
|
21
|
+
//#endregion
|
|
22
|
+
export { GanttBracketClose, GanttBracketOpen };
|
|
23
|
+
//# sourceMappingURL=bracket.d.ts.map
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2026 Hypergiant Galactic Systems Inc. All rights reserved.
|
|
3
|
+
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
5
|
+
* of the License at https://www.apache.org/licenses/LICENSE-2.0
|
|
6
|
+
*
|
|
7
|
+
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
8
|
+
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
9
|
+
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
10
|
+
* governing permissions and limitations under the License.
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
import { Point } from "../base-elements/point.js";
|
|
15
|
+
import { useIsElapsed } from "./use-is-elapsed/index.js";
|
|
16
|
+
import { jsx } from "react/jsx-runtime";
|
|
17
|
+
import styles from "./styles.module.css";
|
|
18
|
+
|
|
19
|
+
//#region src/components/gantt/components/content-row/bracket.tsx
|
|
20
|
+
function BracketBase({ direction, ...rest }) {
|
|
21
|
+
const isElapsed = useIsElapsed({ timeMs: rest.timeMs });
|
|
22
|
+
const rotate = direction === "open" ? "0" : "180";
|
|
23
|
+
return /* @__PURE__ */ jsx(Point, {
|
|
24
|
+
className: styles["bracket-container"],
|
|
25
|
+
"data-rotate": rotate,
|
|
26
|
+
"data-elapsed": isElapsed || void 0,
|
|
27
|
+
...rest,
|
|
28
|
+
children: /* @__PURE__ */ jsx("div", { className: styles.bracket })
|
|
29
|
+
});
|
|
30
|
+
}
|
|
31
|
+
/** Opening bracket marker at a specific timestamp, indicating the start of a grouped range. */
|
|
32
|
+
function GanttBracketOpen(props) {
|
|
33
|
+
return /* @__PURE__ */ jsx(BracketBase, {
|
|
34
|
+
direction: "open",
|
|
35
|
+
...props
|
|
36
|
+
});
|
|
37
|
+
}
|
|
38
|
+
/** Closing bracket marker at a specific timestamp, indicating the end of a grouped range. */
|
|
39
|
+
function GanttBracketClose(props) {
|
|
40
|
+
return /* @__PURE__ */ jsx(BracketBase, {
|
|
41
|
+
direction: "close",
|
|
42
|
+
...props
|
|
43
|
+
});
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
//#endregion
|
|
47
|
+
export { GanttBracketClose, GanttBracketOpen };
|
|
48
|
+
//# sourceMappingURL=bracket.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bracket.js","names":[],"sources":["../../../../../src/components/gantt/components/content-row/bracket.tsx"],"sourcesContent":["/*\n * Copyright 2026 Hypergiant Galactic Systems Inc. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport { Point, type PointProps } from '../base-elements/point';\nimport styles from './styles.module.css';\nimport { useIsElapsed } from './use-is-elapsed';\n\ntype BracketBaseProps = PointProps & {\n direction: 'open' | 'close';\n};\n\nfunction BracketBase({ direction, ...rest }: BracketBaseProps) {\n const isElapsed = useIsElapsed({ timeMs: rest.timeMs });\n const rotate = direction === 'open' ? '0' : '180';\n\n return (\n <Point\n className={styles['bracket-container']}\n data-rotate={rotate}\n data-elapsed={isElapsed || undefined}\n {...rest}\n >\n <div className={styles.bracket} />\n </Point>\n );\n}\n\n/** Opening bracket marker at a specific timestamp, indicating the start of a grouped range. */\nexport function GanttBracketOpen(props: PointProps) {\n return <BracketBase direction='open' {...props} />;\n}\n\n/** Closing bracket marker at a specific timestamp, indicating the end of a grouped range. */\nexport function GanttBracketClose(props: PointProps) {\n return <BracketBase direction='close' {...props} />;\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;AAoBA,SAAS,YAAY,EAAE,WAAW,GAAG,QAA0B;CAC7D,MAAM,YAAY,aAAa,EAAE,QAAQ,KAAK,QAAQ,CAAC;CACvD,MAAM,SAAS,cAAc,SAAS,MAAM;AAE5C,QACE,oBAAC;EACC,WAAW,OAAO;EAClB,eAAa;EACb,gBAAc,aAAa;EAC3B,GAAI;YAEJ,oBAAC,SAAI,WAAW,OAAO,UAAW;GAC5B;;;AAKZ,SAAgB,iBAAiB,OAAmB;AAClD,QAAO,oBAAC;EAAY,WAAU;EAAO,GAAI;GAAS;;;AAIpD,SAAgB,kBAAkB,OAAmB;AACnD,QAAO,oBAAC;EAAY,WAAU;EAAQ,GAAI;GAAS"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2026 Hypergiant Galactic Systems Inc. All rights reserved.
|
|
3
|
+
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
5
|
+
* of the License at https://www.apache.org/licenses/LICENSE-2.0
|
|
6
|
+
*
|
|
7
|
+
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
8
|
+
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
9
|
+
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
10
|
+
* governing permissions and limitations under the License.
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
import { PointProps } from "../base-elements/point.js";
|
|
14
|
+
import { PropsWithChildren } from "react";
|
|
15
|
+
import * as react_jsx_runtime201 from "react/jsx-runtime";
|
|
16
|
+
|
|
17
|
+
//#region src/components/gantt/components/content-row/icon-marker.d.ts
|
|
18
|
+
type GanttIconMarkerProps = PropsWithChildren<PointProps>;
|
|
19
|
+
/** Point marker that displays a custom icon at a specific timestamp. Pass an icon element as `children`. */
|
|
20
|
+
declare function GanttIconMarker({
|
|
21
|
+
children,
|
|
22
|
+
color,
|
|
23
|
+
...rest
|
|
24
|
+
}: GanttIconMarkerProps): react_jsx_runtime201.JSX.Element;
|
|
25
|
+
//#endregion
|
|
26
|
+
export { GanttIconMarker };
|
|
27
|
+
//# sourceMappingURL=icon-marker.d.ts.map
|