@cwellt_software/cwellt-reactjs-lib 1.5.3 → 1.5.5
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/index.cjs.js +85 -26
- package/dist/index.css +1 -1
- package/dist/index.d.ts +11 -0
- package/dist/index.es.js +85 -26
- package/dist/src/common/functions/colorManipulation.d.ts.map +1 -1
- package/dist/src/common/functions/lazy.d.ts +13 -0
- package/dist/src/common/functions/lazy.d.ts.map +1 -0
- package/dist/src/common/styles/tokens/ColorContrast.stories.d.ts +11 -0
- package/dist/src/common/styles/tokens/ColorContrast.stories.d.ts.map +1 -0
- package/dist/src/common/styles/tokens/ColorPalette.stories.d.ts +22 -0
- package/dist/src/common/styles/tokens/ColorPalette.stories.d.ts.map +1 -0
- package/dist/src/common/styles/tokens/DarkModePreview.stories.d.ts +12 -0
- package/dist/src/common/styles/tokens/DarkModePreview.stories.d.ts.map +1 -0
- package/dist/src/components/control/action/button/CwButton.stories.d.ts +28 -0
- package/dist/src/components/control/action/button/CwButton.stories.d.ts.map +1 -0
- package/dist/src/components/control/action/button/CwButtonSplit.stories.d.ts +24 -0
- package/dist/src/components/control/action/button/CwButtonSplit.stories.d.ts.map +1 -0
- package/dist/src/components/control/action/button/CwButtonSwitch.stories.d.ts +39 -0
- package/dist/src/components/control/action/button/CwButtonSwitch.stories.d.ts.map +1 -0
- package/dist/src/components/control/action/contextmenu/CwAnchoredMenu.stories.d.ts +29 -0
- package/dist/src/components/control/action/contextmenu/CwAnchoredMenu.stories.d.ts.map +1 -0
- package/dist/src/components/control/action/contextmenu/CwContextMenu.stories.d.ts +24 -0
- package/dist/src/components/control/action/contextmenu/CwContextMenu.stories.d.ts.map +1 -0
- package/dist/src/components/control/action/search/CwSearchAsync.stories.d.ts +103 -0
- package/dist/src/components/control/action/search/CwSearchAsync.stories.d.ts.map +1 -0
- package/dist/src/components/control/action/search/CwSearchInput.stories.d.ts +452 -0
- package/dist/src/components/control/action/search/CwSearchInput.stories.d.ts.map +1 -0
- package/dist/src/components/control/choice/checkbox/CwCheck.stories.d.ts +47 -0
- package/dist/src/components/control/choice/checkbox/CwCheck.stories.d.ts.map +1 -0
- package/dist/src/components/control/choice/checkbox/CwCheckboxGroup.stories.d.ts +102 -0
- package/dist/src/components/control/choice/checkbox/CwCheckboxGroup.stories.d.ts.map +1 -0
- package/dist/src/components/control/choice/checkbox/CwRadioGroup.stories.d.ts +96 -0
- package/dist/src/components/control/choice/checkbox/CwRadioGroup.stories.d.ts.map +1 -0
- package/dist/src/components/control/choice/dropdown/CwPopoverButton.stories.d.ts +29 -0
- package/dist/src/components/control/choice/dropdown/CwPopoverButton.stories.d.ts.map +1 -0
- package/dist/src/components/control/choice/multi-filter/CwMultiFilter.d.ts +11 -0
- package/dist/src/components/control/choice/multi-filter/CwMultiFilter.d.ts.map +1 -1
- package/dist/src/components/control/choice/multi-filter/CwMultiFilter.stories.d.ts +53 -0
- package/dist/src/components/control/choice/multi-filter/CwMultiFilter.stories.d.ts.map +1 -0
- package/dist/src/components/control/choice/nav-menu/CwNavMenu.stories.d.ts +325 -0
- package/dist/src/components/control/choice/nav-menu/CwNavMenu.stories.d.ts.map +1 -0
- package/dist/src/components/control/choice/select/CwDropdown.stories.d.ts +653 -0
- package/dist/src/components/control/choice/select/CwDropdown.stories.d.ts.map +1 -0
- package/dist/src/components/control/choice/select/CwSelect.stories.d.ts +657 -0
- package/dist/src/components/control/choice/select/CwSelect.stories.d.ts.map +1 -0
- package/dist/src/components/control/choice/tag-selector/CwTagSelector.stories.d.ts +132 -0
- package/dist/src/components/control/choice/tag-selector/CwTagSelector.stories.d.ts.map +1 -0
- package/dist/src/components/control/choice/toggle/CwToggle.stories.d.ts +47 -0
- package/dist/src/components/control/choice/toggle/CwToggle.stories.d.ts.map +1 -0
- package/dist/src/components/control/choice/tree-view/CwTreeView.stories.d.ts +41 -0
- package/dist/src/components/control/choice/tree-view/CwTreeView.stories.d.ts.map +1 -0
- package/dist/src/components/control/input/color/CwColorPicker.stories.d.ts +31 -0
- package/dist/src/components/control/input/color/CwColorPicker.stories.d.ts.map +1 -0
- package/dist/src/components/control/input/color/CwInputColor.stories.d.ts +91 -0
- package/dist/src/components/control/input/color/CwInputColor.stories.d.ts.map +1 -0
- package/dist/src/components/control/input/digit/CwDigit.stories.d.ts +845 -0
- package/dist/src/components/control/input/digit/CwDigit.stories.d.ts.map +1 -0
- package/dist/src/components/control/input/file/CwFileUploadMultiple.stories.d.ts +78 -0
- package/dist/src/components/control/input/file/CwFileUploadMultiple.stories.d.ts.map +1 -0
- package/dist/src/components/control/input/image/CwInputImage.stories.d.ts +38 -0
- package/dist/src/components/control/input/image/CwInputImage.stories.d.ts.map +1 -0
- package/dist/src/components/control/input/image-area/CwImageArea.stories.d.ts +50 -0
- package/dist/src/components/control/input/image-area/CwImageArea.stories.d.ts.map +1 -0
- package/dist/src/components/control/input/new-dates/CwDatePicker.stories.d.ts +140 -0
- package/dist/src/components/control/input/new-dates/CwDatePicker.stories.d.ts.map +1 -0
- package/dist/src/components/control/input/new-dates/CwDateRangePicker.stories.d.ts +160 -0
- package/dist/src/components/control/input/new-dates/CwDateRangePicker.stories.d.ts.map +1 -0
- package/dist/src/components/control/input/new-dates/CwDateTimePicker.stories.d.ts +150 -0
- package/dist/src/components/control/input/new-dates/CwDateTimePicker.stories.d.ts.map +1 -0
- package/dist/src/components/control/input/new-dates/CwTimePicker.stories.d.ts +111 -0
- package/dist/src/components/control/input/new-dates/CwTimePicker.stories.d.ts.map +1 -0
- package/dist/src/components/control/input/phone/CwInputPhone.stories.d.ts +839 -0
- package/dist/src/components/control/input/phone/CwInputPhone.stories.d.ts.map +1 -0
- package/dist/src/components/control/input/text/CwInputText.stories.d.ts +840 -0
- package/dist/src/components/control/input/text/CwInputText.stories.d.ts.map +1 -0
- package/dist/src/components/control/input/text-area/CwTextArea.stories.d.ts +668 -0
- package/dist/src/components/control/input/text-area/CwTextArea.stories.d.ts.map +1 -0
- package/dist/src/components/control/input/weekday/CwWeekdaySelector.stories.d.ts +108 -0
- package/dist/src/components/control/input/weekday/CwWeekdaySelector.stories.d.ts.map +1 -0
- package/dist/src/components/custom/scheduler-new/presentation/Scheduler.stories.d.ts +41 -0
- package/dist/src/components/custom/scheduler-new/presentation/Scheduler.stories.d.ts.map +1 -0
- package/dist/src/components/custom/scheduler-new/presentation/components/timeline/DivisionLine.d.ts.map +1 -1
- package/dist/src/components/custom/scheduler-new/presentation/components/timeline/TimeLine.d.ts.map +1 -1
- package/dist/src/components/custom/scheduler-new/presentation/components/timeline/WeekEndLine.d.ts.map +1 -1
- package/dist/src/components/custom/scheduler-new/presentation/logic/separateEventsToInnerRows.d.ts +1 -1
- package/dist/src/components/custom/scheduler-new/presentation/logic/separateEventsToInnerRows.d.ts.map +1 -1
- package/dist/src/components/display/data/table/CwTable.stories.d.ts +59 -0
- package/dist/src/components/display/data/table/CwTable.stories.d.ts.map +1 -0
- package/dist/src/components/display/data/table-serverside/CwTableServerSide.stories.d.ts +53 -0
- package/dist/src/components/display/data/table-serverside/CwTableServerSide.stories.d.ts.map +1 -0
- package/dist/src/components/display/data/table_sortable/CwSortableTable.stories.d.ts +45 -0
- package/dist/src/components/display/data/table_sortable/CwSortableTable.stories.d.ts.map +1 -0
- package/dist/src/components/display/data/tooltip_manager/CwTooltipNew.stories.d.ts +52 -0
- package/dist/src/components/display/data/tooltip_manager/CwTooltipNew.stories.d.ts.map +1 -0
- package/dist/src/components/display/graphics/icon/CwIcon.stories.d.ts +37 -0
- package/dist/src/components/display/graphics/icon/CwIcon.stories.d.ts.map +1 -0
- package/dist/src/components/display/graphics/image-gallery/CwImageGallery.stories.d.ts +24 -0
- package/dist/src/components/display/graphics/image-gallery/CwImageGallery.stories.d.ts.map +1 -0
- package/dist/src/components/display/graphics/image-zoom/CwImageZoom.stories.d.ts +23 -0
- package/dist/src/components/display/graphics/image-zoom/CwImageZoom.stories.d.ts.map +1 -0
- package/dist/src/components/display/graphics/loading/CwLoading.stories.d.ts +44 -0
- package/dist/src/components/display/graphics/loading/CwLoading.stories.d.ts.map +1 -0
- package/dist/src/components/display/graphics/progress/CwProgress.stories.d.ts +61 -0
- package/dist/src/components/display/graphics/progress/CwProgress.stories.d.ts.map +1 -0
- package/dist/src/components/display/graphics/skeleton/CwSkeleton.stories.d.ts +52 -0
- package/dist/src/components/display/graphics/skeleton/CwSkeleton.stories.d.ts.map +1 -0
- package/dist/src/components/display/text/badge/CwBadge.stories.d.ts +36 -0
- package/dist/src/components/display/text/badge/CwBadge.stories.d.ts.map +1 -0
- package/dist/src/components/display/text/heading/CwHeading.stories.d.ts +23 -0
- package/dist/src/components/display/text/heading/CwHeading.stories.d.ts.map +1 -0
- package/dist/src/components/display/text/label/CwLabel.stories.d.ts +31 -0
- package/dist/src/components/display/text/label/CwLabel.stories.d.ts.map +1 -0
- package/dist/src/components/display/text/message/CwMessage.stories.d.ts +38 -0
- package/dist/src/components/display/text/message/CwMessage.stories.d.ts.map +1 -0
- package/dist/src/components/display/text/note/CwNote.stories.d.ts +51 -0
- package/dist/src/components/display/text/note/CwNote.stories.d.ts.map +1 -0
- package/dist/src/components/display/text/tag/CwChip.stories.d.ts +29 -0
- package/dist/src/components/display/text/tag/CwChip.stories.d.ts.map +1 -0
- package/dist/src/components/layout/card/CwCard.stories.d.ts +75 -0
- package/dist/src/components/layout/card/CwCard.stories.d.ts.map +1 -0
- package/dist/src/components/layout/card/CwCardList.stories.d.ts +52 -0
- package/dist/src/components/layout/card/CwCardList.stories.d.ts.map +1 -0
- package/dist/src/components/layout/confirmation-popup/CwConfirmationPopup.stories.d.ts +55 -0
- package/dist/src/components/layout/confirmation-popup/CwConfirmationPopup.stories.d.ts.map +1 -0
- package/dist/src/components/layout/dialog/CwDialog.stories.d.ts +62 -0
- package/dist/src/components/layout/dialog/CwDialog.stories.d.ts.map +1 -0
- package/dist/src/components/layout/list/details/CwExpandable.stories.d.ts +35 -0
- package/dist/src/components/layout/list/details/CwExpandable.stories.d.ts.map +1 -0
- package/dist/src/components/layout/list/key-value/CwKeyValueList.stories.d.ts +84 -0
- package/dist/src/components/layout/list/key-value/CwKeyValueList.stories.d.ts.map +1 -0
- package/dist/src/components/layout/list/sortable/CwSortableList.stories.d.ts +49 -0
- package/dist/src/components/layout/list/sortable/CwSortableList.stories.d.ts.map +1 -0
- package/dist/src/components/layout/master-detail/CwMasterDetail.stories.d.ts +71 -0
- package/dist/src/components/layout/master-detail/CwMasterDetail.stories.d.ts.map +1 -0
- package/dist/src/components/layout/modal/hover/CwModalHover.stories.d.ts +404 -0
- package/dist/src/components/layout/modal/hover/CwModalHover.stories.d.ts.map +1 -0
- package/dist/src/components/layout/table/grouped/CwTableGrouped.stories.d.ts +31 -0
- package/dist/src/components/layout/table/grouped/CwTableGrouped.stories.d.ts.map +1 -0
- package/dist/src/components/layout/tabs/CwTabs.stories.d.ts +36 -0
- package/dist/src/components/layout/tabs/CwTabs.stories.d.ts.map +1 -0
- package/dist/src/content/icons/IconLibrary.stories.d.ts +20 -0
- package/dist/src/content/icons/IconLibrary.stories.d.ts.map +1 -0
- package/dist/src/playground/pages/SelectorsPage.d.ts.map +1 -1
- package/dist/src/storybook/PaletteAndComponentMappingDecorator.d.ts +28 -0
- package/dist/src/storybook/PaletteAndComponentMappingDecorator.d.ts.map +1 -0
- package/dist/src/storybook/PaletteDecorator.d.ts +12 -0
- package/dist/src/storybook/PaletteDecorator.d.ts.map +1 -0
- package/dist/src/storybook/StoryValue.d.ts +11 -0
- package/dist/src/storybook/StoryValue.d.ts.map +1 -0
- package/dist/src/storybook/componentMappings.d.ts +39 -0
- package/dist/src/storybook/componentMappings.d.ts.map +1 -0
- package/dist/src/storybook/cssVarOverrideStore.d.ts +23 -0
- package/dist/src/storybook/cssVarOverrideStore.d.ts.map +1 -0
- package/dist/src/storybook/groupLayoutStoryArgs.d.ts +77 -0
- package/dist/src/storybook/groupLayoutStoryArgs.d.ts.map +1 -0
- package/dist/src/storybook/inputStoryArgs.d.ts +68 -0
- package/dist/src/storybook/inputStoryArgs.d.ts.map +1 -0
- package/dist/src/storybook/layoutStoryArgs.d.ts +60 -0
- package/dist/src/storybook/layoutStoryArgs.d.ts.map +1 -0
- package/dist/src/storybook/needsRefactor.d.ts +15 -0
- package/dist/src/storybook/needsRefactor.d.ts.map +1 -0
- package/dist/src/storybook/palettes.d.ts +35 -0
- package/dist/src/storybook/palettes.d.ts.map +1 -0
- package/dist/src/storybook/pickerStoryArgs.d.ts +63 -0
- package/dist/src/storybook/pickerStoryArgs.d.ts.map +1 -0
- package/dist/src/storybook/sampleImages.d.ts +11 -0
- package/dist/src/storybook/sampleImages.d.ts.map +1 -0
- package/dist/src/storybook/sampleRows.d.ts +12 -0
- package/dist/src/storybook/sampleRows.d.ts.map +1 -0
- package/dist/src/storybook/storySource.d.ts +22 -0
- package/dist/src/storybook/storySource.d.ts.map +1 -0
- package/dist/src/storybook/useCssVarOverride.d.ts +17 -0
- package/dist/src/storybook/useCssVarOverride.d.ts.map +1 -0
- package/dist/test/common/functions/colorManipulation.test.d.ts +2 -0
- package/dist/test/common/functions/colorManipulation.test.d.ts.map +1 -0
- package/dist/test/components/custom/new-scheduler/presentation/logic/separateEventsToInnerRows.test.d.ts +2 -0
- package/dist/test/components/custom/new-scheduler/presentation/logic/separateEventsToInnerRows.test.d.ts.map +1 -0
- package/dist/test/storybook/cssVarOverrideStore.test.d.ts +2 -0
- package/dist/test/storybook/cssVarOverrideStore.test.d.ts.map +1 -0
- package/dist/test/storybook/groupLayoutStoryArgs.test.d.ts +2 -0
- package/dist/test/storybook/groupLayoutStoryArgs.test.d.ts.map +1 -0
- package/dist/test/storybook/inputStoryArgs.test.d.ts +2 -0
- package/dist/test/storybook/inputStoryArgs.test.d.ts.map +1 -0
- package/dist/test/storybook/layoutStoryArgs.test.d.ts +2 -0
- package/dist/test/storybook/layoutStoryArgs.test.d.ts.map +1 -0
- package/package.json +1 -1
- package/dist/deprecated/components/MultiSelect_deprecated_.d.ts +0 -24
- package/dist/deprecated/components/MultiSelect_deprecated_.d.ts.map +0 -1
- package/dist/deprecated/components/dropdown/CwDropdownContainer.d.ts +0 -17
- package/dist/deprecated/components/dropdown/CwDropdownContainer.d.ts.map +0 -1
- package/dist/deprecated/components/multiselect/CwHeadFilter.d.ts +0 -17
- package/dist/deprecated/components/multiselect/CwHeadFilter.d.ts.map +0 -1
- package/dist/deprecated/components/multiselect/CwMultiselect.d.ts +0 -13
- package/dist/deprecated/components/multiselect/CwMultiselect.d.ts.map +0 -1
- package/dist/deprecated/components/multiselect/CwOptionList.d.ts +0 -14
- package/dist/deprecated/components/multiselect/CwOptionList.d.ts.map +0 -1
- package/dist/deprecated/components/tag/CwTag.d.ts +0 -15
- package/dist/deprecated/components/tag/CwTag.d.ts.map +0 -1
- package/dist/playground/main.d.ts +0 -4
- package/dist/playground/main.d.ts.map +0 -1
- package/dist/src/components/control/action/button/CwButtonBadge.d.ts +0 -63
- package/dist/src/components/control/action/button/CwButtonBadge.d.ts.map +0 -1
- package/dist/src/components/control/action/button/CwPopoverButton.d.ts +0 -33
- package/dist/src/components/control/action/button/CwPopoverButton.d.ts.map +0 -1
- package/dist/src/components/control/action/contextual-menu/CwContextualMenu.d.ts +0 -29
- package/dist/src/components/control/action/contextual-menu/CwContextualMenu.d.ts.map +0 -1
- package/dist/src/components/control/action/search/CwAsyncSearch.d.ts +0 -102
- package/dist/src/components/control/action/search/CwAsyncSearch.d.ts.map +0 -1
- package/dist/src/components/control/action/tooltip-dialog/CwTooltipDialog.d.ts +0 -19
- package/dist/src/components/control/action/tooltip-dialog/CwTooltipDialog.d.ts.map +0 -1
- package/dist/src/components/control/choice/deprecated/CwDropdown.d.ts +0 -19
- package/dist/src/components/control/choice/deprecated/CwDropdown.d.ts.map +0 -1
- package/dist/src/components/control/choice/deprecated/CwDropdownNavigation.d.ts +0 -21
- package/dist/src/components/control/choice/deprecated/CwDropdownNavigation.d.ts.map +0 -1
- package/dist/src/components/control/choice/deprecated/MultiSelect_deprecated_.d.ts +0 -24
- package/dist/src/components/control/choice/deprecated/MultiSelect_deprecated_.d.ts.map +0 -1
- package/dist/src/components/control/choice/dropdown/CwDropdown.d.ts +0 -19
- package/dist/src/components/control/choice/dropdown/CwDropdown.d.ts.map +0 -1
- package/dist/src/components/control/choice/dropdown/CwDropdownContainer.d.ts +0 -17
- package/dist/src/components/control/choice/dropdown/CwDropdownContainer.d.ts.map +0 -1
- package/dist/src/components/control/choice/dropdown/CwDropdownNavigation.d.ts +0 -21
- package/dist/src/components/control/choice/dropdown/CwDropdownNavigation.d.ts.map +0 -1
- package/dist/src/components/control/choice/multiselect/CwHeadFilter.d.ts +0 -17
- package/dist/src/components/control/choice/multiselect/CwHeadFilter.d.ts.map +0 -1
- package/dist/src/components/control/choice/multiselect/CwMultiselect.d.ts +0 -13
- package/dist/src/components/control/choice/multiselect/CwMultiselect.d.ts.map +0 -1
- package/dist/src/components/control/choice/multiselect/CwOptionList.d.ts +0 -14
- package/dist/src/components/control/choice/multiselect/CwOptionList.d.ts.map +0 -1
- package/dist/src/components/control/input/new-dates/CwDateTimePicker2.d.ts +0 -47
- package/dist/src/components/control/input/new-dates/CwDateTimePicker2.d.ts.map +0 -1
- package/dist/src/components/custom/scheduler-temporal/CwSchedulerComp2.d.ts +0 -24
- package/dist/src/components/custom/scheduler-temporal/CwSchedulerComp2.d.ts.map +0 -1
- package/dist/src/components/custom/scheduler-temporal/CwSuperSchedulerComp.d.ts +0 -86
- package/dist/src/components/custom/scheduler-temporal/CwSuperSchedulerComp.d.ts.map +0 -1
- package/dist/src/components/custom/scheduler-temporal/components/EventRender.d.ts +0 -10
- package/dist/src/components/custom/scheduler-temporal/components/EventRender.d.ts.map +0 -1
- package/dist/src/components/custom/scheduler-temporal/components/ResourceListRender.d.ts +0 -20
- package/dist/src/components/custom/scheduler-temporal/components/ResourceListRender.d.ts.map +0 -1
- package/dist/src/components/custom/scheduler-temporal/components/ResourceRender.d.ts +0 -14
- package/dist/src/components/custom/scheduler-temporal/components/ResourceRender.d.ts.map +0 -1
- package/dist/src/components/custom/scheduler-temporal/components/day_headers/DayHeader.d.ts +0 -11
- package/dist/src/components/custom/scheduler-temporal/components/day_headers/DayHeader.d.ts.map +0 -1
- package/dist/src/components/custom/scheduler-temporal/components/day_headers/MonthHeader.d.ts +0 -11
- package/dist/src/components/custom/scheduler-temporal/components/day_headers/MonthHeader.d.ts.map +0 -1
- package/dist/src/components/custom/scheduler-temporal/components/day_headers/MyDaysHeader.d.ts +0 -13
- package/dist/src/components/custom/scheduler-temporal/components/day_headers/MyDaysHeader.d.ts.map +0 -1
- package/dist/src/components/custom/scheduler-temporal/components/day_headers/WeekHeader.d.ts +0 -11
- package/dist/src/components/custom/scheduler-temporal/components/day_headers/WeekHeader.d.ts.map +0 -1
- package/dist/src/components/custom/scheduler-temporal/components/resources_title_list/ResourcesTitleList.d.ts +0 -14
- package/dist/src/components/custom/scheduler-temporal/components/resources_title_list/ResourcesTitleList.d.ts.map +0 -1
- package/dist/src/components/custom/scheduler-temporal/components/scheduler_content_area/SchedulerContentArea.d.ts +0 -23
- package/dist/src/components/custom/scheduler-temporal/components/scheduler_content_area/SchedulerContentArea.d.ts.map +0 -1
- package/dist/src/components/custom/scheduler-temporal/components/scheduler_header/SchedulerHeader.d.ts +0 -8
- package/dist/src/components/custom/scheduler-temporal/components/scheduler_header/SchedulerHeader.d.ts.map +0 -1
- package/dist/src/components/custom/scheduler-temporal/components/scheduler_timeline/SchedulerTimeLine.d.ts +0 -12
- package/dist/src/components/custom/scheduler-temporal/components/scheduler_timeline/SchedulerTimeLine.d.ts.map +0 -1
- package/dist/src/components/custom/scheduler-temporal/components/time_headers/TimeHeader.d.ts +0 -12
- package/dist/src/components/custom/scheduler-temporal/components/time_headers/TimeHeader.d.ts.map +0 -1
- package/dist/src/components/custom/scheduler-temporal/components/time_headers/TimeHeaderRow.d.ts +0 -10
- package/dist/src/components/custom/scheduler-temporal/components/time_headers/TimeHeaderRow.d.ts.map +0 -1
- package/dist/src/components/custom/scheduler-temporal/components/time_line/TimeLine.d.ts +0 -12
- package/dist/src/components/custom/scheduler-temporal/components/time_line/TimeLine.d.ts.map +0 -1
- package/dist/src/components/custom/scheduler-temporal/logic/dates/addMinutesToDateFromPx.d.ts +0 -2
- package/dist/src/components/custom/scheduler-temporal/logic/dates/addMinutesToDateFromPx.d.ts.map +0 -1
- package/dist/src/components/custom/scheduler-temporal/logic/dates/daysBetweenTwoDates.d.ts +0 -2
- package/dist/src/components/custom/scheduler-temporal/logic/dates/daysBetweenTwoDates.d.ts.map +0 -1
- package/dist/src/components/custom/scheduler-temporal/logic/dates/daysBetweenTwoDatesWithoutCeil.d.ts +0 -2
- package/dist/src/components/custom/scheduler-temporal/logic/dates/daysBetweenTwoDatesWithoutCeil.d.ts.map +0 -1
- package/dist/src/components/custom/scheduler-temporal/logic/dates/getFormatedTimeForHeader.d.ts +0 -7
- package/dist/src/components/custom/scheduler-temporal/logic/dates/getFormatedTimeForHeader.d.ts.map +0 -1
- package/dist/src/components/custom/scheduler-temporal/logic/dates/getMonthHeaderData.d.ts +0 -10
- package/dist/src/components/custom/scheduler-temporal/logic/dates/getMonthHeaderData.d.ts.map +0 -1
- package/dist/src/components/custom/scheduler-temporal/logic/dates/getUtcToday.d.ts +0 -2
- package/dist/src/components/custom/scheduler-temporal/logic/dates/getUtcToday.d.ts.map +0 -1
- package/dist/src/components/custom/scheduler-temporal/logic/dates/getWeekHeaderDataFromWeekRange.d.ts +0 -7
- package/dist/src/components/custom/scheduler-temporal/logic/dates/getWeekHeaderDataFromWeekRange.d.ts.map +0 -1
- package/dist/src/components/custom/scheduler-temporal/logic/dates/listOfDatesToWeeks.d.ts +0 -8
- package/dist/src/components/custom/scheduler-temporal/logic/dates/listOfDatesToWeeks.d.ts.map +0 -1
- package/dist/src/components/custom/scheduler-temporal/logic/divisions/calculateDivisionType.d.ts +0 -2
- package/dist/src/components/custom/scheduler-temporal/logic/divisions/calculateDivisionType.d.ts.map +0 -1
- package/dist/src/components/custom/scheduler-temporal/logic/divisions/calculateDivisions.d.ts +0 -2
- package/dist/src/components/custom/scheduler-temporal/logic/divisions/calculateDivisions.d.ts.map +0 -1
- package/dist/src/components/custom/scheduler-temporal/logic/filtering/filterAndProcessResources.d.ts +0 -4
- package/dist/src/components/custom/scheduler-temporal/logic/filtering/filterAndProcessResources.d.ts.map +0 -1
- package/dist/src/components/custom/scheduler-temporal/logic/filtering/filterEvents.d.ts +0 -3
- package/dist/src/components/custom/scheduler-temporal/logic/filtering/filterEvents.d.ts.map +0 -1
- package/dist/src/components/custom/scheduler-temporal/logic/filtering/filterResources.d.ts +0 -3
- package/dist/src/components/custom/scheduler-temporal/logic/filtering/filterResources.d.ts.map +0 -1
- package/dist/src/components/custom/scheduler-temporal/logic/filtering/hasSameProperties.d.ts +0 -3
- package/dist/src/components/custom/scheduler-temporal/logic/filtering/hasSameProperties.d.ts.map +0 -1
- package/dist/src/components/custom/scheduler-temporal/logic/onDrop/OnDrop.d.ts +0 -13
- package/dist/src/components/custom/scheduler-temporal/logic/onDrop/OnDrop.d.ts.map +0 -1
- package/dist/src/components/custom/scheduler-temporal/logic/pixels/getHeightLineScheduler.d.ts +0 -2
- package/dist/src/components/custom/scheduler-temporal/logic/pixels/getHeightLineScheduler.d.ts.map +0 -1
- package/dist/src/components/custom/scheduler-temporal/logic/pixels/getPixelsForEvent.d.ts +0 -7
- package/dist/src/components/custom/scheduler-temporal/logic/pixels/getPixelsForEvent.d.ts.map +0 -1
- package/dist/src/components/custom/scheduler-temporal/logic/pixels/heightScheduler.d.ts +0 -3
- package/dist/src/components/custom/scheduler-temporal/logic/pixels/heightScheduler.d.ts.map +0 -1
- package/dist/src/components/custom/scheduler-temporal/logic/pixels/heightSchedulerPinned.d.ts +0 -2
- package/dist/src/components/custom/scheduler-temporal/logic/pixels/heightSchedulerPinned.d.ts.map +0 -1
- package/dist/src/components/custom/scheduler-temporal/logic/state_handle/doubleClickOnResource.d.ts +0 -4
- package/dist/src/components/custom/scheduler-temporal/logic/state_handle/doubleClickOnResource.d.ts.map +0 -1
- package/dist/src/components/custom/scheduler-temporal/logic/state_handle/handlePropChanges.d.ts +0 -6
- package/dist/src/components/custom/scheduler-temporal/logic/state_handle/handlePropChanges.d.ts.map +0 -1
- package/dist/src/components/custom/scheduler-temporal/logic/state_handle/handleResourceChange.d.ts +0 -5
- package/dist/src/components/custom/scheduler-temporal/logic/state_handle/handleResourceChange.d.ts.map +0 -1
- package/dist/src/components/custom/scheduler-temporal/logic/state_handle/onDragOver.d.ts +0 -2
- package/dist/src/components/custom/scheduler-temporal/logic/state_handle/onDragOver.d.ts.map +0 -1
- package/dist/src/components/custom/scheduler-temporal/logic/state_handle/onDropEventToResource.d.ts +0 -5
- package/dist/src/components/custom/scheduler-temporal/logic/state_handle/onDropEventToResource.d.ts.map +0 -1
- package/dist/src/components/custom/scheduler-temporal/logic/state_handle/onResizeEvent.d.ts +0 -4
- package/dist/src/components/custom/scheduler-temporal/logic/state_handle/onResizeEvent.d.ts.map +0 -1
- package/dist/src/components/custom/scheduler-temporal/logic/strings/compareStrings.d.ts +0 -2
- package/dist/src/components/custom/scheduler-temporal/logic/strings/compareStrings.d.ts.map +0 -1
- package/dist/src/components/custom/scheduler-temporal/logic/strings/getGUID.d.ts +0 -2
- package/dist/src/components/custom/scheduler-temporal/logic/strings/getGUID.d.ts.map +0 -1
- package/dist/src/components/custom/scheduler-temporal/logic/ui/checkIfSlotAvailable.d.ts +0 -3
- package/dist/src/components/custom/scheduler-temporal/logic/ui/checkIfSlotAvailable.d.ts.map +0 -1
- package/dist/src/components/custom/scheduler-temporal/logic/ui/getEventsOfResource.d.ts +0 -6
- package/dist/src/components/custom/scheduler-temporal/logic/ui/getEventsOfResource.d.ts.map +0 -1
- package/dist/src/components/custom/scheduler-temporal/logic/ui/getHasPropsChanged.d.ts +0 -4
- package/dist/src/components/custom/scheduler-temporal/logic/ui/getHasPropsChanged.d.ts.map +0 -1
- package/dist/src/components/custom/scheduler-temporal/logic/ui/getTimeHeaders.d.ts +0 -2
- package/dist/src/components/custom/scheduler-temporal/logic/ui/getTimeHeaders.d.ts.map +0 -1
- package/dist/src/components/custom/scheduler-temporal/logic/ui/isAllowedToMove.d.ts +0 -3
- package/dist/src/components/custom/scheduler-temporal/logic/ui/isAllowedToMove.d.ts.map +0 -1
- package/dist/src/components/custom/scheduler-temporal/logic/ui/shouldTriggerScroll.d.ts +0 -4
- package/dist/src/components/custom/scheduler-temporal/logic/ui/shouldTriggerScroll.d.ts.map +0 -1
- package/dist/src/components/custom/scheduler-temporal/logic/ui/updateResourceVisibility.d.ts +0 -3
- package/dist/src/components/custom/scheduler-temporal/logic/ui/updateResourceVisibility.d.ts.map +0 -1
- package/dist/src/components/custom/scheduler-temporal/state/CblDragAndDrop.d.ts +0 -11
- package/dist/src/components/custom/scheduler-temporal/state/CblDragAndDrop.d.ts.map +0 -1
- package/dist/src/components/custom/scheduler-temporal/state/CwSchedulerProps.d.ts +0 -43
- package/dist/src/components/custom/scheduler-temporal/state/CwSchedulerProps.d.ts.map +0 -1
- package/dist/src/components/custom/scheduler-temporal/state/Resource.d.ts +0 -14
- package/dist/src/components/custom/scheduler-temporal/state/Resource.d.ts.map +0 -1
- package/dist/src/components/custom/scheduler-temporal/state/State.d.ts +0 -25
- package/dist/src/components/custom/scheduler-temporal/state/State.d.ts.map +0 -1
- package/dist/src/components/custom/scheduler-temporal/state/cblEvent.d.ts +0 -18
- package/dist/src/components/custom/scheduler-temporal/state/cblEvent.d.ts.map +0 -1
- package/dist/src/components/custom/scheduler-temporal/state/cblEventCompProps.d.ts +0 -7
- package/dist/src/components/custom/scheduler-temporal/state/cblEventCompProps.d.ts.map +0 -1
- package/dist/src/components/custom/scheduler-temporal/state/resourceCompProps2.d.ts +0 -6
- package/dist/src/components/custom/scheduler-temporal/state/resourceCompProps2.d.ts.map +0 -1
- package/dist/src/components/display/graphics/skeleton/CwSkeletonCard.d.ts +0 -21
- package/dist/src/components/display/graphics/skeleton/CwSkeletonCard.d.ts.map +0 -1
- package/dist/src/components/display/text/tag/CwTag.d.ts +0 -15
- package/dist/src/components/display/text/tag/CwTag.d.ts.map +0 -1
- package/dist/src/components/display/text/tooltip/CwTooltip.d.ts +0 -11
- package/dist/src/components/display/text/tooltip/CwTooltip.d.ts.map +0 -1
- package/dist/src/components/layout/modal/legacy/cw_modal_confirm.d.ts +0 -16
- package/dist/src/components/layout/modal/legacy/cw_modal_confirm.d.ts.map +0 -1
- package/dist/src/components/layout/modal/legacy/cw_modal_iframe.d.ts +0 -21
- package/dist/src/components/layout/modal/legacy/cw_modal_iframe.d.ts.map +0 -1
- package/dist/test/components/display/graphics/skeleton/CwSkeletonCard.test.d.ts +0 -2
- package/dist/test/components/display/graphics/skeleton/CwSkeletonCard.test.d.ts.map +0 -1
- package/dist/test/jest.setup.d.ts +0 -2
- package/dist/test/jest.setup.d.ts.map +0 -1
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import type { StoryObj } from "@storybook/react-vite";
|
|
2
|
+
import { CwSkeleton } from "./CwSkeleton";
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof CwSkeleton;
|
|
6
|
+
args: {
|
|
7
|
+
variant: "text";
|
|
8
|
+
count: number;
|
|
9
|
+
};
|
|
10
|
+
argTypes: {
|
|
11
|
+
variant: {
|
|
12
|
+
control: "inline-radio";
|
|
13
|
+
options: string[];
|
|
14
|
+
};
|
|
15
|
+
count: {
|
|
16
|
+
control: {
|
|
17
|
+
type: "number";
|
|
18
|
+
min: number;
|
|
19
|
+
max: number;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
width: {
|
|
23
|
+
control: "text";
|
|
24
|
+
};
|
|
25
|
+
height: {
|
|
26
|
+
control: "text";
|
|
27
|
+
};
|
|
28
|
+
radius: {
|
|
29
|
+
control: "text";
|
|
30
|
+
};
|
|
31
|
+
gap: {
|
|
32
|
+
control: "text";
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
decorators: ((Story: import("storybook/internal/csf").PartialStoryFn<import("@storybook/react").ReactRenderer, {
|
|
36
|
+
variant?: ("text" | "circle" | "rect") | undefined;
|
|
37
|
+
width?: string | undefined;
|
|
38
|
+
height?: string | undefined;
|
|
39
|
+
count?: number | undefined;
|
|
40
|
+
radius?: string | undefined;
|
|
41
|
+
gap?: string | undefined;
|
|
42
|
+
}>) => import("react").JSX.Element)[];
|
|
43
|
+
};
|
|
44
|
+
export default meta;
|
|
45
|
+
type Story = StoryObj<typeof meta>;
|
|
46
|
+
/** Text lines while content loads; with `count` above 1 the last line is shorter, like real text. */
|
|
47
|
+
export declare const Default: Story;
|
|
48
|
+
/** The three shapes side by side. */
|
|
49
|
+
export declare const Variants: Story;
|
|
50
|
+
/** Composed into the shape of the content it stands in for: an avatar and two lines. */
|
|
51
|
+
export declare const Composed: Story;
|
|
52
|
+
//# sourceMappingURL=CwSkeleton.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CwSkeleton.stories.d.ts","sourceRoot":"","sources":["../../../../../../src/components/display/graphics/skeleton/CwSkeleton.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsByB,CAAC;AAEpC,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,qGAAqG;AACrG,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC;AAEjC,qCAAqC;AACrC,eAAO,MAAM,QAAQ,EAAE,KAatB,CAAC;AAEF,wFAAwF;AACxF,eAAO,MAAM,QAAQ,EAAE,KAUtB,CAAC"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import type { StoryObj } from "@storybook/react-vite";
|
|
2
|
+
declare const meta: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: import("react").FC<import("./CwBadge").CwBadgeProps>;
|
|
5
|
+
args: {
|
|
6
|
+
count: number;
|
|
7
|
+
color: "danger";
|
|
8
|
+
variant: "solid";
|
|
9
|
+
size: "medium";
|
|
10
|
+
max: number;
|
|
11
|
+
showZero: false;
|
|
12
|
+
loading: false;
|
|
13
|
+
};
|
|
14
|
+
argTypes: {
|
|
15
|
+
size: {
|
|
16
|
+
control: "inline-radio";
|
|
17
|
+
options: string[];
|
|
18
|
+
};
|
|
19
|
+
content: {
|
|
20
|
+
control: false;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
export default meta;
|
|
25
|
+
type Story = StoryObj<typeof meta>;
|
|
26
|
+
/** A count in a circle; two digits make it a pill, `max` caps it as `99+`. */
|
|
27
|
+
export declare const Default: Story;
|
|
28
|
+
/** No `count` and no `content`: an attention dot. `label` names it for assistive technology. */
|
|
29
|
+
export declare const Dot: Story;
|
|
30
|
+
/** `loading` swaps the circle for a spinner while the count is being fetched. */
|
|
31
|
+
export declare const Loading: Story;
|
|
32
|
+
/** The real use: overlaid on a `CwButton` through its `badge` prop, mixing both variants. */
|
|
33
|
+
export declare const OnButton: Story;
|
|
34
|
+
/** Every color crossed with every variant. */
|
|
35
|
+
export declare const Matrix: Story;
|
|
36
|
+
//# sourceMappingURL=CwBadge.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CwBadge.stories.d.ts","sourceRoot":"","sources":["../../../../../../src/components/display/text/badge/CwBadge.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAO5D,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;CAgBsB,CAAC;AAEjC,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,8EAA8E;AAC9E,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC;AAEjC,gGAAgG;AAChG,eAAO,MAAM,GAAG,EAAE,KAGjB,CAAC;AAEF,iFAAiF;AACjF,eAAO,MAAM,OAAO,EAAE,KAErB,CAAC;AAEF,6FAA6F;AAC7F,eAAO,MAAM,QAAQ,EAAE,KAUtB,CAAC;AAEF,8CAA8C;AAC9C,eAAO,MAAM,MAAM,EAAE,KAapB,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { StoryObj } from "@storybook/react-vite";
|
|
2
|
+
import { CwHeadingMain } from "./CwHeadingMain";
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof CwHeadingMain;
|
|
6
|
+
args: {
|
|
7
|
+
children: string;
|
|
8
|
+
};
|
|
9
|
+
argTypes: {
|
|
10
|
+
children: {
|
|
11
|
+
control: "text";
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
export default meta;
|
|
16
|
+
type Story = StoryObj<typeof meta>;
|
|
17
|
+
/** `CwHeadingMain` renders an `h2` in the heading wrapper. Any heading attribute passes through. */
|
|
18
|
+
export declare const Main: Story;
|
|
19
|
+
/** `CwHeadingSecond` is the same wrapper around an `h3`, for a section inside the page. */
|
|
20
|
+
export declare const Second: Story;
|
|
21
|
+
/** Both levels as they sit on a page. */
|
|
22
|
+
export declare const Hierarchy: Story;
|
|
23
|
+
//# sourceMappingURL=CwHeading.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CwHeading.stories.d.ts","sourceRoot":"","sources":["../../../../../../src/components/display/text/heading/CwHeading.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAGhD,QAAA,MAAM,IAAI;;;;;;;;;;;CAS4B,CAAC;AAEvC,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,oGAAoG;AACpG,eAAO,MAAM,IAAI,EAAE,KAAU,CAAC;AAE9B,2FAA2F;AAC3F,eAAO,MAAM,MAAM,EAAE,KAEpB,CAAC;AAEF,yCAAyC;AACzC,eAAO,MAAM,SAAS,EAAE,KAUvB,CAAC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import type { StoryObj } from "@storybook/react-vite";
|
|
2
|
+
import { CwLabel } from "./CwLabel";
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof CwLabel;
|
|
6
|
+
args: {
|
|
7
|
+
text: string;
|
|
8
|
+
labelWidth: "8rem";
|
|
9
|
+
justify: "left";
|
|
10
|
+
};
|
|
11
|
+
argTypes: {
|
|
12
|
+
labelWidth: {
|
|
13
|
+
control: "select";
|
|
14
|
+
options: string[];
|
|
15
|
+
};
|
|
16
|
+
justify: {
|
|
17
|
+
control: "inline-radio";
|
|
18
|
+
options: string[];
|
|
19
|
+
};
|
|
20
|
+
children: {
|
|
21
|
+
control: false;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
export default meta;
|
|
26
|
+
type Story = StoryObj<typeof meta>;
|
|
27
|
+
/** The label every input renders through `labelProps`; `labelWidth` reserves a column so fields line up. */
|
|
28
|
+
export declare const Default: Story;
|
|
29
|
+
/** How it is normally reached: as `labelProps` on an input, with the width shared by the form. */
|
|
30
|
+
export declare const OnAnInput: Story;
|
|
31
|
+
//# sourceMappingURL=CwLabel.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CwLabel.stories.d.ts","sourceRoot":"","sources":["../../../../../../src/components/display/text/label/CwLabel.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAE5D,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;CAasB,CAAC;AAEjC,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,4GAA4G;AAC5G,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC;AAEjC,kGAAkG;AAClG,eAAO,MAAM,SAAS,EAAE,KAQvB,CAAC"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import type { StoryObj } from "@storybook/react-vite";
|
|
2
|
+
import { CwMessageType } from "./CwMessage";
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: import("react").FC<import("./CwMessage").CwMessageProps>;
|
|
6
|
+
args: {
|
|
7
|
+
message: string;
|
|
8
|
+
messageType: CwMessageType.SUCCESS;
|
|
9
|
+
duration: number;
|
|
10
|
+
onClose: import("storybook/test").Mock<(...args: any[]) => any>;
|
|
11
|
+
};
|
|
12
|
+
argTypes: {
|
|
13
|
+
messageType: {
|
|
14
|
+
control: "select";
|
|
15
|
+
options: CwMessageType[];
|
|
16
|
+
labels: {
|
|
17
|
+
"check-circle": string;
|
|
18
|
+
"info-bubble": string;
|
|
19
|
+
warning: string;
|
|
20
|
+
"close-circle": string;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
onClick: {
|
|
24
|
+
control: false;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
export default meta;
|
|
29
|
+
type Story = StoryObj<typeof meta>;
|
|
30
|
+
/** The message element itself. It calls `onClose` after `duration`; consumers rarely render it directly. */
|
|
31
|
+
export declare const Default: Story;
|
|
32
|
+
/** The four types side by side. */
|
|
33
|
+
export declare const Types: Story;
|
|
34
|
+
/** `CwDisplayMessage(message, type)`: the global toast, fire and forget, for outcomes the user does not act on. */
|
|
35
|
+
export declare const Toast: Story;
|
|
36
|
+
/** `useCwMessage()`: the same element placed inline, for a message the user must act on, next to what it concerns. */
|
|
37
|
+
export declare const Inline: Story;
|
|
38
|
+
//# sourceMappingURL=CwMessage.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CwMessage.stories.d.ts","sourceRoot":"","sources":["../../../../../../src/components/display/text/message/CwMessage.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAG5D,OAAO,EAA+B,aAAa,EAAgB,MAAM,aAAa,CAAC;AAIvF,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;CAcwB,CAAC;AAEnC,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,4GAA4G;AAC5G,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC;AAEjC,mCAAmC;AACnC,eAAO,MAAM,KAAK,EAAE,KASnB,CAAC;AAEF,mHAAmH;AACnH,eAAO,MAAM,KAAK,EAAE,KAYnB,CAAC;AAYF,sHAAsH;AACtH,eAAO,MAAM,MAAM,EAAE,KAIpB,CAAC"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import type { StoryObj } from "@storybook/react-vite";
|
|
2
|
+
import { type LayoutStoryArgs } from "../../../../storybook/layoutStoryArgs";
|
|
3
|
+
import { type CwNoteProps } from "./CwNote";
|
|
4
|
+
type Args = CwNoteProps & LayoutStoryArgs;
|
|
5
|
+
declare const meta: {
|
|
6
|
+
title: string;
|
|
7
|
+
component: import("react").FC<CwNoteProps>;
|
|
8
|
+
args: {
|
|
9
|
+
content: string;
|
|
10
|
+
color: "warning";
|
|
11
|
+
variant: "soft";
|
|
12
|
+
fontSize: "regular";
|
|
13
|
+
icon: string;
|
|
14
|
+
layoutDirection: "row" | "column" | "default";
|
|
15
|
+
layoutAlign: "start" | "center" | "end" | "stretch" | "default";
|
|
16
|
+
layoutJustify: "start" | "center" | "end" | "between" | "around" | "default";
|
|
17
|
+
layoutGap: "none" | "small" | "medium" | "large" | "default";
|
|
18
|
+
};
|
|
19
|
+
argTypes: {
|
|
20
|
+
fontSize: {
|
|
21
|
+
control: "inline-radio";
|
|
22
|
+
options: string[];
|
|
23
|
+
};
|
|
24
|
+
layout: {
|
|
25
|
+
control: false;
|
|
26
|
+
};
|
|
27
|
+
layoutDirection: import("storybook/internal/csf").InputType;
|
|
28
|
+
layoutAlign: import("storybook/internal/csf").InputType;
|
|
29
|
+
layoutJustify: import("storybook/internal/csf").InputType;
|
|
30
|
+
layoutGap: import("storybook/internal/csf").InputType;
|
|
31
|
+
};
|
|
32
|
+
render: (args: Args) => import("react").JSX.Element;
|
|
33
|
+
parameters: {
|
|
34
|
+
docs: {
|
|
35
|
+
source: {
|
|
36
|
+
transform: (_code: string, storyContext: {
|
|
37
|
+
args: Record<string, unknown>;
|
|
38
|
+
}) => string;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
export default meta;
|
|
44
|
+
type Story = StoryObj<typeof meta>;
|
|
45
|
+
export declare const Default: Story;
|
|
46
|
+
export declare const WithoutIcon: Story;
|
|
47
|
+
export declare const Column: Story;
|
|
48
|
+
export declare const RichContent: Story;
|
|
49
|
+
/** Every color crossed with every variant. */
|
|
50
|
+
export declare const Matrix: Story;
|
|
51
|
+
//# sourceMappingURL=CwNote.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CwNote.stories.d.ts","sourceRoot":"","sources":["../../../../../../src/components/display/text/note/CwNote.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAMN,KAAK,eAAe,EACpB,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EAAU,KAAK,WAAW,EAAE,MAAM,UAAU,CAAC;AAEpD,KAAK,IAAI,GAAG,WAAW,GAAG,eAAe,CAAC;AAK1C,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoBY,CAAC;AAEvB,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC;AAEjC,eAAO,MAAM,WAAW,EAAE,KAEzB,CAAC;AAEF,eAAO,MAAM,MAAM,EAAE,KAEpB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,KAkBzB,CAAC;AAEF,8CAA8C;AAC9C,eAAO,MAAM,MAAM,EAAE,KAapB,CAAC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import type { StoryObj } from "@storybook/react-vite";
|
|
2
|
+
declare const meta: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: import("react").FC<import("./CwChip").CwChipProps>;
|
|
5
|
+
args: {
|
|
6
|
+
label: string;
|
|
7
|
+
color: "success";
|
|
8
|
+
variant: "soft";
|
|
9
|
+
closable: false;
|
|
10
|
+
};
|
|
11
|
+
argTypes: {
|
|
12
|
+
onClose: {
|
|
13
|
+
if: {
|
|
14
|
+
arg: string;
|
|
15
|
+
truthy: true;
|
|
16
|
+
};
|
|
17
|
+
action: string;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
export default meta;
|
|
22
|
+
type Story = StoryObj<typeof meta>;
|
|
23
|
+
export declare const Default: Story;
|
|
24
|
+
export declare const WithIcon: Story;
|
|
25
|
+
export declare const IconOnly: Story;
|
|
26
|
+
export declare const CustomColor: Story;
|
|
27
|
+
/** Every color crossed with every variant. */
|
|
28
|
+
export declare const Matrix: Story;
|
|
29
|
+
//# sourceMappingURL=CwChip.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CwChip.stories.d.ts","sourceRoot":"","sources":["../../../../../../src/components/display/text/tag/CwChip.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAM5D,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;CAaqB,CAAC;AAEhC,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC;AAEjC,eAAO,MAAM,QAAQ,EAAE,KAEtB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,KAEtB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,KAEzB,CAAC;AAEF,8CAA8C;AAC9C,eAAO,MAAM,MAAM,EAAE,KAapB,CAAC"}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import type { StoryObj } from "@storybook/react-vite";
|
|
2
|
+
import { type LayoutStoryArgs } from "../../../storybook/layoutStoryArgs";
|
|
3
|
+
import { type CwCardProps } from "./CwCard";
|
|
4
|
+
type Args = CwCardProps & LayoutStoryArgs;
|
|
5
|
+
declare const meta: {
|
|
6
|
+
title: string;
|
|
7
|
+
component: import("react").FC<CwCardProps>;
|
|
8
|
+
args: {
|
|
9
|
+
title: string;
|
|
10
|
+
subtitle: string;
|
|
11
|
+
children: string;
|
|
12
|
+
footer: string;
|
|
13
|
+
chips: ({
|
|
14
|
+
label: string;
|
|
15
|
+
colorScheme: "info";
|
|
16
|
+
} | {
|
|
17
|
+
label: string;
|
|
18
|
+
colorScheme: "neutral";
|
|
19
|
+
})[];
|
|
20
|
+
variant: "border";
|
|
21
|
+
clickable: false;
|
|
22
|
+
disabled: false;
|
|
23
|
+
isLoading: false;
|
|
24
|
+
skeletonLines: number;
|
|
25
|
+
onEdit: import("storybook/test").Mock<(...args: any[]) => any>;
|
|
26
|
+
onDelete: import("storybook/test").Mock<(...args: any[]) => any>;
|
|
27
|
+
layoutDirection: "row" | "column" | "default";
|
|
28
|
+
layoutAlign: "start" | "center" | "end" | "stretch" | "default";
|
|
29
|
+
layoutJustify: "start" | "center" | "end" | "between" | "around" | "default";
|
|
30
|
+
layoutGap: "none" | "small" | "medium" | "large" | "default";
|
|
31
|
+
};
|
|
32
|
+
argTypes: {
|
|
33
|
+
children: {
|
|
34
|
+
control: "text";
|
|
35
|
+
};
|
|
36
|
+
footer: {
|
|
37
|
+
control: "text";
|
|
38
|
+
};
|
|
39
|
+
chips: {
|
|
40
|
+
control: false;
|
|
41
|
+
};
|
|
42
|
+
extraActions: {
|
|
43
|
+
control: false;
|
|
44
|
+
};
|
|
45
|
+
layout: {
|
|
46
|
+
control: false;
|
|
47
|
+
};
|
|
48
|
+
layoutDirection: import("storybook/internal/csf").InputType;
|
|
49
|
+
layoutAlign: import("storybook/internal/csf").InputType;
|
|
50
|
+
layoutJustify: import("storybook/internal/csf").InputType;
|
|
51
|
+
layoutGap: import("storybook/internal/csf").InputType;
|
|
52
|
+
};
|
|
53
|
+
render: (args: Args) => import("react").JSX.Element;
|
|
54
|
+
parameters: {
|
|
55
|
+
docs: {
|
|
56
|
+
source: {
|
|
57
|
+
transform: (_code: string, storyContext: {
|
|
58
|
+
args: Record<string, unknown>;
|
|
59
|
+
}) => string;
|
|
60
|
+
};
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
};
|
|
64
|
+
export default meta;
|
|
65
|
+
type Story = StoryObj<typeof meta>;
|
|
66
|
+
/** Header with title and subtitle, edit and delete actions, chips and a footer line. `isLoading` ghosts the whole anatomy. */
|
|
67
|
+
export declare const Default: Story;
|
|
68
|
+
/** `variant="shadow"` lifts the card on the low shadow tier and only shows its outline on hover. */
|
|
69
|
+
export declare const Shadow: Story;
|
|
70
|
+
/** `layout.direction="row"`: header on the left, content in the middle, footer and actions on the right. */
|
|
71
|
+
export declare const Row: Story;
|
|
72
|
+
/** `clickable` makes the whole card the target; the actions are left out so there is one thing to click. */
|
|
73
|
+
export declare const Clickable: Story;
|
|
74
|
+
export declare const Loading: Story;
|
|
75
|
+
//# sourceMappingURL=CwCard.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CwCard.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/layout/card/CwCard.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAE5D,OAAO,EAMN,KAAK,eAAe,EACpB,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EAAU,KAAK,WAAW,EAAE,MAAM,UAAU,CAAC;AAEpD,KAAK,IAAI,GAAG,WAAW,GAAG,eAAe,CAAC;AAE1C,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgCY,CAAC;AAEvB,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,8HAA8H;AAC9H,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC;AAEjC,oGAAoG;AACpG,eAAO,MAAM,MAAM,EAAE,KAEpB,CAAC;AAEF,4GAA4G;AAC5G,eAAO,MAAM,GAAG,EAAE,KAEjB,CAAC;AAEF,4GAA4G;AAC5G,eAAO,MAAM,SAAS,EAAE,KAEvB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,KAErB,CAAC"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import type { StoryObj } from "@storybook/react-vite";
|
|
2
|
+
import { type ProjectRow } from "../../../storybook/sampleRows";
|
|
3
|
+
import { type CwCardListProps } from "./CwCardList";
|
|
4
|
+
declare const meta: {
|
|
5
|
+
title: string;
|
|
6
|
+
component: (props: CwCardListProps<ProjectRow>) => React.JSX.Element;
|
|
7
|
+
args: {
|
|
8
|
+
items: ProjectRow[];
|
|
9
|
+
renderCard: (row: ProjectRow) => import("react").JSX.Element;
|
|
10
|
+
keyExtractor: (row: ProjectRow) => string;
|
|
11
|
+
pageSize: number;
|
|
12
|
+
layout: "grid";
|
|
13
|
+
defaultCardWidth: number;
|
|
14
|
+
cardGap: number;
|
|
15
|
+
isLoading: false;
|
|
16
|
+
skeletonCards: number;
|
|
17
|
+
sortOptions: {
|
|
18
|
+
key: string;
|
|
19
|
+
label: string;
|
|
20
|
+
sortFn: (a: ProjectRow, b: ProjectRow) => number;
|
|
21
|
+
}[];
|
|
22
|
+
defaultSortKey: string;
|
|
23
|
+
};
|
|
24
|
+
argTypes: {
|
|
25
|
+
items: {
|
|
26
|
+
control: false;
|
|
27
|
+
};
|
|
28
|
+
renderCard: {
|
|
29
|
+
control: false;
|
|
30
|
+
};
|
|
31
|
+
keyExtractor: {
|
|
32
|
+
control: false;
|
|
33
|
+
};
|
|
34
|
+
sortOptions: {
|
|
35
|
+
control: false;
|
|
36
|
+
};
|
|
37
|
+
emptyState: {
|
|
38
|
+
control: false;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
render: (args: CwCardListProps<ProjectRow>) => import("react").JSX.Element;
|
|
42
|
+
};
|
|
43
|
+
export default meta;
|
|
44
|
+
type Story = StoryObj<typeof meta>;
|
|
45
|
+
/** A responsive grid of CwCards with a sort selector and pagination. `defaultCardWidth` sets the column minimum. */
|
|
46
|
+
export declare const Default: Story;
|
|
47
|
+
/** `layout="list"` stacks the cards in one column. */
|
|
48
|
+
export declare const List: Story;
|
|
49
|
+
/** Ghost cards in the same grid, so nothing shifts when the items arrive. */
|
|
50
|
+
export declare const Loading: Story;
|
|
51
|
+
export declare const Empty: Story;
|
|
52
|
+
//# sourceMappingURL=CwCardList.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CwCardList.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/layout/card/CwCardList.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAA8B,KAAK,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAE5F,OAAO,EAAc,KAAK,eAAe,EAAE,MAAM,cAAc,CAAC;AAUhE,QAAA,MAAM,IAAI;;eAGgB,CAAC,KAAK,EAAE,eAAe,CAAC,UAAU,CAAC,KAAK,KAAK,CAAC,GAAG,CAAC,OAAO;;;0BATnD,UAAU;4BAapB,UAAU;;;;;;;;;;wBAQa,UAAU,KAAK,UAAU;;;;;;;;;;;;;;;;;;;;;;CAczB,CAAC;AAE9C,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,oHAAoH;AACpH,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC;AAEjC,sDAAsD;AACtD,eAAO,MAAM,IAAI,EAAE,KAElB,CAAC;AAEF,6EAA6E;AAC7E,eAAO,MAAM,OAAO,EAAE,KAErB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,KAEnB,CAAC"}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import type { StoryObj } from "@storybook/react-vite";
|
|
2
|
+
import { CwConfirmationPopup, type ConfirmationPopupProps } from "./CwConfirmationPopup";
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof CwConfirmationPopup;
|
|
6
|
+
args: {
|
|
7
|
+
message: string;
|
|
8
|
+
confirmText: string;
|
|
9
|
+
cancelText: string;
|
|
10
|
+
placement: "bottom";
|
|
11
|
+
isOpen: false;
|
|
12
|
+
onConfirm: import("storybook/test").Mock<(...args: any[]) => any>;
|
|
13
|
+
onCancel: import("storybook/test").Mock<(...args: any[]) => any>;
|
|
14
|
+
children: null;
|
|
15
|
+
};
|
|
16
|
+
argTypes: {
|
|
17
|
+
placement: {
|
|
18
|
+
control: "inline-radio";
|
|
19
|
+
options: string[];
|
|
20
|
+
};
|
|
21
|
+
isOpen: {
|
|
22
|
+
control: false;
|
|
23
|
+
};
|
|
24
|
+
children: {
|
|
25
|
+
control: false;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
parameters: {
|
|
29
|
+
docs: {
|
|
30
|
+
description: {
|
|
31
|
+
component: string;
|
|
32
|
+
};
|
|
33
|
+
story: {
|
|
34
|
+
inline: boolean;
|
|
35
|
+
height: string;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
decorators: (import("@storybook/react").Decorator | ((Story: import("storybook/internal/csf").PartialStoryFn<import("@storybook/react").ReactRenderer, {
|
|
40
|
+
isOpen: boolean;
|
|
41
|
+
onConfirm: () => void;
|
|
42
|
+
onCancel: () => void;
|
|
43
|
+
message?: string | undefined;
|
|
44
|
+
confirmText?: string | undefined;
|
|
45
|
+
cancelText?: string | undefined;
|
|
46
|
+
placement?: "top" | "right" | "bottom" | "left" | undefined;
|
|
47
|
+
children: import("react").ReactNode;
|
|
48
|
+
}>) => import("react").JSX.Element))[];
|
|
49
|
+
render: (args: ConfirmationPopupProps) => import("react").JSX.Element;
|
|
50
|
+
};
|
|
51
|
+
export default meta;
|
|
52
|
+
type Story = StoryObj<typeof meta>;
|
|
53
|
+
/** Click the button: the popup anchors to it on the chosen `placement`; clicking outside cancels. */
|
|
54
|
+
export declare const Default: Story;
|
|
55
|
+
//# sourceMappingURL=CwConfirmationPopup.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CwConfirmationPopup.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/layout/confirmation-popup/CwConfirmationPopup.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAM5D,OAAO,EAAE,mBAAmB,EAAE,KAAK,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AAmBzF,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkCkC,CAAC;AAE7C,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,qGAAqG;AACrG,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC"}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import type { StoryObj } from "@storybook/react-vite";
|
|
2
|
+
import { type CwDialogProps } from "./CwDialog";
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: import("react").FC<CwDialogProps>;
|
|
6
|
+
args: {
|
|
7
|
+
headline: string;
|
|
8
|
+
width: string;
|
|
9
|
+
scrim: true;
|
|
10
|
+
hideFooter: false;
|
|
11
|
+
disableSave: false;
|
|
12
|
+
autoReposition: false;
|
|
13
|
+
onClose: import("storybook/test").Mock<(...args: any[]) => any>;
|
|
14
|
+
onSave: import("storybook/test").Mock<(...args: any[]) => any>;
|
|
15
|
+
children: import("react").JSX.Element;
|
|
16
|
+
};
|
|
17
|
+
argTypes: {
|
|
18
|
+
width: {
|
|
19
|
+
control: "text";
|
|
20
|
+
};
|
|
21
|
+
height: {
|
|
22
|
+
control: "text";
|
|
23
|
+
};
|
|
24
|
+
children: {
|
|
25
|
+
control: false;
|
|
26
|
+
};
|
|
27
|
+
customFooter: {
|
|
28
|
+
control: false;
|
|
29
|
+
};
|
|
30
|
+
customHeader: {
|
|
31
|
+
control: false;
|
|
32
|
+
};
|
|
33
|
+
dialogSize: {
|
|
34
|
+
control: false;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
parameters: {
|
|
38
|
+
docs: {
|
|
39
|
+
source: {
|
|
40
|
+
transform: (_code: string, storyContext: {
|
|
41
|
+
args: Record<string, unknown>;
|
|
42
|
+
}) => string;
|
|
43
|
+
};
|
|
44
|
+
story: {
|
|
45
|
+
inline: boolean;
|
|
46
|
+
height: string;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
render: (args: CwDialogProps) => import("react").JSX.Element;
|
|
51
|
+
};
|
|
52
|
+
export default meta;
|
|
53
|
+
type Story = StoryObj<typeof meta>;
|
|
54
|
+
/** Header with headline and close button, scrollable section, footer with the save button. Movable and resizable. */
|
|
55
|
+
export declare const Default: Story;
|
|
56
|
+
/** `customFooter` replaces the save icon with the caller's own buttons. */
|
|
57
|
+
export declare const CustomFooter: Story;
|
|
58
|
+
/** A fixed `height` adds the vertical resize handles and scrolls the section when the content overflows. */
|
|
59
|
+
export declare const FixedHeight: Story;
|
|
60
|
+
/** `scrim={false}` leaves the page behind fully visible and clickable. */
|
|
61
|
+
export declare const NoScrim: Story;
|
|
62
|
+
//# sourceMappingURL=CwDialog.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CwDialog.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/layout/dialog/CwDialog.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAM5D,OAAO,EAAY,KAAK,aAAa,EAAE,MAAM,YAAY,CAAC;AAqB1D,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoCuB,CAAC;AAElC,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,qHAAqH;AACrH,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC;AAEjC,2EAA2E;AAC3E,eAAO,MAAM,YAAY,EAAE,KAO1B,CAAC;AAEF,4GAA4G;AAC5G,eAAO,MAAM,WAAW,EAAE,KAEzB,CAAC;AAEF,0EAA0E;AAC1E,eAAO,MAAM,OAAO,EAAE,KAErB,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import type { StoryObj } from "@storybook/react-vite";
|
|
2
|
+
import { type CwExpandableProps } from "./CwExpandable";
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: import("react").FC<CwExpandableProps>;
|
|
6
|
+
args: {
|
|
7
|
+
briefing: string;
|
|
8
|
+
open: false;
|
|
9
|
+
onToggle: import("storybook/test").Mock<(...args: any[]) => any>;
|
|
10
|
+
children: import("react").JSX.Element;
|
|
11
|
+
};
|
|
12
|
+
argTypes: {
|
|
13
|
+
briefing: {
|
|
14
|
+
control: "text";
|
|
15
|
+
};
|
|
16
|
+
children: {
|
|
17
|
+
control: false;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
parameters: {
|
|
21
|
+
docs: {
|
|
22
|
+
description: {
|
|
23
|
+
component: string;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
decorators: import("@storybook/react").Decorator[];
|
|
28
|
+
render: (args: CwExpandableProps) => import("react").JSX.Element;
|
|
29
|
+
};
|
|
30
|
+
export default meta;
|
|
31
|
+
type Story = StoryObj<typeof meta>;
|
|
32
|
+
/** A native `details` with the chevron on the summary; the section shows under it when open. */
|
|
33
|
+
export declare const Default: Story;
|
|
34
|
+
export declare const Open: Story;
|
|
35
|
+
//# sourceMappingURL=CwExpandable.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CwExpandable.stories.d.ts","sourceRoot":"","sources":["../../../../../../src/components/layout/list/details/CwExpandable.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAG5D,OAAO,EAAgB,KAAK,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAEtE,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;CAqByB,CAAC;AAEpC,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,gGAAgG;AAChG,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC;AAEjC,eAAO,MAAM,IAAI,EAAE,KAElB,CAAC"}
|