@uniformdev/design-system 17.2.0 → 17.2.1-alpha.201
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 +197 -181
- package/dist/index.d.ts +26 -3
- package/dist/index.js +246 -230
- package/package.json +6 -6
package/dist/index.d.ts
CHANGED
|
@@ -10,6 +10,7 @@ import { StateManagerProps } from 'react-select/dist/declarations/src/useStateMa
|
|
|
10
10
|
import InternalSelect from 'react-select/dist/declarations/src/Select';
|
|
11
11
|
import { MenuHTMLProps, MenuProps as MenuProps$1, MenuStateReturn } from 'reakit/Menu';
|
|
12
12
|
import { MenuItemHTMLProps, MenuProps as MenuProps$2 } from 'reakit';
|
|
13
|
+
import { TabState, TabListProps, TabProps, TabPanelProps } from 'reakit/Tab';
|
|
13
14
|
|
|
14
15
|
/** @todo: line 144 onwards will be brought into a title, paragraph, list and link components */
|
|
15
16
|
declare type ThemeProps = {
|
|
@@ -173,14 +174,16 @@ declare function IconsProvider({ children }: {
|
|
|
173
174
|
declare type CaptionProps = React$1.HTMLAttributes<HTMLElement> & {
|
|
174
175
|
/** allows users to add child elements */
|
|
175
176
|
children: React$1.ReactNode;
|
|
176
|
-
/**
|
|
177
|
+
/** Makes the font size relative to the inherited font size */
|
|
178
|
+
dynamicSize?: boolean;
|
|
179
|
+
/** sets data-test-id attribute for test automation */
|
|
177
180
|
testId?: string;
|
|
178
181
|
};
|
|
179
182
|
/**
|
|
180
183
|
* Component that provides caption text to input fields
|
|
181
184
|
* @example <Caption>some help text here</Caption>
|
|
182
185
|
*/
|
|
183
|
-
declare const Caption: ({ children, testId, ...props }: CaptionProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
186
|
+
declare const Caption: ({ children, testId, dynamicSize, ...props }: CaptionProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
184
187
|
|
|
185
188
|
declare type ErrorMessageProps = {
|
|
186
189
|
/** sets the error message value */
|
|
@@ -1044,4 +1047,24 @@ declare type LinkListProps = React$1.HTMLAttributes<HTMLDivElement> & {
|
|
|
1044
1047
|
};
|
|
1045
1048
|
declare const LinkList: ({ title, children, ...props }: LinkListProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
1046
1049
|
|
|
1047
|
-
|
|
1050
|
+
declare const useCurrentTab: () => TabState;
|
|
1051
|
+
interface TabsProps {
|
|
1052
|
+
selectedId?: string;
|
|
1053
|
+
manual?: boolean;
|
|
1054
|
+
orientation?: TabState['orientation'];
|
|
1055
|
+
children: React__default.ReactNode;
|
|
1056
|
+
}
|
|
1057
|
+
declare const Tabs: ({ children, ...props }: TabsProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
1058
|
+
declare const TabButtonGroup: ({ children, ...props }: Partial<TabListProps>) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
1059
|
+
interface TabButtonProps extends Partial<TabProps> {
|
|
1060
|
+
id: string;
|
|
1061
|
+
children: React__default.ReactNode;
|
|
1062
|
+
}
|
|
1063
|
+
declare const TabButton: ({ children, id, ...props }: TabButtonProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
1064
|
+
interface TabContentProps extends Partial<TabPanelProps> {
|
|
1065
|
+
id: string;
|
|
1066
|
+
children: React__default.ReactNode;
|
|
1067
|
+
}
|
|
1068
|
+
declare const TabContent: ({ children, ...props }: TabContentProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
1069
|
+
|
|
1070
|
+
export { ActionButtonsProps, AddButton, AddButtonProps, AddListButton, AddListButtonProps, ArrowPositionProps, Badge, BadgeProps, BoxHeightProps, Button, ButtonProps, ButtonSizeProps, ButtonThemeProps$1 as ButtonThemeProps, ButtonWithMenu, ButtonWithMenuProps, Callout, CalloutProps, CalloutType, Caption, CaptionProps, Card, CardContainer, CardContainerBgColorProps, CardContainerProps, CardProps, ChildFunction, ComboBoxGroupBase, CreateTeamIntegrationTile, CreateTeamIntegrationTileProps, DashedBox, DashedBoxProps, EditTeamIntegrationTile, EditTeamIntegrationTileProps, ErrorMessage, ErrorMessageProps, Heading, HeadingProps, HexModalBackground, Icon, IconColor, IconName, IconProps, IconType, IconsProvider, InlineAlert, InlineAlertProps, Input, InputComboBox, InputComboBoxOption, InputComboBoxProps, InputInlineSelect, InputInlineSelectOption, InputInlineSelectProps, InputKeywordSearch, InputKeywordSearchProps, InputProps, InputSelect, InputSelectProps, InputToggle, InputToggleProps, IntegrationComingSoon, IntegrationComingSoonProps, IntegrationHeaderSection, IntegrationHeaderSectionProps, IntegrationLoadingTile, IntegrationLoadingTileProps, IntegrationModalHeader, IntegrationModalHeaderProps, IntegrationModalIcon, IntegrationModalIconProps, IntegrationTile, IntegrationTileProps, Label, LabelProps, LevelProps, LimitsBar, LimitsBarProps, Link, LinkColorProps, LinkList, LinkListProps, LinkManagerWithRefType, LinkProps, LinkWithRef, LoadingIcon, LoadingIconProps, LoadingIndicator, LoadingOverlay, LoadingOverlayProps, Menu, MenuContext, MenuItem, MenuItemProps, MenuItemTextThemeProps, MenuProps, PageHeaderSection, PageHeaderSectionProps, Paragraph, ParagraphProps, ResolveIcon, ResolveIconProps, ScrollableList, ScrollableListItem, ScrollableListItemProps, ScrollableListProps, ShortcutContext, ShortcutRevealer, Switch, SwitchProps, TabButton, TabButtonGroup, TabButtonProps, TabContent, TabContentProps, Table, TableBody, TableBodyProps, TableCellData, TableCellDataProps, TableCellHead, TableCellHeadProps, TableFoot, TableFootProps, TableHead, TableHeadProps, TableProps, TableRow, TableRowProps, Tabs, TabsProps, TextAlignProps, Textarea, TextareaProps, Theme, ThemeProps, TileContainer, TileContainerProps, UniformBadge, UniformLogo, UniformLogoProps, breakpointSizeProps, breakpoints, breakpointsProps, button, buttonGhost, buttonPrimary, buttonRippleEffect, buttonSecondary, buttonTertiary, buttonUnimportant, fadeIn, fadeInBottom, fadeInLtr, fadeInRtl, fadeOutBottom, growSubtle, input, inputError, inputSelect, labelText, mq, ripple, scrollbarStyles, skeletonLoading, supports, useCurrentTab, useIconContext, useMenuContext };
|