@veeqo/transfigure 1.1.6 → 1.1.7

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 (230) hide show
  1. package/dist/components/ActionsDropdown/ActionsDropdown.d.ts +2 -0
  2. package/dist/components/ActionsDropdown/index.d.ts +1 -0
  3. package/dist/components/ActionsDropdown/types.d.ts +7 -0
  4. package/dist/components/Filters/Fields/NumberRangeFilter/MuiSlider.d.ts +1 -1
  5. package/dist/components/Views/PillNotifications/variants/styled.d.ts +3 -3
  6. package/dist/index.cjs +1 -1
  7. package/dist/index.css +1 -1
  8. package/dist/index.d.ts +1 -0
  9. package/dist/index.js +146 -144
  10. package/dist/index100.cjs +1 -1
  11. package/dist/index100.js +29 -33
  12. package/dist/index101.cjs +1 -1
  13. package/dist/index101.js +21 -29
  14. package/dist/index102.cjs +16 -77
  15. package/dist/index102.js +19 -96
  16. package/dist/index103.cjs +12 -1
  17. package/dist/index103.js +16 -2
  18. package/dist/index104.cjs +80 -1
  19. package/dist/index104.js +101 -19
  20. package/dist/index105.cjs +1 -1
  21. package/dist/index105.js +18 -7
  22. package/dist/index106.cjs +1 -1
  23. package/dist/index106.js +7 -63
  24. package/dist/index107.cjs +1 -1
  25. package/dist/index107.js +60 -26
  26. package/dist/index108.cjs +1 -13
  27. package/dist/index108.js +30 -17
  28. package/dist/index109.cjs +13 -1
  29. package/dist/index109.js +14 -33
  30. package/dist/index11.cjs +1 -1
  31. package/dist/index11.js +27 -18
  32. package/dist/index110.cjs +1 -1
  33. package/dist/index110.js +2 -26
  34. package/dist/index111.cjs +1 -7
  35. package/dist/index111.js +36 -10
  36. package/dist/index112.cjs +1 -1
  37. package/dist/index112.js +25 -62
  38. package/dist/index113.cjs +1 -1
  39. package/dist/index113.js +3 -3
  40. package/dist/index114.cjs +1 -0
  41. package/dist/index114.js +65 -0
  42. package/dist/index115.cjs +7 -0
  43. package/dist/index115.js +12 -0
  44. package/dist/index12.cjs +1 -1
  45. package/dist/index12.js +18 -21
  46. package/dist/index13.cjs +1 -1
  47. package/dist/index13.js +19 -41
  48. package/dist/index14.cjs +1 -1
  49. package/dist/index14.js +41 -23
  50. package/dist/index15.cjs +1 -1
  51. package/dist/index15.js +24 -36
  52. package/dist/index16.cjs +1 -1
  53. package/dist/index16.js +37 -33
  54. package/dist/index17.cjs +1 -1
  55. package/dist/index17.js +32 -49
  56. package/dist/index18.cjs +1 -1
  57. package/dist/index18.js +47 -38
  58. package/dist/index19.cjs +1 -1
  59. package/dist/index19.js +29 -29
  60. package/dist/index20.cjs +1 -1
  61. package/dist/index20.js +41 -58
  62. package/dist/index21.cjs +1 -1
  63. package/dist/index21.js +48 -42
  64. package/dist/index22.cjs +1 -1
  65. package/dist/index22.js +50 -44
  66. package/dist/index23.cjs +1 -1
  67. package/dist/index23.js +46 -7
  68. package/dist/index24.cjs +1 -1
  69. package/dist/index24.js +7 -11
  70. package/dist/index25.cjs +1 -1
  71. package/dist/index25.js +11 -64
  72. package/dist/index26.cjs +1 -1
  73. package/dist/index26.js +40 -39
  74. package/dist/index27.cjs +1 -1
  75. package/dist/index27.js +60 -37
  76. package/dist/index28.cjs +1 -1
  77. package/dist/index28.js +36 -53
  78. package/dist/index29.cjs +1 -1
  79. package/dist/index29.js +54 -51
  80. package/dist/index3.cjs +1 -1
  81. package/dist/index3.js +2 -2
  82. package/dist/index30.cjs +1 -1
  83. package/dist/index30.js +50 -81
  84. package/dist/index31.cjs +1 -1
  85. package/dist/index31.js +81 -35
  86. package/dist/index32.cjs +1 -1
  87. package/dist/index32.js +38 -33
  88. package/dist/index33.cjs +1 -1
  89. package/dist/index33.js +33 -10
  90. package/dist/index34.cjs +1 -1
  91. package/dist/index34.js +10 -39
  92. package/dist/index35.cjs +1 -1
  93. package/dist/index35.js +38 -102
  94. package/dist/index36.cjs +1 -1
  95. package/dist/index36.js +103 -19
  96. package/dist/index37.cjs +1 -1
  97. package/dist/index37.js +17 -134
  98. package/dist/index38.cjs +1 -1
  99. package/dist/index38.js +135 -49
  100. package/dist/index39.cjs +1 -1
  101. package/dist/index39.js +51 -32
  102. package/dist/index4.cjs +1 -1
  103. package/dist/index4.js +2 -2
  104. package/dist/index40.cjs +1 -1
  105. package/dist/index40.js +31 -53
  106. package/dist/index41.cjs +1 -1
  107. package/dist/index41.js +54 -48
  108. package/dist/index42.cjs +1 -1
  109. package/dist/index42.js +41 -81
  110. package/dist/index43.cjs +1 -1
  111. package/dist/index43.js +81 -41
  112. package/dist/index44.cjs +1 -1
  113. package/dist/index44.js +48 -5
  114. package/dist/index45.cjs +1 -1
  115. package/dist/index45.js +5 -45
  116. package/dist/index46.cjs +1 -1
  117. package/dist/index46.js +44 -41
  118. package/dist/index47.cjs +1 -1
  119. package/dist/index47.js +42 -19
  120. package/dist/index48.cjs +1 -1
  121. package/dist/index48.js +19 -8
  122. package/dist/index49.cjs +1 -1
  123. package/dist/index49.js +7 -22
  124. package/dist/index5.cjs +1 -1
  125. package/dist/index5.js +2 -2
  126. package/dist/index50.cjs +1 -1
  127. package/dist/index50.js +23 -2
  128. package/dist/index51.cjs +1 -1
  129. package/dist/index51.js +2 -4
  130. package/dist/index52.cjs +1 -1
  131. package/dist/index52.js +4 -11
  132. package/dist/index53.cjs +1 -1
  133. package/dist/index53.js +10 -12
  134. package/dist/index54.cjs +1 -1
  135. package/dist/index54.js +12 -11
  136. package/dist/index55.cjs +1 -1
  137. package/dist/index55.js +11 -184
  138. package/dist/index56.cjs +1 -1
  139. package/dist/index56.js +183 -25
  140. package/dist/index57.cjs +1 -1
  141. package/dist/index57.js +26 -24
  142. package/dist/index58.cjs +1 -1
  143. package/dist/index58.js +19 -22
  144. package/dist/index59.cjs +1 -1
  145. package/dist/index59.js +25 -97
  146. package/dist/index6.cjs +1 -1
  147. package/dist/index6.js +2 -2
  148. package/dist/index60.cjs +1 -1
  149. package/dist/index60.js +99 -8
  150. package/dist/index61.cjs +1 -1
  151. package/dist/index61.js +8 -51
  152. package/dist/index62.cjs +1 -1
  153. package/dist/index62.js +50 -60
  154. package/dist/index63.cjs +1 -1
  155. package/dist/index63.js +57 -18
  156. package/dist/index64.cjs +1 -1
  157. package/dist/index64.js +22 -18
  158. package/dist/index65.cjs +1 -1
  159. package/dist/index65.js +16 -26
  160. package/dist/index66.cjs +1 -1
  161. package/dist/index66.js +27 -56
  162. package/dist/index67.cjs +1 -1
  163. package/dist/index67.js +57 -341
  164. package/dist/index68.cjs +1 -1
  165. package/dist/index68.js +337 -55
  166. package/dist/index69.cjs +1 -1
  167. package/dist/index69.js +50 -47
  168. package/dist/index7.cjs +1 -1
  169. package/dist/index7.js +4 -4
  170. package/dist/index70.cjs +1 -1
  171. package/dist/index70.js +51 -32
  172. package/dist/index71.cjs +1 -1
  173. package/dist/index71.js +30 -24
  174. package/dist/index72.cjs +1 -1
  175. package/dist/index72.js +26 -32
  176. package/dist/index73.cjs +1 -1
  177. package/dist/index73.js +37 -12
  178. package/dist/index74.cjs +1 -1
  179. package/dist/index74.js +13 -9
  180. package/dist/index75.cjs +1 -1
  181. package/dist/index75.js +9 -17
  182. package/dist/index76.cjs +1 -1
  183. package/dist/index76.js +14 -16
  184. package/dist/index77.cjs +1 -1
  185. package/dist/index77.js +18 -49
  186. package/dist/index78.cjs +1 -1
  187. package/dist/index78.js +50 -21
  188. package/dist/index79.cjs +1 -1
  189. package/dist/index79.js +21 -7
  190. package/dist/index80.cjs +1 -1
  191. package/dist/index80.js +7 -2
  192. package/dist/index81.cjs +1 -1
  193. package/dist/index81.js +2 -9
  194. package/dist/index82.cjs +1 -3
  195. package/dist/index82.js +8 -13
  196. package/dist/index83.cjs +3 -1
  197. package/dist/index83.js +13 -8
  198. package/dist/index84.cjs +1 -1
  199. package/dist/index84.js +9 -41
  200. package/dist/index85.cjs +1 -1
  201. package/dist/index85.js +4 -8
  202. package/dist/index86.cjs +1 -1
  203. package/dist/index86.js +39 -116
  204. package/dist/index87.cjs +1 -1
  205. package/dist/index87.js +9 -19
  206. package/dist/index88.cjs +1 -1
  207. package/dist/index88.js +118 -13
  208. package/dist/index89.cjs +1 -104
  209. package/dist/index89.js +17 -118
  210. package/dist/index90.cjs +1 -1
  211. package/dist/index90.js +13 -68
  212. package/dist/index91.cjs +104 -1
  213. package/dist/index91.js +119 -28
  214. package/dist/index92.cjs +1 -1
  215. package/dist/index92.js +68 -2
  216. package/dist/index93.cjs +1 -1
  217. package/dist/index93.js +27 -39
  218. package/dist/index94.cjs +1 -1
  219. package/dist/index94.js +2 -11
  220. package/dist/index95.cjs +1 -12
  221. package/dist/index95.js +41 -16
  222. package/dist/index96.cjs +1 -1
  223. package/dist/index96.js +10 -14
  224. package/dist/index97.cjs +1 -1
  225. package/dist/index97.js +1 -1
  226. package/dist/index98.cjs +1 -1
  227. package/dist/index98.js +14 -20
  228. package/dist/index99.cjs +1 -19
  229. package/dist/index99.js +33 -24
  230. package/package.json +1 -1
