@cwellt_software/cwellt-reactjs-lib 1.6.1 → 1.6.3

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.
Files changed (261) hide show
  1. package/dist/deprecated/components/MultiSelect_deprecated_.d.ts +24 -0
  2. package/dist/deprecated/components/MultiSelect_deprecated_.d.ts.map +1 -0
  3. package/dist/deprecated/components/dropdown/CwDropdownContainer.d.ts +17 -0
  4. package/dist/deprecated/components/dropdown/CwDropdownContainer.d.ts.map +1 -0
  5. package/dist/deprecated/components/multiselect/CwHeadFilter.d.ts +17 -0
  6. package/dist/deprecated/components/multiselect/CwHeadFilter.d.ts.map +1 -0
  7. package/dist/deprecated/components/multiselect/CwMultiselect.d.ts +13 -0
  8. package/dist/deprecated/components/multiselect/CwMultiselect.d.ts.map +1 -0
  9. package/dist/deprecated/components/multiselect/CwOptionList.d.ts +14 -0
  10. package/dist/deprecated/components/multiselect/CwOptionList.d.ts.map +1 -0
  11. package/dist/deprecated/components/tag/CwTag.d.ts +15 -0
  12. package/dist/deprecated/components/tag/CwTag.d.ts.map +1 -0
  13. package/dist/index.cjs.js +282 -199
  14. package/dist/index.css +2 -2
  15. package/dist/index.d.ts +96 -38
  16. package/dist/index.es.js +282 -199
  17. package/dist/playground/main.d.ts +4 -0
  18. package/dist/playground/main.d.ts.map +1 -0
  19. package/dist/src/common/interfaces/CwDataAttributes.d.ts +5 -0
  20. package/dist/src/common/interfaces/CwDataAttributes.d.ts.map +1 -0
  21. package/dist/src/components/control/action/button/CwButtonBadge.d.ts +63 -0
  22. package/dist/src/components/control/action/button/CwButtonBadge.d.ts.map +1 -0
  23. package/dist/src/components/control/action/button/CwButtonSwitch.d.ts +3 -3
  24. package/dist/src/components/control/action/button/CwButtonSwitch.d.ts.map +1 -1
  25. package/dist/src/components/control/action/button/CwPopoverButton.d.ts +33 -0
  26. package/dist/src/components/control/action/button/CwPopoverButton.d.ts.map +1 -0
  27. package/dist/src/components/control/action/contextual-menu/CwContextualMenu.d.ts +29 -0
  28. package/dist/src/components/control/action/contextual-menu/CwContextualMenu.d.ts.map +1 -0
  29. package/dist/src/components/control/action/search/CwAsyncSearch.d.ts +102 -0
  30. package/dist/src/components/control/action/search/CwAsyncSearch.d.ts.map +1 -0
  31. package/dist/src/components/control/action/search/CwSearchAsync.d.ts +7 -1
  32. package/dist/src/components/control/action/search/CwSearchAsync.d.ts.map +1 -1
  33. package/dist/src/components/control/action/search/CwSearchAsync.stories.d.ts +28 -0
  34. package/dist/src/components/control/action/search/CwSearchAsync.stories.d.ts.map +1 -1
  35. package/dist/src/components/control/action/tooltip-dialog/CwTooltipDialog.d.ts +19 -0
  36. package/dist/src/components/control/action/tooltip-dialog/CwTooltipDialog.d.ts.map +1 -0
  37. package/dist/src/components/control/choice/deprecated/CwDropdown.d.ts +19 -0
  38. package/dist/src/components/control/choice/deprecated/CwDropdown.d.ts.map +1 -0
  39. package/dist/src/components/control/choice/deprecated/CwDropdownNavigation.d.ts +21 -0
  40. package/dist/src/components/control/choice/deprecated/CwDropdownNavigation.d.ts.map +1 -0
  41. package/dist/src/components/control/choice/deprecated/MultiSelect_deprecated_.d.ts +24 -0
  42. package/dist/src/components/control/choice/deprecated/MultiSelect_deprecated_.d.ts.map +1 -0
  43. package/dist/src/components/control/choice/dropdown/CwDropdown.d.ts +19 -0
  44. package/dist/src/components/control/choice/dropdown/CwDropdown.d.ts.map +1 -0
  45. package/dist/src/components/control/choice/dropdown/CwDropdownContainer.d.ts +17 -0
  46. package/dist/src/components/control/choice/dropdown/CwDropdownContainer.d.ts.map +1 -0
  47. package/dist/src/components/control/choice/dropdown/CwDropdownNavigation.d.ts +21 -0
  48. package/dist/src/components/control/choice/dropdown/CwDropdownNavigation.d.ts.map +1 -0
  49. package/dist/src/components/control/choice/multiselect/CwHeadFilter.d.ts +17 -0
  50. package/dist/src/components/control/choice/multiselect/CwHeadFilter.d.ts.map +1 -0
  51. package/dist/src/components/control/choice/multiselect/CwMultiselect.d.ts +13 -0
  52. package/dist/src/components/control/choice/multiselect/CwMultiselect.d.ts.map +1 -0
  53. package/dist/src/components/control/choice/multiselect/CwOptionList.d.ts +14 -0
  54. package/dist/src/components/control/choice/multiselect/CwOptionList.d.ts.map +1 -0
  55. package/dist/src/components/control/choice/tag-selector/CwTagSelector.d.ts.map +1 -1
  56. package/dist/src/components/control/choice/tag-selector/CwTagSelector.stories.d.ts +2 -0
  57. package/dist/src/components/control/choice/tag-selector/CwTagSelector.stories.d.ts.map +1 -1
  58. package/dist/src/components/control/choice/tree-view/CwTreeView.d.ts +4 -4
  59. package/dist/src/components/control/choice/tree-view/CwTreeView.d.ts.map +1 -1
  60. package/dist/src/components/control/choice/tree-view/CwTreeView.stories.d.ts +5 -7
  61. package/dist/src/components/control/choice/tree-view/CwTreeView.stories.d.ts.map +1 -1
  62. package/dist/src/components/control/input/new-dates/CwDatePicker.d.ts +3 -2
  63. package/dist/src/components/control/input/new-dates/CwDatePicker.d.ts.map +1 -1
  64. package/dist/src/components/control/input/new-dates/CwDatePicker.stories.d.ts +5 -1
  65. package/dist/src/components/control/input/new-dates/CwDatePicker.stories.d.ts.map +1 -1
  66. package/dist/src/components/control/input/new-dates/CwDatePickerTemporal.d.ts +3 -2
  67. package/dist/src/components/control/input/new-dates/CwDatePickerTemporal.d.ts.map +1 -1
  68. package/dist/src/components/control/input/new-dates/CwDateRangePicker.d.ts +8 -2
  69. package/dist/src/components/control/input/new-dates/CwDateRangePicker.d.ts.map +1 -1
  70. package/dist/src/components/control/input/new-dates/CwDateRangePicker.stories.d.ts +10 -12
  71. package/dist/src/components/control/input/new-dates/CwDateRangePicker.stories.d.ts.map +1 -1
  72. package/dist/src/components/control/input/new-dates/CwDateRangePickerTemporal.d.ts +8 -2
  73. package/dist/src/components/control/input/new-dates/CwDateRangePickerTemporal.d.ts.map +1 -1
  74. package/dist/src/components/control/input/new-dates/CwDateTimePicker.d.ts +8 -2
  75. package/dist/src/components/control/input/new-dates/CwDateTimePicker.d.ts.map +1 -1
  76. package/dist/src/components/control/input/new-dates/CwDateTimePicker.stories.d.ts +12 -12
  77. package/dist/src/components/control/input/new-dates/CwDateTimePicker.stories.d.ts.map +1 -1
  78. package/dist/src/components/control/input/new-dates/CwDateTimePicker2.d.ts +47 -0
  79. package/dist/src/components/control/input/new-dates/CwDateTimePicker2.d.ts.map +1 -0
  80. package/dist/src/components/control/input/new-dates/CwDateTimePickerCompact.d.ts +8 -2
  81. package/dist/src/components/control/input/new-dates/CwDateTimePickerCompact.d.ts.map +1 -1
  82. package/dist/src/components/control/input/new-dates/CwDateTimePickerTemporal.d.ts +8 -2
  83. package/dist/src/components/control/input/new-dates/CwDateTimePickerTemporal.d.ts.map +1 -1
  84. package/dist/src/components/control/input/new-dates/CwTimePicker.d.ts +8 -2
  85. package/dist/src/components/control/input/new-dates/CwTimePicker.d.ts.map +1 -1
  86. package/dist/src/components/control/input/new-dates/CwTimePicker.stories.d.ts +15 -13
  87. package/dist/src/components/control/input/new-dates/CwTimePicker.stories.d.ts.map +1 -1
  88. package/dist/src/components/control/input/new-dates/datePickerHelpers.d.ts +10 -0
  89. package/dist/src/components/control/input/new-dates/datePickerHelpers.d.ts.map +1 -1
  90. package/dist/src/components/control/input/weekday/CwWeekdaySelector.d.ts +2 -1
  91. package/dist/src/components/control/input/weekday/CwWeekdaySelector.d.ts.map +1 -1
  92. package/dist/src/components/control/input/weekday/CwWeekdaySelector.stories.d.ts +3 -0
  93. package/dist/src/components/control/input/weekday/CwWeekdaySelector.stories.d.ts.map +1 -1
  94. package/dist/src/components/custom/scheduler-new/presentation/NewScheduler.d.ts +2 -1
  95. package/dist/src/components/custom/scheduler-new/presentation/NewScheduler.d.ts.map +1 -1
  96. package/dist/src/components/custom/scheduler-new/presentation/Scheduler.stories.d.ts +22 -1
  97. package/dist/src/components/custom/scheduler-new/presentation/Scheduler.stories.d.ts.map +1 -1
  98. package/dist/src/components/custom/scheduler-new/presentation/components/row/DefaultRowHeader.d.ts +2 -0
  99. package/dist/src/components/custom/scheduler-new/presentation/components/row/DefaultRowHeader.d.ts.map +1 -1
  100. package/dist/src/components/custom/scheduler-new/presentation/components/row/Event.d.ts +15 -0
  101. package/dist/src/components/custom/scheduler-new/presentation/components/row/Event.d.ts.map +1 -1
  102. package/dist/src/components/custom/scheduler-temporal/CwSchedulerComp2.d.ts +24 -0
  103. package/dist/src/components/custom/scheduler-temporal/CwSchedulerComp2.d.ts.map +1 -0
  104. package/dist/src/components/custom/scheduler-temporal/CwSuperSchedulerComp.d.ts +86 -0
  105. package/dist/src/components/custom/scheduler-temporal/CwSuperSchedulerComp.d.ts.map +1 -0
  106. package/dist/src/components/custom/scheduler-temporal/components/EventRender.d.ts +10 -0
  107. package/dist/src/components/custom/scheduler-temporal/components/EventRender.d.ts.map +1 -0
  108. package/dist/src/components/custom/scheduler-temporal/components/ResourceListRender.d.ts +20 -0
  109. package/dist/src/components/custom/scheduler-temporal/components/ResourceListRender.d.ts.map +1 -0
  110. package/dist/src/components/custom/scheduler-temporal/components/ResourceRender.d.ts +14 -0
  111. package/dist/src/components/custom/scheduler-temporal/components/ResourceRender.d.ts.map +1 -0
  112. package/dist/src/components/custom/scheduler-temporal/components/day_headers/DayHeader.d.ts +11 -0
  113. package/dist/src/components/custom/scheduler-temporal/components/day_headers/DayHeader.d.ts.map +1 -0
  114. package/dist/src/components/custom/scheduler-temporal/components/day_headers/MonthHeader.d.ts +11 -0
  115. package/dist/src/components/custom/scheduler-temporal/components/day_headers/MonthHeader.d.ts.map +1 -0
  116. package/dist/src/components/custom/scheduler-temporal/components/day_headers/MyDaysHeader.d.ts +13 -0
  117. package/dist/src/components/custom/scheduler-temporal/components/day_headers/MyDaysHeader.d.ts.map +1 -0
  118. package/dist/src/components/custom/scheduler-temporal/components/day_headers/WeekHeader.d.ts +11 -0
  119. package/dist/src/components/custom/scheduler-temporal/components/day_headers/WeekHeader.d.ts.map +1 -0
  120. package/dist/src/components/custom/scheduler-temporal/components/resources_title_list/ResourcesTitleList.d.ts +14 -0
  121. package/dist/src/components/custom/scheduler-temporal/components/resources_title_list/ResourcesTitleList.d.ts.map +1 -0
  122. package/dist/src/components/custom/scheduler-temporal/components/scheduler_content_area/SchedulerContentArea.d.ts +23 -0
  123. package/dist/src/components/custom/scheduler-temporal/components/scheduler_content_area/SchedulerContentArea.d.ts.map +1 -0
  124. package/dist/src/components/custom/scheduler-temporal/components/scheduler_header/SchedulerHeader.d.ts +8 -0
  125. package/dist/src/components/custom/scheduler-temporal/components/scheduler_header/SchedulerHeader.d.ts.map +1 -0
  126. package/dist/src/components/custom/scheduler-temporal/components/scheduler_timeline/SchedulerTimeLine.d.ts +12 -0
  127. package/dist/src/components/custom/scheduler-temporal/components/scheduler_timeline/SchedulerTimeLine.d.ts.map +1 -0
  128. package/dist/src/components/custom/scheduler-temporal/components/time_headers/TimeHeader.d.ts +12 -0
  129. package/dist/src/components/custom/scheduler-temporal/components/time_headers/TimeHeader.d.ts.map +1 -0
  130. package/dist/src/components/custom/scheduler-temporal/components/time_headers/TimeHeaderRow.d.ts +10 -0
  131. package/dist/src/components/custom/scheduler-temporal/components/time_headers/TimeHeaderRow.d.ts.map +1 -0
  132. package/dist/src/components/custom/scheduler-temporal/components/time_line/TimeLine.d.ts +12 -0
  133. package/dist/src/components/custom/scheduler-temporal/components/time_line/TimeLine.d.ts.map +1 -0
  134. package/dist/src/components/custom/scheduler-temporal/logic/dates/addMinutesToDateFromPx.d.ts +2 -0
  135. package/dist/src/components/custom/scheduler-temporal/logic/dates/addMinutesToDateFromPx.d.ts.map +1 -0
  136. package/dist/src/components/custom/scheduler-temporal/logic/dates/daysBetweenTwoDates.d.ts +2 -0
  137. package/dist/src/components/custom/scheduler-temporal/logic/dates/daysBetweenTwoDates.d.ts.map +1 -0
  138. package/dist/src/components/custom/scheduler-temporal/logic/dates/daysBetweenTwoDatesWithoutCeil.d.ts +2 -0
  139. package/dist/src/components/custom/scheduler-temporal/logic/dates/daysBetweenTwoDatesWithoutCeil.d.ts.map +1 -0
  140. package/dist/src/components/custom/scheduler-temporal/logic/dates/getFormatedTimeForHeader.d.ts +7 -0
  141. package/dist/src/components/custom/scheduler-temporal/logic/dates/getFormatedTimeForHeader.d.ts.map +1 -0
  142. package/dist/src/components/custom/scheduler-temporal/logic/dates/getMonthHeaderData.d.ts +10 -0
  143. package/dist/src/components/custom/scheduler-temporal/logic/dates/getMonthHeaderData.d.ts.map +1 -0
  144. package/dist/src/components/custom/scheduler-temporal/logic/dates/getUtcToday.d.ts +2 -0
  145. package/dist/src/components/custom/scheduler-temporal/logic/dates/getUtcToday.d.ts.map +1 -0
  146. package/dist/src/components/custom/scheduler-temporal/logic/dates/getWeekHeaderDataFromWeekRange.d.ts +7 -0
  147. package/dist/src/components/custom/scheduler-temporal/logic/dates/getWeekHeaderDataFromWeekRange.d.ts.map +1 -0
  148. package/dist/src/components/custom/scheduler-temporal/logic/dates/listOfDatesToWeeks.d.ts +8 -0
  149. package/dist/src/components/custom/scheduler-temporal/logic/dates/listOfDatesToWeeks.d.ts.map +1 -0
  150. package/dist/src/components/custom/scheduler-temporal/logic/divisions/calculateDivisionType.d.ts +2 -0
  151. package/dist/src/components/custom/scheduler-temporal/logic/divisions/calculateDivisionType.d.ts.map +1 -0
  152. package/dist/src/components/custom/scheduler-temporal/logic/divisions/calculateDivisions.d.ts +2 -0
  153. package/dist/src/components/custom/scheduler-temporal/logic/divisions/calculateDivisions.d.ts.map +1 -0
  154. package/dist/src/components/custom/scheduler-temporal/logic/filtering/filterAndProcessResources.d.ts +4 -0
  155. package/dist/src/components/custom/scheduler-temporal/logic/filtering/filterAndProcessResources.d.ts.map +1 -0
  156. package/dist/src/components/custom/scheduler-temporal/logic/filtering/filterEvents.d.ts +3 -0
  157. package/dist/src/components/custom/scheduler-temporal/logic/filtering/filterEvents.d.ts.map +1 -0
  158. package/dist/src/components/custom/scheduler-temporal/logic/filtering/filterResources.d.ts +3 -0
  159. package/dist/src/components/custom/scheduler-temporal/logic/filtering/filterResources.d.ts.map +1 -0
  160. package/dist/src/components/custom/scheduler-temporal/logic/filtering/hasSameProperties.d.ts +3 -0
  161. package/dist/src/components/custom/scheduler-temporal/logic/filtering/hasSameProperties.d.ts.map +1 -0
  162. package/dist/src/components/custom/scheduler-temporal/logic/onDrop/OnDrop.d.ts +13 -0
  163. package/dist/src/components/custom/scheduler-temporal/logic/onDrop/OnDrop.d.ts.map +1 -0
  164. package/dist/src/components/custom/scheduler-temporal/logic/pixels/getHeightLineScheduler.d.ts +2 -0
  165. package/dist/src/components/custom/scheduler-temporal/logic/pixels/getHeightLineScheduler.d.ts.map +1 -0
  166. package/dist/src/components/custom/scheduler-temporal/logic/pixels/getPixelsForEvent.d.ts +7 -0
  167. package/dist/src/components/custom/scheduler-temporal/logic/pixels/getPixelsForEvent.d.ts.map +1 -0
  168. package/dist/src/components/custom/scheduler-temporal/logic/pixels/heightScheduler.d.ts +3 -0
  169. package/dist/src/components/custom/scheduler-temporal/logic/pixels/heightScheduler.d.ts.map +1 -0
  170. package/dist/src/components/custom/scheduler-temporal/logic/pixels/heightSchedulerPinned.d.ts +2 -0
  171. package/dist/src/components/custom/scheduler-temporal/logic/pixels/heightSchedulerPinned.d.ts.map +1 -0
  172. package/dist/src/components/custom/scheduler-temporal/logic/state_handle/doubleClickOnResource.d.ts +4 -0
  173. package/dist/src/components/custom/scheduler-temporal/logic/state_handle/doubleClickOnResource.d.ts.map +1 -0
  174. package/dist/src/components/custom/scheduler-temporal/logic/state_handle/handlePropChanges.d.ts +6 -0
  175. package/dist/src/components/custom/scheduler-temporal/logic/state_handle/handlePropChanges.d.ts.map +1 -0
  176. package/dist/src/components/custom/scheduler-temporal/logic/state_handle/handleResourceChange.d.ts +5 -0
  177. package/dist/src/components/custom/scheduler-temporal/logic/state_handle/handleResourceChange.d.ts.map +1 -0
  178. package/dist/src/components/custom/scheduler-temporal/logic/state_handle/onDragOver.d.ts +2 -0
  179. package/dist/src/components/custom/scheduler-temporal/logic/state_handle/onDragOver.d.ts.map +1 -0
  180. package/dist/src/components/custom/scheduler-temporal/logic/state_handle/onDropEventToResource.d.ts +5 -0
  181. package/dist/src/components/custom/scheduler-temporal/logic/state_handle/onDropEventToResource.d.ts.map +1 -0
  182. package/dist/src/components/custom/scheduler-temporal/logic/state_handle/onResizeEvent.d.ts +4 -0
  183. package/dist/src/components/custom/scheduler-temporal/logic/state_handle/onResizeEvent.d.ts.map +1 -0
  184. package/dist/src/components/custom/scheduler-temporal/logic/strings/compareStrings.d.ts +2 -0
  185. package/dist/src/components/custom/scheduler-temporal/logic/strings/compareStrings.d.ts.map +1 -0
  186. package/dist/src/components/custom/scheduler-temporal/logic/strings/getGUID.d.ts +2 -0
  187. package/dist/src/components/custom/scheduler-temporal/logic/strings/getGUID.d.ts.map +1 -0
  188. package/dist/src/components/custom/scheduler-temporal/logic/ui/checkIfSlotAvailable.d.ts +3 -0
  189. package/dist/src/components/custom/scheduler-temporal/logic/ui/checkIfSlotAvailable.d.ts.map +1 -0
  190. package/dist/src/components/custom/scheduler-temporal/logic/ui/getEventsOfResource.d.ts +6 -0
  191. package/dist/src/components/custom/scheduler-temporal/logic/ui/getEventsOfResource.d.ts.map +1 -0
  192. package/dist/src/components/custom/scheduler-temporal/logic/ui/getHasPropsChanged.d.ts +4 -0
  193. package/dist/src/components/custom/scheduler-temporal/logic/ui/getHasPropsChanged.d.ts.map +1 -0
  194. package/dist/src/components/custom/scheduler-temporal/logic/ui/getTimeHeaders.d.ts +2 -0
  195. package/dist/src/components/custom/scheduler-temporal/logic/ui/getTimeHeaders.d.ts.map +1 -0
  196. package/dist/src/components/custom/scheduler-temporal/logic/ui/isAllowedToMove.d.ts +3 -0
  197. package/dist/src/components/custom/scheduler-temporal/logic/ui/isAllowedToMove.d.ts.map +1 -0
  198. package/dist/src/components/custom/scheduler-temporal/logic/ui/shouldTriggerScroll.d.ts +4 -0
  199. package/dist/src/components/custom/scheduler-temporal/logic/ui/shouldTriggerScroll.d.ts.map +1 -0
  200. package/dist/src/components/custom/scheduler-temporal/logic/ui/updateResourceVisibility.d.ts +3 -0
  201. package/dist/src/components/custom/scheduler-temporal/logic/ui/updateResourceVisibility.d.ts.map +1 -0
  202. package/dist/src/components/custom/scheduler-temporal/state/CblDragAndDrop.d.ts +11 -0
  203. package/dist/src/components/custom/scheduler-temporal/state/CblDragAndDrop.d.ts.map +1 -0
  204. package/dist/src/components/custom/scheduler-temporal/state/CwSchedulerProps.d.ts +43 -0
  205. package/dist/src/components/custom/scheduler-temporal/state/CwSchedulerProps.d.ts.map +1 -0
  206. package/dist/src/components/custom/scheduler-temporal/state/Resource.d.ts +14 -0
  207. package/dist/src/components/custom/scheduler-temporal/state/Resource.d.ts.map +1 -0
  208. package/dist/src/components/custom/scheduler-temporal/state/State.d.ts +25 -0
  209. package/dist/src/components/custom/scheduler-temporal/state/State.d.ts.map +1 -0
  210. package/dist/src/components/custom/scheduler-temporal/state/cblEvent.d.ts +18 -0
  211. package/dist/src/components/custom/scheduler-temporal/state/cblEvent.d.ts.map +1 -0
  212. package/dist/src/components/custom/scheduler-temporal/state/cblEventCompProps.d.ts +7 -0
  213. package/dist/src/components/custom/scheduler-temporal/state/cblEventCompProps.d.ts.map +1 -0
  214. package/dist/src/components/custom/scheduler-temporal/state/resourceCompProps2.d.ts +6 -0
  215. package/dist/src/components/custom/scheduler-temporal/state/resourceCompProps2.d.ts.map +1 -0
  216. package/dist/src/components/custom/super-scheduler/PinRowHeader.d.ts +0 -1
  217. package/dist/src/components/custom/super-scheduler/PinRowHeader.d.ts.map +1 -1
  218. package/dist/src/components/display/data/accordion/CwAccordionContainer.stories.d.ts +27 -0
  219. package/dist/src/components/display/data/accordion/CwAccordionContainer.stories.d.ts.map +1 -0
  220. package/dist/src/components/display/data/table/CwTable.d.ts.map +1 -1
  221. package/dist/src/components/display/data/table/CwTable.stories.d.ts +4 -0
  222. package/dist/src/components/display/data/table/CwTable.stories.d.ts.map +1 -1
  223. package/dist/src/components/display/graphics/progress/CwProgress.d.ts +13 -8
  224. package/dist/src/components/display/graphics/progress/CwProgress.d.ts.map +1 -1
  225. package/dist/src/components/display/graphics/progress/CwProgress.stories.d.ts +21 -5
  226. package/dist/src/components/display/graphics/progress/CwProgress.stories.d.ts.map +1 -1
  227. package/dist/src/components/display/graphics/skeleton/CwSkeletonCard.d.ts +21 -0
  228. package/dist/src/components/display/graphics/skeleton/CwSkeletonCard.d.ts.map +1 -0
  229. package/dist/src/components/display/text/badge/CwBadge.d.ts +9 -1
  230. package/dist/src/components/display/text/badge/CwBadge.d.ts.map +1 -1
  231. package/dist/src/components/display/text/badge/CwBadge.stories.d.ts +5 -0
  232. package/dist/src/components/display/text/badge/CwBadge.stories.d.ts.map +1 -1
  233. package/dist/src/components/display/text/tag/CwTag.d.ts +15 -0
  234. package/dist/src/components/display/text/tag/CwTag.d.ts.map +1 -0
  235. package/dist/src/components/display/text/tooltip/CwTooltip.d.ts +11 -0
  236. package/dist/src/components/display/text/tooltip/CwTooltip.d.ts.map +1 -0
  237. package/dist/src/components/layout/align/CwAlign.stories.d.ts +439 -0
  238. package/dist/src/components/layout/align/CwAlign.stories.d.ts.map +1 -0
  239. package/dist/src/components/layout/card/CwCard.d.ts +2 -2
  240. package/dist/src/components/layout/card/CwCard.d.ts.map +1 -1
  241. package/dist/src/components/layout/card/CwCard.stories.d.ts +4 -2
  242. package/dist/src/components/layout/card/CwCard.stories.d.ts.map +1 -1
  243. package/dist/src/components/layout/modal/legacy/cw_modal_confirm.d.ts +16 -0
  244. package/dist/src/components/layout/modal/legacy/cw_modal_confirm.d.ts.map +1 -0
  245. package/dist/src/components/layout/modal/legacy/cw_modal_iframe.d.ts +21 -0
  246. package/dist/src/components/layout/modal/legacy/cw_modal_iframe.d.ts.map +1 -0
  247. package/dist/src/index.d.ts +3 -2
  248. package/dist/src/index.d.ts.map +1 -1
  249. package/dist/src/playground/pages/ShadowRecipesPage.d.ts +3 -0
  250. package/dist/src/playground/pages/ShadowRecipesPage.d.ts.map +1 -0
  251. package/dist/src/storybook/componentMappings.d.ts +5 -15
  252. package/dist/src/storybook/componentMappings.d.ts.map +1 -1
  253. package/dist/src/storybook/pickerStoryArgs.d.ts +2 -18
  254. package/dist/src/storybook/pickerStoryArgs.d.ts.map +1 -1
  255. package/dist/test/components/display/graphics/skeleton/CwSkeletonCard.test.d.ts +2 -0
  256. package/dist/test/components/display/graphics/skeleton/CwSkeletonCard.test.d.ts.map +1 -0
  257. package/dist/test/jest.setup.d.ts +2 -0
  258. package/dist/test/jest.setup.d.ts.map +1 -0
  259. package/package.json +89 -89
  260. package/dist/src/common/functions/lazy.d.ts +0 -13
  261. package/dist/src/common/functions/lazy.d.ts.map +0 -1
