@uniformdev/design-system 18.14.0 → 18.15.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/dist/esm/index.js +14 -2
- package/dist/index.d.ts +6 -1
- package/dist/index.js +15 -2
- package/package.json +2 -2
package/dist/esm/index.js
CHANGED
|
@@ -542,6 +542,16 @@ var fadeInBottom = keyframes`
|
|
|
542
542
|
transform: translateY(0);
|
|
543
543
|
}
|
|
544
544
|
`;
|
|
545
|
+
var fadeInTop = keyframes`
|
|
546
|
+
0% {
|
|
547
|
+
opacity: 0;
|
|
548
|
+
transform: translateY(-10px);
|
|
549
|
+
}
|
|
550
|
+
100% {
|
|
551
|
+
opacity: 1;
|
|
552
|
+
transform: translateY(0);
|
|
553
|
+
}
|
|
554
|
+
`;
|
|
545
555
|
var fadeOutBottom = keyframes`
|
|
546
556
|
0% {
|
|
547
557
|
opacity: 1;
|
|
@@ -8288,6 +8298,7 @@ import {
|
|
|
8288
8298
|
MenuButton,
|
|
8289
8299
|
useMenuState
|
|
8290
8300
|
} from "reakit/Menu";
|
|
8301
|
+
import { Portal } from "reakit/Portal";
|
|
8291
8302
|
|
|
8292
8303
|
// src/components/Menu/Menu.styles.ts
|
|
8293
8304
|
import { css as css17 } from "@emotion/react";
|
|
@@ -8320,7 +8331,7 @@ var Menu = ({
|
|
|
8320
8331
|
const menuState = useMenuState({ placement });
|
|
8321
8332
|
return /* @__PURE__ */ jsxs10(MenuContext.Provider, { value: menuState, children: [
|
|
8322
8333
|
/* @__PURE__ */ jsx19(MenuButton, { ...menuState, ref: menuTrigger.ref, ...menuTrigger.props, children: (triggerProps) => React6.cloneElement(menuTrigger, triggerProps) }),
|
|
8323
|
-
/* @__PURE__ */ jsx19(
|
|
8334
|
+
/* @__PURE__ */ jsx19(Portal, { children: /* @__PURE__ */ jsx19(
|
|
8324
8335
|
BaseMenu,
|
|
8325
8336
|
{
|
|
8326
8337
|
...menuState,
|
|
@@ -8332,7 +8343,7 @@ var Menu = ({
|
|
|
8332
8343
|
className: typeof menuItemsContainerCssClasses === "string" ? menuItemsContainerCssClasses : "",
|
|
8333
8344
|
children
|
|
8334
8345
|
}
|
|
8335
|
-
)
|
|
8346
|
+
) })
|
|
8336
8347
|
] });
|
|
8337
8348
|
};
|
|
8338
8349
|
|
|
@@ -11583,6 +11594,7 @@ export {
|
|
|
11583
11594
|
fadeInBottom,
|
|
11584
11595
|
fadeInLtr,
|
|
11585
11596
|
fadeInRtl,
|
|
11597
|
+
fadeInTop,
|
|
11586
11598
|
fadeOutBottom,
|
|
11587
11599
|
growSubtle,
|
|
11588
11600
|
input,
|
package/dist/index.d.ts
CHANGED
|
@@ -84,6 +84,11 @@ declare const growSubtle: _emotion_react.Keyframes;
|
|
|
84
84
|
* @description - fades in an element from the Y axis by 10px
|
|
85
85
|
*/
|
|
86
86
|
declare const fadeInBottom: _emotion_react.Keyframes;
|
|
87
|
+
/**
|
|
88
|
+
* fadeInTop animation
|
|
89
|
+
* @description - fades in an element from the Y axis by -10px
|
|
90
|
+
*/
|
|
91
|
+
declare const fadeInTop: _emotion_react.Keyframes;
|
|
87
92
|
/**
|
|
88
93
|
* fadeOutBottom animation
|
|
89
94
|
* @description - fades out an element from the Y axis by 10px
|
|
@@ -1387,4 +1392,4 @@ type StatusBulletProps = React$1.HTMLAttributes<HTMLSpanElement> & {
|
|
|
1387
1392
|
};
|
|
1388
1393
|
declare const StatusBullet: ({ status, hideText, message, ...props }: StatusBulletProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
1389
1394
|
|
|
1390
|
-
export { ActionButtonsProps, AddButton, AddButtonProps, AddListButton, AddListButtonProps, AddListButtonThemeProps, AnimationFile, AnimationFileProps, ArrowPositionProps, Badge, BadgeProps, BoxHeightProps, BreakpointSize, BreakpointsMap, Button, ButtonProps, ButtonSizeProps, ButtonThemeProps$1 as ButtonThemeProps, ButtonWithMenu, ButtonWithMenuProps, Callout, CalloutProps, CalloutType, Caption, CaptionProps, Card, CardContainer, CardContainerBgColorProps, CardContainerProps, CardProps, CheckboxWithInfo, CheckboxWithInforProps, ChildFunction, ComboBoxGroupBase, Counter, CounterProps, CreateTeamIntegrationTile, CreateTeamIntegrationTileProps, DashedBox, DashedBoxProps, Details, DetailsProps, Drawer, DrawerContextValue, DrawerItem, DrawerProps, DrawerProvider, DrawerRenderer, DrawerRendererItemProps, DrawerRendererProps, EditTeamIntegrationTile, EditTeamIntegrationTileProps, ErrorMessage, ErrorMessageProps, Fieldset, FieldsetProps, 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, Legend, LegendProps, LevelProps, LimitsBar, LimitsBarProps, Link, LinkColorProps, LinkList, LinkListProps, LinkManagerWithRefType, LinkProps, LinkWithRef, LoadingIcon, LoadingIconProps, LoadingIndicator, LoadingOverlay, LoadingOverlayProps, LottieFile, LottieFileKeyProps, LottieFileProps, Menu, MenuContext, MenuItem, MenuItemProps, MenuItemSeparator, MenuItemTextThemeProps, MenuProps, PageHeaderSection, PageHeaderSectionProps, Paragraph, ParagraphProps, RegisterDrawerProps, ResolveIcon, ResolveIconProps, ScrollableItemProps, ScrollableList, ScrollableListInputItem, ScrollableListItem, ScrollableListItemProps, ScrollableListProps, ShortcutContext, ShortcutRevealer, Skeleton, SkeletonProps, StatusBullet, StatusBulletProps, StatusTypeProps, 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, Tooltip, TooltipProps, UniformBadge, UniformLogo, UniformLogoProps, UseShortcutOptions, WarningMessage, WarningMessageProps, breakpoints, button, buttonGhost, buttonGhostDestructive, buttonPrimary, buttonRippleEffect, buttonSecondary, buttonSecondaryInvert, buttonTertiary, buttonUnimportant, fadeIn, fadeInBottom, fadeInLtr, fadeInRtl, fadeOutBottom, growSubtle, input, inputError, inputSelect, isMacLike, labelText, macifyShortcut, mq, ripple, scrollbarStyles, skeletonLoading, supports, useBreakpoint, useCurrentTab, useDrawer, useIconContext, useMenuContext, useOutsideClick, useShortcut };
|
|
1395
|
+
export { ActionButtonsProps, AddButton, AddButtonProps, AddListButton, AddListButtonProps, AddListButtonThemeProps, AnimationFile, AnimationFileProps, ArrowPositionProps, Badge, BadgeProps, BoxHeightProps, BreakpointSize, BreakpointsMap, Button, ButtonProps, ButtonSizeProps, ButtonThemeProps$1 as ButtonThemeProps, ButtonWithMenu, ButtonWithMenuProps, Callout, CalloutProps, CalloutType, Caption, CaptionProps, Card, CardContainer, CardContainerBgColorProps, CardContainerProps, CardProps, CheckboxWithInfo, CheckboxWithInforProps, ChildFunction, ComboBoxGroupBase, Counter, CounterProps, CreateTeamIntegrationTile, CreateTeamIntegrationTileProps, DashedBox, DashedBoxProps, Details, DetailsProps, Drawer, DrawerContextValue, DrawerItem, DrawerProps, DrawerProvider, DrawerRenderer, DrawerRendererItemProps, DrawerRendererProps, EditTeamIntegrationTile, EditTeamIntegrationTileProps, ErrorMessage, ErrorMessageProps, Fieldset, FieldsetProps, 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, Legend, LegendProps, LevelProps, LimitsBar, LimitsBarProps, Link, LinkColorProps, LinkList, LinkListProps, LinkManagerWithRefType, LinkProps, LinkWithRef, LoadingIcon, LoadingIconProps, LoadingIndicator, LoadingOverlay, LoadingOverlayProps, LottieFile, LottieFileKeyProps, LottieFileProps, Menu, MenuContext, MenuItem, MenuItemProps, MenuItemSeparator, MenuItemTextThemeProps, MenuProps, PageHeaderSection, PageHeaderSectionProps, Paragraph, ParagraphProps, RegisterDrawerProps, ResolveIcon, ResolveIconProps, ScrollableItemProps, ScrollableList, ScrollableListInputItem, ScrollableListItem, ScrollableListItemProps, ScrollableListProps, ShortcutContext, ShortcutRevealer, Skeleton, SkeletonProps, StatusBullet, StatusBulletProps, StatusTypeProps, 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, Tooltip, TooltipProps, UniformBadge, UniformLogo, UniformLogoProps, UseShortcutOptions, WarningMessage, WarningMessageProps, breakpoints, button, buttonGhost, buttonGhostDestructive, buttonPrimary, buttonRippleEffect, buttonSecondary, buttonSecondaryInvert, buttonTertiary, buttonUnimportant, fadeIn, fadeInBottom, fadeInLtr, fadeInRtl, fadeInTop, fadeOutBottom, growSubtle, input, inputError, inputSelect, isMacLike, labelText, macifyShortcut, mq, ripple, scrollbarStyles, skeletonLoading, supports, useBreakpoint, useCurrentTab, useDrawer, useIconContext, useMenuContext, useOutsideClick, useShortcut };
|
package/dist/index.js
CHANGED
|
@@ -121,6 +121,7 @@ __export(src_exports, {
|
|
|
121
121
|
fadeInBottom: () => fadeInBottom,
|
|
122
122
|
fadeInLtr: () => fadeInLtr,
|
|
123
123
|
fadeInRtl: () => fadeInRtl,
|
|
124
|
+
fadeInTop: () => fadeInTop,
|
|
124
125
|
fadeOutBottom: () => fadeOutBottom,
|
|
125
126
|
growSubtle: () => growSubtle,
|
|
126
127
|
input: () => input,
|
|
@@ -688,6 +689,16 @@ var fadeInBottom = import_react5.keyframes`
|
|
|
688
689
|
transform: translateY(0);
|
|
689
690
|
}
|
|
690
691
|
`;
|
|
692
|
+
var fadeInTop = import_react5.keyframes`
|
|
693
|
+
0% {
|
|
694
|
+
opacity: 0;
|
|
695
|
+
transform: translateY(-10px);
|
|
696
|
+
}
|
|
697
|
+
100% {
|
|
698
|
+
opacity: 1;
|
|
699
|
+
transform: translateY(0);
|
|
700
|
+
}
|
|
701
|
+
`;
|
|
691
702
|
var fadeOutBottom = import_react5.keyframes`
|
|
692
703
|
0% {
|
|
693
704
|
opacity: 1;
|
|
@@ -8430,6 +8441,7 @@ var import_cg5 = require("react-icons/cg");
|
|
|
8430
8441
|
// src/components/Menu/Menu.tsx
|
|
8431
8442
|
var React6 = __toESM(require("react"));
|
|
8432
8443
|
var import_Menu = require("reakit/Menu");
|
|
8444
|
+
var import_Portal = require("reakit/Portal");
|
|
8433
8445
|
|
|
8434
8446
|
// src/components/Menu/Menu.styles.ts
|
|
8435
8447
|
var import_react24 = require("@emotion/react");
|
|
@@ -8462,7 +8474,7 @@ var Menu = ({
|
|
|
8462
8474
|
const menuState = (0, import_Menu.useMenuState)({ placement });
|
|
8463
8475
|
return /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(MenuContext.Provider, { value: menuState, children: [
|
|
8464
8476
|
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_Menu.MenuButton, { ...menuState, ref: menuTrigger.ref, ...menuTrigger.props, children: (triggerProps) => React6.cloneElement(menuTrigger, triggerProps) }),
|
|
8465
|
-
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
|
|
8477
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_Portal.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
|
|
8466
8478
|
import_Menu.Menu,
|
|
8467
8479
|
{
|
|
8468
8480
|
...menuState,
|
|
@@ -8474,7 +8486,7 @@ var Menu = ({
|
|
|
8474
8486
|
className: typeof menuItemsContainerCssClasses === "string" ? menuItemsContainerCssClasses : "",
|
|
8475
8487
|
children
|
|
8476
8488
|
}
|
|
8477
|
-
)
|
|
8489
|
+
) })
|
|
8478
8490
|
] });
|
|
8479
8491
|
};
|
|
8480
8492
|
|
|
@@ -11716,6 +11728,7 @@ var StatusBullet = ({ status, hideText = false, message, ...props }) => {
|
|
|
11716
11728
|
fadeInBottom,
|
|
11717
11729
|
fadeInLtr,
|
|
11718
11730
|
fadeInRtl,
|
|
11731
|
+
fadeInTop,
|
|
11719
11732
|
fadeOutBottom,
|
|
11720
11733
|
growSubtle,
|
|
11721
11734
|
input,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uniformdev/design-system",
|
|
3
|
-
"version": "18.
|
|
3
|
+
"version": "18.15.0",
|
|
4
4
|
"description": "Uniform design system components",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -49,5 +49,5 @@
|
|
|
49
49
|
"publishConfig": {
|
|
50
50
|
"access": "public"
|
|
51
51
|
},
|
|
52
|
-
"gitHead": "
|
|
52
|
+
"gitHead": "ca810e990c3383c9ffb39bb67787f4ac3a1cc075"
|
|
53
53
|
}
|