@@ -0,0 +1,2 @@
1
+ import { ActionsDropdownProps } from './types';
2
+ export declare const ActionsDropdown: ({ children, totalCount, selectedCount, itemLabel }: ActionsDropdownProps) => JSX.Element;
@@ -0,0 +1 @@
1
+ export { ActionsDropdown } from './ActionsDropdown';
@@ -0,0 +1,7 @@
1
+ import { ReactNode } from 'react';
2
+ export type ActionsDropdownProps = {
3
+ children: ReactNode;
4
+ totalCount: number;
5
+ selectedCount: number;
6
+ itemLabel?: string;
7
+ };
@@ -24,4 +24,4 @@ export declare const MUISlider: import('react').ComponentType<Pick<{
24
24
  valueLabelFormat?: string | ((value: number, index: number) => React.ReactNode);
25
25
  } & import('@material-ui/core/OverridableComponent').CommonProps<import('@material-ui/core').SliderTypeMap<{}, "span">> & Pick<Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "key" | keyof import('react').HTMLAttributes<HTMLSpanElement>> & {
26
26
  ref?: ((instance: HTMLSpanElement | null) => void) | import('react').RefObject<HTMLSpanElement> | null | undefined;
27
- }, "slot" | "title" | "dir" | "onError" | "id" | "ref" | "children" | "placeholder" | "key" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "draggable" | "hidden" | "lang" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture">, "slot" | "style" | "title" | "track" | "name" | "dir" | "onError" | "value" | "id" | "ref" | "children" | "placeholder" | "key" | "onChange" | "disabled" | "max" | "min" | "step" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "draggable" | "hidden" | "lang" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "scale" | "innerRef" | "getAriaLabel" | "getAriaValueText" | "marks" | "onChangeCommitted" | "orientation" | "ThumbComponent" | "ValueLabelComponent" | "valueLabelDisplay" | "valueLabelFormat"> & import('@material-ui/core').StyledComponentProps<"track" | "root" | "thumb" | "valueLabel" | "rail">>;
27
+ }, "slot" | "title" | "dir" | "onError" | "id" | "ref" | "children" | "placeholder" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "draggable" | "hidden" | "lang" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key">, "slot" | "style" | "title" | "track" | "name" | "dir" | "onError" | "value" | "id" | "ref" | "children" | "placeholder" | "className" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "draggable" | "hidden" | "lang" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "step" | "disabled" | "key" | "max" | "min" | "scale" | "innerRef" | "getAriaLabel" | "getAriaValueText" | "marks" | "onChangeCommitted" | "orientation" | "ThumbComponent" | "ValueLabelComponent" | "valueLabelDisplay" | "valueLabelFormat"> & import('@material-ui/core').StyledComponentProps<"track" | "root" | "thumb" | "valueLabel" | "rail">>;
@@ -10,14 +10,12 @@ export declare const Notification: import('styled-components').StyledComponent<i
10
10
  ref?: ((instance: HTMLDivElement | null) => void) | import('react').RefObject<HTMLDivElement> | null | undefined;
