jamespot-react-components 1.3.163 → 1.3.165

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 (32) hide show
  1. package/dist/jamespot-react-components.cjs +1999 -1825
  2. package/dist/jamespot-react-components.js +22726 -20837
  3. package/dist/src/components/JRCDropDown/JRCDropDown.d.ts +3 -1
  4. package/dist/src/components/JRCDropDown/JRCDropDown.stories.d.ts +3 -0
  5. package/dist/src/components/JRCFileViewer/JRCFileViewer.d.ts +2 -1
  6. package/dist/src/components/JRCFileViewer/JRCFileViewerRaw.d.ts +1 -1
  7. package/dist/src/components/JRCFileViewer/types.d.ts +1 -0
  8. package/dist/src/components/JRCFolders/JRCFolders.d.ts +1 -1
  9. package/dist/src/components/JRCFolders/JRCFolders.stories.d.ts +1 -1
  10. package/dist/src/components/JRCFolders/styles.d.ts +2 -0
  11. package/dist/src/components/JRCFolders/types.d.ts +4 -2
  12. package/dist/src/components/JRCFolders/useFilebankApi.d.ts +2 -1
  13. package/dist/src/components/Widgets/JRCWidgetAccordion/AccordionSectionModal.d.ts +8 -0
  14. package/dist/src/components/Widgets/JRCWidgetAccordion/AccordionSections.d.ts +12 -0
  15. package/dist/src/components/Widgets/JRCWidgetAccordion/JRCWidgetAccordion.const.d.ts +8 -0
  16. package/dist/src/components/Widgets/JRCWidgetAccordion/JRCWidgetAccordion.d.ts +4 -2
  17. package/dist/src/components/Widgets/JRCWidgetAccordion/JRCWidgetAccordionEditor.d.ts +1 -1
  18. package/dist/src/components/Widgets/JRCWidgetAccordion/JRCWidgetAccordionEditor.stories.d.ts +4 -0
  19. package/dist/src/components/Widgets/JRCWidgetDocuments/JRCWidgetDocumentsEditor.d.ts +1 -1
  20. package/dist/src/components/Widgets/JRCWidgetImage/JRCWidgetImage.const.d.ts +4 -0
  21. package/dist/src/components/Widgets/JRCWidgetImage/JRCWidgetImage.d.ts +2 -0
  22. package/dist/src/components/Widgets/JRCWidgetPicker/JRCWidgetPicker.d.ts +14 -0
  23. package/dist/src/components/Widgets/JRCWidgetPicker/JRCWidgetPicker.stories.d.ts +45 -0
  24. package/dist/src/components/Widgets/JRCWidgetPicker/JRCWidgetPicker.styles.d.ts +17 -0
  25. package/dist/src/components/Widgets/JRCWidgetPicker/WidgetPickerCombinations.d.ts +9 -0
  26. package/dist/src/components/Widgets/JRCWidgetPicker/WidgetPickerWidgets.d.ts +13 -0
  27. package/dist/src/components/api/jamespot/mock_jamespot.d.ts +1 -0
  28. package/dist/src/components/api/jamespot/mocks/intranetPage/intranetPage.d.ts +3 -0
  29. package/dist/src/components/index.d.ts +1 -0
  30. package/dist/src/translation/lang.json.d.ts +11 -0
  31. package/dist/src/types.d.ts +1 -1
  32. package/package.json +3 -3
@@ -10,7 +10,8 @@ export type JRCDropDownProps = {
10
10
  onClick: () => void;
11
11
  }) => ReactElement);
12
12
  dropdown: (collapseDropdown: () => void) => ReactNode;
13
- align?: 'left' | 'right';
13
+ /** `auto` opens toward the side with enough room, rightward first. */
14
+ align?: Side | 'auto';
14
15
  direction?: 'down' | 'up';
15
16
  onToggle?: (isOpen: boolean) => void;
16
17
  background?: string;
@@ -25,5 +26,6 @@ export type JRCDropDownProps = {
25
26
  /** Inner padding of the dropdown wrapper. Defaults to `base` (8px). */
26
27
  padding?: DropDownPadding;
27
28
  };
