@uniformdev/design-system 19.54.3-alpha.2 → 19.54.3-alpha.5
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 +97 -2
- package/dist/index.d.mts +9 -4
- package/dist/index.d.ts +9 -4
- package/dist/index.js +99 -2
- package/package.json +4 -4
package/dist/esm/index.js
CHANGED
|
@@ -368,6 +368,34 @@ var buttonRippleEffect = (props) => css`
|
|
|
368
368
|
transition: background 0s;
|
|
369
369
|
}
|
|
370
370
|
`;
|
|
371
|
+
var buttonAccentAltDark = css`
|
|
372
|
+
background: var(--accent-alt-dark);
|
|
373
|
+
color: var(--white);
|
|
374
|
+
|
|
375
|
+
&:disabled {
|
|
376
|
+
background: var(--gray-300);
|
|
377
|
+
color: var(--white);
|
|
378
|
+
}
|
|
379
|
+
|
|
380
|
+
${buttonRippleEffect({ hoverColor: "var(--brand-secondary-1)" })}
|
|
381
|
+
`;
|
|
382
|
+
var buttonAccentAltDarkOutline = css`
|
|
383
|
+
background: var(--white);
|
|
384
|
+
color: var(--accent-alt-dark);
|
|
385
|
+
box-shadow: 0 0 0 1px var(--accent-alt-dark);
|
|
386
|
+
transition: box-shadow var(--duration-fast) var(--timing-ease-out);
|
|
387
|
+
|
|
388
|
+
&:hover {
|
|
389
|
+
color: var(--primary-action-hover);
|
|
390
|
+
}
|
|
391
|
+
|
|
392
|
+
&:disabled {
|
|
393
|
+
color: var(--gray-300);
|
|
394
|
+
box-shadow: 0 0 0 1px var(--gray-300);
|
|
395
|
+
}
|
|
396
|
+
|
|
397
|
+
${buttonRippleEffect({ hoverColor: "var(--gray-50)" })}
|
|
398
|
+
`;
|
|
371
399
|
var buttonPrimary = css`
|
|
372
400
|
background: var(--brand-secondary-1);
|
|
373
401
|
color: var(--white);
|
|
@@ -1065,6 +1093,9 @@ var IconImg = css8`
|
|
|
1065
1093
|
vertical-align: middle;
|
|
1066
1094
|
}
|
|
1067
1095
|
`;
|
|
1096
|
+
var IconWhite = css8`
|
|
1097
|
+
color: var(--white);
|
|
1098
|
+
`;
|
|
1068
1099
|
var IconColorDefault = css8`
|
|
1069
1100
|
color: var(--brand-secondary-3);
|
|
1070
1101
|
`;
|
|
@@ -1119,6 +1150,7 @@ var IconInner = ({ icon, iconColor = "default", size = "1.5rem", ...otherProps }
|
|
|
1119
1150
|
const isIconName = typeof icon === "string";
|
|
1120
1151
|
const { iconsMap, isLoading } = useIconContext();
|
|
1121
1152
|
const customColor = {
|
|
1153
|
+
white: IconWhite,
|
|
1122
1154
|
action: IconColorAction,
|
|
1123
1155
|
default: IconColorDefault,
|
|
1124
1156
|
gray: IconColorGray,
|
|
@@ -1728,6 +1760,60 @@ var diamondFill = GenIcon({
|
|
|
1728
1760
|
}
|
|
1729
1761
|
]
|
|
1730
1762
|
});
|
|
1763
|
+
var magicWand = GenIcon({
|
|
1764
|
+
tag: "svg",
|
|
1765
|
+
attr: {
|
|
1766
|
+
role: "img",
|
|
1767
|
+
viewBox: "0 0 24 24"
|
|
1768
|
+
},
|
|
1769
|
+
child: [
|
|
1770
|
+
{
|
|
1771
|
+
tag: "path",
|
|
1772
|
+
attr: {
|
|
1773
|
+
fill: "currentColor",
|
|
1774
|
+
fillOpacity: "0.5",
|
|
1775
|
+
d: "M12.6021 0.799316C12.5443 0.799316 12.487 0.802204 12.4305 0.807862C12.3484 1.91145 11.5902 2.79082 10.6387 2.88601C10.6338 2.9516 10.6313 3.01798 10.6313 3.08503C10.6313 3.15208 10.6338 3.21846 10.6387 3.28405C11.5902 3.37924 12.3484 4.25862 12.4305 5.3622C12.487 5.36786 12.5443 5.37074 12.6021 5.37074C12.6599 5.37074 12.7171 5.36786 12.7737 5.3622C12.8558 4.25862 13.614 3.37924 14.5655 3.28405C14.5704 3.21846 14.5729 3.15208 14.5729 3.08503C14.5729 3.01798 14.5704 2.9516 14.5655 2.88601C13.614 2.79082 12.8558 1.91145 12.7737 0.807862C12.7171 0.802204 12.6599 0.799316 12.6021 0.799316Z"
|
|
1776
|
+
},
|
|
1777
|
+
child: []
|
|
1778
|
+
},
|
|
1779
|
+
{
|
|
1780
|
+
tag: "path",
|
|
1781
|
+
attr: {
|
|
1782
|
+
fill: "currentColor",
|
|
1783
|
+
fillOpacity: "0.5",
|
|
1784
|
+
d: "M17.8945 12.4247C17.8367 12.4247 17.7795 12.4276 17.7229 12.4332C17.6409 13.5368 16.8826 14.4162 15.9311 14.5114C15.9262 14.577 15.9237 14.6433 15.9237 14.7104C15.9237 14.7774 15.9262 14.8438 15.9311 14.9094C16.8826 15.0046 17.6409 15.884 17.7229 16.9876C17.7795 16.9932 17.8367 16.9961 17.8945 16.9961C17.9523 16.9961 18.0096 16.9932 18.0661 16.9876C18.1482 15.884 18.9064 15.0046 19.858 14.9094C19.8628 14.8438 19.8653 14.7774 19.8653 14.7104C19.8653 14.6433 19.8628 14.577 19.858 14.5114C18.9064 14.4162 18.1482 13.5368 18.0661 12.4332C18.0096 12.4276 17.9523 12.4247 17.8945 12.4247Z"
|
|
1785
|
+
},
|
|
1786
|
+
child: []
|
|
1787
|
+
},
|
|
1788
|
+
{
|
|
1789
|
+
tag: "path",
|
|
1790
|
+
attr: {
|
|
1791
|
+
fill: "currentColor",
|
|
1792
|
+
fillOpacity: "0.5",
|
|
1793
|
+
d: "M21.571 1.6413C21.509 1.6413 21.4476 1.6449 21.387 1.65195C21.299 3.02718 20.4858 4.12302 19.4653 4.24164C19.4601 4.32337 19.4574 4.40609 19.4574 4.48965C19.4574 4.57321 19.4601 4.65592 19.4653 4.73766C20.4858 4.85628 21.299 5.95211 21.387 7.32734C21.4476 7.33439 21.509 7.33799 21.571 7.33799C21.633 7.33799 21.6944 7.33439 21.755 7.32734C21.8431 5.95211 22.6562 4.85628 23.6767 4.73766C23.6819 4.65592 23.6846 4.57321 23.6846 4.48965C23.6846 4.40609 23.6819 4.32337 23.6767 4.24164C22.6562 4.12302 21.8431 3.02718 21.755 1.65195C21.6944 1.6449 21.633 1.6413 21.571 1.6413Z"
|
|
1794
|
+
},
|
|
1795
|
+
child: []
|
|
1796
|
+
},
|
|
1797
|
+
{
|
|
1798
|
+
tag: "path",
|
|
1799
|
+
attr: {
|
|
1800
|
+
fill: "currentColor",
|
|
1801
|
+
d: "M15.6875 11.9141L12.5116 8.73823L2.07262 19.1773C1.9166 19.3333 1.9166 19.5862 2.07262 19.7422L4.68354 22.3532C4.83956 22.5092 5.0925 22.5092 5.24852 22.3532L15.6875 11.9141Z"
|
|
1802
|
+
},
|
|
1803
|
+
child: []
|
|
1804
|
+
},
|
|
1805
|
+
{
|
|
1806
|
+
tag: "path",
|
|
1807
|
+
attr: {
|
|
1808
|
+
fill: "currentColor",
|
|
1809
|
+
fillRule: "evenodd",
|
|
1810
|
+
clipRule: "evenodd",
|
|
1811
|
+
d: "M16.8929 4.92196L19.5038 7.53288L14.8688 12.1679L12.2578 9.55702L16.8929 4.92196ZM19.7863 7.2504C19.9423 7.40641 19.9423 7.65936 19.7863 7.81537L15.6875 11.9141L12.5116 8.73823L16.6104 4.63947C16.7664 4.48346 17.0194 4.48346 17.1754 4.63947L19.7863 7.2504Z"
|
|
1812
|
+
},
|
|
1813
|
+
child: []
|
|
1814
|
+
}
|
|
1815
|
+
]
|
|
1816
|
+
});
|
|
1731
1817
|
var customIcons = {
|
|
1732
1818
|
"rectangle-rounded": rectangleRoundedIcon,
|
|
1733
1819
|
card: cardIcon,
|
|
@@ -1751,7 +1837,8 @@ var customIcons = {
|
|
|
1751
1837
|
"clear-formatting": clearFormatting,
|
|
1752
1838
|
"yes-no": yesNoIcon,
|
|
1753
1839
|
"diamond-outline": diamondOutline,
|
|
1754
|
-
"diamond-fill": diamondFill
|
|
1840
|
+
"diamond-fill": diamondFill,
|
|
1841
|
+
"magic-wand": magicWand
|
|
1755
1842
|
};
|
|
1756
1843
|
|
|
1757
1844
|
// src/components/AddListButton/AddListButton.styles.ts
|
|
@@ -11340,6 +11427,8 @@ var Button = React6.forwardRef(
|
|
|
11340
11427
|
const buttonTheme = {
|
|
11341
11428
|
primary: buttonPrimary,
|
|
11342
11429
|
primaryInvert: buttonPrimaryInvert,
|
|
11430
|
+
"accent-alt-dark": buttonAccentAltDark,
|
|
11431
|
+
"accent-alt-dark-outline": buttonAccentAltDarkOutline,
|
|
11343
11432
|
destructive: buttonDestructive,
|
|
11344
11433
|
secondary: buttonSecondary,
|
|
11345
11434
|
secondaryInvert: buttonSecondaryInvert,
|
|
@@ -15489,6 +15578,7 @@ import { CgCheck as CgCheck3 } from "@react-icons/all-files/cg/CgCheck";
|
|
|
15489
15578
|
import { jsx as jsx83, jsxs as jsxs54 } from "@emotion/react/jsx-runtime";
|
|
15490
15579
|
var ScrollableListItem = ({
|
|
15491
15580
|
buttonText,
|
|
15581
|
+
icon,
|
|
15492
15582
|
active,
|
|
15493
15583
|
disableShadow,
|
|
15494
15584
|
...props
|
|
@@ -15502,7 +15592,10 @@ var ScrollableListItem = ({
|
|
|
15502
15592
|
active ? ScrollableListItemActive : void 0
|
|
15503
15593
|
],
|
|
15504
15594
|
children: /* @__PURE__ */ jsxs54("button", { css: ScrollableListItemBtn, type: "button", ...props, children: [
|
|
15505
|
-
/* @__PURE__ */
|
|
15595
|
+
/* @__PURE__ */ jsxs54(HorizontalRhythm, { gap: "xs", align: "center", children: [
|
|
15596
|
+
icon,
|
|
15597
|
+
/* @__PURE__ */ jsx83("span", { children: buttonText })
|
|
15598
|
+
] }),
|
|
15506
15599
|
/* @__PURE__ */ jsx83(
|
|
15507
15600
|
Icon,
|
|
15508
15601
|
{
|
|
@@ -19459,6 +19552,8 @@ export {
|
|
|
19459
19552
|
borderTopIcon,
|
|
19460
19553
|
breakpoints,
|
|
19461
19554
|
button,
|
|
19555
|
+
buttonAccentAltDark,
|
|
19556
|
+
buttonAccentAltDarkOutline,
|
|
19462
19557
|
buttonDestructive,
|
|
19463
19558
|
buttonGhost,
|
|
19464
19559
|
buttonGhostDestructive,
|
package/dist/index.d.mts
CHANGED
|
@@ -98,6 +98,8 @@ declare const buttonRippleEffect: (props: {
|
|
|
98
98
|
hoverColor: string;
|
|
99
99
|
activeColor?: string;
|
|
100
100
|
}) => _emotion_react.SerializedStyles;
|
|
101
|
+
declare const buttonAccentAltDark: _emotion_react.SerializedStyles;
|
|
102
|
+
declare const buttonAccentAltDarkOutline: _emotion_react.SerializedStyles;
|
|
101
103
|
declare const buttonPrimary: _emotion_react.SerializedStyles;
|
|
102
104
|
declare const buttonDestructive: _emotion_react.SerializedStyles;
|
|
103
105
|
declare const buttonSecondary: _emotion_react.SerializedStyles;
|
|
@@ -20296,7 +20298,7 @@ declare const UniformLogo: ({ theme, ...props }: UniformLogoProps & React.SVGAtt
|
|
|
20296
20298
|
declare const UniformLogoLarge: ({ ...props }: React.SVGAttributes<SVGElement>) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
20297
20299
|
|
|
20298
20300
|
/** Button themes that are available to use with our brand */
|
|
20299
|
-
type ButtonThemeProps$1 = 'primary' | 'secondary' | 'destructive' | 'tertiary' | 'tertiaryOutline' | 'unimportant' | 'ghost' | 'ghostDestructive' | 'primaryInvert' | 'secondaryInvert' | 'ghostUnimportant';
|
|
20301
|
+
type ButtonThemeProps$1 = 'primary' | 'secondary' | 'accent-alt-dark' | 'accent-alt-dark-outline' | 'destructive' | 'tertiary' | 'tertiaryOutline' | 'unimportant' | 'ghost' | 'ghostDestructive' | 'primaryInvert' | 'secondaryInvert' | 'ghostUnimportant';
|
|
20300
20302
|
/** Button sizes that are available to use with our brand */
|
|
20301
20303
|
type ButtonSizeProps$1 = 'zero' | 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
20302
20304
|
type ButtonProps = ButtonProps$1 & {
|
|
@@ -20342,6 +20344,7 @@ declare const allSupportedIcons: {
|
|
|
20342
20344
|
'yes-no': (props: _react_icons_all_files.IconBaseProps) => JSX.Element;
|
|
20343
20345
|
'diamond-outline': (props: _react_icons_all_files.IconBaseProps) => JSX.Element;
|
|
20344
20346
|
'diamond-fill': (props: _react_icons_all_files.IconBaseProps) => JSX.Element;
|
|
20347
|
+
'magic-wand': (props: _react_icons_all_files.IconBaseProps) => JSX.Element;
|
|
20345
20348
|
'add-r': _react_icons_all_files_lib.IconType;
|
|
20346
20349
|
add: _react_icons_all_files_lib.IconType;
|
|
20347
20350
|
airplane: _react_icons_all_files_lib.IconType;
|
|
@@ -20991,7 +20994,7 @@ type IconName = keyof typeof allSupportedIcons;
|
|
|
20991
20994
|
/** sets fill color of the svg icon
|
|
20992
20995
|
* @default 'default'
|
|
20993
20996
|
*/
|
|
20994
|
-
type IconColor = 'action' | 'default' | 'red' | 'gray' | 'accent' | 'currentColor' | 'accent-light';
|
|
20997
|
+
type IconColor = 'white' | 'action' | 'default' | 'red' | 'gray' | 'accent' | 'currentColor' | 'accent-light';
|
|
20995
20998
|
/** sets the type of icon to use from the available list */
|
|
20996
20999
|
type IconType = IconName | IconType$1;
|
|
20997
21000
|
interface IconProps extends IconBaseProps {
|
|
@@ -21048,6 +21051,7 @@ declare const customIcons: {
|
|
|
21048
21051
|
'yes-no': (props: _react_icons_all_files.IconBaseProps) => JSX.Element;
|
|
21049
21052
|
'diamond-outline': (props: _react_icons_all_files.IconBaseProps) => JSX.Element;
|
|
21050
21053
|
'diamond-fill': (props: _react_icons_all_files.IconBaseProps) => JSX.Element;
|
|
21054
|
+
'magic-wand': (props: _react_icons_all_files.IconBaseProps) => JSX.Element;
|
|
21051
21055
|
};
|
|
21052
21056
|
|
|
21053
21057
|
type IconsMap = Record<string, IconType$1>;
|
|
@@ -22021,12 +22025,13 @@ declare const ScrollableListInputItem: ({ label, icon, active, disableShadow, ch
|
|
|
22021
22025
|
type ScrollableListItemProps = React$1.ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
22022
22026
|
/** sets the button text value */
|
|
22023
22027
|
buttonText: string;
|
|
22028
|
+
icon?: React$1.ReactElement;
|
|
22024
22029
|
} & ScrollableListContainerProps;
|
|
22025
22030
|
/**
|
|
22026
22031
|
* Component used within <ScrollableList /> for adding interactive button components with predefined styles
|
|
22027
22032
|
* @example <ScrollableListItem buttontext="my button" active={false} />
|
|
22028
22033
|
*/
|
|
22029
|
-
declare const ScrollableListItem: ({ buttonText, active, disableShadow, ...props }: ScrollableListItemProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
22034
|
+
declare const ScrollableListItem: ({ buttonText, icon, active, disableShadow, ...props }: ScrollableListItemProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
22030
22035
|
|
|
22031
22036
|
/**
|
|
22032
22037
|
* Loading Indicator
|
|
@@ -23164,4 +23169,4 @@ type StatusBulletProps = React$1.HTMLAttributes<HTMLSpanElement> & {
|
|
|
23164
23169
|
};
|
|
23165
23170
|
declare const StatusBullet: ({ status, hideText, size, message, ...props }: StatusBulletProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
23166
23171
|
|
|
23167
|
-
export { ActionButtonsProps, AddButton, AddButtonProps, AddListButton, AddListButtonProps, AddListButtonThemeProps, AnimationFile, AnimationFileProps, ArrowPositionProps, Avatar, AvatarGroup, AvatarGroupProps, AvatarProps, Badge, BadgeProps, BadgeSizeProps, BadgeThemeProps, BadgeThemeStyleProps, Banner, BannerProps, BannerType, BoxHeightProps, BreakpointSize, BreakpointsMap, Button, ButtonProps, ButtonSizeProps$1 as ButtonSizeProps, ButtonThemeProps$1 as ButtonThemeProps, ButtonWithMenu, ButtonWithMenuProps, Callout, CalloutProps, CalloutType, Caption, CaptionProps, Card, CardContainer, CardContainerBgColorProps, CardContainerProps, CardProps, CardTitle, CardTitleProps, CheckboxWithInfo, CheckboxWithInforProps, ChildFunction, Chip, ChipProps, ChipTheme, ComboBoxGroupBase, ConnectToDataElementButton, ConnectToDataElementButtonProps, Container, ContainerProps, Counter, CounterProps, CreateTeamIntegrationTile, CreateTeamIntegrationTileProps, CurrentDrawerContext, DashedBox, DashedBoxProps, DescriptionList, DescriptionListProps, Details, DetailsProps, DismissibleChipAction, Drawer, DrawerContent, DrawerContentProps, DrawerContextValue, DrawerItem, DrawerProps, DrawerProvider, DrawerRenderer, DrawerRendererItemProps, DrawerRendererProps, DrawersRegistryRecord, EditTeamIntegrationTile, EditTeamIntegrationTileProps, ErrorMessage, ErrorMessageProps, Fieldset, FieldsetProps, Heading, HeadingProps, HexModalBackground, HorizontalRhythm, Icon, IconButton, IconButtonProps, IconColor, IconName, IconProps, IconType, IconsProvider, Image, ImageBroken, ImageProps, InfoMessage, InfoMessageProps, 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, JsonEditor, JsonEditorProps, Label, LabelLeadingIcon, LabelProps, Legend, LegendProps, LevelProps, LimitsBar, LimitsBarProps, Link, LinkColorProps, LinkList, LinkListProps, LinkManagerWithRefType, LinkNode, LinkProps, LinkWithRef, LoadingCardSkeleton, LoadingIcon, LoadingIconProps, LoadingIndicator, LoadingOverlay, LoadingOverlayProps, MediaCard, MediaCardProps, Menu, MenuContext, MenuGroup, MenuGroupProps, MenuItem, MenuItemProps, MenuItemSeparator, MenuItemTextThemeProps, MenuProps, Modal, ModalProps, MultilineChip, MultilineChipProps, PageHeaderSection, PageHeaderSectionProps, Paragraph, ParagraphProps, ParameterDataConnectButtonProps, ParameterDataResource, ParameterDrawerHeader, ParameterDrawerHeaderProps, ParameterGroup, ParameterGroupProps, ParameterImage, ParameterImageInner, ParameterImagePreview, ParameterImageProps, ParameterInput, ParameterInputInner, ParameterInputProps, ParameterLabel, ParameterLabelProps, ParameterLink, ParameterLinkInner, ParameterLinkProps, ParameterMenuButton, ParameterMenuButtonProps, ParameterNameAndPublicIdInput, ParameterNameAndPublicIdInputProps, ParameterOverrideMarker, ParameterRichText, ParameterRichTextInner, ParameterRichTextInnerProps, ParameterRichTextProps, ParameterSelect, ParameterSelectInner, ParameterSelectProps, ParameterShell, ParameterShellContext, ParameterShellPlaceholder, ParameterShellProps, ParameterTextarea, ParameterTextareaInner, ParameterTextareaProps, ParameterToggle, ParameterToggleInner, ParameterToggleProps, Popover, PopoverProps, ProgressBar, ProgressBarProps, ProgressList, ProgressListItem, ProgressListItemProps, ProgressListProps, RegisterDrawerProps, ResolveIcon, ResolveIconProps, RhythmProps, RichTextParamValue, RichTextToolbarIcon, ScrollableItemProps, ScrollableList, ScrollableListContainerProps, ScrollableListInputItem, ScrollableListItem, ScrollableListItemProps, ScrollableListProps, SegmentedControl, SegmentedControlOption, SegmentedControlProps, SerializedLinkNode, ShortcutContext, ShortcutRevealer, Skeleton, SkeletonProps, StatusBullet, StatusBulletProps, StatusTypeProps, SuccessMessage, SuccessMessageProps, 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, Tile, TileContainer, TileContainerProps, TileProps, TileText, TileTitleProps, Tooltip, TooltipProps, TwoColumnLayout, TwoColumnLayoutProps, UniformBadge, UniformLogo, UniformLogoLarge, UniformLogoProps, UseShortcutOptions, VerticalRhythm, WarningMessage, WarningMessageProps, accessibleHidden, addPathSegmentToPathname, borderTopIcon, breakpoints, button, buttonDestructive, buttonGhost, buttonGhostDestructive, buttonGhostUnimportant, buttonPrimary, buttonPrimaryInvert, buttonRippleEffect, buttonSecondary, buttonSecondaryInvert, buttonTertiary, buttonTertiaryOutline, buttonUnimportant, canvasAlertIcon, cardIcon, cq, customIcons, extractParameterProps, fadeIn, fadeInBottom, fadeInLtr, fadeInRtl, fadeInTop, fadeOutBottom, fullWidthScreenIcon, getDrawerAttributes, getParentPath, getPathSegment, growSubtle, imageTextIcon, infoFilledIcon, input, inputError, inputSelect, isMacLike, isSecureURL, isValidUrl, jsonIcon, labelText, loader as loaderAnimationData, macifyShortcut, mq, numberInput, queryStringIcon, rectangleRoundedIcon, replaceUnderscoreInString, richTextToolbarButton, richTextToolbarButtonActive, ripple, scrollbarStyles, settings, settingsIcon, skeletonLoading, slideInTtb, spinner as spinnerAnimationData, structurePanelIcon, supports, textInput, useBreakpoint, useCloseCurrentDrawer, useCurrentDrawer, useCurrentTab, useDrawer, useIconContext, useMenuContext, useOutsideClick, useParameterShell, useShortcut, warningIcon, yesNoIcon };
|
|
23172
|
+
export { ActionButtonsProps, AddButton, AddButtonProps, AddListButton, AddListButtonProps, AddListButtonThemeProps, AnimationFile, AnimationFileProps, ArrowPositionProps, Avatar, AvatarGroup, AvatarGroupProps, AvatarProps, Badge, BadgeProps, BadgeSizeProps, BadgeThemeProps, BadgeThemeStyleProps, Banner, BannerProps, BannerType, BoxHeightProps, BreakpointSize, BreakpointsMap, Button, ButtonProps, ButtonSizeProps$1 as ButtonSizeProps, ButtonThemeProps$1 as ButtonThemeProps, ButtonWithMenu, ButtonWithMenuProps, Callout, CalloutProps, CalloutType, Caption, CaptionProps, Card, CardContainer, CardContainerBgColorProps, CardContainerProps, CardProps, CardTitle, CardTitleProps, CheckboxWithInfo, CheckboxWithInforProps, ChildFunction, Chip, ChipProps, ChipTheme, ComboBoxGroupBase, ConnectToDataElementButton, ConnectToDataElementButtonProps, Container, ContainerProps, Counter, CounterProps, CreateTeamIntegrationTile, CreateTeamIntegrationTileProps, CurrentDrawerContext, DashedBox, DashedBoxProps, DescriptionList, DescriptionListProps, Details, DetailsProps, DismissibleChipAction, Drawer, DrawerContent, DrawerContentProps, DrawerContextValue, DrawerItem, DrawerProps, DrawerProvider, DrawerRenderer, DrawerRendererItemProps, DrawerRendererProps, DrawersRegistryRecord, EditTeamIntegrationTile, EditTeamIntegrationTileProps, ErrorMessage, ErrorMessageProps, Fieldset, FieldsetProps, Heading, HeadingProps, HexModalBackground, HorizontalRhythm, Icon, IconButton, IconButtonProps, IconColor, IconName, IconProps, IconType, IconsProvider, Image, ImageBroken, ImageProps, InfoMessage, InfoMessageProps, 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, JsonEditor, JsonEditorProps, Label, LabelLeadingIcon, LabelProps, Legend, LegendProps, LevelProps, LimitsBar, LimitsBarProps, Link, LinkColorProps, LinkList, LinkListProps, LinkManagerWithRefType, LinkNode, LinkProps, LinkWithRef, LoadingCardSkeleton, LoadingIcon, LoadingIconProps, LoadingIndicator, LoadingOverlay, LoadingOverlayProps, MediaCard, MediaCardProps, Menu, MenuContext, MenuGroup, MenuGroupProps, MenuItem, MenuItemProps, MenuItemSeparator, MenuItemTextThemeProps, MenuProps, Modal, ModalProps, MultilineChip, MultilineChipProps, PageHeaderSection, PageHeaderSectionProps, Paragraph, ParagraphProps, ParameterDataConnectButtonProps, ParameterDataResource, ParameterDrawerHeader, ParameterDrawerHeaderProps, ParameterGroup, ParameterGroupProps, ParameterImage, ParameterImageInner, ParameterImagePreview, ParameterImageProps, ParameterInput, ParameterInputInner, ParameterInputProps, ParameterLabel, ParameterLabelProps, ParameterLink, ParameterLinkInner, ParameterLinkProps, ParameterMenuButton, ParameterMenuButtonProps, ParameterNameAndPublicIdInput, ParameterNameAndPublicIdInputProps, ParameterOverrideMarker, ParameterRichText, ParameterRichTextInner, ParameterRichTextInnerProps, ParameterRichTextProps, ParameterSelect, ParameterSelectInner, ParameterSelectProps, ParameterShell, ParameterShellContext, ParameterShellPlaceholder, ParameterShellProps, ParameterTextarea, ParameterTextareaInner, ParameterTextareaProps, ParameterToggle, ParameterToggleInner, ParameterToggleProps, Popover, PopoverProps, ProgressBar, ProgressBarProps, ProgressList, ProgressListItem, ProgressListItemProps, ProgressListProps, RegisterDrawerProps, ResolveIcon, ResolveIconProps, RhythmProps, RichTextParamValue, RichTextToolbarIcon, ScrollableItemProps, ScrollableList, ScrollableListContainerProps, ScrollableListInputItem, ScrollableListItem, ScrollableListItemProps, ScrollableListProps, SegmentedControl, SegmentedControlOption, SegmentedControlProps, SerializedLinkNode, ShortcutContext, ShortcutRevealer, Skeleton, SkeletonProps, StatusBullet, StatusBulletProps, StatusTypeProps, SuccessMessage, SuccessMessageProps, 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, Tile, TileContainer, TileContainerProps, TileProps, TileText, TileTitleProps, Tooltip, TooltipProps, TwoColumnLayout, TwoColumnLayoutProps, UniformBadge, UniformLogo, UniformLogoLarge, UniformLogoProps, UseShortcutOptions, VerticalRhythm, WarningMessage, WarningMessageProps, accessibleHidden, addPathSegmentToPathname, borderTopIcon, breakpoints, button, buttonAccentAltDark, buttonAccentAltDarkOutline, buttonDestructive, buttonGhost, buttonGhostDestructive, buttonGhostUnimportant, buttonPrimary, buttonPrimaryInvert, buttonRippleEffect, buttonSecondary, buttonSecondaryInvert, buttonTertiary, buttonTertiaryOutline, buttonUnimportant, canvasAlertIcon, cardIcon, cq, customIcons, extractParameterProps, fadeIn, fadeInBottom, fadeInLtr, fadeInRtl, fadeInTop, fadeOutBottom, fullWidthScreenIcon, getDrawerAttributes, getParentPath, getPathSegment, growSubtle, imageTextIcon, infoFilledIcon, input, inputError, inputSelect, isMacLike, isSecureURL, isValidUrl, jsonIcon, labelText, loader as loaderAnimationData, macifyShortcut, mq, numberInput, queryStringIcon, rectangleRoundedIcon, replaceUnderscoreInString, richTextToolbarButton, richTextToolbarButtonActive, ripple, scrollbarStyles, settings, settingsIcon, skeletonLoading, slideInTtb, spinner as spinnerAnimationData, structurePanelIcon, supports, textInput, useBreakpoint, useCloseCurrentDrawer, useCurrentDrawer, useCurrentTab, useDrawer, useIconContext, useMenuContext, useOutsideClick, useParameterShell, useShortcut, warningIcon, yesNoIcon };
|
package/dist/index.d.ts
CHANGED
|
@@ -98,6 +98,8 @@ declare const buttonRippleEffect: (props: {
|
|
|
98
98
|
hoverColor: string;
|
|
99
99
|
activeColor?: string;
|
|
100
100
|
}) => _emotion_react.SerializedStyles;
|
|
101
|
+
declare const buttonAccentAltDark: _emotion_react.SerializedStyles;
|
|
102
|
+
declare const buttonAccentAltDarkOutline: _emotion_react.SerializedStyles;
|
|
101
103
|
declare const buttonPrimary: _emotion_react.SerializedStyles;
|
|
102
104
|
declare const buttonDestructive: _emotion_react.SerializedStyles;
|
|
103
105
|
declare const buttonSecondary: _emotion_react.SerializedStyles;
|
|
@@ -20296,7 +20298,7 @@ declare const UniformLogo: ({ theme, ...props }: UniformLogoProps & React.SVGAtt
|
|
|
20296
20298
|
declare const UniformLogoLarge: ({ ...props }: React.SVGAttributes<SVGElement>) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
20297
20299
|
|
|
20298
20300
|
/** Button themes that are available to use with our brand */
|
|
20299
|
-
type ButtonThemeProps$1 = 'primary' | 'secondary' | 'destructive' | 'tertiary' | 'tertiaryOutline' | 'unimportant' | 'ghost' | 'ghostDestructive' | 'primaryInvert' | 'secondaryInvert' | 'ghostUnimportant';
|
|
20301
|
+
type ButtonThemeProps$1 = 'primary' | 'secondary' | 'accent-alt-dark' | 'accent-alt-dark-outline' | 'destructive' | 'tertiary' | 'tertiaryOutline' | 'unimportant' | 'ghost' | 'ghostDestructive' | 'primaryInvert' | 'secondaryInvert' | 'ghostUnimportant';
|
|
20300
20302
|
/** Button sizes that are available to use with our brand */
|
|
20301
20303
|
type ButtonSizeProps$1 = 'zero' | 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
20302
20304
|
type ButtonProps = ButtonProps$1 & {
|
|
@@ -20342,6 +20344,7 @@ declare const allSupportedIcons: {
|
|
|
20342
20344
|
'yes-no': (props: _react_icons_all_files.IconBaseProps) => JSX.Element;
|
|
20343
20345
|
'diamond-outline': (props: _react_icons_all_files.IconBaseProps) => JSX.Element;
|
|
20344
20346
|
'diamond-fill': (props: _react_icons_all_files.IconBaseProps) => JSX.Element;
|
|
20347
|
+
'magic-wand': (props: _react_icons_all_files.IconBaseProps) => JSX.Element;
|
|
20345
20348
|
'add-r': _react_icons_all_files_lib.IconType;
|
|
20346
20349
|
add: _react_icons_all_files_lib.IconType;
|
|
20347
20350
|
airplane: _react_icons_all_files_lib.IconType;
|
|
@@ -20991,7 +20994,7 @@ type IconName = keyof typeof allSupportedIcons;
|
|
|
20991
20994
|
/** sets fill color of the svg icon
|
|
20992
20995
|
* @default 'default'
|
|
20993
20996
|
*/
|
|
20994
|
-
type IconColor = 'action' | 'default' | 'red' | 'gray' | 'accent' | 'currentColor' | 'accent-light';
|
|
20997
|
+
type IconColor = 'white' | 'action' | 'default' | 'red' | 'gray' | 'accent' | 'currentColor' | 'accent-light';
|
|
20995
20998
|
/** sets the type of icon to use from the available list */
|
|
20996
20999
|
type IconType = IconName | IconType$1;
|
|
20997
21000
|
interface IconProps extends IconBaseProps {
|
|
@@ -21048,6 +21051,7 @@ declare const customIcons: {
|
|
|
21048
21051
|
'yes-no': (props: _react_icons_all_files.IconBaseProps) => JSX.Element;
|
|
21049
21052
|
'diamond-outline': (props: _react_icons_all_files.IconBaseProps) => JSX.Element;
|
|
21050
21053
|
'diamond-fill': (props: _react_icons_all_files.IconBaseProps) => JSX.Element;
|
|
21054
|
+
'magic-wand': (props: _react_icons_all_files.IconBaseProps) => JSX.Element;
|
|
21051
21055
|
};
|
|
21052
21056
|
|
|
21053
21057
|
type IconsMap = Record<string, IconType$1>;
|
|
@@ -22021,12 +22025,13 @@ declare const ScrollableListInputItem: ({ label, icon, active, disableShadow, ch
|
|
|
22021
22025
|
type ScrollableListItemProps = React$1.ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
22022
22026
|
/** sets the button text value */
|
|
22023
22027
|
buttonText: string;
|
|
22028
|
+
icon?: React$1.ReactElement;
|
|
22024
22029
|
} & ScrollableListContainerProps;
|
|
22025
22030
|
/**
|
|
22026
22031
|
* Component used within <ScrollableList /> for adding interactive button components with predefined styles
|
|
22027
22032
|
* @example <ScrollableListItem buttontext="my button" active={false} />
|
|
22028
22033
|
*/
|
|
22029
|
-
declare const ScrollableListItem: ({ buttonText, active, disableShadow, ...props }: ScrollableListItemProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
22034
|
+
declare const ScrollableListItem: ({ buttonText, icon, active, disableShadow, ...props }: ScrollableListItemProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
22030
22035
|
|
|
22031
22036
|
/**
|
|
22032
22037
|
* Loading Indicator
|
|
@@ -23164,4 +23169,4 @@ type StatusBulletProps = React$1.HTMLAttributes<HTMLSpanElement> & {
|
|
|
23164
23169
|
};
|
|
23165
23170
|
declare const StatusBullet: ({ status, hideText, size, message, ...props }: StatusBulletProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
23166
23171
|
|
|
23167
|
-
export { ActionButtonsProps, AddButton, AddButtonProps, AddListButton, AddListButtonProps, AddListButtonThemeProps, AnimationFile, AnimationFileProps, ArrowPositionProps, Avatar, AvatarGroup, AvatarGroupProps, AvatarProps, Badge, BadgeProps, BadgeSizeProps, BadgeThemeProps, BadgeThemeStyleProps, Banner, BannerProps, BannerType, BoxHeightProps, BreakpointSize, BreakpointsMap, Button, ButtonProps, ButtonSizeProps$1 as ButtonSizeProps, ButtonThemeProps$1 as ButtonThemeProps, ButtonWithMenu, ButtonWithMenuProps, Callout, CalloutProps, CalloutType, Caption, CaptionProps, Card, CardContainer, CardContainerBgColorProps, CardContainerProps, CardProps, CardTitle, CardTitleProps, CheckboxWithInfo, CheckboxWithInforProps, ChildFunction, Chip, ChipProps, ChipTheme, ComboBoxGroupBase, ConnectToDataElementButton, ConnectToDataElementButtonProps, Container, ContainerProps, Counter, CounterProps, CreateTeamIntegrationTile, CreateTeamIntegrationTileProps, CurrentDrawerContext, DashedBox, DashedBoxProps, DescriptionList, DescriptionListProps, Details, DetailsProps, DismissibleChipAction, Drawer, DrawerContent, DrawerContentProps, DrawerContextValue, DrawerItem, DrawerProps, DrawerProvider, DrawerRenderer, DrawerRendererItemProps, DrawerRendererProps, DrawersRegistryRecord, EditTeamIntegrationTile, EditTeamIntegrationTileProps, ErrorMessage, ErrorMessageProps, Fieldset, FieldsetProps, Heading, HeadingProps, HexModalBackground, HorizontalRhythm, Icon, IconButton, IconButtonProps, IconColor, IconName, IconProps, IconType, IconsProvider, Image, ImageBroken, ImageProps, InfoMessage, InfoMessageProps, 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, JsonEditor, JsonEditorProps, Label, LabelLeadingIcon, LabelProps, Legend, LegendProps, LevelProps, LimitsBar, LimitsBarProps, Link, LinkColorProps, LinkList, LinkListProps, LinkManagerWithRefType, LinkNode, LinkProps, LinkWithRef, LoadingCardSkeleton, LoadingIcon, LoadingIconProps, LoadingIndicator, LoadingOverlay, LoadingOverlayProps, MediaCard, MediaCardProps, Menu, MenuContext, MenuGroup, MenuGroupProps, MenuItem, MenuItemProps, MenuItemSeparator, MenuItemTextThemeProps, MenuProps, Modal, ModalProps, MultilineChip, MultilineChipProps, PageHeaderSection, PageHeaderSectionProps, Paragraph, ParagraphProps, ParameterDataConnectButtonProps, ParameterDataResource, ParameterDrawerHeader, ParameterDrawerHeaderProps, ParameterGroup, ParameterGroupProps, ParameterImage, ParameterImageInner, ParameterImagePreview, ParameterImageProps, ParameterInput, ParameterInputInner, ParameterInputProps, ParameterLabel, ParameterLabelProps, ParameterLink, ParameterLinkInner, ParameterLinkProps, ParameterMenuButton, ParameterMenuButtonProps, ParameterNameAndPublicIdInput, ParameterNameAndPublicIdInputProps, ParameterOverrideMarker, ParameterRichText, ParameterRichTextInner, ParameterRichTextInnerProps, ParameterRichTextProps, ParameterSelect, ParameterSelectInner, ParameterSelectProps, ParameterShell, ParameterShellContext, ParameterShellPlaceholder, ParameterShellProps, ParameterTextarea, ParameterTextareaInner, ParameterTextareaProps, ParameterToggle, ParameterToggleInner, ParameterToggleProps, Popover, PopoverProps, ProgressBar, ProgressBarProps, ProgressList, ProgressListItem, ProgressListItemProps, ProgressListProps, RegisterDrawerProps, ResolveIcon, ResolveIconProps, RhythmProps, RichTextParamValue, RichTextToolbarIcon, ScrollableItemProps, ScrollableList, ScrollableListContainerProps, ScrollableListInputItem, ScrollableListItem, ScrollableListItemProps, ScrollableListProps, SegmentedControl, SegmentedControlOption, SegmentedControlProps, SerializedLinkNode, ShortcutContext, ShortcutRevealer, Skeleton, SkeletonProps, StatusBullet, StatusBulletProps, StatusTypeProps, SuccessMessage, SuccessMessageProps, 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, Tile, TileContainer, TileContainerProps, TileProps, TileText, TileTitleProps, Tooltip, TooltipProps, TwoColumnLayout, TwoColumnLayoutProps, UniformBadge, UniformLogo, UniformLogoLarge, UniformLogoProps, UseShortcutOptions, VerticalRhythm, WarningMessage, WarningMessageProps, accessibleHidden, addPathSegmentToPathname, borderTopIcon, breakpoints, button, buttonDestructive, buttonGhost, buttonGhostDestructive, buttonGhostUnimportant, buttonPrimary, buttonPrimaryInvert, buttonRippleEffect, buttonSecondary, buttonSecondaryInvert, buttonTertiary, buttonTertiaryOutline, buttonUnimportant, canvasAlertIcon, cardIcon, cq, customIcons, extractParameterProps, fadeIn, fadeInBottom, fadeInLtr, fadeInRtl, fadeInTop, fadeOutBottom, fullWidthScreenIcon, getDrawerAttributes, getParentPath, getPathSegment, growSubtle, imageTextIcon, infoFilledIcon, input, inputError, inputSelect, isMacLike, isSecureURL, isValidUrl, jsonIcon, labelText, loader as loaderAnimationData, macifyShortcut, mq, numberInput, queryStringIcon, rectangleRoundedIcon, replaceUnderscoreInString, richTextToolbarButton, richTextToolbarButtonActive, ripple, scrollbarStyles, settings, settingsIcon, skeletonLoading, slideInTtb, spinner as spinnerAnimationData, structurePanelIcon, supports, textInput, useBreakpoint, useCloseCurrentDrawer, useCurrentDrawer, useCurrentTab, useDrawer, useIconContext, useMenuContext, useOutsideClick, useParameterShell, useShortcut, warningIcon, yesNoIcon };
|
|
23172
|
+
export { ActionButtonsProps, AddButton, AddButtonProps, AddListButton, AddListButtonProps, AddListButtonThemeProps, AnimationFile, AnimationFileProps, ArrowPositionProps, Avatar, AvatarGroup, AvatarGroupProps, AvatarProps, Badge, BadgeProps, BadgeSizeProps, BadgeThemeProps, BadgeThemeStyleProps, Banner, BannerProps, BannerType, BoxHeightProps, BreakpointSize, BreakpointsMap, Button, ButtonProps, ButtonSizeProps$1 as ButtonSizeProps, ButtonThemeProps$1 as ButtonThemeProps, ButtonWithMenu, ButtonWithMenuProps, Callout, CalloutProps, CalloutType, Caption, CaptionProps, Card, CardContainer, CardContainerBgColorProps, CardContainerProps, CardProps, CardTitle, CardTitleProps, CheckboxWithInfo, CheckboxWithInforProps, ChildFunction, Chip, ChipProps, ChipTheme, ComboBoxGroupBase, ConnectToDataElementButton, ConnectToDataElementButtonProps, Container, ContainerProps, Counter, CounterProps, CreateTeamIntegrationTile, CreateTeamIntegrationTileProps, CurrentDrawerContext, DashedBox, DashedBoxProps, DescriptionList, DescriptionListProps, Details, DetailsProps, DismissibleChipAction, Drawer, DrawerContent, DrawerContentProps, DrawerContextValue, DrawerItem, DrawerProps, DrawerProvider, DrawerRenderer, DrawerRendererItemProps, DrawerRendererProps, DrawersRegistryRecord, EditTeamIntegrationTile, EditTeamIntegrationTileProps, ErrorMessage, ErrorMessageProps, Fieldset, FieldsetProps, Heading, HeadingProps, HexModalBackground, HorizontalRhythm, Icon, IconButton, IconButtonProps, IconColor, IconName, IconProps, IconType, IconsProvider, Image, ImageBroken, ImageProps, InfoMessage, InfoMessageProps, 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, JsonEditor, JsonEditorProps, Label, LabelLeadingIcon, LabelProps, Legend, LegendProps, LevelProps, LimitsBar, LimitsBarProps, Link, LinkColorProps, LinkList, LinkListProps, LinkManagerWithRefType, LinkNode, LinkProps, LinkWithRef, LoadingCardSkeleton, LoadingIcon, LoadingIconProps, LoadingIndicator, LoadingOverlay, LoadingOverlayProps, MediaCard, MediaCardProps, Menu, MenuContext, MenuGroup, MenuGroupProps, MenuItem, MenuItemProps, MenuItemSeparator, MenuItemTextThemeProps, MenuProps, Modal, ModalProps, MultilineChip, MultilineChipProps, PageHeaderSection, PageHeaderSectionProps, Paragraph, ParagraphProps, ParameterDataConnectButtonProps, ParameterDataResource, ParameterDrawerHeader, ParameterDrawerHeaderProps, ParameterGroup, ParameterGroupProps, ParameterImage, ParameterImageInner, ParameterImagePreview, ParameterImageProps, ParameterInput, ParameterInputInner, ParameterInputProps, ParameterLabel, ParameterLabelProps, ParameterLink, ParameterLinkInner, ParameterLinkProps, ParameterMenuButton, ParameterMenuButtonProps, ParameterNameAndPublicIdInput, ParameterNameAndPublicIdInputProps, ParameterOverrideMarker, ParameterRichText, ParameterRichTextInner, ParameterRichTextInnerProps, ParameterRichTextProps, ParameterSelect, ParameterSelectInner, ParameterSelectProps, ParameterShell, ParameterShellContext, ParameterShellPlaceholder, ParameterShellProps, ParameterTextarea, ParameterTextareaInner, ParameterTextareaProps, ParameterToggle, ParameterToggleInner, ParameterToggleProps, Popover, PopoverProps, ProgressBar, ProgressBarProps, ProgressList, ProgressListItem, ProgressListItemProps, ProgressListProps, RegisterDrawerProps, ResolveIcon, ResolveIconProps, RhythmProps, RichTextParamValue, RichTextToolbarIcon, ScrollableItemProps, ScrollableList, ScrollableListContainerProps, ScrollableListInputItem, ScrollableListItem, ScrollableListItemProps, ScrollableListProps, SegmentedControl, SegmentedControlOption, SegmentedControlProps, SerializedLinkNode, ShortcutContext, ShortcutRevealer, Skeleton, SkeletonProps, StatusBullet, StatusBulletProps, StatusTypeProps, SuccessMessage, SuccessMessageProps, 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, Tile, TileContainer, TileContainerProps, TileProps, TileText, TileTitleProps, Tooltip, TooltipProps, TwoColumnLayout, TwoColumnLayoutProps, UniformBadge, UniformLogo, UniformLogoLarge, UniformLogoProps, UseShortcutOptions, VerticalRhythm, WarningMessage, WarningMessageProps, accessibleHidden, addPathSegmentToPathname, borderTopIcon, breakpoints, button, buttonAccentAltDark, buttonAccentAltDarkOutline, buttonDestructive, buttonGhost, buttonGhostDestructive, buttonGhostUnimportant, buttonPrimary, buttonPrimaryInvert, buttonRippleEffect, buttonSecondary, buttonSecondaryInvert, buttonTertiary, buttonTertiaryOutline, buttonUnimportant, canvasAlertIcon, cardIcon, cq, customIcons, extractParameterProps, fadeIn, fadeInBottom, fadeInLtr, fadeInRtl, fadeInTop, fadeOutBottom, fullWidthScreenIcon, getDrawerAttributes, getParentPath, getPathSegment, growSubtle, imageTextIcon, infoFilledIcon, input, inputError, inputSelect, isMacLike, isSecureURL, isValidUrl, jsonIcon, labelText, loader as loaderAnimationData, macifyShortcut, mq, numberInput, queryStringIcon, rectangleRoundedIcon, replaceUnderscoreInString, richTextToolbarButton, richTextToolbarButtonActive, ripple, scrollbarStyles, settings, settingsIcon, skeletonLoading, slideInTtb, spinner as spinnerAnimationData, structurePanelIcon, supports, textInput, useBreakpoint, useCloseCurrentDrawer, useCurrentDrawer, useCurrentTab, useDrawer, useIconContext, useMenuContext, useOutsideClick, useParameterShell, useShortcut, warningIcon, yesNoIcon };
|
package/dist/index.js
CHANGED
|
@@ -1490,6 +1490,8 @@ __export(src_exports, {
|
|
|
1490
1490
|
borderTopIcon: () => borderTopIcon,
|
|
1491
1491
|
breakpoints: () => breakpoints,
|
|
1492
1492
|
button: () => button,
|
|
1493
|
+
buttonAccentAltDark: () => buttonAccentAltDark,
|
|
1494
|
+
buttonAccentAltDarkOutline: () => buttonAccentAltDarkOutline,
|
|
1493
1495
|
buttonDestructive: () => buttonDestructive,
|
|
1494
1496
|
buttonGhost: () => buttonGhost,
|
|
1495
1497
|
buttonGhostDestructive: () => buttonGhostDestructive,
|
|
@@ -1942,6 +1944,34 @@ var buttonRippleEffect = (props) => import_react3.css`
|
|
|
1942
1944
|
transition: background 0s;
|
|
1943
1945
|
}
|
|
1944
1946
|
`;
|
|
1947
|
+
var buttonAccentAltDark = import_react3.css`
|
|
1948
|
+
background: var(--accent-alt-dark);
|
|
1949
|
+
color: var(--white);
|
|
1950
|
+
|
|
1951
|
+
&:disabled {
|
|
1952
|
+
background: var(--gray-300);
|
|
1953
|
+
color: var(--white);
|
|
1954
|
+
}
|
|
1955
|
+
|
|
1956
|
+
${buttonRippleEffect({ hoverColor: "var(--brand-secondary-1)" })}
|
|
1957
|
+
`;
|
|
1958
|
+
var buttonAccentAltDarkOutline = import_react3.css`
|
|
1959
|
+
background: var(--white);
|
|
1960
|
+
color: var(--accent-alt-dark);
|
|
1961
|
+
box-shadow: 0 0 0 1px var(--accent-alt-dark);
|
|
1962
|
+
transition: box-shadow var(--duration-fast) var(--timing-ease-out);
|
|
1963
|
+
|
|
1964
|
+
&:hover {
|
|
1965
|
+
color: var(--primary-action-hover);
|
|
1966
|
+
}
|
|
1967
|
+
|
|
1968
|
+
&:disabled {
|
|
1969
|
+
color: var(--gray-300);
|
|
1970
|
+
box-shadow: 0 0 0 1px var(--gray-300);
|
|
1971
|
+
}
|
|
1972
|
+
|
|
1973
|
+
${buttonRippleEffect({ hoverColor: "var(--gray-50)" })}
|
|
1974
|
+
`;
|
|
1945
1975
|
var buttonPrimary = import_react3.css`
|
|
1946
1976
|
background: var(--brand-secondary-1);
|
|
1947
1977
|
color: var(--white);
|
|
@@ -2652,6 +2682,9 @@ var IconImg = import_react12.css`
|
|
|
2652
2682
|
vertical-align: middle;
|
|
2653
2683
|
}
|
|
2654
2684
|
`;
|
|
2685
|
+
var IconWhite = import_react12.css`
|
|
2686
|
+
color: var(--white);
|
|
2687
|
+
`;
|
|
2655
2688
|
var IconColorDefault = import_react12.css`
|
|
2656
2689
|
color: var(--brand-secondary-3);
|
|
2657
2690
|
`;
|
|
@@ -2707,6 +2740,7 @@ var IconInner = ({ icon, iconColor = "default", size = "1.5rem", ...otherProps }
|
|
|
2707
2740
|
const isIconName = typeof icon === "string";
|
|
2708
2741
|
const { iconsMap, isLoading } = useIconContext();
|
|
2709
2742
|
const customColor = {
|
|
2743
|
+
white: IconWhite,
|
|
2710
2744
|
action: IconColorAction,
|
|
2711
2745
|
default: IconColorDefault,
|
|
2712
2746
|
gray: IconColorGray,
|
|
@@ -3316,6 +3350,60 @@ var diamondFill = (0, import_all_files.GenIcon)({
|
|
|
3316
3350
|
}
|
|
3317
3351
|
]
|
|
3318
3352
|
});
|
|
3353
|
+
var magicWand = (0, import_all_files.GenIcon)({
|
|
3354
|
+
tag: "svg",
|
|
3355
|
+
attr: {
|
|
3356
|
+
role: "img",
|
|
3357
|
+
viewBox: "0 0 24 24"
|
|
3358
|
+
},
|
|
3359
|
+
child: [
|
|
3360
|
+
{
|
|
3361
|
+
tag: "path",
|
|
3362
|
+
attr: {
|
|
3363
|
+
fill: "currentColor",
|
|
3364
|
+
fillOpacity: "0.5",
|
|
3365
|
+
d: "M12.6021 0.799316C12.5443 0.799316 12.487 0.802204 12.4305 0.807862C12.3484 1.91145 11.5902 2.79082 10.6387 2.88601C10.6338 2.9516 10.6313 3.01798 10.6313 3.08503C10.6313 3.15208 10.6338 3.21846 10.6387 3.28405C11.5902 3.37924 12.3484 4.25862 12.4305 5.3622C12.487 5.36786 12.5443 5.37074 12.6021 5.37074C12.6599 5.37074 12.7171 5.36786 12.7737 5.3622C12.8558 4.25862 13.614 3.37924 14.5655 3.28405C14.5704 3.21846 14.5729 3.15208 14.5729 3.08503C14.5729 3.01798 14.5704 2.9516 14.5655 2.88601C13.614 2.79082 12.8558 1.91145 12.7737 0.807862C12.7171 0.802204 12.6599 0.799316 12.6021 0.799316Z"
|
|
3366
|
+
},
|
|
3367
|
+
child: []
|
|
3368
|
+
},
|
|
3369
|
+
{
|
|
3370
|
+
tag: "path",
|
|
3371
|
+
attr: {
|
|
3372
|
+
fill: "currentColor",
|
|
3373
|
+
fillOpacity: "0.5",
|
|
3374
|
+
d: "M17.8945 12.4247C17.8367 12.4247 17.7795 12.4276 17.7229 12.4332C17.6409 13.5368 16.8826 14.4162 15.9311 14.5114C15.9262 14.577 15.9237 14.6433 15.9237 14.7104C15.9237 14.7774 15.9262 14.8438 15.9311 14.9094C16.8826 15.0046 17.6409 15.884 17.7229 16.9876C17.7795 16.9932 17.8367 16.9961 17.8945 16.9961C17.9523 16.9961 18.0096 16.9932 18.0661 16.9876C18.1482 15.884 18.9064 15.0046 19.858 14.9094C19.8628 14.8438 19.8653 14.7774 19.8653 14.7104C19.8653 14.6433 19.8628 14.577 19.858 14.5114C18.9064 14.4162 18.1482 13.5368 18.0661 12.4332C18.0096 12.4276 17.9523 12.4247 17.8945 12.4247Z"
|
|
3375
|
+
},
|
|
3376
|
+
child: []
|
|
3377
|
+
},
|
|
3378
|
+
{
|
|
3379
|
+
tag: "path",
|
|
3380
|
+
attr: {
|
|
3381
|
+
fill: "currentColor",
|
|
3382
|
+
fillOpacity: "0.5",
|
|
3383
|
+
d: "M21.571 1.6413C21.509 1.6413 21.4476 1.6449 21.387 1.65195C21.299 3.02718 20.4858 4.12302 19.4653 4.24164C19.4601 4.32337 19.4574 4.40609 19.4574 4.48965C19.4574 4.57321 19.4601 4.65592 19.4653 4.73766C20.4858 4.85628 21.299 5.95211 21.387 7.32734C21.4476 7.33439 21.509 7.33799 21.571 7.33799C21.633 7.33799 21.6944 7.33439 21.755 7.32734C21.8431 5.95211 22.6562 4.85628 23.6767 4.73766C23.6819 4.65592 23.6846 4.57321 23.6846 4.48965C23.6846 4.40609 23.6819 4.32337 23.6767 4.24164C22.6562 4.12302 21.8431 3.02718 21.755 1.65195C21.6944 1.6449 21.633 1.6413 21.571 1.6413Z"
|
|
3384
|
+
},
|
|
3385
|
+
child: []
|
|
3386
|
+
},
|
|
3387
|
+
{
|
|
3388
|
+
tag: "path",
|
|
3389
|
+
attr: {
|
|
3390
|
+
fill: "currentColor",
|
|
3391
|
+
d: "M15.6875 11.9141L12.5116 8.73823L2.07262 19.1773C1.9166 19.3333 1.9166 19.5862 2.07262 19.7422L4.68354 22.3532C4.83956 22.5092 5.0925 22.5092 5.24852 22.3532L15.6875 11.9141Z"
|
|
3392
|
+
},
|
|
3393
|
+
child: []
|
|
3394
|
+
},
|
|
3395
|
+
{
|
|
3396
|
+
tag: "path",
|
|
3397
|
+
attr: {
|
|
3398
|
+
fill: "currentColor",
|
|
3399
|
+
fillRule: "evenodd",
|
|
3400
|
+
clipRule: "evenodd",
|
|
3401
|
+
d: "M16.8929 4.92196L19.5038 7.53288L14.8688 12.1679L12.2578 9.55702L16.8929 4.92196ZM19.7863 7.2504C19.9423 7.40641 19.9423 7.65936 19.7863 7.81537L15.6875 11.9141L12.5116 8.73823L16.6104 4.63947C16.7664 4.48346 17.0194 4.48346 17.1754 4.63947L19.7863 7.2504Z"
|
|
3402
|
+
},
|
|
3403
|
+
child: []
|
|
3404
|
+
}
|
|
3405
|
+
]
|
|
3406
|
+
});
|
|
3319
3407
|
var customIcons = {
|
|
3320
3408
|
"rectangle-rounded": rectangleRoundedIcon,
|
|
3321
3409
|
card: cardIcon,
|
|
@@ -3339,7 +3427,8 @@ var customIcons = {
|
|
|
3339
3427
|
"clear-formatting": clearFormatting,
|
|
3340
3428
|
"yes-no": yesNoIcon,
|
|
3341
3429
|
"diamond-outline": diamondOutline,
|
|
3342
|
-
"diamond-fill": diamondFill
|
|
3430
|
+
"diamond-fill": diamondFill,
|
|
3431
|
+
"magic-wand": magicWand
|
|
3343
3432
|
};
|
|
3344
3433
|
|
|
3345
3434
|
// src/components/AddListButton/AddListButton.styles.ts
|
|
@@ -12969,6 +13058,8 @@ var Button = React6.forwardRef(
|
|
|
12969
13058
|
const buttonTheme = {
|
|
12970
13059
|
primary: buttonPrimary,
|
|
12971
13060
|
primaryInvert: buttonPrimaryInvert,
|
|
13061
|
+
"accent-alt-dark": buttonAccentAltDark,
|
|
13062
|
+
"accent-alt-dark-outline": buttonAccentAltDarkOutline,
|
|
12972
13063
|
destructive: buttonDestructive,
|
|
12973
13064
|
secondary: buttonSecondary,
|
|
12974
13065
|
secondaryInvert: buttonSecondaryInvert,
|
|
@@ -17268,6 +17359,7 @@ var import_CgCheck4 = require("@react-icons/all-files/cg/CgCheck");
|
|
|
17268
17359
|
var import_jsx_runtime83 = require("@emotion/react/jsx-runtime");
|
|
17269
17360
|
var ScrollableListItem = ({
|
|
17270
17361
|
buttonText,
|
|
17362
|
+
icon,
|
|
17271
17363
|
active,
|
|
17272
17364
|
disableShadow,
|
|
17273
17365
|
...props
|
|
@@ -17281,7 +17373,10 @@ var ScrollableListItem = ({
|
|
|
17281
17373
|
active ? ScrollableListItemActive : void 0
|
|
17282
17374
|
],
|
|
17283
17375
|
children: /* @__PURE__ */ (0, import_jsx_runtime83.jsxs)("button", { css: ScrollableListItemBtn, type: "button", ...props, children: [
|
|
17284
|
-
/* @__PURE__ */ (0, import_jsx_runtime83.
|
|
17376
|
+
/* @__PURE__ */ (0, import_jsx_runtime83.jsxs)(HorizontalRhythm, { gap: "xs", align: "center", children: [
|
|
17377
|
+
icon,
|
|
17378
|
+
/* @__PURE__ */ (0, import_jsx_runtime83.jsx)("span", { children: buttonText })
|
|
17379
|
+
] }),
|
|
17285
17380
|
/* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
|
|
17286
17381
|
Icon,
|
|
17287
17382
|
{
|
|
@@ -21269,6 +21364,8 @@ var StatusBullet = ({
|
|
|
21269
21364
|
borderTopIcon,
|
|
21270
21365
|
breakpoints,
|
|
21271
21366
|
button,
|
|
21367
|
+
buttonAccentAltDark,
|
|
21368
|
+
buttonAccentAltDarkOutline,
|
|
21272
21369
|
buttonDestructive,
|
|
21273
21370
|
buttonGhost,
|
|
21274
21371
|
buttonGhostDestructive,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uniformdev/design-system",
|
|
3
|
-
"version": "19.54.3-alpha.
|
|
3
|
+
"version": "19.54.3-alpha.5+014bd6280",
|
|
4
4
|
"description": "Uniform design system components",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -24,8 +24,8 @@
|
|
|
24
24
|
"@storybook/react": "6.5.16",
|
|
25
25
|
"@types/react": "18.2.21",
|
|
26
26
|
"@types/react-dom": "18.2.7",
|
|
27
|
-
"@uniformdev/canvas": "^19.54.3-alpha.
|
|
28
|
-
"@uniformdev/richtext": "^19.54.3-alpha.
|
|
27
|
+
"@uniformdev/canvas": "^19.54.3-alpha.5+014bd6280",
|
|
28
|
+
"@uniformdev/richtext": "^19.54.3-alpha.5+014bd6280",
|
|
29
29
|
"autoprefixer": "10.4.15",
|
|
30
30
|
"hygen": "6.2.11",
|
|
31
31
|
"postcss": "8.4.28",
|
|
@@ -67,5 +67,5 @@
|
|
|
67
67
|
"publishConfig": {
|
|
68
68
|
"access": "public"
|
|
69
69
|
},
|
|
70
|
-
"gitHead": "
|
|
70
|
+
"gitHead": "014bd628043639e39e853dfdc2a7f1d2da340854"
|
|
71
71
|
}
|