@cwellt_software/cwellt-reactjs-lib 1.6.1 → 1.6.2
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/deprecated/components/MultiSelect_deprecated_.d.ts +24 -0
- package/dist/deprecated/components/MultiSelect_deprecated_.d.ts.map +1 -0
- package/dist/deprecated/components/dropdown/CwDropdownContainer.d.ts +17 -0
- package/dist/deprecated/components/dropdown/CwDropdownContainer.d.ts.map +1 -0
- package/dist/deprecated/components/multiselect/CwHeadFilter.d.ts +17 -0
- package/dist/deprecated/components/multiselect/CwHeadFilter.d.ts.map +1 -0
- package/dist/deprecated/components/multiselect/CwMultiselect.d.ts +13 -0
- package/dist/deprecated/components/multiselect/CwMultiselect.d.ts.map +1 -0
- package/dist/deprecated/components/multiselect/CwOptionList.d.ts +14 -0
- package/dist/deprecated/components/multiselect/CwOptionList.d.ts.map +1 -0
- package/dist/deprecated/components/tag/CwTag.d.ts +15 -0
- package/dist/deprecated/components/tag/CwTag.d.ts.map +1 -0
- package/dist/index.cjs.js +236 -176
- package/dist/index.css +2 -2
- package/dist/index.d.ts +78 -35
- package/dist/index.es.js +236 -176
- package/dist/playground/main.d.ts +4 -0
- package/dist/playground/main.d.ts.map +1 -0
- package/dist/src/common/interfaces/CwDataAttributes.d.ts +5 -0
- package/dist/src/common/interfaces/CwDataAttributes.d.ts.map +1 -0
- package/dist/src/components/control/action/button/CwButtonBadge.d.ts +63 -0
- package/dist/src/components/control/action/button/CwButtonBadge.d.ts.map +1 -0
- package/dist/src/components/control/action/button/CwButtonSwitch.d.ts +3 -3
- package/dist/src/components/control/action/button/CwButtonSwitch.d.ts.map +1 -1
- package/dist/src/components/control/action/button/CwPopoverButton.d.ts +33 -0
- package/dist/src/components/control/action/button/CwPopoverButton.d.ts.map +1 -0
- package/dist/src/components/control/action/contextual-menu/CwContextualMenu.d.ts +29 -0
- package/dist/src/components/control/action/contextual-menu/CwContextualMenu.d.ts.map +1 -0
- package/dist/src/components/control/action/search/CwAsyncSearch.d.ts +102 -0
- package/dist/src/components/control/action/search/CwAsyncSearch.d.ts.map +1 -0
- package/dist/src/components/control/action/search/CwSearchAsync.d.ts +7 -1
- package/dist/src/components/control/action/search/CwSearchAsync.d.ts.map +1 -1
- package/dist/src/components/control/action/search/CwSearchAsync.stories.d.ts +28 -0
- package/dist/src/components/control/action/search/CwSearchAsync.stories.d.ts.map +1 -1
- package/dist/src/components/control/action/tooltip-dialog/CwTooltipDialog.d.ts +19 -0
- package/dist/src/components/control/action/tooltip-dialog/CwTooltipDialog.d.ts.map +1 -0
- package/dist/src/components/control/choice/deprecated/CwDropdown.d.ts +19 -0
- package/dist/src/components/control/choice/deprecated/CwDropdown.d.ts.map +1 -0
- package/dist/src/components/control/choice/deprecated/CwDropdownNavigation.d.ts +21 -0
- package/dist/src/components/control/choice/deprecated/CwDropdownNavigation.d.ts.map +1 -0
- package/dist/src/components/control/choice/deprecated/MultiSelect_deprecated_.d.ts +24 -0
- package/dist/src/components/control/choice/deprecated/MultiSelect_deprecated_.d.ts.map +1 -0
- package/dist/src/components/control/choice/dropdown/CwDropdown.d.ts +19 -0
- package/dist/src/components/control/choice/dropdown/CwDropdown.d.ts.map +1 -0
- package/dist/src/components/control/choice/dropdown/CwDropdownContainer.d.ts +17 -0
- package/dist/src/components/control/choice/dropdown/CwDropdownContainer.d.ts.map +1 -0
- package/dist/src/components/control/choice/dropdown/CwDropdownNavigation.d.ts +21 -0
- package/dist/src/components/control/choice/dropdown/CwDropdownNavigation.d.ts.map +1 -0
- package/dist/src/components/control/choice/multiselect/CwHeadFilter.d.ts +17 -0
- package/dist/src/components/control/choice/multiselect/CwHeadFilter.d.ts.map +1 -0
- package/dist/src/components/control/choice/multiselect/CwMultiselect.d.ts +13 -0
- package/dist/src/components/control/choice/multiselect/CwMultiselect.d.ts.map +1 -0
- package/dist/src/components/control/choice/multiselect/CwOptionList.d.ts +14 -0
- package/dist/src/components/control/choice/multiselect/CwOptionList.d.ts.map +1 -0
- package/dist/src/components/control/choice/tree-view/CwTreeView.d.ts +4 -4
- package/dist/src/components/control/choice/tree-view/CwTreeView.d.ts.map +1 -1
- package/dist/src/components/control/choice/tree-view/CwTreeView.stories.d.ts +5 -7
- package/dist/src/components/control/choice/tree-view/CwTreeView.stories.d.ts.map +1 -1
- package/dist/src/components/control/input/new-dates/CwDatePicker.d.ts +3 -2
- package/dist/src/components/control/input/new-dates/CwDatePicker.d.ts.map +1 -1
- package/dist/src/components/control/input/new-dates/CwDatePicker.stories.d.ts +5 -1
- package/dist/src/components/control/input/new-dates/CwDatePicker.stories.d.ts.map +1 -1
- package/dist/src/components/control/input/new-dates/CwDatePickerTemporal.d.ts +3 -2
- package/dist/src/components/control/input/new-dates/CwDatePickerTemporal.d.ts.map +1 -1
- package/dist/src/components/control/input/new-dates/CwDateRangePicker.d.ts +8 -2
- package/dist/src/components/control/input/new-dates/CwDateRangePicker.d.ts.map +1 -1
- package/dist/src/components/control/input/new-dates/CwDateRangePicker.stories.d.ts +10 -12
- package/dist/src/components/control/input/new-dates/CwDateRangePicker.stories.d.ts.map +1 -1
- package/dist/src/components/control/input/new-dates/CwDateRangePickerTemporal.d.ts +8 -2
- package/dist/src/components/control/input/new-dates/CwDateRangePickerTemporal.d.ts.map +1 -1
- package/dist/src/components/control/input/new-dates/CwDateTimePicker.d.ts +8 -2
- package/dist/src/components/control/input/new-dates/CwDateTimePicker.d.ts.map +1 -1
- package/dist/src/components/control/input/new-dates/CwDateTimePicker.stories.d.ts +12 -12
- package/dist/src/components/control/input/new-dates/CwDateTimePicker.stories.d.ts.map +1 -1
- package/dist/src/components/control/input/new-dates/CwDateTimePicker2.d.ts +47 -0
- package/dist/src/components/control/input/new-dates/CwDateTimePicker2.d.ts.map +1 -0
- package/dist/src/components/control/input/new-dates/CwDateTimePickerCompact.d.ts +8 -2
- package/dist/src/components/control/input/new-dates/CwDateTimePickerCompact.d.ts.map +1 -1
- package/dist/src/components/control/input/new-dates/CwDateTimePickerTemporal.d.ts +8 -2
- package/dist/src/components/control/input/new-dates/CwDateTimePickerTemporal.d.ts.map +1 -1
- package/dist/src/components/control/input/new-dates/CwTimePicker.d.ts +8 -2
- package/dist/src/components/control/input/new-dates/CwTimePicker.d.ts.map +1 -1
- package/dist/src/components/control/input/new-dates/CwTimePicker.stories.d.ts +15 -13
- package/dist/src/components/control/input/new-dates/CwTimePicker.stories.d.ts.map +1 -1
- package/dist/src/components/control/input/new-dates/datePickerHelpers.d.ts +10 -0
- package/dist/src/components/control/input/new-dates/datePickerHelpers.d.ts.map +1 -1
- package/dist/src/components/control/input/weekday/CwWeekdaySelector.d.ts +2 -1
- package/dist/src/components/control/input/weekday/CwWeekdaySelector.d.ts.map +1 -1
- package/dist/src/components/control/input/weekday/CwWeekdaySelector.stories.d.ts +3 -0
- package/dist/src/components/control/input/weekday/CwWeekdaySelector.stories.d.ts.map +1 -1
- package/dist/src/components/custom/scheduler-new/presentation/NewScheduler.d.ts +2 -1
- package/dist/src/components/custom/scheduler-new/presentation/NewScheduler.d.ts.map +1 -1
- package/dist/src/components/custom/scheduler-new/presentation/Scheduler.stories.d.ts +5 -1
- package/dist/src/components/custom/scheduler-new/presentation/Scheduler.stories.d.ts.map +1 -1
- package/dist/src/components/custom/scheduler-new/presentation/components/row/Event.d.ts.map +1 -1
- package/dist/src/components/custom/scheduler-temporal/CwSchedulerComp2.d.ts +24 -0
- package/dist/src/components/custom/scheduler-temporal/CwSchedulerComp2.d.ts.map +1 -0
- package/dist/src/components/custom/scheduler-temporal/CwSuperSchedulerComp.d.ts +86 -0
- package/dist/src/components/custom/scheduler-temporal/CwSuperSchedulerComp.d.ts.map +1 -0
- package/dist/src/components/custom/scheduler-temporal/components/EventRender.d.ts +10 -0
- package/dist/src/components/custom/scheduler-temporal/components/EventRender.d.ts.map +1 -0
- package/dist/src/components/custom/scheduler-temporal/components/ResourceListRender.d.ts +20 -0
- package/dist/src/components/custom/scheduler-temporal/components/ResourceListRender.d.ts.map +1 -0
- package/dist/src/components/custom/scheduler-temporal/components/ResourceRender.d.ts +14 -0
- package/dist/src/components/custom/scheduler-temporal/components/ResourceRender.d.ts.map +1 -0
- package/dist/src/components/custom/scheduler-temporal/components/day_headers/DayHeader.d.ts +11 -0
- package/dist/src/components/custom/scheduler-temporal/components/day_headers/DayHeader.d.ts.map +1 -0
- package/dist/src/components/custom/scheduler-temporal/components/day_headers/MonthHeader.d.ts +11 -0
- package/dist/src/components/custom/scheduler-temporal/components/day_headers/MonthHeader.d.ts.map +1 -0
- package/dist/src/components/custom/scheduler-temporal/components/day_headers/MyDaysHeader.d.ts +13 -0
- package/dist/src/components/custom/scheduler-temporal/components/day_headers/MyDaysHeader.d.ts.map +1 -0
- package/dist/src/components/custom/scheduler-temporal/components/day_headers/WeekHeader.d.ts +11 -0
- package/dist/src/components/custom/scheduler-temporal/components/day_headers/WeekHeader.d.ts.map +1 -0
- package/dist/src/components/custom/scheduler-temporal/components/resources_title_list/ResourcesTitleList.d.ts +14 -0
- package/dist/src/components/custom/scheduler-temporal/components/resources_title_list/ResourcesTitleList.d.ts.map +1 -0
- package/dist/src/components/custom/scheduler-temporal/components/scheduler_content_area/SchedulerContentArea.d.ts +23 -0
- package/dist/src/components/custom/scheduler-temporal/components/scheduler_content_area/SchedulerContentArea.d.ts.map +1 -0
- package/dist/src/components/custom/scheduler-temporal/components/scheduler_header/SchedulerHeader.d.ts +8 -0
- package/dist/src/components/custom/scheduler-temporal/components/scheduler_header/SchedulerHeader.d.ts.map +1 -0
- package/dist/src/components/custom/scheduler-temporal/components/scheduler_timeline/SchedulerTimeLine.d.ts +12 -0
- package/dist/src/components/custom/scheduler-temporal/components/scheduler_timeline/SchedulerTimeLine.d.ts.map +1 -0
- package/dist/src/components/custom/scheduler-temporal/components/time_headers/TimeHeader.d.ts +12 -0
- package/dist/src/components/custom/scheduler-temporal/components/time_headers/TimeHeader.d.ts.map +1 -0
- package/dist/src/components/custom/scheduler-temporal/components/time_headers/TimeHeaderRow.d.ts +10 -0
- package/dist/src/components/custom/scheduler-temporal/components/time_headers/TimeHeaderRow.d.ts.map +1 -0
- package/dist/src/components/custom/scheduler-temporal/components/time_line/TimeLine.d.ts +12 -0
- package/dist/src/components/custom/scheduler-temporal/components/time_line/TimeLine.d.ts.map +1 -0
- package/dist/src/components/custom/scheduler-temporal/logic/dates/addMinutesToDateFromPx.d.ts +2 -0
- package/dist/src/components/custom/scheduler-temporal/logic/dates/addMinutesToDateFromPx.d.ts.map +1 -0
- package/dist/src/components/custom/scheduler-temporal/logic/dates/daysBetweenTwoDates.d.ts +2 -0
- package/dist/src/components/custom/scheduler-temporal/logic/dates/daysBetweenTwoDates.d.ts.map +1 -0
- package/dist/src/components/custom/scheduler-temporal/logic/dates/daysBetweenTwoDatesWithoutCeil.d.ts +2 -0
- package/dist/src/components/custom/scheduler-temporal/logic/dates/daysBetweenTwoDatesWithoutCeil.d.ts.map +1 -0
- package/dist/src/components/custom/scheduler-temporal/logic/dates/getFormatedTimeForHeader.d.ts +7 -0
- package/dist/src/components/custom/scheduler-temporal/logic/dates/getFormatedTimeForHeader.d.ts.map +1 -0
- package/dist/src/components/custom/scheduler-temporal/logic/dates/getMonthHeaderData.d.ts +10 -0
- package/dist/src/components/custom/scheduler-temporal/logic/dates/getMonthHeaderData.d.ts.map +1 -0
- package/dist/src/components/custom/scheduler-temporal/logic/dates/getUtcToday.d.ts +2 -0
- package/dist/src/components/custom/scheduler-temporal/logic/dates/getUtcToday.d.ts.map +1 -0
- package/dist/src/components/custom/scheduler-temporal/logic/dates/getWeekHeaderDataFromWeekRange.d.ts +7 -0
- package/dist/src/components/custom/scheduler-temporal/logic/dates/getWeekHeaderDataFromWeekRange.d.ts.map +1 -0
- package/dist/src/components/custom/scheduler-temporal/logic/dates/listOfDatesToWeeks.d.ts +8 -0
- package/dist/src/components/custom/scheduler-temporal/logic/dates/listOfDatesToWeeks.d.ts.map +1 -0
- package/dist/src/components/custom/scheduler-temporal/logic/divisions/calculateDivisionType.d.ts +2 -0
- package/dist/src/components/custom/scheduler-temporal/logic/divisions/calculateDivisionType.d.ts.map +1 -0
- package/dist/src/components/custom/scheduler-temporal/logic/divisions/calculateDivisions.d.ts +2 -0
- package/dist/src/components/custom/scheduler-temporal/logic/divisions/calculateDivisions.d.ts.map +1 -0
- package/dist/src/components/custom/scheduler-temporal/logic/filtering/filterAndProcessResources.d.ts +4 -0
- package/dist/src/components/custom/scheduler-temporal/logic/filtering/filterAndProcessResources.d.ts.map +1 -0
- package/dist/src/components/custom/scheduler-temporal/logic/filtering/filterEvents.d.ts +3 -0
- package/dist/src/components/custom/scheduler-temporal/logic/filtering/filterEvents.d.ts.map +1 -0
- package/dist/src/components/custom/scheduler-temporal/logic/filtering/filterResources.d.ts +3 -0
- package/dist/src/components/custom/scheduler-temporal/logic/filtering/filterResources.d.ts.map +1 -0
- package/dist/src/components/custom/scheduler-temporal/logic/filtering/hasSameProperties.d.ts +3 -0
- package/dist/src/components/custom/scheduler-temporal/logic/filtering/hasSameProperties.d.ts.map +1 -0
- package/dist/src/components/custom/scheduler-temporal/logic/onDrop/OnDrop.d.ts +13 -0
- package/dist/src/components/custom/scheduler-temporal/logic/onDrop/OnDrop.d.ts.map +1 -0
- package/dist/src/components/custom/scheduler-temporal/logic/pixels/getHeightLineScheduler.d.ts +2 -0
- package/dist/src/components/custom/scheduler-temporal/logic/pixels/getHeightLineScheduler.d.ts.map +1 -0
- package/dist/src/components/custom/scheduler-temporal/logic/pixels/getPixelsForEvent.d.ts +7 -0
- package/dist/src/components/custom/scheduler-temporal/logic/pixels/getPixelsForEvent.d.ts.map +1 -0
- package/dist/src/components/custom/scheduler-temporal/logic/pixels/heightScheduler.d.ts +3 -0
- package/dist/src/components/custom/scheduler-temporal/logic/pixels/heightScheduler.d.ts.map +1 -0
- package/dist/src/components/custom/scheduler-temporal/logic/pixels/heightSchedulerPinned.d.ts +2 -0
- package/dist/src/components/custom/scheduler-temporal/logic/pixels/heightSchedulerPinned.d.ts.map +1 -0
- package/dist/src/components/custom/scheduler-temporal/logic/state_handle/doubleClickOnResource.d.ts +4 -0
- package/dist/src/components/custom/scheduler-temporal/logic/state_handle/doubleClickOnResource.d.ts.map +1 -0
- package/dist/src/components/custom/scheduler-temporal/logic/state_handle/handlePropChanges.d.ts +6 -0
- package/dist/src/components/custom/scheduler-temporal/logic/state_handle/handlePropChanges.d.ts.map +1 -0
- package/dist/src/components/custom/scheduler-temporal/logic/state_handle/handleResourceChange.d.ts +5 -0
- package/dist/src/components/custom/scheduler-temporal/logic/state_handle/handleResourceChange.d.ts.map +1 -0
- package/dist/src/components/custom/scheduler-temporal/logic/state_handle/onDragOver.d.ts +2 -0
- package/dist/src/components/custom/scheduler-temporal/logic/state_handle/onDragOver.d.ts.map +1 -0
- package/dist/src/components/custom/scheduler-temporal/logic/state_handle/onDropEventToResource.d.ts +5 -0
- package/dist/src/components/custom/scheduler-temporal/logic/state_handle/onDropEventToResource.d.ts.map +1 -0
- package/dist/src/components/custom/scheduler-temporal/logic/state_handle/onResizeEvent.d.ts +4 -0
- package/dist/src/components/custom/scheduler-temporal/logic/state_handle/onResizeEvent.d.ts.map +1 -0
- package/dist/src/components/custom/scheduler-temporal/logic/strings/compareStrings.d.ts +2 -0
- package/dist/src/components/custom/scheduler-temporal/logic/strings/compareStrings.d.ts.map +1 -0
- package/dist/src/components/custom/scheduler-temporal/logic/strings/getGUID.d.ts +2 -0
- package/dist/src/components/custom/scheduler-temporal/logic/strings/getGUID.d.ts.map +1 -0
- package/dist/src/components/custom/scheduler-temporal/logic/ui/checkIfSlotAvailable.d.ts +3 -0
- package/dist/src/components/custom/scheduler-temporal/logic/ui/checkIfSlotAvailable.d.ts.map +1 -0
- package/dist/src/components/custom/scheduler-temporal/logic/ui/getEventsOfResource.d.ts +6 -0
- package/dist/src/components/custom/scheduler-temporal/logic/ui/getEventsOfResource.d.ts.map +1 -0
- package/dist/src/components/custom/scheduler-temporal/logic/ui/getHasPropsChanged.d.ts +4 -0
- package/dist/src/components/custom/scheduler-temporal/logic/ui/getHasPropsChanged.d.ts.map +1 -0
- package/dist/src/components/custom/scheduler-temporal/logic/ui/getTimeHeaders.d.ts +2 -0
- package/dist/src/components/custom/scheduler-temporal/logic/ui/getTimeHeaders.d.ts.map +1 -0
- package/dist/src/components/custom/scheduler-temporal/logic/ui/isAllowedToMove.d.ts +3 -0
- package/dist/src/components/custom/scheduler-temporal/logic/ui/isAllowedToMove.d.ts.map +1 -0
- package/dist/src/components/custom/scheduler-temporal/logic/ui/shouldTriggerScroll.d.ts +4 -0
- package/dist/src/components/custom/scheduler-temporal/logic/ui/shouldTriggerScroll.d.ts.map +1 -0
- package/dist/src/components/custom/scheduler-temporal/logic/ui/updateResourceVisibility.d.ts +3 -0
- package/dist/src/components/custom/scheduler-temporal/logic/ui/updateResourceVisibility.d.ts.map +1 -0
- package/dist/src/components/custom/scheduler-temporal/state/CblDragAndDrop.d.ts +11 -0
- package/dist/src/components/custom/scheduler-temporal/state/CblDragAndDrop.d.ts.map +1 -0
- package/dist/src/components/custom/scheduler-temporal/state/CwSchedulerProps.d.ts +43 -0
- package/dist/src/components/custom/scheduler-temporal/state/CwSchedulerProps.d.ts.map +1 -0
- package/dist/src/components/custom/scheduler-temporal/state/Resource.d.ts +14 -0
- package/dist/src/components/custom/scheduler-temporal/state/Resource.d.ts.map +1 -0
- package/dist/src/components/custom/scheduler-temporal/state/State.d.ts +25 -0
- package/dist/src/components/custom/scheduler-temporal/state/State.d.ts.map +1 -0
- package/dist/src/components/custom/scheduler-temporal/state/cblEvent.d.ts +18 -0
- package/dist/src/components/custom/scheduler-temporal/state/cblEvent.d.ts.map +1 -0
- package/dist/src/components/custom/scheduler-temporal/state/cblEventCompProps.d.ts +7 -0
- package/dist/src/components/custom/scheduler-temporal/state/cblEventCompProps.d.ts.map +1 -0
- package/dist/src/components/custom/scheduler-temporal/state/resourceCompProps2.d.ts +6 -0
- package/dist/src/components/custom/scheduler-temporal/state/resourceCompProps2.d.ts.map +1 -0
- package/dist/src/components/display/data/accordion/CwAccordionContainer.stories.d.ts +27 -0
- package/dist/src/components/display/data/accordion/CwAccordionContainer.stories.d.ts.map +1 -0
- package/dist/src/components/display/data/table/CwTable.stories.d.ts +2 -0
- package/dist/src/components/display/data/table/CwTable.stories.d.ts.map +1 -1
- package/dist/src/components/display/graphics/progress/CwProgress.d.ts +13 -8
- package/dist/src/components/display/graphics/progress/CwProgress.d.ts.map +1 -1
- package/dist/src/components/display/graphics/progress/CwProgress.stories.d.ts +21 -5
- package/dist/src/components/display/graphics/progress/CwProgress.stories.d.ts.map +1 -1
- package/dist/src/components/display/graphics/skeleton/CwSkeletonCard.d.ts +21 -0
- package/dist/src/components/display/graphics/skeleton/CwSkeletonCard.d.ts.map +1 -0
- package/dist/src/components/display/text/badge/CwBadge.d.ts +9 -1
- package/dist/src/components/display/text/badge/CwBadge.d.ts.map +1 -1
- package/dist/src/components/display/text/badge/CwBadge.stories.d.ts +5 -0
- package/dist/src/components/display/text/badge/CwBadge.stories.d.ts.map +1 -1
- package/dist/src/components/display/text/tag/CwTag.d.ts +15 -0
- package/dist/src/components/display/text/tag/CwTag.d.ts.map +1 -0
- package/dist/src/components/display/text/tooltip/CwTooltip.d.ts +11 -0
- package/dist/src/components/display/text/tooltip/CwTooltip.d.ts.map +1 -0
- package/dist/src/components/layout/align/CwAlign.stories.d.ts +439 -0
- package/dist/src/components/layout/align/CwAlign.stories.d.ts.map +1 -0
- package/dist/src/components/layout/modal/legacy/cw_modal_confirm.d.ts +16 -0
- package/dist/src/components/layout/modal/legacy/cw_modal_confirm.d.ts.map +1 -0
- package/dist/src/components/layout/modal/legacy/cw_modal_iframe.d.ts +21 -0
- package/dist/src/components/layout/modal/legacy/cw_modal_iframe.d.ts.map +1 -0
- package/dist/src/index.d.ts +2 -1
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/playground/pages/ShadowRecipesPage.d.ts +3 -0
- package/dist/src/playground/pages/ShadowRecipesPage.d.ts.map +1 -0
- package/dist/src/storybook/componentMappings.d.ts +5 -15
- package/dist/src/storybook/componentMappings.d.ts.map +1 -1
- package/dist/src/storybook/pickerStoryArgs.d.ts +2 -18
- package/dist/src/storybook/pickerStoryArgs.d.ts.map +1 -1
- package/dist/test/components/display/graphics/skeleton/CwSkeletonCard.test.d.ts +2 -0
- package/dist/test/components/display/graphics/skeleton/CwSkeletonCard.test.d.ts.map +1 -0
- package/dist/test/jest.setup.d.ts +2 -0
- package/dist/test/jest.setup.d.ts.map +1 -0
- package/package.json +1 -1
- package/dist/src/common/functions/lazy.d.ts +0 -13
- package/dist/src/common/functions/lazy.d.ts.map +0 -1
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type { cblEvent } from "./cblEvent";
|
|
2
|
+
import type { Resource } from "./Resource";
|
|
3
|
+
export interface State {
|
|
4
|
+
bottom: number;
|
|
5
|
+
dayPx: number;
|
|
6
|
+
division: number;
|
|
7
|
+
divisionType: string;
|
|
8
|
+
endDate: Date;
|
|
9
|
+
eventHeight: number;
|
|
10
|
+
events: cblEvent[];
|
|
11
|
+
groupByFunction: boolean;
|
|
12
|
+
hourPx: number;
|
|
13
|
+
lineStyle: number;
|
|
14
|
+
maxPx: number;
|
|
15
|
+
minutePx: number;
|
|
16
|
+
nowUtc: Date;
|
|
17
|
+
pinnedResources: Array<number>;
|
|
18
|
+
resources: Resource[];
|
|
19
|
+
selectedEvents: Array<number>;
|
|
20
|
+
showConsoleLogs: boolean;
|
|
21
|
+
startDate: Date;
|
|
22
|
+
timeHeaders: Array<Date>;
|
|
23
|
+
top: number;
|
|
24
|
+
}
|
|
25
|
+
//# sourceMappingURL=State.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"State.d.ts","sourceRoot":"","sources":["../../../../../../src/components/custom/scheduler-temporal/state/State.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAC3C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAE3C,MAAM,WAAW,KAAK;IACrB,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,YAAY,EAAE,MAAM,CAAC;IACrB,OAAO,EAAE,IAAI,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,QAAQ,EAAE,CAAC;IACnB,eAAe,EAAE,OAAO,CAAC;IACzB,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,IAAI,CAAC;IACb,eAAe,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAC/B,SAAS,EAAE,QAAQ,EAAE,CAAC;IACtB,cAAc,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAC9B,eAAe,EAAE,OAAO,CAAC;IACzB,SAAS,EAAE,IAAI,CAAC;IAChB,WAAW,EAAE,KAAK,CAAC,IAAI,CAAC,CAAC;IACzB,GAAG,EAAE,MAAM,CAAC;CACZ"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export declare class cblEvent {
|
|
2
|
+
id: string;
|
|
3
|
+
start: Date;
|
|
4
|
+
end: Date;
|
|
5
|
+
resourceId: number;
|
|
6
|
+
selected: boolean;
|
|
7
|
+
top: number;
|
|
8
|
+
leftPx: number;
|
|
9
|
+
rightPx: number;
|
|
10
|
+
width: number;
|
|
11
|
+
isFullHeight: boolean;
|
|
12
|
+
isReadOnly: boolean;
|
|
13
|
+
isResizable: boolean;
|
|
14
|
+
isDraggable: boolean;
|
|
15
|
+
data: any;
|
|
16
|
+
constructor(start: Date, end: Date, resourceId: number, data?: any, isFullHeight?: boolean, isReadOnly?: boolean, isResizable?: boolean, isDraggable?: boolean);
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=cblEvent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cblEvent.d.ts","sourceRoot":"","sources":["../../../../../../src/components/custom/scheduler-temporal/state/cblEvent.ts"],"names":[],"mappings":"AAEA,qBAAa,QAAQ;IACpB,EAAE,EAAE,MAAM,CAAM;IAChB,KAAK,EAAE,IAAI,CAAC;IACZ,GAAG,EAAE,IAAI,CAAC;IACV,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,OAAO,CAAS;IAE1B,GAAG,EAAE,MAAM,CAAK;IAChB,MAAM,EAAE,MAAM,CAAK;IACnB,OAAO,EAAE,MAAM,CAAK;IACpB,KAAK,EAAE,MAAM,CAAK;IAElB,YAAY,EAAE,OAAO,CAAS;IAC9B,UAAU,EAAE,OAAO,CAAS;IAC5B,WAAW,EAAE,OAAO,CAAS;IAC7B,WAAW,EAAE,OAAO,CAAS;IAE7B,IAAI,EAAE,GAAG,CAAQ;gBAGhB,KAAK,EAAE,IAAI,EACX,GAAG,EAAE,IAAI,EACT,UAAU,EAAE,MAAM,EAClB,IAAI,GAAE,GAAU,EAChB,YAAY,GAAE,OAAe,EAC7B,UAAU,GAAE,OAAe,EAC3B,WAAW,GAAE,OAAe,EAC5B,WAAW,GAAE,OAAe;CAc7B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cblEventCompProps.d.ts","sourceRoot":"","sources":["../../../../../../src/components/custom/scheduler-temporal/state/cblEventCompProps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAE3C,MAAM,MAAM,iBAAiB,GAAG;IAC/B,GAAG,CAAC,EAAE,GAAG,CAAC;IACV,QAAQ,EAAE,QAAQ,CAAC;IACnB,6BAA6B,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,QAAQ,EAAE,QAAQ,KAAK,IAAI,CAAC;CAC1E,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resourceCompProps2.d.ts","sourceRoot":"","sources":["../../../../../../src/components/custom/scheduler-temporal/state/resourceCompProps2.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAE3C,MAAM,MAAM,kBAAkB,GAAG;IAChC,QAAQ,EAAE,QAAQ,CAAC;IACnB,gCAAgC,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,QAAQ,EAAE,QAAQ,KAAK,IAAI,CAAC;CAC7E,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type { StoryObj } from "@storybook/react-vite";
|
|
2
|
+
import { CwAccordionContainer } from "./CwAccordionContainer";
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof CwAccordionContainer;
|
|
6
|
+
args: {
|
|
7
|
+
desc_text: string;
|
|
8
|
+
children: import("react").JSX.Element;
|
|
9
|
+
};
|
|
10
|
+
argTypes: {
|
|
11
|
+
children: {
|
|
12
|
+
control: false;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
decorators: ((Story: import("storybook/internal/csf").PartialStoryFn<import("@storybook/react").ReactRenderer, {
|
|
16
|
+
children?: any;
|
|
17
|
+
desc_text?: string | undefined;
|
|
18
|
+
style?: React.CSSProperties | undefined;
|
|
19
|
+
}>) => import("react").JSX.Element)[];
|
|
20
|
+
};
|
|
21
|
+
export default meta;
|
|
22
|
+
type Story = StoryObj<typeof meta>;
|
|
23
|
+
/** A header that toggles its body; closed on mount. */
|
|
24
|
+
export declare const Default: Story;
|
|
25
|
+
/** Several stacked, each with its own state. */
|
|
26
|
+
export declare const Stacked: Story;
|
|
27
|
+
//# sourceMappingURL=CwAccordionContainer.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CwAccordionContainer.stories.d.ts","sourceRoot":"","sources":["../../../../../../src/components/display/data/accordion/CwAccordionContainer.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAE9D,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;CAsBmC,CAAC;AAE9C,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,uDAAuD;AACvD,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC;AAEjC,gDAAgD;AAChD,eAAO,MAAM,OAAO,EAAE,KAerB,CAAC"}
|
|
@@ -55,5 +55,7 @@ export declare const Selectable: Story;
|
|
|
55
55
|
export declare const Expandable: Story;
|
|
56
56
|
/** `stickyHeader` with `scrollHeight` keeps the header in view while the body scrolls. */
|
|
57
57
|
export declare const StickyHeader: Story;
|
|
58
|
+
/** `loading` swaps the rows for `skeletonRows` ghost rows; the header and the column widths stay put. */
|
|
59
|
+
export declare const Loading: Story;
|
|
58
60
|
export declare const Empty: Story;
|
|
59
61
|
//# sourceMappingURL=CwTable.stories.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CwTable.stories.d.ts","sourceRoot":"","sources":["../../../../../../src/components/display/data/table/CwTable.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAG5D,OAAO,EAA8B,KAAK,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAI/F,OAAO,EAAW,KAAK,MAAM,EAAE,KAAK,YAAY,EAAE,MAAM,WAAW,CAAC;AAuCpE,QAAA,MAAM,IAAI;;eAGa,CAAC,KAAK,EAAE,YAAY,CAAC,UAAU,CAAC,KAAK,KAAK,CAAC,GAAG,CAAC,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqBnC,CAAC;AAE3C,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,0HAA0H;AAC1H,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC;AAEjC,gGAAgG;AAChG,eAAO,MAAM,WAAW,EAAE,KAEzB,CAAC;AAkBF,0IAA0I;AAC1I,eAAO,MAAM,SAAS,EAAE,KAEvB,CAAC;AAEF,mGAAmG;AACnG,eAAO,MAAM,UAAU,EAAE,KAGxB,CAAC;AAEF,qFAAqF;AACrF,eAAO,MAAM,UAAU,EAAE,KASxB,CAAC;AAEF,0FAA0F;AAC1F,eAAO,MAAM,YAAY,EAAE,KAE1B,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,KAEnB,CAAC"}
|
|
1
|
+
{"version":3,"file":"CwTable.stories.d.ts","sourceRoot":"","sources":["../../../../../../src/components/display/data/table/CwTable.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAG5D,OAAO,EAA8B,KAAK,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAI/F,OAAO,EAAW,KAAK,MAAM,EAAE,KAAK,YAAY,EAAE,MAAM,WAAW,CAAC;AAuCpE,QAAA,MAAM,IAAI;;eAGa,CAAC,KAAK,EAAE,YAAY,CAAC,UAAU,CAAC,KAAK,KAAK,CAAC,GAAG,CAAC,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqBnC,CAAC;AAE3C,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,0HAA0H;AAC1H,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC;AAEjC,gGAAgG;AAChG,eAAO,MAAM,WAAW,EAAE,KAEzB,CAAC;AAkBF,0IAA0I;AAC1I,eAAO,MAAM,SAAS,EAAE,KAEvB,CAAC;AAEF,mGAAmG;AACnG,eAAO,MAAM,UAAU,EAAE,KAGxB,CAAC;AAEF,qFAAqF;AACrF,eAAO,MAAM,UAAU,EAAE,KASxB,CAAC;AAEF,0FAA0F;AAC1F,eAAO,MAAM,YAAY,EAAE,KAE1B,CAAC;AAEF,yGAAyG;AACzG,eAAO,MAAM,OAAO,EAAE,KAErB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,KAEnB,CAAC"}
|
|
@@ -1,27 +1,32 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
type
|
|
2
|
+
import type { CwDataAttributes } from '../../../../common/interfaces/CwDataAttributes';
|
|
3
|
+
export type CwProgressColor = 'primary' | 'success' | 'warning' | 'danger' | 'info' | 'neutral';
|
|
3
4
|
type ProgressSize = 'small' | 'regular' | 'large';
|
|
4
|
-
export interface CwProgressProps {
|
|
5
|
+
export interface CwProgressProps extends CwDataAttributes {
|
|
5
6
|
/** Progress percentage, 0-100 (clamped). Ignored when indeterminate. */
|
|
6
7
|
value?: number;
|
|
7
8
|
/** Sweeping animation for unmeasurable progress. Respects prefers-reduced-motion (static partial fill). */
|
|
8
9
|
indeterminate?: boolean;
|
|
9
10
|
/** Label beside (row layout) or above (column layout) the bar. */
|
|
10
11
|
label?: string;
|
|
11
|
-
/** Right-side value label. Defaults to the rounded percent when value is set and not indeterminate. */
|
|
12
|
-
rightLabel?:
|
|
13
|
-
/**
|
|
12
|
+
/** Right-side value label, text or markup. Defaults to the rounded percent when value is set and not indeterminate. */
|
|
13
|
+
rightLabel?: React.ReactNode;
|
|
14
|
+
/** Small caption below the bar, under the track in both layouts. */
|
|
15
|
+
footer?: React.ReactNode;
|
|
16
|
+
/** Bar size; 'small' also shrinks the label and value text. Default 'regular'. */
|
|
14
17
|
size?: ProgressSize;
|
|
15
18
|
/** Label placement relative to the bar. Default 'row'. */
|
|
16
19
|
layout?: 'row' | 'column';
|
|
17
|
-
/** Semantic color. Default 'primary'. */
|
|
18
|
-
color?:
|
|
20
|
+
/** Semantic color; 'neutral' is an inert grey for "no data yet". Default 'primary'. */
|
|
21
|
+
color?: CwProgressColor;
|
|
19
22
|
/** Tabular figures for the value label so digits do not jump while counting. */
|
|
20
23
|
monoValue?: boolean;
|
|
21
24
|
/** Larger, bolder value label. */
|
|
22
25
|
prominent?: boolean;
|
|
23
26
|
/** Extra classes on the outermost element, e.g. a layout utility like `cw-flex-grow`. */
|
|
24
27
|
className?: string;
|
|
28
|
+
/** Inline styles on the outermost element, e.g. `{ "--progress-color": ... }` for a one-off color. */
|
|
29
|
+
style?: React.CSSProperties;
|
|
25
30
|
}
|
|
26
31
|
/**
|
|
27
32
|
* CwProgress - a determinate or indeterminate progress bar.
|
|
@@ -33,6 +38,6 @@ export interface CwProgressProps {
|
|
|
33
38
|
* <CwProgress value={62} label="Import" color="success" />
|
|
34
39
|
* <CwProgress indeterminate label="Uploading" />
|
|
35
40
|
*/
|
|
36
|
-
export declare function CwProgress({ value, indeterminate, label, rightLabel, size, layout, color, monoValue, prominent, className }: CwProgressProps): React.JSX.Element;
|
|
41
|
+
export declare function CwProgress({ value, indeterminate, label, rightLabel, footer, size, layout, color, monoValue, prominent, className, style, ...dataAttributes }: CwProgressProps): React.JSX.Element;
|
|
37
42
|
export {};
|
|
38
43
|
//# sourceMappingURL=CwProgress.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CwProgress.d.ts","sourceRoot":"","sources":["../../../../../../src/components/display/graphics/progress/CwProgress.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"CwProgress.d.ts","sourceRoot":"","sources":["../../../../../../src/components/display/graphics/progress/CwProgress.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gDAAgD,CAAC;AAGvF,MAAM,MAAM,eAAe,GAAG,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,GAAG,MAAM,GAAG,SAAS,CAAC;AAGhG,KAAK,YAAY,GAAG,OAAO,GAAG,SAAS,GAAG,OAAO,CAAC;AAGlD,MAAM,WAAW,eAAgB,SAAQ,gBAAgB;IACxD,wEAAwE;IACxE,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,2GAA2G;IAC3G,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,kEAAkE;IAClE,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,uHAAuH;IACvH,UAAU,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC7B,oEAAoE;IACpE,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,kFAAkF;IAClF,IAAI,CAAC,EAAE,YAAY,CAAC;IACpB,0DAA0D;IAC1D,MAAM,CAAC,EAAE,KAAK,GAAG,QAAQ,CAAC;IAC1B,uFAAuF;IACvF,KAAK,CAAC,EAAE,eAAe,CAAC;IACxB,gFAAgF;IAChF,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,kCAAkC;IAClC,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,yFAAyF;IACzF,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,sGAAsG;IACtG,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;CAC5B;AAED;;;;;;;;;GASG;AACH,wBAAgB,UAAU,CAAC,EAC1B,KAAK,EACL,aAAqB,EACrB,KAAK,EACL,UAAU,EACV,MAAM,EACN,IAAgB,EAChB,MAAc,EACd,KAAiB,EACjB,SAAiB,EACjB,SAAiB,EACjB,SAAS,EACT,KAAK,EACL,GAAG,cAAc,EACjB,EAAE,eAAe,qBA8DjB"}
|
|
@@ -24,7 +24,7 @@ declare const meta: {
|
|
|
24
24
|
};
|
|
25
25
|
size: {
|
|
26
26
|
control: "inline-radio";
|
|
27
|
-
options:
|
|
27
|
+
options: readonly ["small", "regular", "large"];
|
|
28
28
|
};
|
|
29
29
|
layout: {
|
|
30
30
|
control: "inline-radio";
|
|
@@ -32,20 +32,23 @@ declare const meta: {
|
|
|
32
32
|
};
|
|
33
33
|
color: {
|
|
34
34
|
control: "inline-radio";
|
|
35
|
-
options: readonly ["primary", "success", "warning", "danger", "info"];
|
|
35
|
+
options: readonly ["primary", "success", "warning", "danger", "info", "neutral"];
|
|
36
36
|
};
|
|
37
37
|
};
|
|
38
38
|
decorators: ((Story: import("storybook/internal/csf").PartialStoryFn<import("@storybook/react").ReactRenderer, {
|
|
39
|
+
[x: `data-${string}`]: string | number | boolean | undefined;
|
|
39
40
|
value?: number | undefined;
|
|
40
41
|
indeterminate?: boolean | undefined;
|
|
41
42
|
label?: string | undefined;
|
|
42
|
-
rightLabel?:
|
|
43
|
+
rightLabel?: import("react").ReactNode;
|
|
44
|
+
footer?: import("react").ReactNode;
|
|
43
45
|
size?: ("small" | "large" | "regular") | undefined;
|
|
44
46
|
layout?: "row" | "column" | undefined;
|
|
45
|
-
color?: ("
|
|
47
|
+
color?: import("./CwProgress").CwProgressColor | undefined;
|
|
46
48
|
monoValue?: boolean | undefined;
|
|
47
49
|
prominent?: boolean | undefined;
|
|
48
50
|
className?: string | undefined;
|
|
51
|
+
style?: React.CSSProperties | undefined;
|
|
49
52
|
}>) => import("react").JSX.Element)[];
|
|
50
53
|
};
|
|
51
54
|
export default meta;
|
|
@@ -56,6 +59,19 @@ export declare const Default: Story;
|
|
|
56
59
|
export declare const Indeterminate: Story;
|
|
57
60
|
/** `rightLabel` replaces the percent; `monoValue` keeps digits from jumping; `prominent` enlarges the value. */
|
|
58
61
|
export declare const ValueLabels: Story;
|
|
59
|
-
/**
|
|
62
|
+
/** `style` overrides the internal `--progress-color` for a one-off color, without a CSS module. */
|
|
63
|
+
export declare const CustomColor: Story;
|
|
64
|
+
/** Every color at the selected value. `neutral` is the inert grey for "no data yet": bar and value both. */
|
|
60
65
|
export declare const Colors: Story;
|
|
66
|
+
/** Bar thickness per size; `small` also sets the label and value text to the small font size, for dense UIs. */
|
|
67
|
+
export declare const Sizes: Story;
|
|
68
|
+
/**
|
|
69
|
+
* The container's `data-label-width` and `data-value-width` give every label and right label the same
|
|
70
|
+
* width, so stacked tracks start and end at the same x even though the right labels differ in length.
|
|
71
|
+
*/
|
|
72
|
+
export declare const AlignedValues: Story;
|
|
73
|
+
/** `footer` is a small neutral caption under the track, in row and column layout. */
|
|
74
|
+
export declare const WithFooter: Story;
|
|
75
|
+
/** `rightLabel` takes markup, so only part of it carries the bar color. */
|
|
76
|
+
export declare const RichRightLabel: Story;
|
|
61
77
|
//# sourceMappingURL=CwProgress.stories.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CwProgress.stories.d.ts","sourceRoot":"","sources":["../../../../../../src/components/display/graphics/progress/CwProgress.stories.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CwProgress.stories.d.ts","sourceRoot":"","sources":["../../../../../../src/components/display/graphics/progress/CwProgress.stories.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAK1C,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0ByB,CAAC;AAEpC,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,iGAAiG;AACjG,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC;AAEjC,wGAAwG;AACxG,eAAO,MAAM,aAAa,EAAE,KAE3B,CAAC;AAEF,gHAAgH;AAChH,eAAO,MAAM,WAAW,EAAE,KASzB,CAAC;AAEF,mGAAmG;AACnG,eAAO,MAAM,WAAW,EAAE,KAMzB,CAAC;AAEF,4GAA4G;AAC5G,eAAO,MAAM,MAAM,EAAE,KASpB,CAAC;AAEF,gHAAgH;AAChH,eAAO,MAAM,KAAK,EAAE,KASnB,CAAC;AASF;;;GAGG;AACH,eAAO,MAAM,aAAa,EAAE,KAS3B,CAAC;AAEF,qFAAqF;AACrF,eAAO,MAAM,UAAU,EAAE,KASxB,CAAC;AAEF,2EAA2E;AAC3E,eAAO,MAAM,cAAc,EAAE,KAY5B,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface CwSkeletonCardProps {
|
|
3
|
+
/** Number of body text lines. Default 3. */
|
|
4
|
+
lines?: number;
|
|
5
|
+
/** Render a media placeholder block on top. Default false. */
|
|
6
|
+
media?: boolean;
|
|
7
|
+
/** Render a title line. Default true. */
|
|
8
|
+
title?: boolean;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* CwSkeletonCard - a card-shaped loading ghost built on CwSkeleton.
|
|
12
|
+
*
|
|
13
|
+
* Mimics the CwCard border-variant container (same radius, padding, outline and gap),
|
|
14
|
+
* with an optional media block, an optional title line, and a stack of body text lines
|
|
15
|
+
* (the last one shorter, via the CwSkeleton count behaviour).
|
|
16
|
+
*
|
|
17
|
+
* @example
|
|
18
|
+
* <CwSkeletonCard media lines={3} />
|
|
19
|
+
*/
|
|
20
|
+
export declare function CwSkeletonCard({ lines, media, title }: CwSkeletonCardProps): React.JSX.Element;
|
|
21
|
+
//# sourceMappingURL=CwSkeletonCard.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CwSkeletonCard.d.ts","sourceRoot":"","sources":["../../../../../../src/components/display/graphics/skeleton/CwSkeletonCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,MAAM,WAAW,mBAAmB;IACnC,4CAA4C;IAC5C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,8DAA8D;IAC9D,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,yCAAyC;IACzC,KAAK,CAAC,EAAE,OAAO,CAAC;CAChB;AAED;;;;;;;;;GASG;AACH,wBAAgB,cAAc,CAAC,EAC9B,KAAS,EACT,KAAa,EACb,KAAY,EACZ,EAAE,mBAAmB,qBAarB"}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import type { CwDataAttributes } from '../../../../common/interfaces/CwDataAttributes';
|
|
2
3
|
export type BadgeColorScheme = 'primary' | 'danger' | 'warning' | 'success' | 'info' | 'neutral';
|
|
3
4
|
export type BadgeVariant = 'soft' | 'solid';
|
|
4
5
|
export type BadgeSize = 'small' | 'medium' | 'large';
|
|
5
|
-
export interface CwBadgeProps {
|
|
6
|
+
export interface CwBadgeProps extends CwDataAttributes {
|
|
6
7
|
/** Number shown inside the badge. Omit (with no `content`) to render a dot */
|
|
7
8
|
count?: number;
|
|
8
9
|
/** Text shown instead of a count, e.g. `"!"`. Wins over `count` */
|
|
@@ -37,6 +38,13 @@ export interface CwBadgeProps {
|
|
|
37
38
|
* Precedence: `loading` > `content` > `count` > dot. While loading the badge renders regardless
|
|
38
39
|
* of `showZero`, and the spinner replaces it - circle, background and padding come off.
|
|
39
40
|
*
|
|
41
|
+
* Overlaid on a `CwButton` (its `badge` prop), the corner offset is a public custom-property API,
|
|
42
|
+
* settable on the button, an ancestor, or the badge's own `style`:
|
|
43
|
+
* - `--badge-offset-x` - distance from the button's right edge (`right`). Default
|
|
44
|
+
* `calc(var(--cw-spacing-small) * -1)`.
|
|
45
|
+
* - `--badge-offset-y` - distance from the button's top edge (`top`). Default
|
|
46
|
+
* `calc(var(--cw-spacing-tiny) * -1)`, `-0.125rem` on a large icon button.
|
|
47
|
+
*
|
|
40
48
|
* @example
|
|
41
49
|
* <CwBadge count={3} color="danger" />
|
|
42
50
|
* <CwBadge count={0} showZero={false} />
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CwBadge.d.ts","sourceRoot":"","sources":["../../../../../../src/components/display/text/badge/CwBadge.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"CwBadge.d.ts","sourceRoot":"","sources":["../../../../../../src/components/display/text/badge/CwBadge.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gDAAgD,CAAC;AAEvF,MAAM,MAAM,gBAAgB,GAAG,SAAS,GAAG,QAAQ,GAAG,SAAS,GAAG,SAAS,GAAG,MAAM,GAAG,SAAS,CAAC;AACjG,MAAM,MAAM,YAAY,GAAG,MAAM,GAAG,OAAO,CAAC;AAC5C,MAAM,MAAM,SAAS,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;AAErD,MAAM,WAAW,YAAa,SAAQ,gBAAgB;IACrD,8EAA8E;IAC9E,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,mEAAmE;IACnE,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,4DAA4D;IAC5D,KAAK,CAAC,EAAE,gBAAgB,CAAC;IACzB,mFAAmF;IACnF,OAAO,CAAC,EAAE,YAAY,CAAC;IACvB,mFAAmF;IACnF,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,mFAAmF;IACnF,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,8EAA8E;IAC9E,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,0EAA0E;IAC1E,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;mDAC+C;IAC/C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,gCAAgC;IAChC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,+BAA+B;IAC/B,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;CAC5B;AAED;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,eAAO,MAAM,OAAO,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CA2C1C,CAAC"}
|
|
@@ -31,6 +31,11 @@ export declare const Dot: Story;
|
|
|
31
31
|
export declare const Loading: Story;
|
|
32
32
|
/** The real use: overlaid on a `CwButton` through its `badge` prop, mixing both variants. */
|
|
33
33
|
export declare const OnButton: Story;
|
|
34
|
+
/**
|
|
35
|
+
* `--badge-offset-x` / `--badge-offset-y` move the overlaid badge. Left: the default offset. Right:
|
|
36
|
+
* nudged inward on the narrow-topped bell through a scoped `style` override on the button.
|
|
37
|
+
*/
|
|
38
|
+
export declare const OffsetOverride: Story;
|
|
34
39
|
/** Every color crossed with every variant. */
|
|
35
40
|
export declare const Matrix: Story;
|
|
36
41
|
//# sourceMappingURL=CwBadge.stories.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CwBadge.stories.d.ts","sourceRoot":"","sources":["../../../../../../src/components/display/text/badge/CwBadge.stories.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CwBadge.stories.d.ts","sourceRoot":"","sources":["../../../../../../src/components/display/text/badge/CwBadge.stories.tsx"],"names":[],"mappings":"AACA,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;;;GAGG;AACH,eAAO,MAAM,cAAc,EAAE,KAc5B,CAAC;AAEF,8CAA8C;AAC9C,eAAO,MAAM,MAAM,EAAE,KAapB,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
export interface CwTagProps {
|
|
3
|
+
children?: any;
|
|
4
|
+
styleTag?: React.CSSProperties;
|
|
5
|
+
styleTag_description?: React.CSSProperties;
|
|
6
|
+
closableTag?: boolean;
|
|
7
|
+
className?: string;
|
|
8
|
+
onClickTag?: (clickEvent: React.MouseEvent<HTMLSpanElement, MouseEvent>) => void;
|
|
9
|
+
onClickClosableTag?: (clickEvent: React.MouseEvent<HTMLSpanElement, MouseEvent>) => void;
|
|
10
|
+
idTag?: string;
|
|
11
|
+
ref?: any;
|
|
12
|
+
styleClosableButton?: React.CSSProperties;
|
|
13
|
+
}
|
|
14
|
+
export declare function CwTag(tagProps: React.PropsWithChildren<CwTagProps>): import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
//# sourceMappingURL=CwTag.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CwTag.d.ts","sourceRoot":"","sources":["../../../../../../src/components/display/text/tag/CwTag.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,MAAM,WAAW,UAAU;IAC1B,QAAQ,CAAC,EAAE,GAAG,CAAC;IACf,QAAQ,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC/B,oBAAoB,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC3C,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,CAAC,UAAU,EAAE,KAAK,CAAC,UAAU,CAAC,eAAe,EAAE,UAAU,CAAC,KAAK,IAAI,CAAC;IACjF,kBAAkB,CAAC,EAAE,CAAC,UAAU,EAAE,KAAK,CAAC,UAAU,CAAC,eAAe,EAAE,UAAU,CAAC,KAAK,IAAI,CAAC;IACzF,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,GAAG,CAAC,EAAE,GAAG,CAAC;IACV,mBAAmB,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;CAC1C;AAED,wBAAgB,KAAK,CAAC,QAAQ,EAAE,KAAK,CAAC,iBAAiB,CAAC,UAAU,CAAC,2CAyClE"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
export interface CwTooltipProps {
|
|
3
|
+
children?: any;
|
|
4
|
+
tooltipTitle?: any;
|
|
5
|
+
tooltipTitleStyle?: React.CSSProperties;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* @deprecated Use CwTooltipNew instead.
|
|
9
|
+
* @see CwTooltipNew
|
|
10
|
+
*/ export declare function CwTooltip(CwelltTooltipProps: React.PropsWithChildren<CwTooltipProps>): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
//# sourceMappingURL=CwTooltip.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CwTooltip.d.ts","sourceRoot":"","sources":["../../../../../../src/components/display/text/tooltip/CwTooltip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,MAAM,WAAW,cAAc;IAE9B,QAAQ,CAAC,EAAE,GAAG,CAAC;IAEf,YAAY,CAAC,EAAE,GAAG,CAAC;IAEnB,iBAAiB,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;CACxC;AACD;;;GAGG,CAAA,wBAAgB,SAAS,CAAC,kBAAkB,EAAE,KAAK,CAAC,iBAAiB,CAAC,cAAc,CAAC,2CASvF"}
|