29
+ type Side = 'left' | 'right';
28
30
  export declare const JRCDropDown: ({ trigger, dropdown, align, direction, onToggle, withBorder, borderColor, background, overflow, width, offset, display, boxShadow, padding, }: JRCDropDownProps) => import("react").JSX.Element;
29
31
  export {};
@@ -5,3 +5,6 @@ export default meta;
5
5
  type Story = StoryObj<typeof JRCDropDown>;
6
6
  export declare const Default: Story;
7
7
  export declare const OpensUpward: Story;
8
+ export declare const AutoAlignAtViewportRightEdge: Story;
9
+ export declare const AutoAlignStaysLeftWithRoomOnTheRight: Story;
10
+ export declare const AutoAlignInsideClippingParent: Story;
@@ -7,6 +7,7 @@ export type JRCFileViewerProps<T extends jFileLittle> = {
7
7
  allowDownload?: boolean;
8
8
  children(open: (idFile: number) => void): ReactElement<HTMLElement>;
9
9
  onReadFile?(file: T): void;
10
+ onOpen?(file: T): void;
10
11
  };
11
12
  export type JRCFileViewerOpenWithOptionsType = Array<{
12
13
  condition: (file: jFileLittle) => boolean;
@@ -16,4 +17,4 @@ export type JRCFileViewerOpenWithOptionType = {
16
17
  label: string;
17
18
  onClick: (file: jFileLittle | undefined) => void;
18
19
  };
19
- export declare const JRCFileViewer: <T extends jFileLittle>({ files, size, children, openWithOptions, allowDownload, onReadFile, }: JRCFileViewerProps<T>) => import("react").JSX.Element;
20
+ export declare const JRCFileViewer: <T extends jFileLittle>({ files, size, children, openWithOptions, allowDownload, onReadFile, onOpen, }: JRCFileViewerProps<T>) => import("react").JSX.Element;
@@ -1,2 +1,2 @@
1
1
  import { JRCFileViewerItem, JRCFileViewerRawProps } from './types';
2
- export declare const JRCFileViewerRaw: <TItem extends JRCFileViewerItem>({ files, children, openWithOptions, onReadFile, }: JRCFileViewerRawProps<TItem>) => import("react").JSX.Element;
2
+ export declare const JRCFileViewerRaw: <TItem extends JRCFileViewerItem>({ files, children, openWithOptions, onReadFile, onOpen, }: JRCFileViewerRawProps<TItem>) => import("react").JSX.Element;
@@ -15,6 +15,7 @@ export type JRCFileViewerRawProps<TItem extends JRCFileViewerItem> = {
15
15
  openWithOptions: JRCFileViewerRawOptionsType<TItem>;
16
16
  children(open: (key: number) => void): ReactElement<HTMLElement>;
17
17
  onReadFile?(item: TItem): void;
18
+ onOpen?(item: TItem): void;
18
19
  };
19
20
  export type JRCFileViewerRawOptionsType<TItem extends JRCFileViewerItem> = Array<{
20
21
  condition: (item: TItem) => boolean;
@@ -1,2 +1,2 @@
1
1
  import { JRCFoldersProps } from './types';
2
- export declare const JRCFolders: ({ loadDocuments, allowMultiSelection, initialFolders, initialDocuments, initialUri, searchable, mode, settings, resolveFileUri, resolveTypeColor, onSelectFolder, onSelectDocument, onFilesUpdate, onError, onClickFile, }: JRCFoldersProps) => import("react").JSX.Element;
2
+ export declare const JRCFolders: ({ loadDocuments, allowMultiSelection, initialFolders, initialDocuments, initialUri, rootEntry, searchable, mode, settings, resolveFileUri, resolveTypeColor, onSelectFolder, onSelectDocument, onFilesUpdate, onError, onClickFile, }: JRCFoldersProps) => import("react").JSX.Element;
@@ -2,7 +2,7 @@ import { StoryObj } from '@storybook/react-vite';
2
2
  import { JRCFoldersProps } from './types';
3
3
  declare const _default: {
4
4
  title: string;
5
- component: ({ loadDocuments, allowMultiSelection, initialFolders, initialDocuments, initialUri, searchable, mode, settings, resolveFileUri, resolveTypeColor, onSelectFolder, onSelectDocument, onFilesUpdate, onError, onClickFile, }: JRCFoldersProps) => import("react").JSX.Element;
5
+ component: ({ loadDocuments, allowMultiSelection, initialFolders, initialDocuments, initialUri, rootEntry, searchable, mode, settings, resolveFileUri, resolveTypeColor, onSelectFolder, onSelectDocument, onFilesUpdate, onError, onClickFile, }: JRCFoldersProps) => import("react").JSX.Element;
6
6
  };
7
7
  export default _default;
8
8
  type Story = StoryObj<JRCFoldersProps>;
@@ -7,11 +7,13 @@ export declare const StyleRow: import('styled-components/dist/types').IStyledCom
7
7
  }, never>>> & string;
8
8
  export declare const StyleRowBtn: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, keyof import('react').ClassAttributes<HTMLButtonElement> | keyof import('react').ButtonHTMLAttributes<HTMLButtonElement>> & import('react').ClassAttributes<HTMLButtonElement> & import('react').ButtonHTMLAttributes<HTMLButtonElement>, "is" | "children" | "ref" | "onClick" | "onDrag" | "onDrop" | "type" | "style" | "key" | "form" | "slot" | "hidden" | "color" | "content" | "disabled" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "popover" | "popoverTargetAction" | "popoverTarget" | "inert" | "inputMode" | "exportparts" | "part" | "data-tooltip-id" | "data-tooltip-place" | "data-tooltip-content" | "data-tooltip-html" | "data-tooltip-variant" | "data-tooltip-offset" | "data-tooltip-wrapper" | "data-tooltip-events" | "data-tooltip-position-strategy" | "data-tooltip-delay-show" | "data-tooltip-delay-hide" | "data-tooltip-float" | "data-tooltip-hidden" | "data-tooltip-class-name" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "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-rowindextext" | "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" | "onError" | "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" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "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" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onScrollEnd" | "onScrollEndCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onToggle" | "onBeforeToggle" | "onTransitionCancel" | "onTransitionCancelCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "onTransitionRun" | "onTransitionRunCapture" | "onTransitionStart" | "onTransitionStartCapture" | "name" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "value"> & Partial<Pick<import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, keyof import('react').ClassAttributes<HTMLButtonElement> | keyof import('react').ButtonHTMLAttributes<HTMLButtonElement>> & import('react').ClassAttributes<HTMLButtonElement> & import('react').ButtonHTMLAttributes<HTMLButtonElement>, "is" | "children" | "ref" | "onClick" | "onDrag" | "onDrop" | "type" | "style" | "key" | "form" | "slot" | "hidden" | "color" | "content" | "disabled" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "popover" | "popoverTargetAction" | "popoverTarget" | "inert" | "inputMode" | "exportparts" | "part" | "data-tooltip-id" | "data-tooltip-place" | "data-tooltip-content" | "data-tooltip-html" | "data-tooltip-variant" | "data-tooltip-offset" | "data-tooltip-wrapper" | "data-tooltip-events" | "data-tooltip-position-strategy" | "data-tooltip-delay-show" | "data-tooltip-delay-hide" | "data-tooltip-float" | "data-tooltip-hidden" | "data-tooltip-class-name" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "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-rowindextext" | "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" | "onError" | "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" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "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" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onScrollEnd" | "onScrollEndCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onToggle" | "onBeforeToggle" | "onTransitionCancel" | "onTransitionCancelCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "onTransitionRun" | "onTransitionRunCapture" | "onTransitionStart" | "onTransitionStartCapture" | "name" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "value">>> & string;
9
9
  export declare const StyleRowLabel: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & Partial<Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>> & string;
10
+ export declare const StyleRowIcon: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & Partial<Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>> & string;
10
11
  export declare const StyleRowTitle: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "$color"> & {
11
12
  $color: string | undefined;
12
13
  }, never> & Partial<Pick<import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "$color"> & {
13
14
  $color: string | undefined;
14
15
  }, never>>> & string;
16
+ export declare const StyleRowTitleText: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & Partial<Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>> & string;
15
17
  export declare const StyleGalleryItemTitle: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "$color"> & {
16
18
  $color: string | undefined;
17
19
  }, never> & Partial<Pick<import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "$color"> & {
@@ -1,4 +1,4 @@
1
- import { JArticleApi, jArticleView, JFilebankApi, jFileLittle, jFolderList, JObjectApi, WidgetDocumentsContent } from 'jamespot-user-api';
1
+ import { JArticleApi, jArticleView, JFilebankApi, jFileLittle, jFolderList, JObjectApi, WidgetDocumentsSettings } from 'jamespot-user-api';
2
2
  export type EntryType = {
3
3
  title: string;
4
4
  uri: string;
@@ -18,7 +18,7 @@ export type JRCFoldersSettings = {
18
18
  hideExtension?: boolean;
19
19
  hideFolderCount?: boolean;
20
20
  textColor?: string;
21
- view?: WidgetDocumentsContent['view'];
21
+ view?: WidgetDocumentsSettings['view'];
22
22
  maxHeight?: number;
23
23
  rows?: number;
24
24
  cols?: number;
@@ -31,6 +31,8 @@ export type JRCFoldersProps = {
31
31
  initialBankFolder?: jFolderList;
32
32
  allowMultiSelection?: boolean;
33
33
  initialUri?: string;
34
+ /** First breadcrumb entry, in place of the whole file bank: going back to it never leaves `initialUri`. */
35
+ rootEntry?: PathItem;
34
36
  mode?: JRCFoldersMode;
35
37
  searchable?: boolean;
36
38
  settings?: JRCFoldersSettings;
@@ -1,8 +1,9 @@
1
1
  import { jArticleView, jFolderList } from 'jamespot-user-api';
2
2
  import { FolderTree, PathItem } from './types';
3
- export declare const useFilebankApi: ({ abortController, handleError, }: {
3
+ export declare const useFilebankApi: ({ abortController, handleError, rootEntry, }: {
4
4
  abortController: AbortController;
5
5
  handleError?: (message: string) => void;
6
+ rootEntry?: PathItem | undefined;
6
7
  }) => {
7
8
  fetchBanks: () => Promise<void>;
8
9
  fetchFolders: (uri: string) => Promise<void>;
@@ -0,0 +1,8 @@
1
+ import { WidgetAccordionContentArr } from 'jamespot-user-api';
2
+ export type AccordionSectionModalProps = {
3
+ open: boolean;
4
+ initialSection?: WidgetAccordionContentArr | undefined;
5
+ onClose: () => void;
6
+ onConfirm: (section: WidgetAccordionContentArr) => void;
7
+ };
8
+ export declare const AccordionSectionModal: ({ open, initialSection, onClose, onConfirm }: AccordionSectionModalProps) => import("react").JSX.Element;
@@ -0,0 +1,12 @@
1
+ import { WidgetAccordionContentArr } from 'jamespot-user-api';
2
+ export type AccordionSectionWithId = WidgetAccordionContentArr & {
3
+ id: string;
4
+ };
5
+ export type AccordionSectionsProps = {
6
+ sections: AccordionSectionWithId[];
7
+ onEdit: (id: string) => void;
8
+ onPickIcon: (id: string) => void;
9
+ onRemove: (id: string) => void;
10
+ onMove: (dragIndex: number, hoverIndex: number) => void;
11
+ };
12
+ export declare const AccordionSections: ({ sections, onEdit, onPickIcon, onRemove, onMove }: AccordionSectionsProps) => import("react").JSX.Element | null;
@@ -0,0 +1,8 @@
1
+ import { WidgetAccordionContentArr } from 'jamespot-user-api';
2
+ export declare const DEFAULT_OPENING_OPTIONS: {
3
+ label: string;
4
+ value: boolean;
5
+ }[];
6
+ export declare const NEW_SECTION: WidgetAccordionContentArr;
7
+ export declare const SECTION_PADDING_MAX = 1000;
8
+ export declare const ICON_COLUMN_WIDTH = 40;
@@ -1,5 +1,7 @@
1
- import { WidgetAccordionContent } from 'jamespot-user-api';
1
+ import { WidgetAccordionContent, WidgetAccordionContentArr } from 'jamespot-user-api';
2
+ import { ReactNode } from 'react';
2
3
  export type JRCWidgetAccordionProps = {
3
4
  content: WidgetAccordionContent;
5
+ renderWidgets?: (section: WidgetAccordionContentArr, index: number) => ReactNode;
4
6
  };
5
- export declare const JRCWidgetAccordion: (_props: JRCWidgetAccordionProps) => null;
7
+ export declare const JRCWidgetAccordion: ({ content, renderWidgets }: JRCWidgetAccordionProps) => import("react").JSX.Element | null;
@@ -4,4 +4,4 @@ export type JRCWidgetAccordionEditorProps = {
4
4
  content: WidgetAccordionContent;
5
5
  onChangeContent: (uniqid: string, content: WidgetAccordionContent) => void;
6
6
  };
7
- export declare const JRCWidgetAccordionEditor: (_props: JRCWidgetAccordionEditorProps) => null;
7
+ export declare const JRCWidgetAccordionEditor: ({ uniqid, content, onChangeContent }: JRCWidgetAccordionEditorProps) => import("react").JSX.Element;
@@ -0,0 +1,4 @@
1
+ import { Meta, StoryFn } from '@storybook/react-vite';
2
+ declare const _default: Meta;
3
+ export default _default;
4
+ export declare const Editor: StoryFn;
@@ -1,3 +1,3 @@
1
1
  import { WidgetDocumentsContent, WidgetEditorActions } from 'jamespot-user-api';
2
2
  export declare const StyleWithBottomLine: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & Partial<Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>> & string;
3
- export declare const JRCWidgetDocumentsEditor: ({ uri, textColor, view, cols, rows, hideExtension, hidePreview, sortBy, onChange, }: WidgetDocumentsContent & WidgetEditorActions<WidgetDocumentsContent>) => import("react").JSX.Element;
3
+ export declare const JRCWidgetDocumentsEditor: ({ object, css, settings, hideExtension, hidePreview, onChange, }: WidgetDocumentsContent & WidgetEditorActions<WidgetDocumentsContent>) => import("react").JSX.Element;
@@ -6,6 +6,10 @@ export declare const AdjustOptions: {
6
6
  label: string;
7
7
  value: number;
8
8
  }[];
9
+ export declare const OriginalSizeOptions: {
10
+ label: string;
11
+ value: boolean;
12
+ }[];
9
13
  export declare const BackgroundPositionOptions: ({
10
14
  label: string;
11
15
  value: "left";
@@ -9,6 +9,8 @@ export type JRCWidgetImageProps = {
9
9
  urlTopValue?: number;
10
10
  urlScaleValue?: number;
11
11
  adjust?: number;
12
+ originalSize?: boolean;
13
+ position?: string;
12
14
  backgroundPosition?: 'left' | 'center' | 'right';
13
15
  verticalAlign?: 'top' | 'center' | 'bottom';
14
16
  borderRadius?: number;
@@ -0,0 +1,14 @@
1
+ import { HookListType, WidgetDefinitionProps, WidgetKeys } from 'jamespot-user-api';
2
+ import { DataCy } from '../../../types/dataAttributes';
3
+ import { WidgetPickerCombinationsProps } from './WidgetPickerCombinations';
4
+ export type JRCWidgetPickerProps = DataCy & {
5
+ namespace?: string;
6
+ allowedWidgets?: WidgetKeys[];
7
+ excludedWidgets?: WidgetKeys[];
8
+ extraNamespaces?: Record<string, unknown>;
9
+ hooks?: HookListType;
10
+ hideSearch?: boolean;
11
+ onSelect: (widget: WidgetDefinitionProps) => void;
12
+ combinations?: WidgetPickerCombinationsProps;
13
+ };
14
+ export declare const JRCWidgetPicker: ({ combinations, dataCy, ...widgetsProps }: JRCWidgetPickerProps) => import("react").JSX.Element;
@@ -0,0 +1,45 @@
1
+ import { Meta, StoryFn } from '@storybook/react-vite';
2
+ import { JRCWidgetPicker } from './JRCWidgetPicker';
3
+ declare const meta: Meta<typeof JRCWidgetPicker>;
4
+ export default meta;
5
+ export declare const Default: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react-vite').ReactRenderer, import('../../../types/dataAttributes').DataCy & {
6
+ namespace?: string;
7
+ allowedWidgets?: import('jamespot-user-api').WidgetKeys[];
8
+ excludedWidgets?: import('jamespot-user-api').WidgetKeys[];
9
+ extraNamespaces?: Record<string, unknown>;
10
+ hooks?: import('jamespot-user-api').HookListType;
11
+ hideSearch?: boolean;
12
+ onSelect: (widget: import('jamespot-user-api').WidgetDefinitionProps) => void;
13
+ combinations?: import('./WidgetPickerCombinations').WidgetPickerCombinationsProps;
14
+ }>;
15
+ export declare const Excluded: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react-vite').ReactRenderer, import('../../../types/dataAttributes').DataCy & {
16
+ namespace?: string;
17
+ allowedWidgets?: import('jamespot-user-api').WidgetKeys[];
18
+ excludedWidgets?: import('jamespot-user-api').WidgetKeys[];
19
+ extraNamespaces?: Record<string, unknown>;
20
+ hooks?: import('jamespot-user-api').HookListType;
21
+ hideSearch?: boolean;
22
+ onSelect: (widget: import('jamespot-user-api').WidgetDefinitionProps) => void;
23
+ combinations?: import('./WidgetPickerCombinations').WidgetPickerCombinationsProps;
24
+ }>;
25
+ export declare const WithInactiveApps: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react-vite').ReactRenderer, import('../../../types/dataAttributes').DataCy & {
26
+ namespace?: string;
27
+ allowedWidgets?: import('jamespot-user-api').WidgetKeys[];
28
+ excludedWidgets?: import('jamespot-user-api').WidgetKeys[];
29
+ extraNamespaces?: Record<string, unknown>;
30
+ hooks?: import('jamespot-user-api').HookListType;
31
+ hideSearch?: boolean;
32
+ onSelect: (widget: import('jamespot-user-api').WidgetDefinitionProps) => void;
33
+ combinations?: import('./WidgetPickerCombinations').WidgetPickerCombinationsProps;
34
+ }>;
35
+ export declare const WithCombinations: import('storybook/internal/csf').AnnotatedStoryFn<import('@storybook/react-vite').ReactRenderer, import('../../../types/dataAttributes').DataCy & {
36
+ namespace?: string;
37
+ allowedWidgets?: import('jamespot-user-api').WidgetKeys[];
38
+ excludedWidgets?: import('jamespot-user-api').WidgetKeys[];
39
+ extraNamespaces?: Record<string, unknown>;
40
+ hooks?: import('jamespot-user-api').HookListType;
41
+ hideSearch?: boolean;
42
+ onSelect: (widget: import('jamespot-user-api').WidgetDefinitionProps) => void;
43
+ combinations?: import('./WidgetPickerCombinations').WidgetPickerCombinationsProps;
44
+ }>;
45
+ export declare const InModal: StoryFn<typeof JRCWidgetPicker>;
@@ -0,0 +1,17 @@
1
+ export declare const CSSWidgetPickerWrapper: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & Partial<Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>> & string;
2
+ export declare const CSSWidgetPickerEmpty: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, never> & Partial<Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, never>>> & string;
3
+ export declare const CSSWidgetPickerList: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLUListElement>, HTMLUListElement>, never> & Partial<Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLUListElement>, HTMLUListElement>, never>>> & string;
4
+ export declare const CSSWidgetPickerItem: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "$blocked"> & {
5
+ $blocked: boolean;
6
+ }, never> & Partial<Pick<import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "$blocked"> & {
7
+ $blocked: boolean;
8
+ }, never>>> & string;
9
+ export declare const CSSWidgetPickerRequirement: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never> & Partial<Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>>> & string;
10
+ export declare const CSSWidgetPickerIcon: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, never> & Partial<Pick<import('react').DetailedHTMLProps<import('react').ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, never>>> & string;
11
+ export declare const CSSWidgetPickerContent: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never> & Partial<Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>>> & string;
12
+ export declare const CSSWidgetPickerLabel: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never> & Partial<Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>>> & string;
13
+ export declare const CSSWidgetPickerDescription: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never> & Partial<Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>>> & string;
14
+ export declare const CSSWidgetPickerCombinationGrid: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLUListElement>, HTMLUListElement>, never> & Partial<Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLUListElement>, HTMLUListElement>, never>>> & string;
15
+ export declare const CSSWidgetPickerCombinationItem: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, never> & Partial<Pick<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, never>>> & string;
16
+ export declare const CSSWidgetPickerCombinationImage: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, never> & Partial<Pick<import('react').DetailedHTMLProps<import('react').ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, never>>> & string;
17
+ export declare const CSSWidgetPickerCombinationSize: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never> & Partial<Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>>> & string;
@@ -0,0 +1,9 @@
1
+ import { JIntranetPageApi, widgetCombinationTemplate } from 'jamespot-user-api';
2
+ export type WidgetPickerCombinationsProps = {
3
+ intranetPage: Pick<JIntranetPageApi, 'combinationTemplateList'>;
4
+ onSelect: (template: widgetCombinationTemplate) => void;
5
+ onError?: (error: unknown) => void;
6
+ };
7
+ export declare const WidgetPickerCombinations: ({ intranetPage, onSelect, onError, dataCy, }: WidgetPickerCombinationsProps & {
8
+ dataCy?: string | undefined;
9
+ }) => import("react").JSX.Element;
@@ -0,0 +1,13 @@
1
+ import { HookListType, WidgetDefinitionProps, WidgetKeys } from 'jamespot-user-api';
2
+ type WidgetPickerWidgetsProps = {
3
+ namespace?: string | undefined;
4
+ allowedWidgets?: WidgetKeys[] | undefined;
5
+ excludedWidgets?: WidgetKeys[] | undefined;
6
+ extraNamespaces?: Record<string, unknown> | undefined;
7
+ hooks?: HookListType | undefined;
8
+ hideSearch?: boolean | undefined;
9
+ onSelect: (widget: WidgetDefinitionProps) => void;
10
+ dataCy?: string | undefined;
11
+ };
12
+ export declare const WidgetPickerWidgets: ({ namespace, allowedWidgets, excludedWidgets, extraNamespaces, hooks, hideSearch, onSelect, dataCy, }: WidgetPickerWidgetsProps) => import("react").JSX.Element;
13
+ export {};
@@ -3,3 +3,4 @@ export declare const mock_api_network_excel: Pick<import('jamespot-user-api').Ne
3
3
  export declare const mock_api_datasource_excel: Omit<import('jamespot-user-api').JDatasourceApi, "network" | "jApi">;
4
4
  export declare const mock_api_datasource_studio: Omit<import('jamespot-user-api').JDatasourceApi, "network" | "jApi">;
5
5
  export declare const mock_api_application: Pick<import('jamespot-user-api').JApplicationApi, "studioGet" | "studioList">;
6
+ export declare const mock_api_intranetPage: Pick<import('jamespot-user-api').JIntranetPageApi, "combinationTemplateList">;
@@ -0,0 +1,3 @@
1
+ import { JIntranetPageApi, widgetCombinationTemplate } from 'jamespot-user-api';
2
+ export declare function getIntranetPageApiMock(templates: widgetCombinationTemplate[], delay?: number): Pick<JIntranetPageApi, 'combinationTemplateList'>;
3
+ export declare const mock_combination_templates: widgetCombinationTemplate[];
@@ -237,6 +237,7 @@ export { JRCWidgetNews } from './Widgets/JRCWidgetNews/JRCWidgetNews';
237
237
  export { JRCWidgetNewsEditor } from './Widgets/JRCWidgetNews/JRCWidgetNewsEditor';
238
238
  export { JRCWidgetNewsflash } from './Widgets/JRCWidgetNewsflash/JRCWidgetNewsflash';
239
239
  export { JRCWidgetNewsflashEditor } from './Widgets/JRCWidgetNewsflash/JRCWidgetNewsflashEditor';
240
+ export { JRCWidgetPicker } from './Widgets/JRCWidgetPicker/JRCWidgetPicker';
240
241
  export { JRCWidgetPresence } from './Widgets/JRCWidgetPresence/JRCWidgetPresence';
241
242
  export { JRCWidgetPresenceEditor } from './Widgets/JRCWidgetPresence/JRCWidgetPresenceEditor';
242
243
  export { JRCWidgetQuickSurvey } from './Widgets/JRCWidgetQuickSurvey/JRCWidgetQuickSurvey';
@@ -54,6 +54,7 @@ declare const _default: {
54
54
  "WIDGET_IMAGE": "Image",
55
55
  "WIDGET_IMAGE_TEXT": "Display an image",
56
56
  "WIDGET_Image_Adjust": "Image adjustment",
57
+ "WIDGET_Image_Original_Size": "Keep original size",
57
58
  "WIDGET_Image_Background_Position": "Background position",
58
59
  "WIDGET_Image_Upload_Label": "Add an image",
59
60
  "WIDGET_Image_Background_Vertical_Position": "Vertical background position",
@@ -721,15 +722,25 @@ declare const _default: {
721
722
  "WIDGET_Survey_Selection": "Select survey",
722
723
  "GLOBAL_No_Survey_Results": "There is no survey open at the moment",
723
724
  "FOLDER_Nb_Documents": "{count, plural, one {# document} other {# documents}}",
725
+ "FOLDER_Title_Empty": "{title} (empty)",
724
726
  "WIDGET_Shortcuts_Empty": "You have no shortcuts. Click the favourite icon on a publication to add one.",
725
727
  "GLOBAL_Title": "Title",
726
728
  "WIDGET_LIST_Add_Row": "Add element",
729
+ "WIDGET_Accordion_Tab_Opening": "Open by default",
730
+ "WIDGET_Accordion_Section_Background_Color": "List background color",
731
+ "WIDGET_Accordion_Section_Text_Color": "List text color",
732
+ "CSS_Property_Padding": "Padding",
733
+ "SMARTPAGE_New_Link": "Add link",
727
734
  "WIDGET_LIST_Add_Anchor": "Add anchor",
728
735
  "WIDGET_Button_Opening_Type_Selection": "Select an opening type",
729
736
  "WIDGET_Button_Opening_Type_Link": "Link",
730
737
  "WIDGET_Button_Opening_Type_Anchor": "Anchor",
731
738
  "WIDGET_Button_Opening_Type_Popup": "Popup",
732
739
  "WIDGET_Button_Opening_Type_Popup_Content": "Add a content popup",
740
+ "WIDGET_Add_Widget": "Add a widget",
741
+ "WIDGET_LIST_TAB": "Widgets",
742
+ "WIDGET_COMBINATION_STATIC_TPL_TAB": "Jamespot widget combinations",
743
+ "WIDGET_PICKER_Require_App": "Requires the application: {app}",
733
744
  "BUTTON_Button_Href": "Button link",
734
745
  "BUTTON_Button_Target": "Opening type",
735
746
  "title_Cover": "Title cover page",
@@ -56,7 +56,7 @@ export type { JRCHtmlProps } from './components/JRCHtml/JRCHtml';
56
56
  export type { JRCIconProps } from './components/JRCIcon/JRCIcon';
57
57
  export type { JRCIconButtonProps } from './components/JRCIconButton/JRCIconButton';
58
58
  export type { JRCImgProps } from './components/JRCImg/JRCImg';
59
- export type { JRCFoldersMode } from './components/JRCFolders/types';
59
+ export type { JRCFoldersMode, PathItem as JRCFoldersPathItem } from './components/JRCFolders/types';
60
60
  export type { JRCListProps, PaginationPagination } from './components/JRCList/JRCList';
61
61
  export type { JRCLoaderProps } from './components/JRCLoader/JRCLoader';
62
62
  export type { JRCLoadMoreProps } from './components/JRCLoadMore/JRCLoadMore';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jamespot-react-components",
3
- "version": "1.3.163",
3
+ "version": "1.3.165",
4
4
  "description": "",
5
5
  "main": "dist/jamespot-react-components.cjs",
6
6
  "module": "dist/jamespot-react-components.js",
@@ -89,8 +89,8 @@
89
89
  "vite-plugin-css-injected-by-js": "^3.5.2",
90
90
  "vite-plugin-dts": "^4.5.4",
91
91
  "vitest": "^4.1.10",
92
- "jamespot-front-business": "1.3.163",
93
- "jamespot-user-api": "1.3.163"
92
+ "jamespot-front-business": "1.3.165",
93
+ "jamespot-user-api": "1.3.165"
94
94
  },
95
95
  "lint-staged": {
96
96
  "*.{js,jsx,ts,tsx}": [