@@ -0,0 +1,43 @@
1
+ import type { resourceCompProps2 } from "../CwSuperSchedulerComp";
2
+ import type { CblDragAndDrop } from "./CblDragAndDrop";
3
+ import type { cblEvent } from "./cblEvent";
4
+ import type { cblEventCompProps } from "./cblEventCompProps";
5
+ import type { Resource } from "./Resource";
6
+ export interface CwSchedulerProps {
7
+ airportSelected?: number;
8
+ canBePinned?: boolean;
9
+ cblEventComp: React.FC<cblEventCompProps>;
10
+ descriptionColumn?: string;
11
+ endDate: Date;
12
+ events: cblEvent[];
13
+ groupByFunction: boolean;
14
+ height: number;
15
+ id: string;
16
+ module?: string;
17
+ parent: any;
18
+ pinnedResources?: number[];
19
+ resourceComp: React.FC<resourceCompProps2>;
20
+ resourceName?: string;
21
+ resources: Resource[];
22
+ resourceContextMenuContents?: Array<{
23
+ key: string;
24
+ text: string;
25
+ icon: string;
26
+ color: string;
27
+ }>;
28
+ startDate: Date;
29
+ scheduler_clearPinned?: (id: any) => void;
30
+ scheduler_handleCblEventClick: (cblEvent: cblEvent, schedulerId: string) => void;
31
+ scheduler_handleCblEventClickRight?: (cblEvent: cblEvent, schedulerId: string) => void;
32
+ scheduler_handleCblEventDoubleClick: (cblEvent: cblEvent, schedulerId: string) => void;
33
+ scheduler_handleCblEventResize?: (cblDragNDrop: CblDragAndDrop) => void;
34
+ scheduler_handleDblClickOnResourceInScheduler?: (resource: Resource) => void;
35
+ scheduler_handleEmptyClick?: (schedulerId: string) => void;
36
+ scheduler_handleMultiselectChange?: (value: any, selectedObjectsArray: any) => void;
37
+ scheduler_handleOnClickEventContextMenu?: (e: any, cblEvent: cblEvent) => void;
38
+ scheduler_handleOnClickResourceContextMenu?: (e: any, resource: Resource) => void;
39
+ scheduler_handleOnDropCblEventsOnResource: (cblDragNDrop: CblDragAndDrop, resource: Resource) => void;
40
+ scheduler_handlePinned?: (resourceId: number, type: string, schedulerId: string) => void;
41
+ scheduler_handleOnClickContextMenuResource?: (date: Date, resource: Resource, key: string, schedulerId: string) => void;
42
+ }
43
+ //# sourceMappingURL=CwSchedulerProps.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CwSchedulerProps.d.ts","sourceRoot":"","sources":["../../../../../../src/components/custom/scheduler-temporal/state/CwSchedulerProps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAClE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAC3C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAC7D,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAE3C,MAAM,WAAW,gBAAgB;IAChC,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAAC,CAAC;IAC1C,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,OAAO,EAAE,IAAI,CAAC;IACd,MAAM,EAAE,QAAQ,EAAE,CAAC;IACnB,eAAe,EAAE,OAAO,CAAC;IACzB,MAAM,EAAE,MAAM,CAAC;IACf,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,CAA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E,QAAQ,EAAE,QAAQ,KAAK,IAAI,CAAC;IAClF,yCAAyC,EAAE,CAAC,YAAY,EAAE,cAAc,EAAE,QAAQ,EAAE,QAAQ,KAAK,IAAI,CAAC;IACtG,sBAAsB,CAAC,EAAE,CAAC,UAAU,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,KAAK,IAAI,CAAC;IACzF,0CAA0C,CAAC,EAAE,CAC5C,IAAI,EAAE,IAAI,EACV,QAAQ,EAAE,QAAQ,EAClB,GAAG,EAAE,MAAM,EACX,WAAW,EAAE,MAAM,KACf,IAAI,CAAC;CACV"}
@@ -0,0 +1,14 @@
1
+ import type { cblEvent } from "./cblEvent";
2
+ export declare class Resource {
3
+ uid: string;
4
+ id: number;
5
+ name: string;
6
+ maxTop: number;
7
+ events: cblEvent[];
8
+ isInViewport: boolean;
9
+ schedulerResourceDisplay: string | null;
10
+ isLoading: boolean;
11
+ data: any;
12
+ constructor(id: number, name: string, eventHeight: number, data?: any, schedulerResourceDisplay?: string | null);
13
+ }
14
+ //# sourceMappingURL=Resource.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Resource.d.ts","sourceRoot":"","sources":["../../../../../../src/components/custom/scheduler-temporal/state/Resource.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAE3C,qBAAa,QAAQ;IACpB,GAAG,EAAE,MAAM,CAAM;IACjB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,QAAQ,EAAE,CAAM;IACxB,YAAY,EAAE,OAAO,CAAS;IAC9B,wBAAwB,EAAE,MAAM,GAAG,IAAI,CAAC;IACxC,SAAS,EAAE,OAAO,CAAS;IAC3B,IAAI,EAAE,GAAG,CAAQ;gBAGhB,EAAE,EAAE,MAAM,EACV,IAAI,EAAE,MAAM,EACZ,WAAW,EAAE,MAAM,EACnB,IAAI,GAAE,GAAU,EAChB,wBAAwB,GAAE,MAAM,GAAG,IAAW;CAQ/C"}
@@ -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,7 @@
1
+ import type { cblEvent } from "./cblEvent";
2
+ export type cblEventCompProps = {
3
+ ref?: any;
4
+ cblEvent: cblEvent;
5
+ handleOnClickEventContextMenu?: (key: string, cblEvent: cblEvent) => void;
6
+ };
7
+ //# sourceMappingURL=cblEventCompProps.d.ts.map
@@ -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,6 @@
1
+ import type { Resource } from "./Resource";
2
+ export type resourceCompProps2 = {
3
+ resource: Resource;
4
+ handleOnClickResourceContextMenu?: (key: string, resource: Resource) => void;
5
+ };
6
+ //# sourceMappingURL=resourceCompProps2.d.ts.map
@@ -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"}
@@ -5,7 +5,6 @@ export interface PinRowHeaderProps extends RowHeaderDm {
5
5
  isPinned: boolean;
6
6
  contextMenuItems: MenuOption[];
7
7
  isLoading: boolean;
8
- highlightColor?: string;
9
8
  tooltip?: ReactNode;
10
9
  indicators?: ReactNode;
11
10
  }