11
11
  children?: import('react').ReactNode;
12
12
  placeholder?: string | undefined;
13
- key?: (import('react').Key | null) | undefined;
14
- onChange?: import('react').FormEventHandler<HTMLDivElement> | undefined;
13
+ className?: string | undefined;
15
14
  defaultChecked?: boolean | undefined;
16
15
  defaultValue?: (string | number | ReadonlyArray<string>) | undefined;
17
16
  suppressContentEditableWarning?: boolean | undefined;
18
17
  suppressHydrationWarning?: boolean | undefined;
19
18
  accessKey?: string | undefined;
20
- className?: string | undefined;
21
19
  contentEditable?: ((boolean | "true" | "false") | "inherit") | undefined;
22
20
  contextMenu?: string | undefined;
23
21
  draggable?: (boolean | "true" | "false") | undefined;
@@ -117,6 +115,7 @@ export declare const Notification: import('styled-components').StyledComponent<i
117
115
  onFocusCapture?: import('react').FocusEventHandler<HTMLDivElement> | undefined;
118
116
  onBlur?: import('react').FocusEventHandler<HTMLDivElement> | undefined;
119
117
  onBlurCapture?: import('react').FocusEventHandler<HTMLDivElement> | undefined;
118
+ onChange?: import('react').FormEventHandler<HTMLDivElement> | undefined;
120
119
  onChangeCapture?: import('react').FormEventHandler<HTMLDivElement> | undefined;
121
120
  onBeforeInput?: import('react').FormEventHandler<HTMLDivElement> | undefined;
122
121
  onBeforeInputCapture?: import('react').FormEventHandler<HTMLDivElement> | undefined;
@@ -259,6 +258,7 @@ export declare const Notification: import('styled-components').StyledComponent<i
259
258
  onAnimationIterationCapture?: import('react').AnimationEventHandler<HTMLDivElement> | undefined;
260
259
  onTransitionEnd?: import('react').TransitionEventHandler<HTMLDivElement> | undefined;
261
260
  onTransitionEndCapture?: import('react').TransitionEventHandler<HTMLDivElement> | undefined;
