srf-feathers 1.5.2 → 1.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/elements/AppSwitcher/AppSwitcher.d.ts +8 -0
- package/build/elements/AppSwitcher/AppSwitcher.types.d.ts +19 -0
- package/build/elements/Badge/Badge.d.ts +7 -0
- package/build/elements/Badge/Badge.types.d.ts +6 -0
- package/build/elements/ButtonList/ButtonList.d.ts +6 -0
- package/build/elements/ButtonList/ButtonList.types.d.ts +14 -0
- package/build/elements/Dropdown/Dropdown.d.ts +8 -0
- package/build/elements/Dropdown/Dropdown.types.d.ts +26 -0
- package/build/elements/Hint/Hint.d.ts +7 -0
- package/build/elements/Hint/Hint.types.d.ts +7 -0
- package/build/elements/Logo/Logo.d.ts +7 -0
- package/build/elements/Logo/Logo.types.d.ts +4 -0
- package/build/elements/ProgressDisplay/ProgressDisplay.d.ts +5 -0
- package/build/elements/ProgressDisplay/ProgressDisplay.types.d.ts +3 -0
- package/build/index.d.ts +10 -2
- package/build/index.esm.js +316 -8
- package/build/index.esm.js.map +1 -1
- package/build/index.js +325 -6
- package/build/index.js.map +1 -1
- package/package.json +3 -2
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { AppSwitcherButtonProps, AppSwitcherProps } from './AppSwitcher.types';
|
|
3
|
+
import './AppSwitcher.scss';
|
|
4
|
+
export declare const BirdsModifiers: readonly ["schorsch", "roebi", "karl", "pitt", "tweety"];
|
|
5
|
+
export type BirdsModifiersType = (typeof BirdsModifiers)[number];
|
|
6
|
+
declare const AppSwitcher: ({ modifier, currentBirdId, currentPortal, phase, disabled, children, }: AppSwitcherProps) => React.JSX.Element;
|
|
7
|
+
export declare const AppSwitcherButton: ({ bird }: AppSwitcherButtonProps) => React.JSX.Element;
|
|
8
|
+
export default AppSwitcher;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { BirdsModifiersType } from './AppSwitcher';
|
|
3
|
+
export interface AppSwitcherProps {
|
|
4
|
+
modifier?: string | Array<string>;
|
|
5
|
+
currentPortal?: string;
|
|
6
|
+
phase?: 'local' | 'dev' | 'int' | 'prod';
|
|
7
|
+
currentBirdId: BirdsModifiersType;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
children?: React.ReactNode;
|
|
10
|
+
}
|
|
11
|
+
export interface AppSwitcherButtonProps {
|
|
12
|
+
bird: birdsType;
|
|
13
|
+
}
|
|
14
|
+
export interface birdsType {
|
|
15
|
+
id: BirdsModifiersType;
|
|
16
|
+
path: string;
|
|
17
|
+
label: string;
|
|
18
|
+
hint: string;
|
|
19
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './Badge.scss';
|
|
3
|
+
import { BadgeProps } from './Badge.types';
|
|
4
|
+
export declare const BadgeModifiers: readonly ["neutral"];
|
|
5
|
+
export type BadgeModifiersType = (typeof BadgeModifiers)[number];
|
|
6
|
+
declare const Badge: React.FC<BadgeProps>;
|
|
7
|
+
export default Badge;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ButtonListEntryProps, ButtonListProps } from './ButtonList.types';
|
|
3
|
+
import './ButtonList.scss';
|
|
4
|
+
declare const ButtonList: React.FC<ButtonListProps>;
|
|
5
|
+
export declare const ButtonListEntry: React.FC<ButtonListEntryProps>;
|
|
6
|
+
export default ButtonList;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ReactElement } from 'react';
|
|
2
|
+
import { TooltipProps } from '../Tooltip/Tooltip.types';
|
|
3
|
+
import { IconProps } from '../Icon/Icon.types';
|
|
4
|
+
export interface ButtonListProps {
|
|
5
|
+
modifier?: string | Array<string>;
|
|
6
|
+
children: React.ReactNode;
|
|
7
|
+
}
|
|
8
|
+
export interface ButtonListEntryProps {
|
|
9
|
+
modifier?: string | Array<string>;
|
|
10
|
+
icon?: ReactElement<IconProps>;
|
|
11
|
+
text: string;
|
|
12
|
+
onClick: (event: any) => void;
|
|
13
|
+
tooltip?: ReactElement<TooltipProps>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { DropdownPaneProps, DropdownButtonProps } from './Dropdown.types';
|
|
3
|
+
import './Dropdown.scss';
|
|
4
|
+
export declare const DropdownPaneModifiers: readonly ["scrollable", "transparent", "open_upwards", "open_to_right"];
|
|
5
|
+
export type DropdownPaneModifiersType = (typeof DropdownPaneModifiers)[number];
|
|
6
|
+
export declare const DropdownPane: React.ForwardRefExoticComponent<Omit<DropdownPaneProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
7
|
+
declare const DropdownButton: ({ onClick, icon, modifier, buttonModifier, dropdownPaneModifier, disabled, text, textOpen, tooltip, children, inProgress, initiallyOpen, badge, dataCy, }: DropdownButtonProps) => React.JSX.Element;
|
|
8
|
+
export default DropdownButton;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import React, { ReactElement, RefObject } from 'react';
|
|
2
|
+
import { DropdownPaneModifiersType } from './Dropdown';
|
|
3
|
+
import { ButtonModifiersType } from '../Button/Button';
|
|
4
|
+
import { IconProps } from '../Icon/Icon.types';
|
|
5
|
+
import { TooltipProps } from '../Tooltip/Tooltip.types';
|
|
6
|
+
export interface DropdownPaneProps {
|
|
7
|
+
modifier?: DropdownPaneModifiersType | Array<DropdownPaneModifiersType>;
|
|
8
|
+
children: React.ReactNode;
|
|
9
|
+
ref?: RefObject<HTMLDivElement>;
|
|
10
|
+
}
|
|
11
|
+
export interface DropdownButtonProps {
|
|
12
|
+
onClick: (event: any) => void;
|
|
13
|
+
icon?: ReactElement<IconProps, string>;
|
|
14
|
+
text: string;
|
|
15
|
+
textOpen?: string;
|
|
16
|
+
modifier?: string;
|
|
17
|
+
buttonModifier?: Array<ButtonModifiersType>;
|
|
18
|
+
dropdownPaneModifier?: Array<DropdownPaneModifiersType>;
|
|
19
|
+
disabled?: boolean;
|
|
20
|
+
tooltip?: ReactElement<TooltipProps, string>;
|
|
21
|
+
children: React.ReactNode;
|
|
22
|
+
inProgress?: boolean;
|
|
23
|
+
initiallyOpen?: boolean;
|
|
24
|
+
badge?: string;
|
|
25
|
+
dataCy?: unknown;
|
|
26
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { HintProps } from './Hint.types';
|
|
3
|
+
import './Hint.scss';
|
|
4
|
+
export declare const HintModifiers: readonly ["article", "left"];
|
|
5
|
+
export type HintModifiersType = (typeof HintModifiers)[number];
|
|
6
|
+
declare const Hint: React.FC<HintProps>;
|
|
7
|
+
export default Hint;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { LogoProps } from './Logo.types';
|
|
3
|
+
import './Logo.scss';
|
|
4
|
+
export declare const LogoBirds: readonly ["globi", "schorsch", "roebi", "karl", "pitt", "tweety", "hahn", "falk", "woody"];
|
|
5
|
+
export type LogoBirdsType = (typeof LogoBirds)[number];
|
|
6
|
+
declare const Logo: React.FC<LogoProps>;
|
|
7
|
+
export default Logo;
|
package/build/index.d.ts
CHANGED
|
@@ -1,4 +1,12 @@
|
|
|
1
|
-
import { AddColumnIcon, AddRowIcon, ArrowDownIcon, ArrowUpIcon, ArticleIcon, AudioFeedIcon, AudioGalleryIcon, AudioIcon,
|
|
1
|
+
import { AddColumnIcon, AddRowIcon, ArrowDownIcon, ArrowUpIcon, ArticleIcon, AudioeditorIcon, AudioFeedIcon, AudioGalleryIcon, AudioIcon, BoldIcon, CaretIcon, ChatIcon, CheckIcon, ChecklistFailedIcon, ChecklistPassedIcon, CheckmarkIcon, CHMapIcon, CloseIcon, CommentIcon, CopyIcon, CropIcon, DangerIcon, DatawrapperIcon, DeleteColumnIcon, DeleteRowIcon, DraggableIndicatorIcon, DropAddIcon, DropDeleteIcon, DropDownIcon, DropUpIcon, EditArticleIcon, EdithIcon, EditTickerItemIcon, EmptyIcon, ErrorIcon, ExclamationMarkIcon, ExternalLinkIcon, EyeIcon, EyeSlashIcon, FacebookIcon, FavoriteIcon, FavoriteRemovedIcon, FederalVotesIcon, FeedIcon, FocusIcon, ForbiddenIcon, FormIcon, GlobiLogoIcon, HeadingIcon, HtmlEmbedIcon, ImageGalleryIcon, ImageIcon, ImportImageIcon, InstagramIcon, InvisibleIcon, ItalicIcon, LinkboxIcon, LinkIcon, LiveIcon, LivetickerIcon, LockIcon, LogoutIcon, LongformIcon, MaterialBoxIcon, MegaphonIcon, MeteoMapIcon, ModerateIcon, NewsGraphicIcon, OpinionIcon, OrderedListIcon, ParkingIcon, PeopleIcon, PlusCircleIcon, PlusIcon, PodcastIcon, PolisMapIcon, PollIcon, PreviewIcon, PublishAndLeaveIcon, PublishIcon, PushIcon, QuestionMarkIcon, QuoteIcon, RawHTMLIcon, RemoveIcon, ReplyIcon, RespondIcon, RetireIcon, RevertIcon, ReviewIcon, ReviewRemovedIcon, RotateBackIcon, RotateForwardIcon, SaveAndLeaveIcon, SaveIcon, SchorschLogoIcon, SearchIcon, SettingsIcon, SortArrowsIcon, SpinnerIcon, SuccessIcon, TableHeadIcon, TableIcon, TableWidthIcon, TeaserIcon, TextboxIcon, ThreadIcon, TimeIcon, TrashcanIcon, TVIcon, TwitterIcon, UnlinkIcon, UnorderedListIcon, UpdateIcon, VideoeditorIcon, VideoFeedIcon, VideoGalleryIcon, VideoIcon, WarningIcon, WordWrapIcon, ZoomInIcon, ZoomOutIcon } from './elements/Icon/Icon';
|
|
2
|
+
import AppSwitcher, { AppSwitcherButton } from './elements/AppSwitcher/AppSwitcher';
|
|
3
|
+
import Badge from './elements/Badge/Badge';
|
|
2
4
|
import Button, { ButtonTooltip } from './elements/Button/Button';
|
|
5
|
+
import ButtonList, { ButtonListEntry } from './elements/ButtonList/ButtonList';
|
|
6
|
+
import DropdownButton, { DropdownPane } from './elements/Dropdown/Dropdown';
|
|
7
|
+
import Hint from './elements/Hint/Hint';
|
|
8
|
+
import Logo from './elements/Logo/Logo';
|
|
9
|
+
import ProgressDisplay from './elements/ProgressDisplay/ProgressDisplay';
|
|
3
10
|
import Tooltip from './elements/Tooltip/Tooltip';
|
|
4
|
-
|
|
11
|
+
import useOutsideClickListener from './hooks/useOutsideClickListener';
|
|
12
|
+
export { AddColumnIcon, AddRowIcon, AppSwitcher, AppSwitcherButton, ArrowDownIcon, ArrowUpIcon, ArticleIcon, AudioeditorIcon, AudioFeedIcon, AudioGalleryIcon, AudioIcon, Badge, BoldIcon, Button, ButtonList, ButtonListEntry, ButtonTooltip, CaretIcon, ChatIcon, CheckIcon, ChecklistFailedIcon, ChecklistPassedIcon, CheckmarkIcon, CHMapIcon, CloseIcon, CommentIcon, CopyIcon, CropIcon, DangerIcon, DatawrapperIcon, DeleteColumnIcon, DeleteRowIcon, DraggableIndicatorIcon, DropAddIcon, DropDeleteIcon, DropdownButton, DropDownIcon, DropdownPane, DropUpIcon, EditArticleIcon, EdithIcon, EditTickerItemIcon, EmptyIcon, ErrorIcon, ExclamationMarkIcon, ExternalLinkIcon, EyeIcon, EyeSlashIcon, FacebookIcon, FavoriteIcon, FavoriteRemovedIcon, FederalVotesIcon, FeedIcon, FocusIcon, ForbiddenIcon, FormIcon, GlobiLogoIcon, HeadingIcon, Hint, HtmlEmbedIcon, ImageGalleryIcon, ImageIcon, ImportImageIcon, InstagramIcon, InvisibleIcon, ItalicIcon, LinkboxIcon, LinkIcon, LiveIcon, LivetickerIcon, LockIcon, Logo, LogoutIcon, LongformIcon, MaterialBoxIcon, MegaphonIcon, MeteoMapIcon, ModerateIcon, NewsGraphicIcon, OpinionIcon, OrderedListIcon, ParkingIcon, PeopleIcon, PlusCircleIcon, PlusIcon, PodcastIcon, PolisMapIcon, PollIcon, PreviewIcon, ProgressDisplay, PublishAndLeaveIcon, PublishIcon, PushIcon, QuestionMarkIcon, QuoteIcon, RawHTMLIcon, RemoveIcon, ReplyIcon, RespondIcon, RetireIcon, RevertIcon, ReviewIcon, ReviewRemovedIcon, RotateBackIcon, RotateForwardIcon, SaveAndLeaveIcon, SaveIcon, SchorschLogoIcon, SearchIcon, SettingsIcon, SortArrowsIcon, SpinnerIcon, SuccessIcon, TableHeadIcon, TableIcon, TableWidthIcon, TeaserIcon, TextboxIcon, ThreadIcon, TimeIcon, Tooltip, TrashcanIcon, TVIcon, TwitterIcon, UnlinkIcon, UnorderedListIcon, UpdateIcon, useOutsideClickListener, VideoeditorIcon, VideoFeedIcon, VideoGalleryIcon, VideoIcon, WarningIcon, WordWrapIcon, ZoomInIcon, ZoomOutIcon, };
|