@cellarnode/ui 0.3.1 → 0.5.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/dist/__storybook__/mock-data.d.ts +16 -0
- package/dist/__storybook__/mock-data.d.ts.map +1 -0
- package/dist/__storybook__/mock-data.js +162 -0
- package/dist/__storybook__/mock-data.js.map +1 -0
- package/dist/chat/chat-toggle-button.stories.d.ts +33 -0
- package/dist/chat/chat-toggle-button.stories.d.ts.map +1 -0
- package/dist/chat/chat-toggle-button.stories.js +50 -0
- package/dist/chat/chat-toggle-button.stories.js.map +1 -0
- package/dist/chat/communication-hub-widget.d.ts.map +1 -1
- package/dist/chat/communication-hub-widget.js +3 -1
- package/dist/chat/communication-hub-widget.js.map +1 -1
- package/dist/chat/communication-hub-widget.stories.d.ts +18 -0
- package/dist/chat/communication-hub-widget.stories.d.ts.map +1 -0
- package/dist/chat/communication-hub-widget.stories.js +99 -0
- package/dist/chat/communication-hub-widget.stories.js.map +1 -0
- package/dist/chat/communication-panel.d.ts.map +1 -1
- package/dist/chat/communication-panel.js +3 -1
- package/dist/chat/communication-panel.js.map +1 -1
- package/dist/chat/communication-panel.stories.d.ts +21 -0
- package/dist/chat/communication-panel.stories.d.ts.map +1 -0
- package/dist/chat/communication-panel.stories.js +173 -0
- package/dist/chat/communication-panel.stories.js.map +1 -0
- package/dist/chat/global-chat-widget.d.ts +21 -0
- package/dist/chat/global-chat-widget.d.ts.map +1 -0
- package/dist/chat/global-chat-widget.js +53 -0
- package/dist/chat/global-chat-widget.js.map +1 -0
- package/dist/chat/global-chat-widget.stories.d.ts +34 -0
- package/dist/chat/global-chat-widget.stories.d.ts.map +1 -0
- package/dist/chat/global-chat-widget.stories.js +158 -0
- package/dist/chat/global-chat-widget.stories.js.map +1 -0
- package/dist/chat/index.d.ts +2 -0
- package/dist/chat/index.d.ts.map +1 -1
- package/dist/chat/index.js +1 -0
- package/dist/chat/index.js.map +1 -1
- package/dist/chat/messenger-layout.d.ts.map +1 -1
- package/dist/chat/messenger-layout.js +3 -1
- package/dist/chat/messenger-layout.js.map +1 -1
- package/dist/chat/messenger-layout.stories.d.ts +18 -0
- package/dist/chat/messenger-layout.stories.d.ts.map +1 -0
- package/dist/chat/messenger-layout.stories.js +97 -0
- package/dist/chat/messenger-layout.stories.js.map +1 -0
- package/dist/chat/negotiation-event-card.d.ts.map +1 -1
- package/dist/chat/negotiation-event-card.js.map +1 -1
- package/dist/chat/negotiation-event-card.stories.d.ts +19 -0
- package/dist/chat/negotiation-event-card.stories.d.ts.map +1 -0
- package/dist/chat/negotiation-event-card.stories.js +104 -0
- package/dist/chat/negotiation-event-card.stories.js.map +1 -0
- package/dist/chat/unified-timeline.js +4 -4
- package/dist/chat/unified-timeline.js.map +1 -1
- package/dist/chat/unified-timeline.stories.d.ts +18 -0
- package/dist/chat/unified-timeline.stories.d.ts.map +1 -0
- package/dist/chat/unified-timeline.stories.js +168 -0
- package/dist/chat/unified-timeline.stories.js.map +1 -0
- package/dist/chat/use-chat.js +10 -10
- package/dist/chat/use-chat.js.map +1 -1
- package/dist/components/accordion.stories.d.ts +7 -0
- package/dist/components/accordion.stories.d.ts.map +1 -0
- package/dist/components/accordion.stories.js +16 -0
- package/dist/components/accordion.stories.js.map +1 -0
- package/dist/components/alert.stories.d.ts +8 -0
- package/dist/components/alert.stories.d.ts.map +1 -0
- package/dist/components/alert.stories.js +26 -0
- package/dist/components/alert.stories.js.map +1 -0
- package/dist/components/animated-list.d.ts.map +1 -1
- package/dist/components/animated-list.js +3 -1
- package/dist/components/animated-list.js.map +1 -1
- package/dist/components/animated-list.stories.d.ts +18 -0
- package/dist/components/animated-list.stories.d.ts.map +1 -0
- package/dist/components/animated-list.stories.js +61 -0
- package/dist/components/animated-list.stories.js.map +1 -0
- package/dist/components/avatar.d.ts +7 -5
- package/dist/components/avatar.d.ts.map +1 -1
- package/dist/components/avatar.js +2 -3
- package/dist/components/avatar.js.map +1 -1
- package/dist/components/avatar.stories.d.ts +16 -0
- package/dist/components/avatar.stories.d.ts.map +1 -0
- package/dist/components/avatar.stories.js +28 -0
- package/dist/components/avatar.stories.js.map +1 -0
- package/dist/components/badge.d.ts +7 -5
- package/dist/components/badge.d.ts.map +1 -1
- package/dist/components/badge.js +2 -3
- package/dist/components/badge.js.map +1 -1
- package/dist/components/badge.stories.d.ts +17 -0
- package/dist/components/badge.stories.d.ts.map +1 -0
- package/dist/components/badge.stories.js +25 -0
- package/dist/components/badge.stories.js.map +1 -0
- package/dist/components/button.d.ts +4 -2
- package/dist/components/button.d.ts.map +1 -1
- package/dist/components/button.js +2 -3
- package/dist/components/button.js.map +1 -1
- package/dist/components/card.d.ts +18 -6
- package/dist/components/card.d.ts.map +1 -1
- package/dist/components/card.js +18 -13
- package/dist/components/card.js.map +1 -1
- package/dist/components/card.stories.d.ts +16 -0
- package/dist/components/card.stories.d.ts.map +1 -0
- package/dist/components/card.stories.js +20 -0
- package/dist/components/card.stories.js.map +1 -0
- package/dist/components/checkbox.stories.d.ts +19 -0
- package/dist/components/checkbox.stories.d.ts.map +1 -0
- package/dist/components/checkbox.stories.js +34 -0
- package/dist/components/checkbox.stories.js.map +1 -0
- package/dist/components/classification-select.d.ts.map +1 -1
- package/dist/components/classification-select.js +1 -0
- package/dist/components/classification-select.js.map +1 -1
- package/dist/components/classification-select.stories.d.ts +17 -0
- package/dist/components/classification-select.stories.d.ts.map +1 -0
- package/dist/components/classification-select.stories.js +100 -0
- package/dist/components/classification-select.stories.js.map +1 -0
- package/dist/components/combobox.stories.d.ts +15 -0
- package/dist/components/combobox.stories.d.ts.map +1 -0
- package/dist/components/combobox.stories.js +45 -0
- package/dist/components/combobox.stories.js.map +1 -0
- package/dist/components/command.stories.d.ts +9 -0
- package/dist/components/command.stories.d.ts.map +1 -0
- package/dist/components/command.stories.js +22 -0
- package/dist/components/command.stories.js.map +1 -0
- package/dist/components/description-list.stories.d.ts +15 -0
- package/dist/components/description-list.stories.d.ts.map +1 -0
- package/dist/components/description-list.stories.js +16 -0
- package/dist/components/description-list.stories.js.map +1 -0
- package/dist/components/dialog.stories.d.ts +8 -0
- package/dist/components/dialog.stories.d.ts.map +1 -0
- package/dist/components/dialog.stories.js +26 -0
- package/dist/components/dialog.stories.js.map +1 -0
- package/dist/components/divider.stories.d.ts +15 -0
- package/dist/components/divider.stories.d.ts.map +1 -0
- package/dist/components/divider.stories.js +16 -0
- package/dist/components/divider.stories.js.map +1 -0
- package/dist/components/drawer.d.ts +12 -4
- package/dist/components/drawer.d.ts.map +1 -1
- package/dist/components/drawer.js +12 -9
- package/dist/components/drawer.js.map +1 -1
- package/dist/components/drawer.stories.d.ts +8 -0
- package/dist/components/drawer.stories.d.ts.map +1 -0
- package/dist/components/drawer.stories.js +27 -0
- package/dist/components/drawer.stories.js.map +1 -0
- package/dist/components/dropdown-menu.stories.d.ts +8 -0
- package/dist/components/dropdown-menu.stories.d.ts.map +1 -0
- package/dist/components/dropdown-menu.stories.js +17 -0
- package/dist/components/dropdown-menu.stories.js.map +1 -0
- package/dist/components/dropdown.d.ts.map +1 -1
- package/dist/components/dropdown.js +8 -5
- package/dist/components/dropdown.js.map +1 -1
- package/dist/components/dropdown.stories.d.ts +8 -0
- package/dist/components/dropdown.stories.d.ts.map +1 -0
- package/dist/components/dropdown.stories.js +16 -0
- package/dist/components/dropdown.stories.js.map +1 -0
- package/dist/components/fieldset.stories.d.ts +9 -0
- package/dist/components/fieldset.stories.d.ts.map +1 -0
- package/dist/components/fieldset.stories.js +24 -0
- package/dist/components/fieldset.stories.js.map +1 -0
- package/dist/components/form.d.ts.map +1 -1
- package/dist/components/form.js +5 -4
- package/dist/components/form.js.map +1 -1
- package/dist/components/form.stories.d.ts +7 -0
- package/dist/components/form.stories.d.ts.map +1 -0
- package/dist/components/form.stories.js +46 -0
- package/dist/components/form.stories.js.map +1 -0
- package/dist/components/heading.stories.d.ts +16 -0
- package/dist/components/heading.stories.d.ts.map +1 -0
- package/dist/components/heading.stories.js +23 -0
- package/dist/components/heading.stories.js.map +1 -0
- package/dist/components/input.d.ts +4 -3
- package/dist/components/input.d.ts.map +1 -1
- package/dist/components/input.js +2 -3
- package/dist/components/input.js.map +1 -1
- package/dist/components/input.stories.d.ts +11 -0
- package/dist/components/input.stories.d.ts.map +1 -0
- package/dist/components/input.stories.js +44 -0
- package/dist/components/input.stories.js.map +1 -0
- package/dist/components/kanban-board.d.ts +4 -4
- package/dist/components/kanban-board.d.ts.map +1 -1
- package/dist/components/kanban-board.js.map +1 -1
- package/dist/components/kanban-board.stories.js +1 -1
- package/dist/components/kanban-board.stories.js.map +1 -1
- package/dist/components/kanban-card.stories.d.ts +16 -0
- package/dist/components/kanban-card.stories.d.ts.map +1 -0
- package/dist/components/kanban-card.stories.js +30 -0
- package/dist/components/kanban-card.stories.js.map +1 -0
- package/dist/components/kanban-dnd-board.d.ts +1 -1
- package/dist/components/kanban-dnd-board.d.ts.map +1 -1
- package/dist/components/kanban-dnd-board.js +2 -2
- package/dist/components/kanban-dnd-board.js.map +1 -1
- package/dist/components/kanban-dnd-board.stories.d.ts +15 -0
- package/dist/components/kanban-dnd-board.stories.d.ts.map +1 -0
- package/dist/components/kanban-dnd-board.stories.js +112 -0
- package/dist/components/kanban-dnd-board.stories.js.map +1 -0
- package/dist/components/label.stories.d.ts +16 -0
- package/dist/components/label.stories.d.ts.map +1 -0
- package/dist/components/label.stories.js +21 -0
- package/dist/components/label.stories.js.map +1 -0
- package/dist/components/link.d.ts +3 -2
- package/dist/components/link.d.ts.map +1 -1
- package/dist/components/link.js +2 -3
- package/dist/components/link.js.map +1 -1
- package/dist/components/link.stories.d.ts +15 -0
- package/dist/components/link.stories.d.ts.map +1 -0
- package/dist/components/link.stories.js +19 -0
- package/dist/components/link.stories.js.map +1 -0
- package/dist/components/listbox.stories.d.ts +8 -0
- package/dist/components/listbox.stories.d.ts.map +1 -0
- package/dist/components/listbox.stories.js +46 -0
- package/dist/components/listbox.stories.js.map +1 -0
- package/dist/components/pagination.stories.d.ts +9 -0
- package/dist/components/pagination.stories.d.ts.map +1 -0
- package/dist/components/pagination.stories.js +19 -0
- package/dist/components/pagination.stories.js.map +1 -0
- package/dist/components/popover.stories.d.ts +8 -0
- package/dist/components/popover.stories.d.ts.map +1 -0
- package/dist/components/popover.stories.js +17 -0
- package/dist/components/popover.stories.js.map +1 -0
- package/dist/components/radio.stories.d.ts +15 -0
- package/dist/components/radio.stories.d.ts.map +1 -0
- package/dist/components/radio.stories.js +32 -0
- package/dist/components/radio.stories.js.map +1 -0
- package/dist/components/scroll-area.stories.d.ts +14 -0
- package/dist/components/scroll-area.stories.d.ts.map +1 -0
- package/dist/components/scroll-area.stories.js +27 -0
- package/dist/components/scroll-area.stories.js.map +1 -0
- package/dist/components/select.d.ts +3 -2
- package/dist/components/select.d.ts.map +1 -1
- package/dist/components/select.js +2 -3
- package/dist/components/select.js.map +1 -1
- package/dist/components/select.stories.d.ts +10 -0
- package/dist/components/select.stories.d.ts.map +1 -0
- package/dist/components/select.stories.js +25 -0
- package/dist/components/select.stories.js.map +1 -0
- package/dist/components/separator.stories.d.ts +15 -0
- package/dist/components/separator.stories.d.ts.map +1 -0
- package/dist/components/separator.stories.js +16 -0
- package/dist/components/separator.stories.js.map +1 -0
- package/dist/components/shadcn-badge.stories.d.ts +15 -0
- package/dist/components/shadcn-badge.stories.d.ts.map +1 -0
- package/dist/components/shadcn-badge.stories.js +16 -0
- package/dist/components/shadcn-badge.stories.js.map +1 -0
- package/dist/components/shadcn-button.stories.d.ts +17 -0
- package/dist/components/shadcn-button.stories.d.ts.map +1 -0
- package/dist/components/shadcn-button.stories.js +22 -0
- package/dist/components/shadcn-button.stories.js.map +1 -0
- package/dist/components/shadcn-dialog.stories.d.ts +15 -0
- package/dist/components/shadcn-dialog.stories.d.ts.map +1 -0
- package/dist/components/shadcn-dialog.stories.js +26 -0
- package/dist/components/shadcn-dialog.stories.js.map +1 -0
- package/dist/components/shadcn-input.stories.d.ts +16 -0
- package/dist/components/shadcn-input.stories.d.ts.map +1 -0
- package/dist/components/shadcn-input.stories.js +22 -0
- package/dist/components/shadcn-input.stories.js.map +1 -0
- package/dist/components/shadcn-select.stories.d.ts +16 -0
- package/dist/components/shadcn-select.stories.d.ts.map +1 -0
- package/dist/components/shadcn-select.stories.js +19 -0
- package/dist/components/shadcn-select.stories.js.map +1 -0
- package/dist/components/shadcn-textarea.stories.d.ts +16 -0
- package/dist/components/shadcn-textarea.stories.d.ts.map +1 -0
- package/dist/components/shadcn-textarea.stories.js +27 -0
- package/dist/components/shadcn-textarea.stories.js.map +1 -0
- package/dist/components/sheet.d.ts +13 -5
- package/dist/components/sheet.d.ts.map +1 -1
- package/dist/components/sheet.js +12 -9
- package/dist/components/sheet.js.map +1 -1
- package/dist/components/sheet.stories.d.ts +8 -0
- package/dist/components/sheet.stories.d.ts.map +1 -0
- package/dist/components/sheet.stories.js +17 -0
- package/dist/components/sheet.stories.js.map +1 -0
- package/dist/components/sidebar.js +5 -5
- package/dist/components/sidebar.js.map +1 -1
- package/dist/components/sidebar.stories.d.ts +8 -0
- package/dist/components/sidebar.stories.d.ts.map +1 -0
- package/dist/components/sidebar.stories.js +31 -0
- package/dist/components/sidebar.stories.js.map +1 -0
- package/dist/components/skeleton.stories.d.ts +16 -0
- package/dist/components/skeleton.stories.d.ts.map +1 -0
- package/dist/components/skeleton.stories.js +21 -0
- package/dist/components/skeleton.stories.js.map +1 -0
- package/dist/components/slider.d.ts +3 -1
- package/dist/components/slider.d.ts.map +1 -1
- package/dist/components/slider.js +3 -3
- package/dist/components/slider.js.map +1 -1
- package/dist/components/slider.stories.d.ts +10 -0
- package/dist/components/slider.stories.d.ts.map +1 -0
- package/dist/components/slider.stories.js +43 -0
- package/dist/components/slider.stories.js.map +1 -0
- package/dist/components/sonner.stories.d.ts +16 -0
- package/dist/components/sonner.stories.d.ts.map +1 -0
- package/dist/components/sonner.stories.js +29 -0
- package/dist/components/sonner.stories.js.map +1 -0
- package/dist/components/stat-card.stories.d.ts +17 -0
- package/dist/components/stat-card.stories.d.ts.map +1 -0
- package/dist/components/stat-card.stories.js +46 -0
- package/dist/components/stat-card.stories.js.map +1 -0
- package/dist/components/switch.stories.d.ts +12 -0
- package/dist/components/switch.stories.d.ts.map +1 -0
- package/dist/components/switch.stories.js +51 -0
- package/dist/components/switch.stories.js.map +1 -0
- package/dist/components/table.js +7 -7
- package/dist/components/table.js.map +1 -1
- package/dist/components/table.stories.d.ts +9 -0
- package/dist/components/table.stories.d.ts.map +1 -0
- package/dist/components/table.stories.js +26 -0
- package/dist/components/table.stories.js.map +1 -0
- package/dist/components/tabs.stories.d.ts +8 -0
- package/dist/components/tabs.stories.d.ts.map +1 -0
- package/dist/components/tabs.stories.js +16 -0
- package/dist/components/tabs.stories.js.map +1 -0
- package/dist/components/text.stories.d.ts +17 -0
- package/dist/components/text.stories.d.ts.map +1 -0
- package/dist/components/text.stories.js +27 -0
- package/dist/components/text.stories.js.map +1 -0
- package/dist/components/textarea.d.ts +3 -2
- package/dist/components/textarea.d.ts.map +1 -1
- package/dist/components/textarea.js +2 -3
- package/dist/components/textarea.js.map +1 -1
- package/dist/components/textarea.stories.d.ts +10 -0
- package/dist/components/textarea.stories.d.ts.map +1 -0
- package/dist/components/textarea.stories.js +36 -0
- package/dist/components/textarea.stories.js.map +1 -0
- package/dist/components/toast.d.ts +20 -7
- package/dist/components/toast.d.ts.map +1 -1
- package/dist/components/toast.js +17 -14
- package/dist/components/toast.js.map +1 -1
- package/dist/components/tooltip.d.ts +3 -1
- package/dist/components/tooltip.d.ts.map +1 -1
- package/dist/components/tooltip.js +3 -3
- package/dist/components/tooltip.js.map +1 -1
- package/dist/components/tooltip.stories.d.ts +9 -0
- package/dist/components/tooltip.stories.d.ts.map +1 -0
- package/dist/components/tooltip.stories.js +20 -0
- package/dist/components/tooltip.stories.js.map +1 -0
- package/dist/globe/electron-arc.d.ts +1 -1
- package/dist/globe/electron-arc.d.ts.map +1 -1
- package/dist/globe/electron-arc.js +16 -5
- package/dist/globe/electron-arc.js.map +1 -1
- package/dist/globe/globe-canvas.d.ts +40 -0
- package/dist/globe/globe-canvas.d.ts.map +1 -0
- package/dist/globe/globe-canvas.js +139 -0
- package/dist/globe/globe-canvas.js.map +1 -0
- package/dist/globe/globe-halo.d.ts +8 -0
- package/dist/globe/globe-halo.d.ts.map +1 -0
- package/dist/globe/globe-halo.js +39 -0
- package/dist/globe/globe-halo.js.map +1 -0
- package/dist/globe/globe-loading-skeleton.stories.d.ts +16 -0
- package/dist/globe/globe-loading-skeleton.stories.d.ts.map +1 -0
- package/dist/globe/globe-loading-skeleton.stories.js +22 -0
- package/dist/globe/globe-loading-skeleton.stories.js.map +1 -0
- package/dist/globe/globe-scene.d.ts +43 -0
- package/dist/globe/globe-scene.d.ts.map +1 -0
- package/dist/globe/globe-scene.js +442 -0
- package/dist/globe/globe-scene.js.map +1 -0
- package/dist/globe/globe-stats-fallback.d.ts +12 -0
- package/dist/globe/globe-stats-fallback.d.ts.map +1 -0
- package/dist/globe/globe-stats-fallback.js +43 -0
- package/dist/globe/globe-stats-fallback.js.map +1 -0
- package/dist/globe/globe-stats-fallback.stories.d.ts +17 -0
- package/dist/globe/globe-stats-fallback.stories.d.ts.map +1 -0
- package/dist/globe/globe-stats-fallback.stories.js +152 -0
- package/dist/globe/globe-stats-fallback.stories.js.map +1 -0
- package/dist/globe/globe-theme.js.map +1 -1
- package/dist/globe/globe-tooltip.d.ts +9 -0
- package/dist/globe/globe-tooltip.d.ts.map +1 -0
- package/dist/globe/globe-tooltip.js +51 -0
- package/dist/globe/globe-tooltip.js.map +1 -0
- package/dist/globe/globe-types.d.ts +12 -0
- package/dist/globe/globe-types.d.ts.map +1 -1
- package/dist/globe/globe-view.d.ts +4 -3
- package/dist/globe/globe-view.d.ts.map +1 -1
- package/dist/globe/globe-view.js +27 -589
- package/dist/globe/globe-view.js.map +1 -1
- package/dist/globe/globe-worker.d.ts +2 -0
- package/dist/globe/globe-worker.d.ts.map +1 -0
- package/dist/globe/globe-worker.js +5 -0
- package/dist/globe/globe-worker.js.map +1 -0
- package/dist/globe/index.d.ts +4 -7
- package/dist/globe/index.d.ts.map +1 -1
- package/dist/globe/index.js +3 -4
- package/dist/globe/index.js.map +1 -1
- package/dist/globe/map/map-geometry.d.ts.map +1 -1
- package/dist/globe/map/map-geometry.js.map +1 -1
- package/dist/globe/scene-extras.d.ts +0 -6
- package/dist/globe/scene-extras.d.ts.map +1 -1
- package/dist/globe/scene-extras.js +0 -61
- package/dist/globe/scene-extras.js.map +1 -1
- package/dist/hooks/use-mobile.d.ts.map +1 -1
- package/dist/hooks/use-mobile.js +1 -0
- package/dist/hooks/use-mobile.js.map +1 -1
- package/dist/hooks/use-toast.d.ts +4 -11
- package/dist/hooks/use-toast.d.ts.map +1 -1
- package/dist/hooks/use-toast.js +0 -6
- package/dist/hooks/use-toast.js.map +1 -1
- package/dist/nav/app-shell.js.map +1 -1
- package/dist/nav/app-shell.stories.d.ts +21 -0
- package/dist/nav/app-shell.stories.d.ts.map +1 -0
- package/dist/nav/app-shell.stories.js +29 -0
- package/dist/nav/app-shell.stories.js.map +1 -0
- package/dist/nav/app-sidebar.stories.d.ts +11 -0
- package/dist/nav/app-sidebar.stories.d.ts.map +1 -0
- package/dist/nav/app-sidebar.stories.js +52 -0
- package/dist/nav/app-sidebar.stories.js.map +1 -0
- package/dist/nav/expandable-nav-item.d.ts.map +1 -1
- package/dist/nav/expandable-nav-item.js +1 -0
- package/dist/nav/expandable-nav-item.js.map +1 -1
- package/dist/nav/expandable-nav-item.stories.d.ts +12 -0
- package/dist/nav/expandable-nav-item.stories.d.ts.map +1 -0
- package/dist/nav/expandable-nav-item.stories.js +43 -0
- package/dist/nav/expandable-nav-item.stories.js.map +1 -0
- package/dist/offer/attachments-folder.stories.d.ts +17 -0
- package/dist/offer/attachments-folder.stories.d.ts.map +1 -0
- package/dist/offer/attachments-folder.stories.js +83 -0
- package/dist/offer/attachments-folder.stories.js.map +1 -0
- package/dist/offer/beverage-details.stories.d.ts +17 -0
- package/dist/offer/beverage-details.stories.d.ts.map +1 -0
- package/dist/offer/beverage-details.stories.js +59 -0
- package/dist/offer/beverage-details.stories.js.map +1 -0
- package/dist/offer/composition-list.stories.d.ts +18 -0
- package/dist/offer/composition-list.stories.d.ts.map +1 -0
- package/dist/offer/composition-list.stories.js +52 -0
- package/dist/offer/composition-list.stories.js.map +1 -0
- package/dist/offer/confirm-action-dialog.stories.d.ts +17 -0
- package/dist/offer/confirm-action-dialog.stories.d.ts.map +1 -0
- package/dist/offer/confirm-action-dialog.stories.js +41 -0
- package/dist/offer/confirm-action-dialog.stories.js.map +1 -0
- package/dist/offer/inline-counter-form.stories.d.ts +17 -0
- package/dist/offer/inline-counter-form.stories.d.ts.map +1 -0
- package/dist/offer/inline-counter-form.stories.js +49 -0
- package/dist/offer/inline-counter-form.stories.js.map +1 -0
- package/dist/offer/negotiation-event-card.d.ts.map +1 -1
- package/dist/offer/negotiation-event-card.js.map +1 -1
- package/dist/offer/negotiation-event-card.stories.d.ts +19 -0
- package/dist/offer/negotiation-event-card.stories.d.ts.map +1 -0
- package/dist/offer/negotiation-event-card.stories.js +90 -0
- package/dist/offer/negotiation-event-card.stories.js.map +1 -0
- package/dist/offer/offer-status-badge.stories.d.ts +15 -0
- package/dist/offer/offer-status-badge.stories.d.ts.map +1 -0
- package/dist/offer/offer-status-badge.stories.js +33 -0
- package/dist/offer/offer-status-badge.stories.js.map +1 -0
- package/dist/offer/opportunity-requirements.stories.d.ts +18 -0
- package/dist/offer/opportunity-requirements.stories.d.ts.map +1 -0
- package/dist/offer/opportunity-requirements.stories.js +75 -0
- package/dist/offer/opportunity-requirements.stories.js.map +1 -0
- package/dist/offer/org-banner.stories.d.ts +18 -0
- package/dist/offer/org-banner.stories.d.ts.map +1 -0
- package/dist/offer/org-banner.stories.js +51 -0
- package/dist/offer/org-banner.stories.js.map +1 -0
- package/dist/offer/reviews-summary.d.ts +3 -0
- package/dist/offer/reviews-summary.d.ts.map +1 -1
- package/dist/offer/reviews-summary.js +12 -1
- package/dist/offer/reviews-summary.js.map +1 -1
- package/dist/offer/reviews-summary.stories.d.ts +18 -0
- package/dist/offer/reviews-summary.stories.d.ts.map +1 -0
- package/dist/offer/reviews-summary.stories.js +104 -0
- package/dist/offer/reviews-summary.stories.js.map +1 -0
- package/dist/offer/sensory-profile.stories.d.ts +17 -0
- package/dist/offer/sensory-profile.stories.d.ts.map +1 -0
- package/dist/offer/sensory-profile.stories.js +84 -0
- package/dist/offer/sensory-profile.stories.js.map +1 -0
- package/dist/opportunities/opportunities-table.d.ts.map +1 -1
- package/dist/opportunities/opportunities-table.js +7 -2
- package/dist/opportunities/opportunities-table.js.map +1 -1
- package/dist/opportunities/opportunities-table.stories.d.ts +24 -0
- package/dist/opportunities/opportunities-table.stories.d.ts.map +1 -0
- package/dist/opportunities/opportunities-table.stories.js +34 -0
- package/dist/opportunities/opportunities-table.stories.js.map +1 -0
- package/dist/profile/profile.stories.d.ts +15 -0
- package/dist/profile/profile.stories.d.ts.map +1 -0
- package/dist/profile/profile.stories.js +33 -0
- package/dist/profile/profile.stories.js.map +1 -0
- package/package.json +17 -4
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import { AttachmentsFolder } from "./attachments-folder";
|
|
2
|
+
const meta = {
|
|
3
|
+
title: "Offer/AttachmentsFolder",
|
|
4
|
+
component: AttachmentsFolder,
|
|
5
|
+
tags: ["autodocs"],
|
|
6
|
+
parameters: { layout: "padded" },
|
|
7
|
+
};
|
|
8
|
+
export default meta;
|
|
9
|
+
export const Default = {
|
|
10
|
+
args: {
|
|
11
|
+
attachments: [
|
|
12
|
+
{
|
|
13
|
+
id: "att-001",
|
|
14
|
+
fileName: "technical-sheet-margaux-2019.pdf",
|
|
15
|
+
mimeType: "application/pdf",
|
|
16
|
+
fileSize: 524288,
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
id: "att-002",
|
|
20
|
+
fileName: "label-front.png",
|
|
21
|
+
mimeType: "image/png",
|
|
22
|
+
fileSize: 204800,
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
id: "att-003",
|
|
26
|
+
fileName: "analysis-report.xlsx",
|
|
27
|
+
mimeType: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
|
|
28
|
+
fileSize: 102400,
|
|
29
|
+
},
|
|
30
|
+
],
|
|
31
|
+
onDownload: (id) => console.warn("Download requested for:", id),
|
|
32
|
+
},
|
|
33
|
+
};
|
|
34
|
+
export const SingleAttachment = {
|
|
35
|
+
args: {
|
|
36
|
+
attachments: [
|
|
37
|
+
{
|
|
38
|
+
id: "att-001",
|
|
39
|
+
fileName: "product-specification.pdf",
|
|
40
|
+
mimeType: "application/pdf",
|
|
41
|
+
fileSize: 786432,
|
|
42
|
+
},
|
|
43
|
+
],
|
|
44
|
+
onDownload: (id) => console.warn("Download requested for:", id),
|
|
45
|
+
},
|
|
46
|
+
};
|
|
47
|
+
export const Downloading = {
|
|
48
|
+
args: {
|
|
49
|
+
attachments: [
|
|
50
|
+
{
|
|
51
|
+
id: "att-001",
|
|
52
|
+
fileName: "winery-certificate-organic.pdf",
|
|
53
|
+
mimeType: "application/pdf",
|
|
54
|
+
fileSize: 153600,
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
id: "att-002",
|
|
58
|
+
fileName: "estate-photo.jpg",
|
|
59
|
+
mimeType: "image/jpeg",
|
|
60
|
+
fileSize: 2097152,
|
|
61
|
+
},
|
|
62
|
+
],
|
|
63
|
+
onDownload: (id) => console.warn("Download requested for:", id),
|
|
64
|
+
isDownloading: true,
|
|
65
|
+
},
|
|
66
|
+
};
|
|
67
|
+
export const NoMimeType = {
|
|
68
|
+
args: {
|
|
69
|
+
attachments: [
|
|
70
|
+
{
|
|
71
|
+
id: "att-001",
|
|
72
|
+
fileName: "mystery-file.bin",
|
|
73
|
+
fileSize: 65536,
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
id: "att-002",
|
|
77
|
+
fileName: "notes.txt",
|
|
78
|
+
},
|
|
79
|
+
],
|
|
80
|
+
onDownload: (id) => console.warn("Download requested for:", id),
|
|
81
|
+
},
|
|
82
|
+
};
|
|
83
|
+
//# sourceMappingURL=attachments-folder.stories.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"attachments-folder.stories.js","sourceRoot":"","sources":["../../src/offer/attachments-folder.stories.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAEzD,MAAM,IAAI,GAAG;IACX,KAAK,EAAE,yBAAyB;IAChC,SAAS,EAAE,iBAAiB;IAC5B,IAAI,EAAE,CAAC,UAAU,CAAC;IAClB,UAAU,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE;CACQ,CAAC;AAE3C,eAAe,IAAI,CAAC;AAGpB,MAAM,CAAC,MAAM,OAAO,GAAU;IAC5B,IAAI,EAAE;QACJ,WAAW,EAAE;YACX;gBACE,EAAE,EAAE,SAAS;gBACb,QAAQ,EAAE,kCAAkC;gBAC5C,QAAQ,EAAE,iBAAiB;gBAC3B,QAAQ,EAAE,MAAM;aACjB;YACD;gBACE,EAAE,EAAE,SAAS;gBACb,QAAQ,EAAE,iBAAiB;gBAC3B,QAAQ,EAAE,WAAW;gBACrB,QAAQ,EAAE,MAAM;aACjB;YACD;gBACE,EAAE,EAAE,SAAS;gBACb,QAAQ,EAAE,sBAAsB;gBAChC,QAAQ,EAAE,mEAAmE;gBAC7E,QAAQ,EAAE,MAAM;aACjB;SACF;QACD,UAAU,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,yBAAyB,EAAE,EAAE,CAAC;KAChE;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,gBAAgB,GAAU;IACrC,IAAI,EAAE;QACJ,WAAW,EAAE;YACX;gBACE,EAAE,EAAE,SAAS;gBACb,QAAQ,EAAE,2BAA2B;gBACrC,QAAQ,EAAE,iBAAiB;gBAC3B,QAAQ,EAAE,MAAM;aACjB;SACF;QACD,UAAU,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,yBAAyB,EAAE,EAAE,CAAC;KAChE;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,WAAW,GAAU;IAChC,IAAI,EAAE;QACJ,WAAW,EAAE;YACX;gBACE,EAAE,EAAE,SAAS;gBACb,QAAQ,EAAE,gCAAgC;gBAC1C,QAAQ,EAAE,iBAAiB;gBAC3B,QAAQ,EAAE,MAAM;aACjB;YACD;gBACE,EAAE,EAAE,SAAS;gBACb,QAAQ,EAAE,kBAAkB;gBAC5B,QAAQ,EAAE,YAAY;gBACtB,QAAQ,EAAE,OAAO;aAClB;SACF;QACD,UAAU,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,yBAAyB,EAAE,EAAE,CAAC;QAC/D,aAAa,EAAE,IAAI;KACpB;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,UAAU,GAAU;IAC/B,IAAI,EAAE;QACJ,WAAW,EAAE;YACX;gBACE,EAAE,EAAE,SAAS;gBACb,QAAQ,EAAE,kBAAkB;gBAC5B,QAAQ,EAAE,KAAK;aAChB;YACD;gBACE,EAAE,EAAE,SAAS;gBACb,QAAQ,EAAE,WAAW;aACtB;SACF;QACD,UAAU,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,yBAAyB,EAAE,EAAE,CAAC;KAChE;CACF,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { StoryObj } from "@storybook/react-vite";
|
|
2
|
+
import { BeverageDetails } from "./beverage-details";
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof BeverageDetails;
|
|
6
|
+
tags: string[];
|
|
7
|
+
parameters: {
|
|
8
|
+
layout: string;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
export default meta;
|
|
12
|
+
type Story = StoryObj<typeof meta>;
|
|
13
|
+
export declare const Default: Story;
|
|
14
|
+
export declare const Minimal: Story;
|
|
15
|
+
export declare const WithPriceRangeMin: Story;
|
|
16
|
+
export declare const WithPriceRangeMax: Story;
|
|
17
|
+
//# sourceMappingURL=beverage-details.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"beverage-details.stories.d.ts","sourceRoot":"","sources":["../../src/offer/beverage-details.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAErD,QAAA,MAAM,IAAI;;;;;;;CAK8B,CAAC;AAEzC,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAkBrB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,KAOrB,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,KAU/B,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,KAW/B,CAAC"}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { BeverageDetails } from "./beverage-details";
|
|
2
|
+
const meta = {
|
|
3
|
+
title: "Offer/BeverageDetails",
|
|
4
|
+
component: BeverageDetails,
|
|
5
|
+
tags: ["autodocs"],
|
|
6
|
+
parameters: { layout: "padded" },
|
|
7
|
+
};
|
|
8
|
+
export default meta;
|
|
9
|
+
export const Default = {
|
|
10
|
+
args: {
|
|
11
|
+
beverageType: "Red Wine",
|
|
12
|
+
producerName: "Château Margaux",
|
|
13
|
+
countryOfOrigin: "France",
|
|
14
|
+
region: "Bordeaux, Margaux AOC",
|
|
15
|
+
vintage: 2019,
|
|
16
|
+
abv: 13.5,
|
|
17
|
+
containerVolume: "750ml",
|
|
18
|
+
productionVolume: "12,000 bottles",
|
|
19
|
+
residualSugar: "2.1 g/L",
|
|
20
|
+
totalAcidity: "5.8 g/L",
|
|
21
|
+
pH: 3.62,
|
|
22
|
+
packaging: "Bottle",
|
|
23
|
+
closure: "Natural Cork",
|
|
24
|
+
priceRange: { min: 85, max: 120 },
|
|
25
|
+
currency: "EUR",
|
|
26
|
+
},
|
|
27
|
+
};
|
|
28
|
+
export const Minimal = {
|
|
29
|
+
args: {
|
|
30
|
+
beverageType: "White Wine",
|
|
31
|
+
producerName: "Domaine Leflaive",
|
|
32
|
+
countryOfOrigin: "France",
|
|
33
|
+
vintage: 2021,
|
|
34
|
+
},
|
|
35
|
+
};
|
|
36
|
+
export const WithPriceRangeMin = {
|
|
37
|
+
args: {
|
|
38
|
+
beverageType: "Sparkling Wine",
|
|
39
|
+
producerName: "Billecart-Salmon",
|
|
40
|
+
countryOfOrigin: "France",
|
|
41
|
+
region: "Champagne",
|
|
42
|
+
abv: 12,
|
|
43
|
+
priceRange: { min: 45 },
|
|
44
|
+
currency: "EUR",
|
|
45
|
+
},
|
|
46
|
+
};
|
|
47
|
+
export const WithPriceRangeMax = {
|
|
48
|
+
args: {
|
|
49
|
+
beverageType: "Dessert Wine",
|
|
50
|
+
producerName: "Château d'Yquem",
|
|
51
|
+
countryOfOrigin: "France",
|
|
52
|
+
region: "Sauternes",
|
|
53
|
+
vintage: 2018,
|
|
54
|
+
abv: 14,
|
|
55
|
+
priceRange: { max: 350 },
|
|
56
|
+
currency: "EUR",
|
|
57
|
+
},
|
|
58
|
+
};
|
|
59
|
+
//# sourceMappingURL=beverage-details.stories.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"beverage-details.stories.js","sourceRoot":"","sources":["../../src/offer/beverage-details.stories.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAErD,MAAM,IAAI,GAAG;IACX,KAAK,EAAE,uBAAuB;IAC9B,SAAS,EAAE,eAAe;IAC1B,IAAI,EAAE,CAAC,UAAU,CAAC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QACP,UAAU,EAAE,EAAE,GAAG,EAAE,GAAG,EAAE;QACxB,QAAQ,EAAE,KAAK;KAChB;CACF,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { StoryObj } from "@storybook/react-vite";
|
|
2
|
+
import { CompositionList } from "./composition-list";
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof CompositionList;
|
|
6
|
+
tags: string[];
|
|
7
|
+
parameters: {
|
|
8
|
+
layout: string;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
export default meta;
|
|
12
|
+
type Story = StoryObj<typeof meta>;
|
|
13
|
+
export declare const Default: Story;
|
|
14
|
+
export declare const SingleEntry: Story;
|
|
15
|
+
export declare const WithoutPercentages: Story;
|
|
16
|
+
export declare const MixedPercentages: Story;
|
|
17
|
+
export declare const ManyVarieties: Story;
|
|
18
|
+
//# sourceMappingURL=composition-list.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"composition-list.stories.d.ts","sourceRoot":"","sources":["../../src/offer/composition-list.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAErD,QAAA,MAAM,IAAI;;;;;;;CAK8B,CAAC;AAEzC,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAQrB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,KAIzB,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,KAQhC,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,KAQ9B,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,KAU3B,CAAC"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { CompositionList } from "./composition-list";
|
|
2
|
+
const meta = {
|
|
3
|
+
title: "Offer/CompositionList",
|
|
4
|
+
component: CompositionList,
|
|
5
|
+
tags: ["autodocs"],
|
|
6
|
+
parameters: { layout: "padded" },
|
|
7
|
+
};
|
|
8
|
+
export default meta;
|
|
9
|
+
export const Default = {
|
|
10
|
+
args: {
|
|
11
|
+
composition: [
|
|
12
|
+
{ name: "Cabernet Sauvignon", percentage: 65 },
|
|
13
|
+
{ name: "Merlot", percentage: 25 },
|
|
14
|
+
{ name: "Cabernet Franc", percentage: 10 },
|
|
15
|
+
],
|
|
16
|
+
},
|
|
17
|
+
};
|
|
18
|
+
export const SingleEntry = {
|
|
19
|
+
args: {
|
|
20
|
+
composition: [{ name: "Chardonnay", percentage: 100 }],
|
|
21
|
+
},
|
|
22
|
+
};
|
|
23
|
+
export const WithoutPercentages = {
|
|
24
|
+
args: {
|
|
25
|
+
composition: [
|
|
26
|
+
{ name: "Grenache" },
|
|
27
|
+
{ name: "Syrah" },
|
|
28
|
+
{ name: "Mourvèdre" },
|
|
29
|
+
],
|
|
30
|
+
},
|
|
31
|
+
};
|
|
32
|
+
export const MixedPercentages = {
|
|
33
|
+
args: {
|
|
34
|
+
composition: [
|
|
35
|
+
{ name: "Pinot Noir", percentage: 70 },
|
|
36
|
+
{ name: "Pinot Meunier", percentage: 20 },
|
|
37
|
+
{ name: "Chardonnay" },
|
|
38
|
+
],
|
|
39
|
+
},
|
|
40
|
+
};
|
|
41
|
+
export const ManyVarieties = {
|
|
42
|
+
args: {
|
|
43
|
+
composition: [
|
|
44
|
+
{ name: "Tempranillo", percentage: 40 },
|
|
45
|
+
{ name: "Garnacha", percentage: 25 },
|
|
46
|
+
{ name: "Graciano", percentage: 15 },
|
|
47
|
+
{ name: "Mazuelo", percentage: 12 },
|
|
48
|
+
{ name: "Maturana Tinta", percentage: 8 },
|
|
49
|
+
],
|
|
50
|
+
},
|
|
51
|
+
};
|
|
52
|
+
//# sourceMappingURL=composition-list.stories.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"composition-list.stories.js","sourceRoot":"","sources":["../../src/offer/composition-list.stories.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAErD,MAAM,IAAI,GAAG;IACX,KAAK,EAAE,uBAAuB;IAC9B,SAAS,EAAE,eAAe;IAC1B,IAAI,EAAE,CAAC,UAAU,CAAC;IAClB,UAAU,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE;CACM,CAAC;AAEzC,eAAe,IAAI,CAAC;AAGpB,MAAM,CAAC,MAAM,OAAO,GAAU;IAC5B,IAAI,EAAE;QACJ,WAAW,EAAE;YACX,EAAE,IAAI,EAAE,oBAAoB,EAAE,UAAU,EAAE,EAAE,EAAE;YAC9C,EAAE,IAAI,EAAE,QAAQ,EAAE,UAAU,EAAE,EAAE,EAAE;YAClC,EAAE,IAAI,EAAE,gBAAgB,EAAE,UAAU,EAAE,EAAE,EAAE;SAC3C;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,WAAW,GAAU;IAChC,IAAI,EAAE;QACJ,WAAW,EAAE,CAAC,EAAE,IAAI,EAAE,YAAY,EAAE,UAAU,EAAE,GAAG,EAAE,CAAC;KACvD;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,kBAAkB,GAAU;IACvC,IAAI,EAAE;QACJ,WAAW,EAAE;YACX,EAAE,IAAI,EAAE,UAAU,EAAE;YACpB,EAAE,IAAI,EAAE,OAAO,EAAE;YACjB,EAAE,IAAI,EAAE,WAAW,EAAE;SACtB;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,gBAAgB,GAAU;IACrC,IAAI,EAAE;QACJ,WAAW,EAAE;YACX,EAAE,IAAI,EAAE,YAAY,EAAE,UAAU,EAAE,EAAE,EAAE;YACtC,EAAE,IAAI,EAAE,eAAe,EAAE,UAAU,EAAE,EAAE,EAAE;YACzC,EAAE,IAAI,EAAE,YAAY,EAAE;SACvB;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,aAAa,GAAU;IAClC,IAAI,EAAE;QACJ,WAAW,EAAE;YACX,EAAE,IAAI,EAAE,aAAa,EAAE,UAAU,EAAE,EAAE,EAAE;YACvC,EAAE,IAAI,EAAE,UAAU,EAAE,UAAU,EAAE,EAAE,EAAE;YACpC,EAAE,IAAI,EAAE,UAAU,EAAE,UAAU,EAAE,EAAE,EAAE;YACpC,EAAE,IAAI,EAAE,SAAS,EAAE,UAAU,EAAE,EAAE,EAAE;YACnC,EAAE,IAAI,EAAE,gBAAgB,EAAE,UAAU,EAAE,CAAC,EAAE;SAC1C;KACF;CACF,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { StoryObj } from "@storybook/react-vite";
|
|
2
|
+
import { ConfirmActionDialog } from "./confirm-action-dialog";
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof ConfirmActionDialog;
|
|
6
|
+
tags: string[];
|
|
7
|
+
parameters: {
|
|
8
|
+
layout: string;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
export default meta;
|
|
12
|
+
type Story = StoryObj<typeof meta>;
|
|
13
|
+
export declare const AcceptDialog: Story;
|
|
14
|
+
export declare const RejectDialog: Story;
|
|
15
|
+
export declare const WithdrawDialog: Story;
|
|
16
|
+
export declare const Pending: Story;
|
|
17
|
+
//# sourceMappingURL=confirm-action-dialog.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"confirm-action-dialog.stories.d.ts","sourceRoot":"","sources":["../../src/offer/confirm-action-dialog.stories.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAG9D,QAAA,MAAM,IAAI;;;;;;;CAKkC,CAAC;AAE7C,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAuCnC,eAAO,MAAM,YAAY,EAAE,KAG1B,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,KAG1B,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,KAG5B,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,KAGrB,CAAC"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { useState } from "react";
|
|
3
|
+
import { ConfirmActionDialog } from "./confirm-action-dialog";
|
|
4
|
+
const meta = {
|
|
5
|
+
title: "Offer/ConfirmActionDialog",
|
|
6
|
+
component: ConfirmActionDialog,
|
|
7
|
+
tags: ["autodocs"],
|
|
8
|
+
parameters: { layout: "centered" },
|
|
9
|
+
};
|
|
10
|
+
export default meta;
|
|
11
|
+
function StatefulDialog({ type, isPending, }) {
|
|
12
|
+
const [open, setOpen] = useState(true);
|
|
13
|
+
async function handleConfirm(_offerId, _type, _input) {
|
|
14
|
+
await new Promise((resolve) => setTimeout(resolve, 1000));
|
|
15
|
+
}
|
|
16
|
+
return (_jsx(ConfirmActionDialog, { offerId: "offer-demo-001", type: type, open: open, onOpenChange: setOpen, onConfirm: handleConfirm, isPending: isPending }));
|
|
17
|
+
}
|
|
18
|
+
const storyArgs = {
|
|
19
|
+
offerId: "offer-demo-001",
|
|
20
|
+
type: "accept",
|
|
21
|
+
open: true,
|
|
22
|
+
onOpenChange: () => { },
|
|
23
|
+
onConfirm: async () => { },
|
|
24
|
+
};
|
|
25
|
+
export const AcceptDialog = {
|
|
26
|
+
args: storyArgs,
|
|
27
|
+
render: () => _jsx(StatefulDialog, { type: "accept" }),
|
|
28
|
+
};
|
|
29
|
+
export const RejectDialog = {
|
|
30
|
+
args: { ...storyArgs, type: "reject" },
|
|
31
|
+
render: () => _jsx(StatefulDialog, { type: "reject" }),
|
|
32
|
+
};
|
|
33
|
+
export const WithdrawDialog = {
|
|
34
|
+
args: { ...storyArgs, type: "withdraw" },
|
|
35
|
+
render: () => _jsx(StatefulDialog, { type: "withdraw" }),
|
|
36
|
+
};
|
|
37
|
+
export const Pending = {
|
|
38
|
+
args: { ...storyArgs, isPending: true },
|
|
39
|
+
render: () => _jsx(StatefulDialog, { type: "accept", isPending: true }),
|
|
40
|
+
};
|
|
41
|
+
//# sourceMappingURL=confirm-action-dialog.stories.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"confirm-action-dialog.stories.js","sourceRoot":"","sources":["../../src/offer/confirm-action-dialog.stories.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEjC,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAG9D,MAAM,IAAI,GAAG;IACX,KAAK,EAAE,2BAA2B;IAClC,SAAS,EAAE,mBAAmB;IAC9B,IAAI,EAAE,CAAC,UAAU,CAAC;IAClB,UAAU,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE;CACQ,CAAC;AAE7C,eAAe,IAAI,CAAC;AAGpB,SAAS,cAAc,CAAC,EACtB,IAAI,EACJ,SAAS,GAIV;IACC,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,GAAG,QAAQ,CAAC,IAAI,CAAC,CAAC;IAEvC,KAAK,UAAU,aAAa,CAC1B,QAAgB,EAChB,KAAsB,EACtB,MAA2B;QAE3B,MAAM,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,UAAU,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC,CAAC;IAC5D,CAAC;IAED,OAAO,CACL,KAAC,mBAAmB,IAClB,OAAO,EAAC,gBAAgB,EACxB,IAAI,EAAE,IAAI,EACV,IAAI,EAAE,IAAI,EACV,YAAY,EAAE,OAAO,EACrB,SAAS,EAAE,aAAa,EACxB,SAAS,EAAE,SAAS,GACpB,CACH,CAAC;AACJ,CAAC;AAED,MAAM,SAAS,GAAG;IAChB,OAAO,EAAE,gBAAgB;IACzB,IAAI,EAAE,QAA2B;IACjC,IAAI,EAAE,IAAI;IACV,YAAY,EAAE,GAAG,EAAE,GAAE,CAAC;IACtB,SAAS,EAAE,KAAK,IAAI,EAAE,GAAE,CAAC;CAC1B,CAAC;AAEF,MAAM,CAAC,MAAM,YAAY,GAAU;IACjC,IAAI,EAAE,SAAS;IACf,MAAM,EAAE,GAAG,EAAE,CAAC,KAAC,cAAc,IAAC,IAAI,EAAC,QAAQ,GAAG;CAC/C,CAAC;AAEF,MAAM,CAAC,MAAM,YAAY,GAAU;IACjC,IAAI,EAAE,EAAE,GAAG,SAAS,EAAE,IAAI,EAAE,QAA2B,EAAE;IACzD,MAAM,EAAE,GAAG,EAAE,CAAC,KAAC,cAAc,IAAC,IAAI,EAAC,QAAQ,GAAG;CAC/C,CAAC;AAEF,MAAM,CAAC,MAAM,cAAc,GAAU;IACnC,IAAI,EAAE,EAAE,GAAG,SAAS,EAAE,IAAI,EAAE,UAA6B,EAAE;IAC3D,MAAM,EAAE,GAAG,EAAE,CAAC,KAAC,cAAc,IAAC,IAAI,EAAC,UAAU,GAAG;CACjD,CAAC;AAEF,MAAM,CAAC,MAAM,OAAO,GAAU;IAC5B,IAAI,EAAE,EAAE,GAAG,SAAS,EAAE,SAAS,EAAE,IAAI,EAAE;IACvC,MAAM,EAAE,GAAG,EAAE,CAAC,KAAC,cAAc,IAAC,IAAI,EAAC,QAAQ,EAAC,SAAS,SAAG;CACzD,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { StoryObj } from "@storybook/react-vite";
|
|
2
|
+
import { InlineCounterForm } from "./inline-counter-form";
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof InlineCounterForm;
|
|
6
|
+
tags: string[];
|
|
7
|
+
parameters: {
|
|
8
|
+
layout: string;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
export default meta;
|
|
12
|
+
type Story = StoryObj<typeof meta>;
|
|
13
|
+
export declare const Default: Story;
|
|
14
|
+
export declare const Submitting: Story;
|
|
15
|
+
export declare const WithParentResponse: Story;
|
|
16
|
+
export declare const NoCurrency: Story;
|
|
17
|
+
//# sourceMappingURL=inline-counter-form.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"inline-counter-form.stories.d.ts","sourceRoot":"","sources":["../../src/offer/inline-counter-form.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAG1D,QAAA,MAAM,IAAI;;;;;;;CAKgC,CAAC;AAE3C,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AASnC,eAAO,MAAM,OAAO,EAAE,KAQrB,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,KASxB,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,KAShC,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,KAOxB,CAAC"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { InlineCounterForm } from "./inline-counter-form";
|
|
2
|
+
const meta = {
|
|
3
|
+
title: "Offer/InlineCounterForm",
|
|
4
|
+
component: InlineCounterForm,
|
|
5
|
+
tags: ["autodocs"],
|
|
6
|
+
parameters: { layout: "padded" },
|
|
7
|
+
};
|
|
8
|
+
export default meta;
|
|
9
|
+
async function handleSubmit(_offerId, _input) {
|
|
10
|
+
await new Promise((resolve) => setTimeout(resolve, 1000));
|
|
11
|
+
}
|
|
12
|
+
export const Default = {
|
|
13
|
+
args: {
|
|
14
|
+
offerId: "offer-demo-001",
|
|
15
|
+
defaultCurrency: "EUR",
|
|
16
|
+
onCancel: () => console.warn("Counter form cancelled"),
|
|
17
|
+
onSuccess: () => console.warn("Counter submitted successfully"),
|
|
18
|
+
onSubmit: handleSubmit,
|
|
19
|
+
},
|
|
20
|
+
};
|
|
21
|
+
export const Submitting = {
|
|
22
|
+
args: {
|
|
23
|
+
offerId: "offer-demo-001",
|
|
24
|
+
defaultCurrency: "USD",
|
|
25
|
+
isSubmitting: true,
|
|
26
|
+
onCancel: () => console.warn("Counter form cancelled"),
|
|
27
|
+
onSuccess: () => console.warn("Counter submitted successfully"),
|
|
28
|
+
onSubmit: handleSubmit,
|
|
29
|
+
},
|
|
30
|
+
};
|
|
31
|
+
export const WithParentResponse = {
|
|
32
|
+
args: {
|
|
33
|
+
offerId: "offer-demo-002",
|
|
34
|
+
defaultCurrency: "GBP",
|
|
35
|
+
parentResponseId: "resp-previous-001",
|
|
36
|
+
onCancel: () => console.warn("Counter form cancelled"),
|
|
37
|
+
onSuccess: () => console.warn("Counter submitted successfully"),
|
|
38
|
+
onSubmit: handleSubmit,
|
|
39
|
+
},
|
|
40
|
+
};
|
|
41
|
+
export const NoCurrency = {
|
|
42
|
+
args: {
|
|
43
|
+
offerId: "offer-demo-003",
|
|
44
|
+
onCancel: () => console.warn("Counter form cancelled"),
|
|
45
|
+
onSuccess: () => console.warn("Counter submitted successfully"),
|
|
46
|
+
onSubmit: handleSubmit,
|
|
47
|
+
},
|
|
48
|
+
};
|
|
49
|
+
//# sourceMappingURL=inline-counter-form.stories.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"inline-counter-form.stories.js","sourceRoot":"","sources":["../../src/offer/inline-counter-form.stories.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAG1D,MAAM,IAAI,GAAG;IACX,KAAK,EAAE,yBAAyB;IAChC,SAAS,EAAE,iBAAiB;IAC5B,IAAI,EAAE,CAAC,UAAU,CAAC;IAClB,UAAU,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE;CACQ,CAAC;AAE3C,eAAe,IAAI,CAAC;AAGpB,KAAK,UAAU,YAA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C,IAAI,CAAC,wBAAwB,CAAC;QACtD,SAAS,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,gCAAgC,CAAC;QAC/D,QAAQ,EAAE,YAAY;KACvB;CACF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"negotiation-event-card.d.ts","sourceRoot":"","sources":["../../src/offer/negotiation-event-card.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,mBAAmB,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAElE,UAAU,yBAAyB;IACjC,QAAQ,EAAE,mBAAmB,CAAC;IAC9B,qEAAqE;IACrE,CAAC,CAAC,EAAE,aAAa,CAAC;CACnB;AAkBD,wBAAgB,oBAAoB,CAAC,EAAE,QAAQ,EAAE,CAAY,EAAE,EAAE,yBAAyB,
|
|
1
|
+
{"version":3,"file":"negotiation-event-card.d.ts","sourceRoot":"","sources":["../../src/offer/negotiation-event-card.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,mBAAmB,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAElE,UAAU,yBAAyB;IACjC,QAAQ,EAAE,mBAAmB,CAAC;IAC9B,qEAAqE;IACrE,CAAC,CAAC,EAAE,aAAa,CAAC;CACnB;AAkBD,wBAAgB,oBAAoB,CAAC,EAAE,QAAQ,EAAE,CAAY,EAAE,EAAE,yBAAyB,2CAoFzF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"negotiation-event-card.js","sourceRoot":"","sources":["../../src/offer/negotiation-event-card.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AACvD,OAAO,EAAE,WAAW,IAAI,KAAK,EAAE,MAAM,4BAA4B,CAAC;AAClE,OAAO,EACL,KAAK,EACL,CAAC,EACD,cAAc,EACd,GAAG,EACH,KAAK,GACN,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,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,6BAA6B,aAC1C,QAAQ,CAAC,OAAO,CAAC,QAAQ,IAAI,EAAE,OAAG,QAAQ,CAAC,OAAO,CAAC,KAAK,IACpD,IACH,CACP,EACA,QAAQ,CAAC,OAAO,EAAE,eAAe,IAAI,CACpC,eAAK,SAAS,EAAC,yCAAyC,aACtD,eAAM,SAAS,EAAC,uBAAuB,YAAE,CAAC,CAAC,iBAAiB,EAAE,kBAAkB,CAAC,GAAQ,EACzF,eAAM,SAAS,EAAC,6BAA6B,YAAE,QAAQ,CAAC,OAAO,CAAC,eAAe,GAAQ,IACnF,CACP,EACA,QAAQ,CAAC,OAAO,EAAE,YAAY,IAAI,CACjC,eAAK,SAAS,EAAC,yCAAyC,aACtD,eAAM,SAAS,EAAC,uBAAuB,YAAE,CAAC,CAAC,kBAAkB,EAAE,eAAe,CAAC,GAAQ,EACvF,eAAM,SAAS,EAAC,6BAA6B,YAE5C,MAAM,CAAC,IAAI,IAAI,CAAC,QAAQ,CAAC,OAAO,CAAC,YAAY,CAAC,EAAE,aAAa,CAAC,GACxD,IACH,CACP,EACA,QAAQ,CAAC,OAAO,EAAE,KAAK,IAAI,CAC1B,eAAK,SAAS,EAAC,YAAY,aACzB,eAAM,SAAS,EAAC,uBAAuB,YAAE,CAAC,CAAC,OAAO,EAAE,OAAO,CAAC,GAAQ,EACpE,eAAM,SAAS,EAAC,iBAAiB,YAAE,QAAQ,CAAC,OAAO,CAAC,KAAK,GAAQ,IAC7D,CACP,IACG,CACP,IACG,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { StoryObj } from "@storybook/react-vite";
|
|
2
|
+
import { NegotiationEventCard } from "./negotiation-event-card";
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof NegotiationEventCard;
|
|
6
|
+
tags: string[];
|
|
7
|
+
parameters: {
|
|
8
|
+
layout: string;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
export default meta;
|
|
12
|
+
type Story = StoryObj<typeof meta>;
|
|
13
|
+
export declare const Default: Story;
|
|
14
|
+
export declare const AcceptedByProducer: Story;
|
|
15
|
+
export declare const RejectedByImporter: Story;
|
|
16
|
+
export declare const Withdrawn: Story;
|
|
17
|
+
export declare const CounterWithReply: Story;
|
|
18
|
+
export declare const NoCommercials: Story;
|
|
19
|
+
//# sourceMappingURL=negotiation-event-card.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"negotiation-event-card.stories.d.ts","sourceRoot":"","sources":["../../src/offer/negotiation-event-card.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAGhE,QAAA,MAAM,IAAI;;;;;;;CAKmC,CAAC;AAE9C,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAoBnC,eAAO,MAAM,OAAO,EAAE,KAIrB,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,KAShC,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,KAUhC,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,KAUvB,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,KAgB9B,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,KAS3B,CAAC"}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import { NegotiationEventCard } from "./negotiation-event-card";
|
|
2
|
+
const meta = {
|
|
3
|
+
title: "Offer/NegotiationEventCard",
|
|
4
|
+
component: NegotiationEventCard,
|
|
5
|
+
tags: ["autodocs"],
|
|
6
|
+
parameters: { layout: "padded" },
|
|
7
|
+
};
|
|
8
|
+
export default meta;
|
|
9
|
+
const baseResponse = {
|
|
10
|
+
id: "resp-001",
|
|
11
|
+
offerId: "offer-001",
|
|
12
|
+
importerOrgId: "org-importer-001",
|
|
13
|
+
responderOrgId: "org-producer-001",
|
|
14
|
+
responderRole: "producer",
|
|
15
|
+
responseType: "counter",
|
|
16
|
+
createdAt: new Date(Date.now() - 1000 * 60 * 30).toISOString(), // 30 min ago
|
|
17
|
+
message: "We can offer a competitive rate for this shipment. Looking forward to your feedback.",
|
|
18
|
+
details: {
|
|
19
|
+
price: "18.50",
|
|
20
|
+
currency: "EUR",
|
|
21
|
+
availableVolume: "5000",
|
|
22
|
+
validThrough: "2026-06-30",
|
|
23
|
+
terms: "FOB Bordeaux, payment net 30 days",
|
|
24
|
+
},
|
|
25
|
+
};
|
|
26
|
+
export const Default = {
|
|
27
|
+
args: {
|
|
28
|
+
response: baseResponse,
|
|
29
|
+
},
|
|
30
|
+
};
|
|
31
|
+
export const AcceptedByProducer = {
|
|
32
|
+
args: {
|
|
33
|
+
response: {
|
|
34
|
+
...baseResponse,
|
|
35
|
+
responseType: "accept",
|
|
36
|
+
message: "We are pleased to accept the terms as proposed.",
|
|
37
|
+
details: null,
|
|
38
|
+
},
|
|
39
|
+
},
|
|
40
|
+
};
|
|
41
|
+
export const RejectedByImporter = {
|
|
42
|
+
args: {
|
|
43
|
+
response: {
|
|
44
|
+
...baseResponse,
|
|
45
|
+
responderRole: "importer",
|
|
46
|
+
responseType: "reject",
|
|
47
|
+
message: "Unfortunately the pricing does not fit within our budget for this tender.",
|
|
48
|
+
details: null,
|
|
49
|
+
},
|
|
50
|
+
},
|
|
51
|
+
};
|
|
52
|
+
export const Withdrawn = {
|
|
53
|
+
args: {
|
|
54
|
+
response: {
|
|
55
|
+
...baseResponse,
|
|
56
|
+
responderRole: "importer",
|
|
57
|
+
responseType: "withdraw",
|
|
58
|
+
message: null,
|
|
59
|
+
details: null,
|
|
60
|
+
},
|
|
61
|
+
},
|
|
62
|
+
};
|
|
63
|
+
export const CounterWithReply = {
|
|
64
|
+
args: {
|
|
65
|
+
response: {
|
|
66
|
+
...baseResponse,
|
|
67
|
+
responseType: "counter",
|
|
68
|
+
parentResponseId: "resp-000",
|
|
69
|
+
message: "We appreciate your counter offer. Here are our revised terms:",
|
|
70
|
+
details: {
|
|
71
|
+
price: "17.00",
|
|
72
|
+
currency: "EUR",
|
|
73
|
+
availableVolume: "6000",
|
|
74
|
+
validThrough: "2026-07-15",
|
|
75
|
+
terms: "CIF Hamburg, payment net 60 days",
|
|
76
|
+
},
|
|
77
|
+
},
|
|
78
|
+
},
|
|
79
|
+
};
|
|
80
|
+
export const NoCommercials = {
|
|
81
|
+
args: {
|
|
82
|
+
response: {
|
|
83
|
+
...baseResponse,
|
|
84
|
+
responseType: "counter",
|
|
85
|
+
message: "We would like to discuss terms further before committing to specific numbers.",
|
|
86
|
+
details: null,
|
|
87
|
+
},
|
|
88
|
+
},
|
|
89
|
+
};
|
|
90
|
+
//# sourceMappingURL=negotiation-event-card.stories.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"negotiation-event-card.stories.js","sourceRoot":"","sources":["../../src/offer/negotiation-event-card.stories.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAGhE,MAAM,IAAI,GAAG;IACX,KAAK,EAAE,4BAA4B;IACnC,SAAS,EAAE,oBAAoB;IAC/B,IAAI,EAAE,CAAC,UAAU,CAAC;IAClB,UAAU,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE;CACW,CAAC;AAE9C,eAAe,IAAI,CAAC;AAGpB,MAAM,YAAY,GAAwB;IACxC,EAAE,EAAE,UAAU;IACd,OAAO,EAAE,WAAW;IACpB,aAAa,EAAE,kBAAkB;IACjC,cAAc,EAAE,kBAAkB;IAClC,aAAa,EAAE,UAAU;IACzB,YAAY,EAAE,SAAS;IACvB,SAAS,EAAE,IAAI,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE,GAAG,IAAI,GAAG,EAAE,GAAG,EAAE,CAAC,CAAC,WAAW,EAAE,EAAE,aAAa;IAC7E,OAAO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,CAAC,MAAM,aAAa,GAAU;IAClC,IAAI,EAAE;QACJ,QAAQ,EAAE;YACR,GAAG,YAAY;YACf,YAAY,EAAE,SAAS;YACvB,OAAO,EAAE,+EAA+E;YACxF,OAAO,EAAE,IAAI;SACd;KACF;CACF,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { StoryObj } from "@storybook/react-vite";
|
|
2
|
+
import { OfferStatusBadge } from "./offer-status-badge";
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof OfferStatusBadge;
|
|
6
|
+
tags: string[];
|
|
7
|
+
parameters: {
|
|
8
|
+
layout: string;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
export default meta;
|
|
12
|
+
type Story = StoryObj<typeof meta>;
|
|
13
|
+
export declare const Default: Story;
|
|
14
|
+
export declare const AllStatuses: Story;
|
|
15
|
+
//# sourceMappingURL=offer-status-badge.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"offer-status-badge.stories.d.ts","sourceRoot":"","sources":["../../src/offer/offer-status-badge.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAExD,QAAA,MAAM,IAAI;;;;;;;CAK+B,CAAC;AAE1C,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAIrB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,KAuBzB,CAAC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { OfferStatusBadge } from "./offer-status-badge";
|
|
3
|
+
const meta = {
|
|
4
|
+
title: "Offer/OfferStatusBadge",
|
|
5
|
+
component: OfferStatusBadge,
|
|
6
|
+
tags: ["autodocs"],
|
|
7
|
+
parameters: { layout: "padded" },
|
|
8
|
+
};
|
|
9
|
+
export default meta;
|
|
10
|
+
export const Default = {
|
|
11
|
+
args: {
|
|
12
|
+
status: "pending",
|
|
13
|
+
},
|
|
14
|
+
};
|
|
15
|
+
export const AllStatuses = {
|
|
16
|
+
args: { status: "pending" },
|
|
17
|
+
render: () => (_jsx("div", { className: "flex flex-wrap gap-3", children: [
|
|
18
|
+
"pending",
|
|
19
|
+
"sent",
|
|
20
|
+
"submitted",
|
|
21
|
+
"viewed",
|
|
22
|
+
"responded",
|
|
23
|
+
"accepted",
|
|
24
|
+
"declined",
|
|
25
|
+
"rejected",
|
|
26
|
+
"in_negotiation",
|
|
27
|
+
"expired",
|
|
28
|
+
"discarded",
|
|
29
|
+
"archived",
|
|
30
|
+
"draft",
|
|
31
|
+
].map((status) => (_jsx(OfferStatusBadge, { status: status }, status))) })),
|
|
32
|
+
};
|
|
33
|
+
//# sourceMappingURL=offer-status-badge.stories.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"offer-status-badge.stories.js","sourceRoot":"","sources":["../../src/offer/offer-status-badge.stories.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAExD,MAAM,IAAI,GAAG;IACX,KAAK,EAAE,wBAAwB;IAC/B,SAAS,EAAE,gBAAgB;IAC3B,IAAI,EAAE,CAAC,UAAU,CAAC;IAClB,UAAU,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE;CACO,CAAC;AAE1C,eAAe,IAAI,CAAC;AAGpB,MAAM,CAAC,MAAM,OAAO,GAAU;IAC5B,IAAI,EAAE;QACJ,MAAM,EAAE,SAAS;KAClB;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,WAAW,GAAU;IAChC,IAAI,EAAE,EAAE,MAAM,EAAE,SAAS,EAAE;IAC3B,MAAM,EAAE,GAAG,EAAE,CAAC,CACZ,cAAK,SAAS,EAAC,sBAAsB,YAClC;YACC,SAAS;YACT,MAAM;YACN,WAAW;YACX,QAAQ;YACR,WAAW;YACX,UAAU;YACV,UAAU;YACV,UAAU;YACV,gBAAgB;YAChB,SAAS;YACT,WAAW;YACX,UAAU;YACV,OAAO;SACR,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAChB,KAAC,gBAAgB,IAAc,MAAM,EAAE,MAAM,IAAtB,MAAM,CAAoB,CAClD,CAAC,GACE,CACP;CACF,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { StoryObj } from "@storybook/react-vite";
|
|
2
|
+
import { OpportunityRequirements } from "./opportunity-requirements";
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof OpportunityRequirements;
|
|
6
|
+
tags: string[];
|
|
7
|
+
parameters: {
|
|
8
|
+
layout: string;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
export default meta;
|
|
12
|
+
type Story = StoryObj<typeof meta>;
|
|
13
|
+
export declare const Default: Story;
|
|
14
|
+
export declare const Minimal: Story;
|
|
15
|
+
export declare const WithGrapeBlendOnly: Story;
|
|
16
|
+
export declare const WithCertifications: Story;
|
|
17
|
+
export declare const AlcoholRangeMinOnly: Story;
|
|
18
|
+
//# sourceMappingURL=opportunity-requirements.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"opportunity-requirements.stories.d.ts","sourceRoot":"","sources":["../../src/offer/opportunity-requirements.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,uBAAuB,EAAE,MAAM,4BAA4B,CAAC;AAErE,QAAA,MAAM,IAAI;;;;;;;CAKsC,CAAC;AAEjD,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KA2BrB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,KAMrB,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,KAUhC,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,KAYhC,CAAC;AAEF,eAAO,MAAM,mBAAmB,EAAE,KAOjC,CAAC"}
|