261
+ key?: (import('react').Key | null) | undefined;
262
262
  } & {
263
263
  theme?: any;
264
264
  }>, any, {
package/dist/index.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./index2.cjs"),o=require("./index3.cjs"),n=require("./index4.cjs"),a=require("./index5.cjs"),c=require("./index6.cjs"),u=require("./index7.cjs"),l=require("./index8.cjs"),F=require("./index9.cjs"),d=require("./index10.cjs"),q=require("./index11.cjs"),g=require("./index12.cjs"),w=require("./index13.cjs"),A=require("./index14.cjs"),V=require("./index15.cjs"),C=require("./index16.cjs"),p=require("./index17.cjs"),h=require("./index18.cjs"),v=require("./index19.cjs"),b=require("./index20.cjs"),R=require("./index21.cjs"),m=require("./index22.cjs"),M=require("./index23.cjs"),T=require("./index24.cjs"),D=require("./index25.cjs"),y=require("./index26.cjs"),S=require("./index27.cjs"),P=require("./index28.cjs"),N=require("./index29.cjs"),O=require("./index30.cjs"),U=require("./index31.cjs"),L=require("./index32.cjs"),B=require("./index33.cjs"),f=require("./index34.cjs"),k=require("./index35.cjs"),I=require("./index36.cjs"),x=require("./index37.cjs"),H=require("./index38.cjs"),E=require("./index39.cjs"),_=require("./index40.cjs"),G=require("./index41.cjs"),W=require("./index42.cjs"),X=require("./index43.cjs"),$=require("./index44.cjs"),J=require("./index45.cjs"),K=require("./index46.cjs"),e=require("./index47.cjs"),r=require("./index48.cjs"),j=require("./index49.cjs"),z=require("./index50.cjs"),Q=require("./index51.cjs"),Y=require("./index52.cjs"),i=require("./index53.cjs"),t=require("./index54.cjs"),Z=require("./index55.cjs"),ee=require("./index56.cjs"),re=require("./index57.cjs"),ie=require("./index58.cjs"),te=require("./index59.cjs"),se=require("./index60.cjs"),oe=require("./index61.cjs"),ne=require("./index62.cjs"),ae=require("./index63.cjs"),ce=require("./index64.cjs"),ue=require("./index65.cjs"),le=require("./index66.cjs"),Fe=require("./index67.cjs"),de=require("./index68.cjs"),qe=require("./index69.cjs"),ge=require("./index70.cjs"),we=require("./index71.cjs"),Ae=require("./index72.cjs"),Ve=require("./index73.cjs"),Ce=require("./index74.cjs"),pe=require("./index75.cjs"),he=require("./index76.cjs"),ve=require("./index77.cjs"),be=require("./index78.cjs"),Re=require("./index79.cjs");exports.SortingMode=s.SortingMode;exports.deleteCustomView=o.deleteCustomView;exports.patchCurrentUser=n.patchCurrentUser;exports.patchCustomView=a.patchCustomView;exports.createCustomView=c.createCustomView;exports.axios=u.axios;exports.useBusinessLogic=l.useBusinessLogic;exports.BusinessLogicManager=F.BusinessLogicManager;exports.setMockedBusinessLogic=d.setMockedBusinessLogic;exports.ErrorBoundary=q.ErrorBoundary;exports.SearchBar=g.SearchBar;exports.TableControls=w.TableControls;exports.ToastsManager=A.ToastsManager;exports.ActiveFilters=V.ActiveFilters;exports.FilterArrayField=C.FilterArrayField;exports.FilterField=p.FilterField;exports.ActiveFilterTag=h.ActiveFilterTag;exports.ActiveFilterArrayTag=v.ActiveFilterArrayTag;exports.ActiveFilterDateRangeTag=b.ActiveFilterDateRangeTag;exports.ActiveFilterNumberRangeTag=R.ActiveFilterNumberRangeTag;exports.ActiveAsyncRadioFilter=m.ActiveAsyncRadioFilter;exports.ActiveFilterFooter=M.ActiveFilterFooter;exports.ActiveFilterHeader=T.ActiveFilterHeader;exports.AsyncCheckboxFilter=D.AsyncCheckboxFilter;exports.AsyncRadioFilter=y.AsyncRadioFilter;exports.CheckboxFilter=S.CheckboxFilter;exports.DateRangeFilter=P.DateRangeFilter;exports.MultipleFieldFilter=N.MultipleFieldFilter;exports.NumberRangeFilter=O.NumberRangeFilter;exports.RadioFilter=U.RadioFilter;exports.FiltersDropdown=L.FiltersDropdown;exports.FiltersList=B.FiltersList;exports.FilterGroup=f.FilterGroup;exports.ViewTab=k.ViewTab;exports.CreateView=I.CreateView;exports.EditDropdown=x.EditDropdown;exports.OptionsDropdown=H.OptionsDropdown;exports.PillNotifications=E.PillNotifications;exports.SortableViews=_.SortableViews;exports.UnsavedChangesPill=G.UnsavedChangesPill;exports.ViewDropdowns=W.ViewDropdowns;exports.ViewList=X.ViewList;exports.SHARING_OPTIONS=$.SHARING_OPTIONS;exports.TableManagement=J.TableManagement;exports.RefreshButton=K.RefreshButton;exports.DateOptionMap=e.DateOptionMap;exports.DateValue=e.DateValue;exports.FilterChoiceValue=r.FilterChoiceValue;exports.SWR_HOOK_OPTIONS=r.SWR_HOOK_OPTIONS;exports.ModalProvider=j.ModalProvider;exports.ModalId=z.ModalId;exports.useModal=Q.useModal;exports.withCSRF=Y.withCSRF;exports.onlyJSON=i.onlyJSON;exports.vndAPI=i.vndAPI;exports.fetcherV1=t.fetcherV1;exports.fetcherV2=t.fetcherV2;exports.useDropdownManager=Z.useDropdownManager;exports.useDuplicateActiveView=ee.useDuplicateActiveView;exports.useFilterArrayLabel=re.useFilterArrayLabel;exports.useFilterLabel=ie.useFilterLabel;exports.usePersistUnsavedChanges=te.usePersistUnsavedChanges;exports.useStores=se.useStores;exports.useViews=oe.useViews;exports.useViewUrlChange=ne.useViewUrlChange;exports.useUrlChange=ae.useUrlChange;exports.useCustomViews=ce.useCustomViews;exports.useColumns=ue.useColumns;exports.useUrlParams=le.useUrlParams;exports.Filters=Fe.Filters;exports.NumberRangeFilterClass=de.NumberRangeFilter;exports.RangeFilter=qe.RangeFilter;exports.Views=ge.Views;exports.Notifications=we.Notifications;exports.Table=Ae.Table;exports.MobXProvider=Ve.MobXProvider;exports.getAsyncOptions=Ce.getAsyncOptions;exports.getFetcherFunction=pe.getFetcherFunction;exports.isValidDateRange=he.isValidDateRange;exports.viewsAdapter=ve.viewsAdapter;exports.createAllView=be.createAllView;exports.mockUseStores=Re.mockUseStores;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./index2.cjs"),o=require("./index3.cjs"),n=require("./index4.cjs"),a=require("./index5.cjs"),c=require("./index6.cjs"),u=require("./index7.cjs"),l=require("./index8.cjs"),F=require("./index9.cjs"),d=require("./index10.cjs"),q=require("./index11.cjs"),g=require("./index12.cjs"),w=require("./index13.cjs"),A=require("./index14.cjs"),V=require("./index15.cjs"),p=require("./index16.cjs"),C=require("./index17.cjs"),h=require("./index18.cjs"),v=require("./index19.cjs"),b=require("./index20.cjs"),R=require("./index21.cjs"),m=require("./index22.cjs"),D=require("./index23.cjs"),M=require("./index24.cjs"),T=require("./index25.cjs"),y=require("./index26.cjs"),S=require("./index27.cjs"),P=require("./index28.cjs"),N=require("./index29.cjs"),O=require("./index30.cjs"),U=require("./index31.cjs"),L=require("./index32.cjs"),B=require("./index33.cjs"),f=require("./index34.cjs"),k=require("./index35.cjs"),I=require("./index36.cjs"),x=require("./index37.cjs"),H=require("./index38.cjs"),E=require("./index39.cjs"),_=require("./index40.cjs"),G=require("./index41.cjs"),W=require("./index42.cjs"),X=require("./index43.cjs"),$=require("./index44.cjs"),J=require("./index45.cjs"),K=require("./index46.cjs"),j=require("./index47.cjs"),e=require("./index48.cjs"),r=require("./index49.cjs"),z=require("./index50.cjs"),Q=require("./index51.cjs"),Y=require("./index52.cjs"),Z=require("./index53.cjs"),i=require("./index54.cjs"),t=require("./index55.cjs"),ee=require("./index56.cjs"),re=require("./index57.cjs"),ie=require("./index58.cjs"),te=require("./index59.cjs"),se=require("./index60.cjs"),oe=require("./index61.cjs"),ne=require("./index62.cjs"),ae=require("./index63.cjs"),ce=require("./index64.cjs"),ue=require("./index65.cjs"),le=require("./index66.cjs"),Fe=require("./index67.cjs"),de=require("./index68.cjs"),qe=require("./index69.cjs"),ge=require("./index70.cjs"),we=require("./index71.cjs"),Ae=require("./index72.cjs"),Ve=require("./index73.cjs"),pe=require("./index74.cjs"),Ce=require("./index75.cjs"),he=require("./index76.cjs"),ve=require("./index77.cjs"),be=require("./index78.cjs"),Re=require("./index79.cjs"),me=require("./index80.cjs");exports.SortingMode=s.SortingMode;exports.deleteCustomView=o.deleteCustomView;exports.patchCurrentUser=n.patchCurrentUser;exports.patchCustomView=a.patchCustomView;exports.createCustomView=c.createCustomView;exports.axios=u.axios;exports.useBusinessLogic=l.useBusinessLogic;exports.BusinessLogicManager=F.BusinessLogicManager;exports.setMockedBusinessLogic=d.setMockedBusinessLogic;exports.ActionsDropdown=q.ActionsDropdown;exports.ErrorBoundary=g.ErrorBoundary;exports.SearchBar=w.SearchBar;exports.TableControls=A.TableControls;exports.ToastsManager=V.ToastsManager;exports.ActiveFilters=p.ActiveFilters;exports.FilterArrayField=C.FilterArrayField;exports.FilterField=h.FilterField;exports.ActiveFilterTag=v.ActiveFilterTag;exports.ActiveFilterArrayTag=b.ActiveFilterArrayTag;exports.ActiveFilterDateRangeTag=R.ActiveFilterDateRangeTag;exports.ActiveFilterNumberRangeTag=m.ActiveFilterNumberRangeTag;exports.ActiveAsyncRadioFilter=D.ActiveAsyncRadioFilter;exports.ActiveFilterFooter=M.ActiveFilterFooter;exports.ActiveFilterHeader=T.ActiveFilterHeader;exports.AsyncCheckboxFilter=y.AsyncCheckboxFilter;exports.AsyncRadioFilter=S.AsyncRadioFilter;exports.CheckboxFilter=P.CheckboxFilter;exports.DateRangeFilter=N.DateRangeFilter;exports.MultipleFieldFilter=O.MultipleFieldFilter;exports.NumberRangeFilter=U.NumberRangeFilter;exports.RadioFilter=L.RadioFilter;exports.FiltersDropdown=B.FiltersDropdown;exports.FiltersList=f.FiltersList;exports.FilterGroup=k.FilterGroup;exports.ViewTab=I.ViewTab;exports.CreateView=x.CreateView;exports.EditDropdown=H.EditDropdown;exports.OptionsDropdown=E.OptionsDropdown;exports.PillNotifications=_.PillNotifications;exports.SortableViews=G.SortableViews;exports.UnsavedChangesPill=W.UnsavedChangesPill;exports.ViewDropdowns=X.ViewDropdowns;exports.ViewList=$.ViewList;exports.SHARING_OPTIONS=J.SHARING_OPTIONS;exports.TableManagement=K.TableManagement;exports.RefreshButton=j.RefreshButton;exports.DateOptionMap=e.DateOptionMap;exports.DateValue=e.DateValue;exports.FilterChoiceValue=r.FilterChoiceValue;exports.SWR_HOOK_OPTIONS=r.SWR_HOOK_OPTIONS;exports.ModalProvider=z.ModalProvider;exports.ModalId=Q.ModalId;exports.useModal=Y.useModal;exports.withCSRF=Z.withCSRF;exports.onlyJSON=i.onlyJSON;exports.vndAPI=i.vndAPI;exports.fetcherV1=t.fetcherV1;exports.fetcherV2=t.fetcherV2;exports.useDropdownManager=ee.useDropdownManager;exports.useDuplicateActiveView=re.useDuplicateActiveView;exports.useFilterArrayLabel=ie.useFilterArrayLabel;exports.useFilterLabel=te.useFilterLabel;exports.usePersistUnsavedChanges=se.usePersistUnsavedChanges;exports.useStores=oe.useStores;exports.useViews=ne.useViews;exports.useViewUrlChange=ae.useViewUrlChange;exports.useUrlChange=ce.useUrlChange;exports.useCustomViews=ue.useCustomViews;exports.useColumns=le.useColumns;exports.useUrlParams=Fe.useUrlParams;exports.Filters=de.Filters;exports.NumberRangeFilterClass=qe.NumberRangeFilter;exports.RangeFilter=ge.RangeFilter;exports.Views=we.Views;exports.Notifications=Ae.Notifications;exports.Table=Ve.Table;exports.MobXProvider=pe.MobXProvider;exports.getAsyncOptions=Ce.getAsyncOptions;exports.getFetcherFunction=he.getFetcherFunction;exports.isValidDateRange=ve.isValidDateRange;exports.viewsAdapter=be.viewsAdapter;exports.createAllView=Re.createAllView;exports.mockUseStores=me.mockUseStores;
package/dist/index.css CHANGED
@@ -1 +1 @@
1
- ._refreshTooltip_v0eu8_1{position:relative}._refreshButton_v0eu8_5{padding-right:var(--sizes-sm)}._refreshIndicator_v0eu8_9{height:var(--sizes-3);min-width:var(--sizes-3)}
1
+ ._actionsHeaderContainer_fgqms_1>div{white-space:nowrap;flex-wrap:nowrap}._actionsHeaderContainer_fgqms_1{padding:var(--sizes-3);border-bottom:var(--sizes-line) solid var(--colors-neutral-grey-base)}._refreshTooltip_v0eu8_1{position:relative}._refreshButton_v0eu8_5{padding-right:var(--sizes-sm)}._refreshIndicator_v0eu8_9{height:var(--sizes-3);min-width:var(--sizes-3)}
package/dist/index.d.ts CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from './api/index';
2
2
  export * from './axiosWrappers';
