@uniformdev/design-system 16.1.1-alpha.334 → 16.2.1-alpha.142
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/index.js +249 -157
- package/dist/index.d.ts +35 -1
- package/dist/index.js +249 -157
- package/package.json +6 -5
package/dist/index.d.ts
CHANGED
|
@@ -464,6 +464,19 @@ declare type ParagraphProps = {
|
|
|
464
464
|
*/
|
|
465
465
|
declare const Paragraph: ({ className, children, ...pAttributes }: ParagraphProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
466
466
|
|
|
467
|
+
interface RouteProps {
|
|
468
|
+
as: string;
|
|
469
|
+
href: string;
|
|
470
|
+
}
|
|
471
|
+
declare type PageHeaderSectionProps = React$1.HTMLAttributes<HTMLElement> & {
|
|
472
|
+
title: string | undefined;
|
|
473
|
+
desc?: React$1.ReactNode;
|
|
474
|
+
children?: React$1.ReactNode;
|
|
475
|
+
linkProps?: RouteProps;
|
|
476
|
+
linkText?: string;
|
|
477
|
+
};
|
|
478
|
+
declare const PageHeaderSection: ({ title, desc, children, linkText, linkProps, ...htmlProps }: PageHeaderSectionProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
479
|
+
|
|
467
480
|
declare type LinkColorProps = 'currentColor' | 'red' | 'green';
|
|
468
481
|
declare type LinkProps = React$1.AnchorHTMLAttributes<HTMLAnchorElement> & {
|
|
469
482
|
/** sets the link text and title text */
|
|
@@ -692,4 +705,25 @@ declare type LimitsBarProps = {
|
|
|
692
705
|
*/
|
|
693
706
|
declare const LimitsBar: ({ current, max, label }: LimitsBarProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
694
707
|
|
|
695
|
-
|
|
708
|
+
declare type ArrowPositionProps = 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right' | 'left-top' | 'left-bottom' | 'right-top' | 'right-bottom';
|
|
709
|
+
declare type InlineAlertProps = React$1.ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
710
|
+
/** sets the id of the popup and the aria-controls attibute on the close button
|
|
711
|
+
* @example 'my-alert-box'
|
|
712
|
+
*/
|
|
713
|
+
id: string;
|
|
714
|
+
/** sets the title of the inline alert message */
|
|
715
|
+
title: string;
|
|
716
|
+
/** sets the text of the inline alert message */
|
|
717
|
+
text: string;
|
|
718
|
+
/** (optional) sets the position of the arrow
|
|
719
|
+
* @default 'left-top'
|
|
720
|
+
*/
|
|
721
|
+
arrowPosition?: ArrowPositionProps;
|
|
722
|
+
};
|
|
723
|
+
/**
|
|
724
|
+
* Uniform Inline Alert Component
|
|
725
|
+
* @example <InlineAlert id="my-alert-box" title="my alert box" text="some description text" />
|
|
726
|
+
*/
|
|
727
|
+
declare const InlineAlert: ({ id, title, text, arrowPosition, ...btnProps }: InlineAlertProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
728
|
+
|
|
729
|
+
export { ActionButtonsProps, AddButton, AddButtonProps, AddListButton, AddListButtonProps, ArrowPositionProps, BoxHeightProps, Button, ButtonProps, ButtonSizeProps, ButtonThemeProps$1 as ButtonThemeProps, ButtonWithMenu, ButtonWithMenuProps, Callout, CalloutProps, CalloutType, Caption, CaptionProps, ChildFunction, ComboBoxGroupBase, DashedBox, DashedBoxProps, ErrorMessage, ErrorMessageProps, Heading, HeadingProps, Icon, IconColor, IconProps, IconType, IconsProvider, InlineAlert, InlineAlertProps, Input, InputComboBox, InputComboBoxOption, InputComboBoxProps, InputInlineSelect, InputInlineSelectOption, InputInlineSelectProps, InputKeywordSearch, InputKeywordSearchProps, InputProps, InputSelect, InputSelectProps, InputToggle, InputToggleProps, Label, LabelProps, LevelProps, LimitsBar, LimitsBarProps, Link, LinkColorProps, LinkProps, LoadingIcon, LoadingIconProps, LoadingIndicator, LoadingOverlay, LoadingOverlayProps, Menu, MenuContext, MenuItem, MenuItemProps, MenuProps, PageHeaderSection, PageHeaderSectionProps, Paragraph, ParagraphProps, ScrollableList, ScrollableListItem, ScrollableListItemProps, ScrollableListProps, ShortcutContext, ShortcutRevealer, Switch, SwitchProps, Table, TableBody, TableBodyProps, TableCellData, TableCellDataProps, TableCellHead, TableCellHeadProps, TableFoot, TableFootProps, TableHead, TableHeadProps, TableProps, TableRow, TableRowProps, TextAlignProps, Textarea, TextareaProps, Theme, ThemeProps, UniformBadge, UniformLogo, UniformLogoProps, breakpointSizeProps, breakpoints, breakpointsProps, input, inputError, inputSelect, labelText, mq, scrollbarStyles, useIconContext, useMenuContext };
|