@@ -1 +1 @@
1
- {"version":3,"file":"PinRowHeader.d.ts","sourceRoot":"","sources":["../../../../../src/components/custom/super-scheduler/PinRowHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,EAAE,EAAE,KAAK,SAAS,EAAW,MAAM,OAAO,CAAC;AAEnD,OAAO,EAAiB,KAAK,UAAU,EAAC,MAAM,iDAAiD,CAAC;AAEhG,OAAO,EAAC,WAAW,EAAE,cAAc,EAAC,MAAM,+DAA+D,CAAC;AAK1G,MAAM,WAAW,iBAAkB,SAAQ,WAAW;IACrD,QAAQ,EAAE,OAAO,CAAC;IAClB,gBAAgB,EAAE,UAAU,EAAE,CAAC;IAC/B,SAAS,EAAE,OAAO,CAAC;IACnB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,UAAU,CAAC,EAAE,SAAS,CAAC;CACvB;AAGD,eAAO,MAAM,YAAY,EAAE,EAAE,CAAC,cAAc,CAAC,iBAAiB,CAAC,CA+D9D,CAAC;AAGF,eAAO,MAAM,QAAQ,mCAkBpB,CAAC"}
1
+ {"version":3,"file":"PinRowHeader.d.ts","sourceRoot":"","sources":["../../../../../src/components/custom/super-scheduler/PinRowHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,EAAE,EAAE,KAAK,SAAS,EAAW,MAAM,OAAO,CAAC;AAEnD,OAAO,EAAiB,KAAK,UAAU,EAAC,MAAM,iDAAiD,CAAC;AAEhG,OAAO,EAAC,WAAW,EAAE,cAAc,EAAC,MAAM,+DAA+D,CAAC;AAK1G,MAAM,WAAW,iBAAkB,SAAQ,WAAW;IACrD,QAAQ,EAAE,OAAO,CAAC;IAClB,gBAAgB,EAAE,UAAU,EAAE,CAAC;IAC/B,SAAS,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,UAAU,CAAC,EAAE,SAAS,CAAC;CACvB;AAGD,eAAO,MAAM,YAAY,EAAE,EAAE,CAAC,cAAc,CAAC,iBAAiB,CAAC,CA+D9D,CAAC;AAGF,eAAO,MAAM,QAAQ,mCAkBpB,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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ACjB,4FAA4F;IAC5F,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,8DAA8D;IAC9D,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,YAAY,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC/B,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE;QACd,eAAe,CAAC,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC;QAC/B,QAAQ,CAAC,EAAE,CAAC,YAAY,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,EAAE,EAAE,YAAY,EAAE,CAAC,EAAE,KAAK,IAAI,CAAC;QACnE,IAAI,CAAC,EAAE,QAAQ,GAAG,UAAU,CAAC;KAC7B,CAAC;CACF;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoEG;AAEH,wBAAgB,OAAO,CAAC,CAAC,GAAG,GAAG,EAAE,EAChC,OAAO,EACP,IAAI,EACJ,UAAkB,EAClB,eAAiC,EACjC,iBAAiB,EACjB,QAAQ,EACR,SAAS,EACT,YAAY,EACZ,KAAK,EACL,kBAAkB,EAClB,EAAE,EACF,MAAM,EACN,UAA8C,EAC9C,MAAyB,EACzB,OAAe,EACf,YAAgB,EAChB,YAAY,EACZ,YAAoB,EACpB,SAAkB,EAClB,YAAY,EACZ,EAAE,QAAQ,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,qBAyW3B"}
@@ -45,6 +45,8 @@ export default meta;
45
45
  type Story = StoryObj<typeof meta>;
46
46
  /** Sortable columns, pagination with a page-size picker, column width classes. `loading` swaps the rows for skeletons. */
47
47
  export declare const Default: Story;
48
+ /** Editing a row hands the table a new `data` array; the table stays on the current page. Deleting the last row of the last page moves to the page before. */
49
+ export declare const EditKeepsPage: Story;
48
50
  /** Row actions go in the first column as icon buttons; `cw-table-col-buttons` lays them out. */
49
51
  export declare const WithActions: Story;
50
52
  /** `classNameRow` maps a row to one of the seven `cw-row-status-*` classes; one row per class, named after it, between two plain rows. */
@@ -55,5 +57,7 @@ export declare const Selectable: Story;
55
57
  export declare const Expandable: Story;
56
58
  /** `stickyHeader` with `scrollHeight` keeps the header in view while the body scrolls. */
57
59
  export declare const StickyHeader: Story;
60
+ /** `loading` swaps the rows for `skeletonRows` ghost rows; the header and the column widths stay put. */
61
+ export declare const Loading: Story;
58
62
  export declare const Empty: Story;
59
63
  //# 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;AAuDpE,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,8JAA8J;AAC9J,eAAO,MAAM,aAAa,EAAE,KAE3B,CAAC;AAEF,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 ProgressColor = 'primary' | 'success' | 'warning' | 'danger' | 'info';
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?: string;
13
- /** Bar size. Default 'regular'. */
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?: ProgressColor;
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;AAI1B,KAAK,aAAa,GAAG,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,GAAG,MAAM,CAAC;AAG3E,KAAK,YAAY,GAAG,OAAO,GAAG,SAAS,GAAG,OAAO,CAAC;AAGlD,MAAM,WAAW,eAAe;IAC/B,wEAAwE;IACxE,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,2GAA2G;IAC3G,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,kEAAkE;IAClE,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,uGAAuG;IACvG,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,mCAAmC;IACnC,IAAI,CAAC,EAAE,YAAY,CAAC;IACpB,0DAA0D;IAC1D,MAAM,CAAC,EAAE,KAAK,GAAG,QAAQ,CAAC;IAC1B,yCAAyC;IACzC,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,gFAAgF;IAChF,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,kCAAkC;IAClC,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,yFAAyF;IACzF,SAAS,CAAC,EAAE,MAAM,CAAC;CACnB;AAED;;;;;;;;;GASG;AACH,wBAAgB,UAAU,CAAC,EAC1B,KAAK,EACL,aAAqB,EACrB,KAAK,EACL,UAAU,EACV,IAAgB,EAChB,MAAc,EACd,KAAiB,EACjB,SAAiB,EACjB,SAAiB,EACjB,SAAS,EACT,EAAE,eAAe,qBA2DjB"}
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: string[];
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?: string | undefined;
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?: ("primary" | "danger" | "success" | "warning" | "info") | undefined;
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
- /** Every color at the selected value. */
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":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAI1C,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,yCAAyC;AACzC,eAAO,MAAM,MAAM,EAAE,KASpB,CAAC"}
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;AAK1B,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,YAAY;IAC5B,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;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,OAAO,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAyC1C,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":"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"}
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"}