3
3
  export * from './BusinessLogic';
4
+ export * from './components/ActionsDropdown';
4
5
  export * from './components/ErrorBoundary';
5
6
  export * from './components/SearchBar';
6
7
  export * from './components/TableControls';
package/dist/index.js CHANGED
@@ -4,159 +4,161 @@ import { patchCurrentUser as i } from "./index4.js";
4
4
  import { patchCustomView as x } from "./index5.js";
5
5
  import { createCustomView as s } from "./index6.js";
6
6
  import { axios as n } from "./index7.js";
7
- import { useBusinessLogic as F } from "./index8.js";
7
+ import { useBusinessLogic as c } from "./index8.js";
8
8
  import { BusinessLogicManager as d } from "./index9.js";
9
9
  import { setMockedBusinessLogic as w } from "./index10.js";
10
- import { ErrorBoundary as V } from "./index11.js";
11
- import { SearchBar as h } from "./index12.js";
12
- import { TableControls as R } from "./index13.js";
13
- import { ToastsManager as M } from "./index14.js";
14
- import { ActiveFilters as S } from "./index15.js";
15
- import { FilterArrayField as N } from "./index16.js";
16
- import { FilterField as y } from "./index17.js";
17
- import { ActiveFilterTag as L } from "./index18.js";
18
- import { ActiveFilterArrayTag as B } from "./index19.js";
19
- import { ActiveFilterDateRangeTag as k } from "./index20.js";
20
- import { ActiveFilterNumberRangeTag as _ } from "./index21.js";
21
- import { ActiveAsyncRadioFilter as G } from "./index22.js";
22
- import { ActiveFilterFooter as K } from "./index23.js";
23
- import { ActiveFilterHeader as X } from "./index24.js";
24
- import { AsyncCheckboxFilter as q } from "./index25.js";
25
- import { AsyncRadioFilter as Q } from "./index26.js";
26
- import { CheckboxFilter as Z } from "./index27.js";
27
- import { DateRangeFilter as rr } from "./index28.js";
28
- import { MultipleFieldFilter as or } from "./index29.js";
29
- import { NumberRangeFilter as pr } from "./index30.js";
30
- import { RadioFilter as ir } from "./index31.js";
31
- import { FiltersDropdown as xr } from "./index32.js";
32
- import { FiltersList as sr } from "./index33.js";
33
- import { FilterGroup as nr } from "./index34.js";
34
- import { ViewTab as Fr } from "./index35.js";
35
- import { CreateView as dr } from "./index36.js";
36
- import { EditDropdown as wr } from "./index37.js";
37
- import { OptionsDropdown as Vr } from "./index38.js";
38
- import { PillNotifications as hr } from "./index39.js";
39
- import { SortableViews as Rr } from "./index40.js";
40
- import { UnsavedChangesPill as Mr } from "./index41.js";
41
- import { ViewDropdowns as Sr } from "./index42.js";
42
- import { ViewList as Nr } from "./index43.js";
43
- import { SHARING_OPTIONS as yr } from "./index44.js";
44
- import { TableManagement as Lr } from "./index45.js";
45
- import { RefreshButton as Br } from "./index46.js";
46
- import { DateOptionMap as kr, DateValue as Hr } from "./index47.js";
47
- import { FilterChoiceValue as Er, SWR_HOOK_OPTIONS as Gr } from "./index48.js";
48
- import { ModalProvider as Kr } from "./index49.js";
49
- import { ModalId as Xr } from "./index50.js";
50
- import { useModal as qr } from "./index51.js";
51
- import { withCSRF as Qr } from "./index52.js";
52
- import { onlyJSON as Zr, vndAPI as $r } from "./index53.js";
53
- import { fetcherV1 as ee, fetcherV2 as oe } from "./index54.js";
54
- import { useDropdownManager as pe } from "./index55.js";
55
- import { useDuplicateActiveView as ie } from "./index56.js";
56
- import { useFilterArrayLabel as xe } from "./index57.js";
57
- import { useFilterLabel as se } from "./index58.js";
58
- import { usePersistUnsavedChanges as ne } from "./index59.js";
59
- import { useStores as Fe } from "./index60.js";
60
- import { useViews as de } from "./index61.js";
61
- import { useViewUrlChange as we } from "./index62.js";
62
- import { useUrlChange as Ve } from "./index63.js";
63
- import { useCustomViews as he } from "./index64.js";
64
- import { useColumns as Re } from "./index65.js";
65
- import { useUrlParams as Me } from "./index66.js";
66
- import { Filters as Se } from "./index67.js";
67
- import { NumberRangeFilter as Ne } from "./index68.js";
68
- import { RangeFilter as ye } from "./index69.js";
69
- import { Views as Le } from "./index70.js";
70
- import { Notifications as Be } from "./index71.js";
71
- import { Table as ke } from "./index72.js";
72
- import { MobXProvider as _e } from "./index73.js";
73
- import { getAsyncOptions as Ge } from "./index74.js";
74
- import { getFetcherFunction as Ke } from "./index75.js";
75
- import { isValidDateRange as Xe } from "./index76.js";
76
- import { viewsAdapter as qe } from "./index77.js";
77
- import { createAllView as Qe } from "./index78.js";
78
- import { mockUseStores as Ze } from "./index79.js";
10
+ import { ActionsDropdown as V } from "./index11.js";
11
+ import { ErrorBoundary as h } from "./index12.js";
12
+ import { SearchBar as R } from "./index13.js";
13
+ import { TableControls as D } from "./index14.js";
14
+ import { ToastsManager as S } from "./index15.js";
15
+ import { ActiveFilters as N } from "./index16.js";
16
+ import { FilterArrayField as y } from "./index17.js";
17
+ import { FilterField as L } from "./index18.js";
18
+ import { ActiveFilterTag as B } from "./index19.js";
19
+ import { ActiveFilterArrayTag as k } from "./index20.js";
20
+ import { ActiveFilterDateRangeTag as _ } from "./index21.js";
21
+ import { ActiveFilterNumberRangeTag as G } from "./index22.js";
22
+ import { ActiveAsyncRadioFilter as K } from "./index23.js";
23
+ import { ActiveFilterFooter as X } from "./index24.js";
24
+ import { ActiveFilterHeader as q } from "./index25.js";
25
+ import { AsyncCheckboxFilter as Q } from "./index26.js";
26
+ import { AsyncRadioFilter as Z } from "./index27.js";
27
+ import { CheckboxFilter as rr } from "./index28.js";
28
+ import { DateRangeFilter as or } from "./index29.js";
29
+ import { MultipleFieldFilter as pr } from "./index30.js";
30
+ import { NumberRangeFilter as ir } from "./index31.js";
31
+ import { RadioFilter as xr } from "./index32.js";
32
+ import { FiltersDropdown as sr } from "./index33.js";
33
+ import { FiltersList as nr } from "./index34.js";
34
+ import { FilterGroup as cr } from "./index35.js";
35
+ import { ViewTab as dr } from "./index36.js";
36
+ import { CreateView as wr } from "./index37.js";
37
+ import { EditDropdown as Vr } from "./index38.js";
38
+ import { OptionsDropdown as hr } from "./index39.js";
39
+ import { PillNotifications as Rr } from "./index40.js";
40
+ import { SortableViews as Dr } from "./index41.js";
41
+ import { UnsavedChangesPill as Sr } from "./index42.js";
42
+ import { ViewDropdowns as Nr } from "./index43.js";
43
+ import { ViewList as yr } from "./index44.js";
44
+ import { SHARING_OPTIONS as Lr } from "./index45.js";
45
+ import { TableManagement as Br } from "./index46.js";
46
+ import { RefreshButton as kr } from "./index47.js";
47
+ import { DateOptionMap as _r, DateValue as Er } from "./index48.js";
48
+ import { FilterChoiceValue as Jr, SWR_HOOK_OPTIONS as Kr } from "./index49.js";
49
+ import { ModalProvider as Xr } from "./index50.js";
50
+ import { ModalId as qr } from "./index51.js";
51
+ import { useModal as Qr } from "./index52.js";
52
+ import { withCSRF as Zr } from "./index53.js";
53
+ import { onlyJSON as re, vndAPI as ee } from "./index54.js";
54
+ import { fetcherV1 as te, fetcherV2 as pe } from "./index55.js";
55
+ import { useDropdownManager as ie } from "./index56.js";
56
+ import { useDuplicateActiveView as xe } from "./index57.js";
57
+ import { useFilterArrayLabel as se } from "./index58.js";
58
+ import { useFilterLabel as ne } from "./index59.js";
59
+ import { usePersistUnsavedChanges as ce } from "./index60.js";
60
+ import { useStores as de } from "./index61.js";
61
+ import { useViews as we } from "./index62.js";
62
+ import { useViewUrlChange as Ve } from "./index63.js";
63
+ import { useUrlChange as he } from "./index64.js";
64
+ import { useCustomViews as Re } from "./index65.js";
65
+ import { useColumns as De } from "./index66.js";
66
+ import { useUrlParams as Se } from "./index67.js";
67
+ import { Filters as Ne } from "./index68.js";
68
+ import { NumberRangeFilter as ye } from "./index69.js";
69
+ import { RangeFilter as Le } from "./index70.js";
70
+ import { Views as Be } from "./index71.js";
71
+ import { Notifications as ke } from "./index72.js";
72
+ import { Table as _e } from "./index73.js";
73
+ import { MobXProvider as Ge } from "./index74.js";
74
+ import { getAsyncOptions as Ke } from "./index75.js";
75
+ import { getFetcherFunction as Xe } from "./index76.js";
76
+ import { isValidDateRange as qe } from "./index77.js";
77
+ import { viewsAdapter as Qe } from "./index78.js";
78
+ import { createAllView as Ze } from "./index79.js";
79
+ import { mockUseStores as ro } from "./index80.js";
79
80
  export {
80
- G as ActiveAsyncRadioFilter,
81
- B as ActiveFilterArrayTag,
82
- k as ActiveFilterDateRangeTag,
83
- K as ActiveFilterFooter,
84
- X as ActiveFilterHeader,
85
- _ as ActiveFilterNumberRangeTag,
86
- L as ActiveFilterTag,
87
- S as ActiveFilters,
88
- q as AsyncCheckboxFilter,
89
- Q as AsyncRadioFilter,
81
+ V as ActionsDropdown,
82
+ K as ActiveAsyncRadioFilter,
83
+ k as ActiveFilterArrayTag,
84
+ _ as ActiveFilterDateRangeTag,
85
+ X as ActiveFilterFooter,
86
+ q as ActiveFilterHeader,
87
+ G as ActiveFilterNumberRangeTag,
88
+ B as ActiveFilterTag,
89
+ N as ActiveFilters,
90
+ Q as AsyncCheckboxFilter,
91
+ Z as AsyncRadioFilter,
90
92
  d as BusinessLogicManager,
91
- Z as CheckboxFilter,
92
- dr as CreateView,
93
- kr as DateOptionMap,
94
- rr as DateRangeFilter,
95
- Hr as DateValue,
96
- wr as EditDropdown,
97
- V as ErrorBoundary,
98
- N as FilterArrayField,
99
- Er as FilterChoiceValue,
100
- y as FilterField,
101
- nr as FilterGroup,
102
- Se as Filters,
103
- xr as FiltersDropdown,
104
- sr as FiltersList,
105
- _e as MobXProvider,
106
- Xr as ModalId,
107
- Kr as ModalProvider,
108
- or as MultipleFieldFilter,
109
- Be as Notifications,
110
- pr as NumberRangeFilter,
111
- Ne as NumberRangeFilterClass,
112
- Vr as OptionsDropdown,
113
- hr as PillNotifications,
114
- ir as RadioFilter,
115
- ye as RangeFilter,
116
- Br as RefreshButton,
117
- yr as SHARING_OPTIONS,
118
- Gr as SWR_HOOK_OPTIONS,
119
- h as SearchBar,
120
- Rr as SortableViews,
93
+ rr as CheckboxFilter,
94
+ wr as CreateView,
95
+ _r as DateOptionMap,
96
+ or as DateRangeFilter,
97
+ Er as DateValue,
98
+ Vr as EditDropdown,
99
+ h as ErrorBoundary,
100
+ y as FilterArrayField,
101
+ Jr as FilterChoiceValue,
102
+ L as FilterField,
103
+ cr as FilterGroup,
104
+ Ne as Filters,
105
+ sr as FiltersDropdown,
106
+ nr as FiltersList,
107
+ Ge as MobXProvider,
108
+ qr as ModalId,
109
+ Xr as ModalProvider,
110
+ pr as MultipleFieldFilter,
111
+ ke as Notifications,
112
+ ir as NumberRangeFilter,
113
+ ye as NumberRangeFilterClass,
114
+ hr as OptionsDropdown,
115
+ Rr as PillNotifications,
116
+ xr as RadioFilter,
117
+ Le as RangeFilter,
118
+ kr as RefreshButton,
119
+ Lr as SHARING_OPTIONS,
120
+ Kr as SWR_HOOK_OPTIONS,
121
+ R as SearchBar,
122
+ Dr as SortableViews,
121
123
  o as SortingMode,
122
- ke as Table,
123
- R as TableControls,
124
- Lr as TableManagement,
125
- M as ToastsManager,
126
- Mr as UnsavedChangesPill,
127
- Sr as ViewDropdowns,
128
- Nr as ViewList,
129
- Fr as ViewTab,
130
- Le as Views,
124
+ _e as Table,
125
+ D as TableControls,
126
+ Br as TableManagement,
127
+ S as ToastsManager,
128
+ Sr as UnsavedChangesPill,
129
+ Nr as ViewDropdowns,
130
+ yr as ViewList,
131
+ dr as ViewTab,
132
+ Be as Views,
131
133
  n as axios,
132
- Qe as createAllView,
134
+ Ze as createAllView,
133
135
  s as createCustomView,
134
136
  p as deleteCustomView,
135
- ee as fetcherV1,
136
- oe as fetcherV2,
137
- Ge as getAsyncOptions,
138
- Ke as getFetcherFunction,
139
- Xe as isValidDateRange,
140
- Ze as mockUseStores,
141
- Zr as onlyJSON,
137
+ te as fetcherV1,
138
+ pe as fetcherV2,
139
+ Ke as getAsyncOptions,
140
+ Xe as getFetcherFunction,
141
+ qe as isValidDateRange,
142
+ ro as mockUseStores,
143
+ re as onlyJSON,
142
144
  i as patchCurrentUser,
143
145
  x as patchCustomView,
144
146
  w as setMockedBusinessLogic,
145
- F as useBusinessLogic,
146
- Re as useColumns,
147
- he as useCustomViews,
148
- pe as useDropdownManager,
149
- ie as useDuplicateActiveView,
150
- xe as useFilterArrayLabel,
151
- se as useFilterLabel,
152
- qr as useModal,
153
- ne as usePersistUnsavedChanges,
154
- Fe as useStores,
155
- Ve as useUrlChange,
156
- Me as useUrlParams,
157
- we as useViewUrlChange,
158
- de as useViews,
159
- qe as viewsAdapter,
160
- $r as vndAPI,
161
- Qr as withCSRF
147
+ c as useBusinessLogic,
148
+ De as useColumns,
149
+ Re as useCustomViews,
150
+ ie as useDropdownManager,
151
+ xe as useDuplicateActiveView,
152
+ se as useFilterArrayLabel,
153
+ ne as useFilterLabel,
154
+ Qr as useModal,
155
+ ce as usePersistUnsavedChanges,
156
+ de as useStores,
157
+ he as useUrlChange,
158
+ Se as useUrlParams,
159
+ Ve as useViewUrlChange,
160
+ we as useViews,
161
+ Qe as viewsAdapter,
162
+ ee as vndAPI,
163
+ Zr as withCSRF
162
164
  };
package/dist/index100.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const w=require("react"),f=require("swr"),R=require("./index60.cjs"),S=require("./index8.cjs"),P=require("./index61.cjs"),h=require("./index54.cjs"),m=e=>e&&e.__esModule?e:{default:e},q=m(f),E=()=>{var r;const{Filters:{queryParams:e}}=R.useStores(),{TABLE_DATA_URL:i,PAGE_NUMBER_FILTER_ID:u,PAGE_SIZE_FILTER_ID:n}=S.useBusinessLogic(),{isLoading:c}=P.useViews(),a=w.useMemo(()=>{const s=new URLSearchParams(e);return s.set(u,"1"),s.set(n,"1"),s.toString()},[e,u,n]),l=!c?`${i}?${a}`:null,{data:t,error:d,isLoading:_,mutate:L}=q.default([l,{includeMeta:!0}],([s,g])=>h.fetcherV2(s,g),{revalidateOnFocus:!1,revalidateOnReconnect:!1,keepPreviousData:!0}),o=t==null?void 0:t.meta;return{viewCounts:(r=o==null?void 0:o.page)==null?void 0:r.total_count,error:d,isLoadingViewCounts:_,mutate:L}};exports.useViewCounts=E;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),i=require("@veeqo/ui"),r=({shouldShow:a,viewName:n,onCancel:t,onDelete:o})=>e.jsx(i.Modal,{headerTitle:`Delete '${n}' view?`,"data-testid":"act-react-listing-custom-confirmation-popup",variant:"sm",shouldShow:a,onClose:t,rightActions:[{className:"act-react-listing-custom-confirmation-popup-cancel",label:"Cancel",onClick:t,variant:"default"},{className:"act-react-listing-custom-confirmation-popup-delete",label:"Delete",onClick:o,variant:"primaryDestructive"}],showHeaderCloseButton:!0,children:e.jsx(i.Text,{variant:"body",children:"This cannot be undone."})});exports.Confirmation=r;
package/dist/index100.js CHANGED
@@ -1,35 +1,31 @@
1
- import { useMemo as _ } from "react";
2
- import p from "swr";
3
- import { useStores as w } from "./index60.js";
4
- import { useBusinessLogic as R } from "./index8.js";
5
- import { useViews as g } from "./index61.js";
6
- import { fetcherV2 as E } from "./index54.js";
7
- const V = () => {
8
- var i;
9
- const { Filters: { queryParams: s } } = w(), { TABLE_DATA_URL: a, PAGE_NUMBER_FILTER_ID: r, PAGE_SIZE_FILTER_ID: n } = R(), { isLoading: u } = g(), c = _(() => {
10
- const e = new URLSearchParams(s);
11
- return e.set(r, "1"), e.set(n, "1"), e.toString();
12
- }, [s, r, n]), m = !u ? `${a}?${c}` : null, {
13
- data: t,
14
- error: l,
15
- isLoading: L,
16
- mutate: d
17
- } = p(
18
- [m, { includeMeta: !0 }],
19
- ([e, f]) => E(e, f),
20
- {
21
- revalidateOnFocus: !1,
22
- revalidateOnReconnect: !1,
23
- keepPreviousData: !0
24
- }
25
- ), o = t == null ? void 0 : t.meta;
26
- return {
27
- viewCounts: (i = o == null ? void 0 : o.page) == null ? void 0 : i.total_count,
28
- error: l,
29
- isLoadingViewCounts: L,
30
- mutate: d
31
- };
32
- };
1
+ import { jsx as e } from "react/jsx-runtime";
2
+ import { Modal as n, Text as r } from "@veeqo/ui";
3
+ const s = ({ shouldShow: a, viewName: i, onCancel: t, onDelete: o }) => /* @__PURE__ */ e(
4
+ n,
5
+ {
6
+ headerTitle: `Delete '${i}' view?`,
7
+ "data-testid": "act-react-listing-custom-confirmation-popup",
8
+ variant: "sm",
9
+ shouldShow: a,
10
+ onClose: t,
11
+ rightActions: [
12
+ {
13
+ className: "act-react-listing-custom-confirmation-popup-cancel",
14
+ label: "Cancel",
15
+ onClick: t,
16
+ variant: "default"
17
+ },
18
+ {
19
+ className: "act-react-listing-custom-confirmation-popup-delete",
20
+ label: "Delete",
21
+ onClick: o,
22
+ variant: "primaryDestructive"
23
+ }
24
+ ],
25
+ showHeaderCloseButton: !0,
26
+ children: /* @__PURE__ */ e(r, { variant: "body", children: "This cannot be undone." })
27
+ }
28
+ );
33
29
  export {
34
- V as useViewCounts
30
+ s as Confirmation
35
31
  };
package/dist/index101.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),i=require("@veeqo/ui"),r=({shouldShow:a,viewName:n,onCancel:t,onDelete:o})=>e.jsx(i.Modal,{headerTitle:`Delete '${n}' view?`,"data-testid":"act-react-listing-custom-confirmation-popup",variant:"sm",shouldShow:a,onClose:t,rightActions:[{className:"act-react-listing-custom-confirmation-popup-cancel",label:"Cancel",onClick:t,variant:"default"},{className:"act-react-listing-custom-confirmation-popup-delete",label:"Delete",onClick:o,variant:"primaryDestructive"}],showHeaderCloseButton:!0,children:e.jsx(i.Text,{variant:"body",children:"This cannot be undone."})});exports.Confirmation=r;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),r=require("@veeqo/ui"),i=require("./index104.cjs"),n=r.theme.colors.secondary.blue.base,a=({onClick:t})=>e.jsx(i.Notification,{children:e.jsx(i.Pill,{children:e.jsxs(r.Stack,{direction:"horizontal",alignY:"center",children:[e.jsx(i.Glyph,{ariaLabel:"info",name:"info",color:n}),e.jsxs(i.Wrap,{children:[e.jsx(i.Text,{variant:"body",margin:"0 4px 0 0",children:"You are currently in a"}),e.jsx(i.Bold,{variant:"bodyBoldDark",children:"draft view"}),e.jsx(i.Hint,{variant:"hintText",children:"Apply filters and save these by creating a custom view"})]}),e.jsx(i.Button,{variant:"primary",onClick:t,size:"sm",children:"Create view"})]})})});exports.DraftPill=a;
package/dist/index101.js CHANGED
@@ -1,31 +1,23 @@
1
- import { jsx as e } from "react/jsx-runtime";
2
- import { Modal as n, Text as r } from "@veeqo/ui";
3
- const s = ({ shouldShow: a, viewName: i, onCancel: t, onDelete: o }) => /* @__PURE__ */ e(
4
- n,
5
- {
6
- headerTitle: `Delete '${i}' view?`,
7
- "data-testid": "act-react-listing-custom-confirmation-popup",
8
- variant: "sm",
9
- shouldShow: a,
10
- onClose: t,
11
- rightActions: [
12
- {
13
- className: "act-react-listing-custom-confirmation-popup-cancel",
14
- label: "Cancel",
15
- onClick: t,
16
- variant: "default"
17
- },
18
- {
19
- className: "act-react-listing-custom-confirmation-popup-delete",
20
- label: "Delete",
21
- onClick: o,
22
- variant: "primaryDestructive"
23
- }
24
- ],
25
- showHeaderCloseButton: !0,
26
- children: /* @__PURE__ */ e(r, { variant: "body", children: "This cannot be undone." })
27
- }
28
- );
1
+ import { jsx as r, jsxs as i } from "react/jsx-runtime";
2
+ import { Stack as a, theme as n } from "@veeqo/ui";
3
+ import { Notification as t, Pill as o, Glyph as l, Wrap as c, Text as d, Bold as s, Hint as h, Button as m } from "./index104.js";
4
+ const p = n.colors.secondary.blue.base, b = ({ onClick: e }) => /* @__PURE__ */ r(t, { children: /* @__PURE__ */ r(o, { children: /* @__PURE__ */ i(a, { direction: "horizontal", alignY: "center", children: [
5
+ /* @__PURE__ */ r(l, { ariaLabel: "info", name: "info", color: p }),
6
+ /* @__PURE__ */ i(c, { children: [
7
+ /* @__PURE__ */ r(d, { variant: "body", margin: "0 4px 0 0", children: "You are currently in a" }),
8
+ /* @__PURE__ */ r(s, { variant: "bodyBoldDark", children: "draft view" }),
9
+ /* @__PURE__ */ r(h, { variant: "hintText", children: "Apply filters and save these by creating a custom view" })
10
+ ] }),
11
+ /* @__PURE__ */ r(
12
+ m,
13
+ {
14
+ variant: "primary",
15
+ onClick: e,
16
+ size: "sm",
17
+ children: "Create view"
18
+ }
19
+ )
20
+ ] }) }) });
29
21
  export {
30
- s as Confirmation
22
+ b as DraftPill
31
23
  };