@uniformdev/design-system 19.161.2-alpha.1 → 19.164.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 +27 -14
- package/dist/index.d.mts +20 -12
- package/dist/index.d.ts +20 -12
- package/dist/index.js +28 -14
- package/package.json +6 -6
package/dist/esm/index.js
CHANGED
|
@@ -66,6 +66,10 @@ var Theme = ({ disableReset = false, disableGlobalReset = false }) => {
|
|
|
66
66
|
|
|
67
67
|
--action-destructive-default: var(--brand-secondary-5);
|
|
68
68
|
--action-destructive-hover: #e07571;
|
|
69
|
+
--action-destructive-active: rbga(210, 50, 45, 0.05); /* #d2322d */
|
|
70
|
+
--action-destructive-disabled: #f87171;
|
|
71
|
+
|
|
72
|
+
|
|
69
73
|
|
|
70
74
|
/* tertiary action */
|
|
71
75
|
--tertiary-action-default: var(--gray-700);
|
|
@@ -934,16 +938,16 @@ var buttonPrimary = css8`
|
|
|
934
938
|
})}
|
|
935
939
|
`;
|
|
936
940
|
var buttonDestructive = css8`
|
|
937
|
-
background: var(--
|
|
941
|
+
background: var(--action-destructive-default);
|
|
938
942
|
color: var(--white);
|
|
939
943
|
|
|
940
944
|
&:disabled {
|
|
941
|
-
background: var(--gray-300);
|
|
942
945
|
color: var(--white);
|
|
946
|
+
opacity: var(--opacity-50);
|
|
943
947
|
}
|
|
944
948
|
|
|
945
949
|
${buttonRippleEffect({
|
|
946
|
-
hoverColor: "var(--
|
|
950
|
+
hoverColor: "var(--action-destructive-default)",
|
|
947
951
|
activeColor: "var(--action-destructive-hover)"
|
|
948
952
|
})}
|
|
949
953
|
`;
|
|
@@ -1021,19 +1025,20 @@ var buttonGhost = css8`
|
|
|
1021
1025
|
`;
|
|
1022
1026
|
var buttonGhostDestructive = css8`
|
|
1023
1027
|
background: transparent;
|
|
1024
|
-
color: var(--
|
|
1028
|
+
color: var(--action-destructive-default);
|
|
1025
1029
|
|
|
1026
1030
|
&:hover {
|
|
1027
|
-
|
|
1031
|
+
outline: 1px solid var(--action-destructive-hover);
|
|
1032
|
+
color: var(--action-destructive-hover);
|
|
1028
1033
|
}
|
|
1029
1034
|
|
|
1030
1035
|
&:disabled {
|
|
1031
1036
|
background: transparent;
|
|
1032
|
-
|
|
1033
|
-
|
|
1037
|
+
color: var(--action-destructive-disabled);
|
|
1038
|
+
opacity: var(--opacity-50);
|
|
1034
1039
|
}
|
|
1035
1040
|
|
|
1036
|
-
${buttonRippleEffect({ hoverColor: "var(--white)", activeColor: "var(--
|
|
1041
|
+
${buttonRippleEffect({ hoverColor: "var(--white)", activeColor: "var(--action-destructive-active)" })}
|
|
1037
1042
|
`;
|
|
1038
1043
|
var buttonTertiary = css8`
|
|
1039
1044
|
background: var(--tertiary-action-default);
|
|
@@ -1150,7 +1155,7 @@ var toastContainerStyles = css10`
|
|
|
1150
1155
|
${functionalColors}
|
|
1151
1156
|
|
|
1152
1157
|
--toastify-color-light: white;
|
|
1153
|
-
--toastify-color-info: var(--utility-
|
|
1158
|
+
--toastify-color-info: var(--utility-info-icon);
|
|
1154
1159
|
--toastify-color-success: var(--utility-success-icon);
|
|
1155
1160
|
--toastify-color-warning: var(--utility-caution-icon);
|
|
1156
1161
|
--toastify-color-error: var(--utility-danger-icon);
|
|
@@ -12702,9 +12707,9 @@ var InfoIcon2 = css31`
|
|
|
12702
12707
|
|
|
12703
12708
|
// src/components/Input/InfoMessage.tsx
|
|
12704
12709
|
import { jsx as jsx34, jsxs as jsxs19 } from "@emotion/react/jsx-runtime";
|
|
12705
|
-
var InfoMessage = ({ message, testId, ...props }) => {
|
|
12710
|
+
var InfoMessage = ({ message, testId, icon = MdInfoOutline, ...props }) => {
|
|
12706
12711
|
return message ? /* @__PURE__ */ jsxs19("span", { role: "status", css: InfoText, "data-testid": testId, ...props, children: [
|
|
12707
|
-
/* @__PURE__ */ jsx34("span", { children: /* @__PURE__ */ jsx34(Icon, { css: InfoIcon2, icon
|
|
12712
|
+
/* @__PURE__ */ jsx34("span", { children: /* @__PURE__ */ jsx34(Icon, { css: InfoIcon2, icon, size: "1rem", iconColor: "currentColor" }) }),
|
|
12708
12713
|
message
|
|
12709
12714
|
] }) : null;
|
|
12710
12715
|
};
|
|
@@ -13116,10 +13121,11 @@ function convertComboBoxGroupsToSelectableGroups(args) {
|
|
|
13116
13121
|
return { groupedOptions, selectedOptions };
|
|
13117
13122
|
}
|
|
13118
13123
|
function getComboBoxSelectedSelectableGroups(selectedValues) {
|
|
13119
|
-
const
|
|
13124
|
+
const selectedValuesNormalized = selectedValues ? Array.isArray(selectedValues) ? selectedValues : [selectedValues] : null;
|
|
13125
|
+
const selectedOptionValues = selectedValuesNormalized == null ? void 0 : selectedValuesNormalized.flatMap(
|
|
13120
13126
|
(selectedValue) => Array.isArray(selectedValue.value) ? selectedValue.value : [selectedValue.value]
|
|
13121
13127
|
);
|
|
13122
|
-
return new Set(selectedOptionValues.filter((value) => value !== void 0));
|
|
13128
|
+
return new Set(selectedOptionValues == null ? void 0 : selectedOptionValues.filter((value) => value !== void 0));
|
|
13123
13129
|
}
|
|
13124
13130
|
function flatMapOptionValues(options) {
|
|
13125
13131
|
return options.flatMap((option) => {
|
|
@@ -13349,6 +13355,10 @@ var InputKeywordSearch = forwardRef8(
|
|
|
13349
13355
|
minHeight: 0,
|
|
13350
13356
|
padding: "var(--spacing-xs) var(--spacing-lg) var(--spacing-xs) var(--spacing-base)",
|
|
13351
13357
|
fontSize: "var(--fs-sm)"
|
|
13358
|
+
} : compact === "sm" ? {
|
|
13359
|
+
minHeight: "40px",
|
|
13360
|
+
padding: "var(--spacing-xs) var(--spacing-lg) var(--spacing-xs) var(--spacing-base)",
|
|
13361
|
+
fontSize: "var(--fs-sm)"
|
|
13352
13362
|
} : compact ? {
|
|
13353
13363
|
padding: "var(--spacing-sm) var(--spacing-lg) var(--spacing-sm) var(--spacing-base)",
|
|
13354
13364
|
fontSize: "var(--fs-sm)"
|
|
@@ -15213,6 +15223,7 @@ var DashedBox = ({
|
|
|
15213
15223
|
|
|
15214
15224
|
// src/components/DateTimePicker/DateTimePicker.tsx
|
|
15215
15225
|
import { CalendarDate as CalendarDate3, parseDate as parseDate2, parseTime as parseTime2, Time as Time2 } from "@internationalized/date";
|
|
15226
|
+
import { CgCalendar } from "@react-icons/all-files/cg/CgCalendar";
|
|
15216
15227
|
import { createContext as createContext2, useCallback as useCallback4, useContext as useContext3, useEffect as useEffect5, useMemo, useState as useState6 } from "react";
|
|
15217
15228
|
import { Popover as Popover2, PopoverDisclosure, usePopoverState } from "reakit/Popover";
|
|
15218
15229
|
|
|
@@ -15428,6 +15439,7 @@ function useDateTimePickerContext() {
|
|
|
15428
15439
|
var DateTimePicker = ({
|
|
15429
15440
|
id,
|
|
15430
15441
|
label,
|
|
15442
|
+
triggerIcon = CgCalendar,
|
|
15431
15443
|
value,
|
|
15432
15444
|
minVisible,
|
|
15433
15445
|
maxVisible,
|
|
@@ -15537,7 +15549,7 @@ var DateTimePicker = ({
|
|
|
15537
15549
|
children: "clear"
|
|
15538
15550
|
}
|
|
15539
15551
|
),
|
|
15540
|
-
/* @__PURE__ */ jsx66(Button, { css: trigger, buttonType: "ghost", disabled: disabled2, onClick: popover2.show, children: /* @__PURE__ */ jsx66(Icon, { icon:
|
|
15552
|
+
/* @__PURE__ */ jsx66(Button, { css: trigger, buttonType: "ghost", disabled: disabled2, onClick: popover2.show, children: /* @__PURE__ */ jsx66(Icon, { icon: triggerIcon, iconColor: "currentColor" }) })
|
|
15541
15553
|
]
|
|
15542
15554
|
}
|
|
15543
15555
|
),
|
|
@@ -22123,6 +22135,7 @@ export {
|
|
|
22123
22135
|
CurrentDrawerContext,
|
|
22124
22136
|
DashedBox,
|
|
22125
22137
|
DateTimePicker,
|
|
22138
|
+
DateTimePickerSummary,
|
|
22126
22139
|
DateTimePickerVariant,
|
|
22127
22140
|
DebouncedInputKeywordSearch,
|
|
22128
22141
|
DescriptionList,
|
package/dist/index.d.mts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as _emotion_react_types_jsx_namespace from '@emotion/react/types/jsx-namespace';
|
|
2
|
-
import {
|
|
2
|
+
import { Decorator } from '@storybook/react';
|
|
3
3
|
import * as React$1 from 'react';
|
|
4
4
|
import React__default, { RefObject, HTMLAttributes, MutableRefObject, ReactNode, ImgHTMLAttributes, SVGProps, InputHTMLAttributes, CSSProperties, Ref, PropsWithChildren, ButtonHTMLAttributes, FocusEventHandler, ChangeEvent, HtmlHTMLAttributes } from 'react';
|
|
5
|
-
import { GroupBase, Props, MultiValue } from 'react-select';
|
|
5
|
+
import { GroupBase, Props, MultiValue, SingleValue } from 'react-select';
|
|
6
6
|
export { ActionMeta, FormatOptionLabelContext, FormatOptionLabelMeta, GetOptionLabel, GetOptionValue, GroupBase, GroupHeadingProps, GroupProps, MenuListProps, MenuPlacement, MultiValue, MultiValueGenericProps, MultiValueProps, MultiValueRemoveProps, OnChangeValue, OptionContext, OptionProps, Options, OptionsOrGroups } from 'react-select';
|
|
7
7
|
import * as _emotion_react from '@emotion/react';
|
|
8
8
|
import { SerializedStyles } from '@emotion/react';
|
|
@@ -46,7 +46,7 @@ type ThemeProps = {
|
|
|
46
46
|
* @example <Theme disableReset={true} /> */
|
|
47
47
|
declare const Theme: ({ disableReset, disableGlobalReset }: ThemeProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
48
48
|
|
|
49
|
-
declare const BetaDecorator:
|
|
49
|
+
declare const BetaDecorator: Decorator;
|
|
50
50
|
|
|
51
51
|
/** Breakpoint label values */
|
|
52
52
|
type BreakpointSize = 'sm' | 'md' | 'lg' | 'xl' | '2xl';
|
|
@@ -20422,8 +20422,7 @@ type ButtonProps = ButtonProps$1 & {
|
|
|
20422
20422
|
};
|
|
20423
20423
|
/**
|
|
20424
20424
|
* Uniform Button Component
|
|
20425
|
-
* @
|
|
20426
|
-
* @example <Button buttonType="secondary" size="md" onClick={() => alert('hello world')}>Click me</Button>
|
|
20425
|
+
* @example <Button buttonType="secondary" size="md" onClick={() => alert('hello world!')}>Click me</Button>
|
|
20427
20426
|
*/
|
|
20428
20427
|
declare const Button: React$1.ForwardRefExoticComponent<Omit<ButtonProps, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
20429
20428
|
|
|
@@ -21434,6 +21433,8 @@ type DateTimePickerProps = {
|
|
|
21434
21433
|
id: string;
|
|
21435
21434
|
/** (optional) sets the label value */
|
|
21436
21435
|
label?: ReactNode;
|
|
21436
|
+
/** (optional) icon for the trigger */
|
|
21437
|
+
triggerIcon?: IconType$2;
|
|
21437
21438
|
/** The current controlled value of the picker */
|
|
21438
21439
|
value: DateTimePickerValue | null | undefined;
|
|
21439
21440
|
/** (optional) The minimum visible date. The calendar will not show previous months */
|
|
@@ -21482,7 +21483,12 @@ declare function useDateTimePickerContext(): {
|
|
|
21482
21483
|
* Subcomponents can manipulate the value directly by using
|
|
21483
21484
|
* the `useDateTimePickerContext()` hook.
|
|
21484
21485
|
*/
|
|
21485
|
-
declare const DateTimePicker: ({ id, label, value, minVisible, maxVisible, variant, caption, placeholder, belowTimeInputSlot, showLabel, errorMessage, warningMessage, disabled, onChange, testId, ...props }: DateTimePickerProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
21486
|
+
declare const DateTimePicker: ({ id, label, triggerIcon, value, minVisible, maxVisible, variant, caption, placeholder, belowTimeInputSlot, showLabel, errorMessage, warningMessage, disabled, onChange, testId, ...props }: DateTimePickerProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
21487
|
+
|
|
21488
|
+
declare function DateTimePickerSummary({ value, placeholder, }: {
|
|
21489
|
+
value: DateTimePickerValue | null | undefined;
|
|
21490
|
+
placeholder: ReactNode;
|
|
21491
|
+
}): _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
21486
21492
|
|
|
21487
21493
|
type DescriptionListProps = {
|
|
21488
21494
|
items: {
|
|
@@ -21787,12 +21793,14 @@ type InfoMessageProps = React.HTMLAttributes<HTMLSpanElement> & {
|
|
|
21787
21793
|
message?: string;
|
|
21788
21794
|
/** sets the test id for test automation (optional) */
|
|
21789
21795
|
testId?: string;
|
|
21796
|
+
/** customize the icon (optional) */
|
|
21797
|
+
icon?: IconType;
|
|
21790
21798
|
};
|
|
21791
21799
|
/**
|
|
21792
21800
|
* Component that provides info messaging to input fields
|
|
21793
|
-
* @example <
|
|
21801
|
+
* @example <InfoMessage>be aware of this</InfoMessage>
|
|
21794
21802
|
*/
|
|
21795
|
-
declare const InfoMessage: ({ message, testId, ...props }: InfoMessageProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element | null;
|
|
21803
|
+
declare const InfoMessage: ({ message, testId, icon, ...props }: InfoMessageProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element | null;
|
|
21796
21804
|
|
|
21797
21805
|
type InputProps = React$1.InputHTMLAttributes<HTMLInputElement> & {
|
|
21798
21806
|
/** (optional) sets the label value */
|
|
@@ -21949,7 +21957,7 @@ declare function convertComboBoxGroupsToSelectableGroups(args: ConvertComboBoxGr
|
|
|
21949
21957
|
* Finds all selected values in a combo box where there are multiple selectable groups
|
|
21950
21958
|
* (and selecting a group should select all of its virtual children)
|
|
21951
21959
|
*/
|
|
21952
|
-
declare function getComboBoxSelectedSelectableGroups(selectedValues: MultiValue<ComboBoxSelectableItem>): Set<string>;
|
|
21960
|
+
declare function getComboBoxSelectedSelectableGroups(selectedValues: MultiValue<ComboBoxSelectableItem> | SingleValue<ComboBoxSelectableItem>): Set<string>;
|
|
21953
21961
|
|
|
21954
21962
|
type InputInlineSelectOption = {
|
|
21955
21963
|
/** sets the display name of the option */
|
|
@@ -22001,7 +22009,7 @@ interface InputKeywordSearchProps extends InputHTMLAttributes<HTMLInputElement>
|
|
|
22001
22009
|
/** (optional) makes the input look more compact
|
|
22002
22010
|
* @default false
|
|
22003
22011
|
*/
|
|
22004
|
-
compact?: boolean | 'xs';
|
|
22012
|
+
compact?: boolean | 'sm' | 'xs';
|
|
22005
22013
|
/** (optional) makes the corners of the input rounded
|
|
22006
22014
|
* @default false
|
|
22007
22015
|
*/
|
|
@@ -22297,7 +22305,7 @@ declare const Textarea: React$1.ForwardRefExoticComponent<React$1.TextareaHTMLAt
|
|
|
22297
22305
|
|
|
22298
22306
|
type WarningMessageProps = React.HTMLAttributes<HTMLSpanElement> & {
|
|
22299
22307
|
/** sets the error message value */
|
|
22300
|
-
message?:
|
|
22308
|
+
message?: ReactNode;
|
|
22301
22309
|
/** sets the test id for test automation (optional) */
|
|
22302
22310
|
testId?: string;
|
|
22303
22311
|
};
|
|
@@ -23814,4 +23822,4 @@ type StatusBulletProps = React$1.HTMLAttributes<HTMLSpanElement> & {
|
|
|
23814
23822
|
};
|
|
23815
23823
|
declare const StatusBullet: ({ status, hideText, size, message, ...props }: StatusBulletProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
23816
23824
|
|
|
23817
|
-
export { type ActionButtonsProps, AddButton, type AddButtonProps, AddListButton, type AddListButtonProps, type AddListButtonThemeProps, AnimationFile, type AnimationFileProps, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, Badge, type BadgeProps, type BadgeSizeProps, type BadgeThemeProps, type BadgeThemeStyleProps, Banner, type BannerProps, type BannerType, BetaDecorator, type BoxHeightProps, type BreakpointSize, type BreakpointsMap, Button, type ButtonProps, type ButtonSizeProps$1 as ButtonSizeProps, type ButtonThemeProps$1 as ButtonThemeProps, ButtonWithMenu, type ButtonWithMenuProps, Calendar, type CalendarProps, Callout, type CalloutProps, type CalloutType, Caption, type CaptionProps, Card, CardContainer, type CardContainerBgColorProps, type CardContainerProps, type CardProps, CardTitle, type CardTitleProps, CheckboxWithInfo, type CheckboxWithInforProps, type ChildFunction, Chip, type ChipProps, type ChipTheme, type ComboBoxGroupBase, type ComboBoxSelectableGroup, type ComboBoxSelectableItem, type ComboBoxSelectableOption, ConnectToDataElementButton, type ConnectToDataElementButtonProps, Container, type ContainerProps, type ConvertComboBoxGroupsToSelectableGroupsOptions, Counter, type CounterProps, CreateTeamIntegrationTile, type CreateTeamIntegrationTileProps, CurrentDrawerContext, DashedBox, type DashedBoxProps, DateTimePicker, type DateTimePickerProps, type DateTimePickerValue, DateTimePickerVariant, DebouncedInputKeywordSearch, type DebouncedInputKeywordSearchProps, DescriptionList, type DescriptionListProps, Details, type DetailsProps, DismissibleChipAction, Drawer, DrawerContent, type DrawerContentProps, type DrawerContextValue, type DrawerItem, type DrawerProps, DrawerProvider, DrawerRenderer, type DrawerRendererItemProps, type DrawerRendererProps, type DrawersRegistryRecord, DropdownStyleMenuTrigger, type DropdownStyleMenuTriggerProps, EditTeamIntegrationTile, type EditTeamIntegrationTileProps, ErrorMessage, type ErrorMessageProps, FieldMessage, type FieldMessageProps, Fieldset, type FieldsetProps, Heading, type HeadingProps, HexModalBackground, HorizontalRhythm, Icon, IconButton, type IconButtonProps, type IconColor, type IconName, type IconProps, type IconType, IconsProvider, Image, ImageBroken, type ImageProps, InfoMessage, type InfoMessageProps, Input, InputComboBox, type InputComboBoxOption, type InputComboBoxProps, InputCreatableComboBox, type InputCreatableComboBoxProps, InputInlineSelect, type InputInlineSelectOption, type InputInlineSelectProps, InputKeywordSearch, type InputKeywordSearchProps, type InputProps, InputSelect, type InputSelectProps, InputTime, type InputTimeProps, InputToggle, type InputToggleProps, IntegrationComingSoon, type IntegrationComingSoonProps, IntegrationHeaderSection, type IntegrationHeaderSectionProps, IntegrationLoadingTile, type IntegrationLoadingTileProps, IntegrationModalHeader, type IntegrationModalHeaderProps, IntegrationModalIcon, type IntegrationModalIconProps, IntegrationTile, type IntegrationTileProps, type IsoDateString, type IsoDateTimeString, type IsoTimeString, JsonEditor, type JsonEditorProps, Label, LabelLeadingIcon, type LabelProps, Legend, type LegendProps, type LevelProps, LimitsBar, type LimitsBarProps, Link, type LinkColorProps, LinkList, type LinkListProps, type LinkManagerWithRefType, LinkNode, type LinkProps, LinkWithRef, LoadingCardSkeleton, LoadingIcon, type LoadingIconProps, LoadingIndicator, LoadingOverlay, type LoadingOverlayProps, MediaCard, type MediaCardProps, Menu, MenuButton, type MenuButtonProp, MenuGroup, type MenuGroupProps, MenuItem, MenuItemEmptyIcon, MenuItemIcon, MenuItemInner, type MenuItemProps, MenuItemSeparator, type MenuItemTextThemeProps, type MenuProps, MenuThreeDots, type MenuThreeDotsProps, Modal, ModalDialog, type ModalDialogProps, type ModalProps, MultilineChip, type MultilineChipProps, ObjectGridContainer, type ObjectGridContainerProps, ObjectGridItem, ObjectGridItemCardCover, type ObjectGridItemCardCoverProps, ObjectGridItemCover, ObjectGridItemCoverButton, type ObjectGridItemCoverButtonProps, type ObjectGridItemCoverProps, ObjectGridItemHeading, ObjectGridItemIconWithTooltip, type ObjectGridItemIconWithTooltipProps, type ObjectGridItemProps, type ObjectGridItemTitleProps, PageHeaderSection, type PageHeaderSectionProps, Pagination, Paragraph, type ParagraphProps, type ParameterDataConnectButtonProps, ParameterDataResource, ParameterDrawerHeader, type ParameterDrawerHeaderProps, ParameterGroup, type ParameterGroupProps, ParameterImage, ParameterImageInner, ParameterImagePreview, type ParameterImageProps, ParameterInput, ParameterInputInner, type ParameterInputProps, ParameterLabel, type ParameterLabelProps, ParameterLink, ParameterLinkInner, type ParameterLinkProps, ParameterMenuButton, type ParameterMenuButtonProps, ParameterMultiSelect, ParameterMultiSelectInner, type ParameterMultiSelectOption, type ParameterMultiSelectProps, ParameterNameAndPublicIdInput, type ParameterNameAndPublicIdInputProps, ParameterOverrideMarker, ParameterRichText, ParameterRichTextInner, type ParameterRichTextInnerProps, type ParameterRichTextProps, ParameterSelect, ParameterSelectInner, type ParameterSelectProps, ParameterShell, ParameterShellContext, ParameterShellPlaceholder, type ParameterShellProps, ParameterTextarea, ParameterTextareaInner, type ParameterTextareaProps, ParameterToggle, ParameterToggleInner, type ParameterToggleProps, Popover, type PopoverProps, ProgressBar, type ProgressBarProps, ProgressList, ProgressListItem, type ProgressListItemProps, type ProgressListProps, type RegisterDrawerProps, ResolveIcon, type ResolveIconProps, type RhythmProps, type RichTextParamValue, RichTextToolbarIcon, type ScrollableItemProps, ScrollableList, type ScrollableListContainerProps, ScrollableListInputItem, ScrollableListItem, type ScrollableListItemProps, type ScrollableListProps, SearchableMenu, type SearchableMenuProps, SegmentedControl, type SegmentedControlOption, type SegmentedControlProps, SelectableMenuItem, type SelectableMenuItemProps, type SerializedLinkNode, ShortcutContext, type ShortcutReference, ShortcutRevealer, Skeleton, type SkeletonProps, StatusBullet, type StatusBulletProps, type StatusTypeProps, SuccessMessage, type SuccessMessageProps, Switch, type SwitchProps, TAKEOVER_STACK_ID, TabButton, TabButtonGroup, type TabButtonProps, TabContent, type TabContentProps, Table, TableBody, type TableBodyProps, TableCellData, type TableCellDataProps, TableCellHead, type TableCellHeadProps, TableFoot, type TableFootProps, TableHead, type TableHeadProps, type TableProps, TableRow, type TableRowProps, Tabs, type TabsProps, TakeoverDrawerRenderer, type TextAlignProps, Textarea, type TextareaProps, Theme, type ThemeProps, Tile, TileContainer, type TileContainerProps, type TileProps, TileText, type TileTitleProps, ToastContainer, type ToastContainerProps, Tooltip, type TooltipProps, TwoColumnLayout, type TwoColumnLayoutProps, UniformBadge, UniformLogo, UniformLogoLarge, type UniformLogoProps, type UseShortcutOptions, type UseShortcutResult, VerticalRhythm, WarningMessage, type WarningMessageProps, accessibleHidden, addPathSegmentToPathname, borderTopIcon, breakpoints, button, buttonAccentAltDark, buttonAccentAltDarkOutline, buttonDestructive, buttonGhost, buttonGhostDestructive, buttonGhostUnimportant, buttonPrimary, buttonPrimaryInvert, buttonRippleEffect, buttonSecondary, buttonSecondaryInvert, buttonTertiary, buttonTertiaryOutline, buttonUnimportant, canvasAlertIcon, cardIcon, convertComboBoxGroupsToSelectableGroups, cq, customIcons, extractParameterProps, fadeIn, fadeInBottom, fadeInLtr, fadeInRtl, fadeInTop, fadeOutBottom, fullWidthScreenIcon, getComboBoxSelectedSelectableGroups, getDrawerAttributes, getFormattedShortcut, getParentPath, getPathSegment, growSubtle, imageTextIcon, infoFilledIcon, input, inputError, inputSelect, isSecureURL, isValidUrl, jsonIcon, labelText, loader as loaderAnimationData, mq, numberInput, queryStringIcon, rectangleRoundedIcon, replaceUnderscoreInString, richTextToolbarButton, richTextToolbarButtonActive, ripple, scrollbarStyles, settings, settingsIcon, skeletonLoading, slideInTtb, spin, spinner as spinnerAnimationData, structurePanelIcon, supports, textInput, uniformComponentIcon, uniformComponentPatternIcon, uniformContentTypeIcon, uniformEntryIcon, uniformEntryPatternIcon, useBreakpoint, useCloseCurrentDrawer, useCurrentDrawer, useCurrentTab, useDateTimePickerContext, useDrawer, useIconContext, useOutsideClick, useParameterShell, useShortcut, functionalColors as utilityColors, warningIcon, yesNoIcon };
|
|
23825
|
+
export { type ActionButtonsProps, AddButton, type AddButtonProps, AddListButton, type AddListButtonProps, type AddListButtonThemeProps, AnimationFile, type AnimationFileProps, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, Badge, type BadgeProps, type BadgeSizeProps, type BadgeThemeProps, type BadgeThemeStyleProps, Banner, type BannerProps, type BannerType, BetaDecorator, type BoxHeightProps, type BreakpointSize, type BreakpointsMap, Button, type ButtonProps, type ButtonSizeProps$1 as ButtonSizeProps, type ButtonThemeProps$1 as ButtonThemeProps, ButtonWithMenu, type ButtonWithMenuProps, Calendar, type CalendarProps, Callout, type CalloutProps, type CalloutType, Caption, type CaptionProps, Card, CardContainer, type CardContainerBgColorProps, type CardContainerProps, type CardProps, CardTitle, type CardTitleProps, CheckboxWithInfo, type CheckboxWithInforProps, type ChildFunction, Chip, type ChipProps, type ChipTheme, type ComboBoxGroupBase, type ComboBoxSelectableGroup, type ComboBoxSelectableItem, type ComboBoxSelectableOption, ConnectToDataElementButton, type ConnectToDataElementButtonProps, Container, type ContainerProps, type ConvertComboBoxGroupsToSelectableGroupsOptions, Counter, type CounterProps, CreateTeamIntegrationTile, type CreateTeamIntegrationTileProps, CurrentDrawerContext, DashedBox, type DashedBoxProps, DateTimePicker, type DateTimePickerProps, DateTimePickerSummary, type DateTimePickerValue, DateTimePickerVariant, DebouncedInputKeywordSearch, type DebouncedInputKeywordSearchProps, DescriptionList, type DescriptionListProps, Details, type DetailsProps, DismissibleChipAction, Drawer, DrawerContent, type DrawerContentProps, type DrawerContextValue, type DrawerItem, type DrawerProps, DrawerProvider, DrawerRenderer, type DrawerRendererItemProps, type DrawerRendererProps, type DrawersRegistryRecord, DropdownStyleMenuTrigger, type DropdownStyleMenuTriggerProps, EditTeamIntegrationTile, type EditTeamIntegrationTileProps, ErrorMessage, type ErrorMessageProps, FieldMessage, type FieldMessageProps, Fieldset, type FieldsetProps, Heading, type HeadingProps, HexModalBackground, HorizontalRhythm, Icon, IconButton, type IconButtonProps, type IconColor, type IconName, type IconProps, type IconType, IconsProvider, Image, ImageBroken, type ImageProps, InfoMessage, type InfoMessageProps, Input, InputComboBox, type InputComboBoxOption, type InputComboBoxProps, InputCreatableComboBox, type InputCreatableComboBoxProps, InputInlineSelect, type InputInlineSelectOption, type InputInlineSelectProps, InputKeywordSearch, type InputKeywordSearchProps, type InputProps, InputSelect, type InputSelectProps, InputTime, type InputTimeProps, InputToggle, type InputToggleProps, IntegrationComingSoon, type IntegrationComingSoonProps, IntegrationHeaderSection, type IntegrationHeaderSectionProps, IntegrationLoadingTile, type IntegrationLoadingTileProps, IntegrationModalHeader, type IntegrationModalHeaderProps, IntegrationModalIcon, type IntegrationModalIconProps, IntegrationTile, type IntegrationTileProps, type IsoDateString, type IsoDateTimeString, type IsoTimeString, JsonEditor, type JsonEditorProps, Label, LabelLeadingIcon, type LabelProps, Legend, type LegendProps, type LevelProps, LimitsBar, type LimitsBarProps, Link, type LinkColorProps, LinkList, type LinkListProps, type LinkManagerWithRefType, LinkNode, type LinkProps, LinkWithRef, LoadingCardSkeleton, LoadingIcon, type LoadingIconProps, LoadingIndicator, LoadingOverlay, type LoadingOverlayProps, MediaCard, type MediaCardProps, Menu, MenuButton, type MenuButtonProp, MenuGroup, type MenuGroupProps, MenuItem, MenuItemEmptyIcon, MenuItemIcon, MenuItemInner, type MenuItemProps, MenuItemSeparator, type MenuItemTextThemeProps, type MenuProps, MenuThreeDots, type MenuThreeDotsProps, Modal, ModalDialog, type ModalDialogProps, type ModalProps, MultilineChip, type MultilineChipProps, ObjectGridContainer, type ObjectGridContainerProps, ObjectGridItem, ObjectGridItemCardCover, type ObjectGridItemCardCoverProps, ObjectGridItemCover, ObjectGridItemCoverButton, type ObjectGridItemCoverButtonProps, type ObjectGridItemCoverProps, ObjectGridItemHeading, ObjectGridItemIconWithTooltip, type ObjectGridItemIconWithTooltipProps, type ObjectGridItemProps, type ObjectGridItemTitleProps, PageHeaderSection, type PageHeaderSectionProps, Pagination, Paragraph, type ParagraphProps, type ParameterDataConnectButtonProps, ParameterDataResource, ParameterDrawerHeader, type ParameterDrawerHeaderProps, ParameterGroup, type ParameterGroupProps, ParameterImage, ParameterImageInner, ParameterImagePreview, type ParameterImageProps, ParameterInput, ParameterInputInner, type ParameterInputProps, ParameterLabel, type ParameterLabelProps, ParameterLink, ParameterLinkInner, type ParameterLinkProps, ParameterMenuButton, type ParameterMenuButtonProps, ParameterMultiSelect, ParameterMultiSelectInner, type ParameterMultiSelectOption, type ParameterMultiSelectProps, ParameterNameAndPublicIdInput, type ParameterNameAndPublicIdInputProps, ParameterOverrideMarker, ParameterRichText, ParameterRichTextInner, type ParameterRichTextInnerProps, type ParameterRichTextProps, ParameterSelect, ParameterSelectInner, type ParameterSelectProps, ParameterShell, ParameterShellContext, ParameterShellPlaceholder, type ParameterShellProps, ParameterTextarea, ParameterTextareaInner, type ParameterTextareaProps, ParameterToggle, ParameterToggleInner, type ParameterToggleProps, Popover, type PopoverProps, ProgressBar, type ProgressBarProps, ProgressList, ProgressListItem, type ProgressListItemProps, type ProgressListProps, type RegisterDrawerProps, ResolveIcon, type ResolveIconProps, type RhythmProps, type RichTextParamValue, RichTextToolbarIcon, type ScrollableItemProps, ScrollableList, type ScrollableListContainerProps, ScrollableListInputItem, ScrollableListItem, type ScrollableListItemProps, type ScrollableListProps, SearchableMenu, type SearchableMenuProps, SegmentedControl, type SegmentedControlOption, type SegmentedControlProps, SelectableMenuItem, type SelectableMenuItemProps, type SerializedLinkNode, ShortcutContext, type ShortcutReference, ShortcutRevealer, Skeleton, type SkeletonProps, StatusBullet, type StatusBulletProps, type StatusTypeProps, SuccessMessage, type SuccessMessageProps, Switch, type SwitchProps, TAKEOVER_STACK_ID, TabButton, TabButtonGroup, type TabButtonProps, TabContent, type TabContentProps, Table, TableBody, type TableBodyProps, TableCellData, type TableCellDataProps, TableCellHead, type TableCellHeadProps, TableFoot, type TableFootProps, TableHead, type TableHeadProps, type TableProps, TableRow, type TableRowProps, Tabs, type TabsProps, TakeoverDrawerRenderer, type TextAlignProps, Textarea, type TextareaProps, Theme, type ThemeProps, Tile, TileContainer, type TileContainerProps, type TileProps, TileText, type TileTitleProps, ToastContainer, type ToastContainerProps, Tooltip, type TooltipProps, TwoColumnLayout, type TwoColumnLayoutProps, UniformBadge, UniformLogo, UniformLogoLarge, type UniformLogoProps, type UseShortcutOptions, type UseShortcutResult, VerticalRhythm, WarningMessage, type WarningMessageProps, accessibleHidden, addPathSegmentToPathname, borderTopIcon, breakpoints, button, buttonAccentAltDark, buttonAccentAltDarkOutline, buttonDestructive, buttonGhost, buttonGhostDestructive, buttonGhostUnimportant, buttonPrimary, buttonPrimaryInvert, buttonRippleEffect, buttonSecondary, buttonSecondaryInvert, buttonTertiary, buttonTertiaryOutline, buttonUnimportant, canvasAlertIcon, cardIcon, convertComboBoxGroupsToSelectableGroups, cq, customIcons, extractParameterProps, fadeIn, fadeInBottom, fadeInLtr, fadeInRtl, fadeInTop, fadeOutBottom, fullWidthScreenIcon, getComboBoxSelectedSelectableGroups, getDrawerAttributes, getFormattedShortcut, getParentPath, getPathSegment, growSubtle, imageTextIcon, infoFilledIcon, input, inputError, inputSelect, isSecureURL, isValidUrl, jsonIcon, labelText, loader as loaderAnimationData, mq, numberInput, queryStringIcon, rectangleRoundedIcon, replaceUnderscoreInString, richTextToolbarButton, richTextToolbarButtonActive, ripple, scrollbarStyles, settings, settingsIcon, skeletonLoading, slideInTtb, spin, spinner as spinnerAnimationData, structurePanelIcon, supports, textInput, uniformComponentIcon, uniformComponentPatternIcon, uniformContentTypeIcon, uniformEntryIcon, uniformEntryPatternIcon, useBreakpoint, useCloseCurrentDrawer, useCurrentDrawer, useCurrentTab, useDateTimePickerContext, useDrawer, useIconContext, useOutsideClick, useParameterShell, useShortcut, functionalColors as utilityColors, warningIcon, yesNoIcon };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as _emotion_react_types_jsx_namespace from '@emotion/react/types/jsx-namespace';
|
|
2
|
-
import {
|
|
2
|
+
import { Decorator } from '@storybook/react';
|
|
3
3
|
import * as React$1 from 'react';
|
|
4
4
|
import React__default, { RefObject, HTMLAttributes, MutableRefObject, ReactNode, ImgHTMLAttributes, SVGProps, InputHTMLAttributes, CSSProperties, Ref, PropsWithChildren, ButtonHTMLAttributes, FocusEventHandler, ChangeEvent, HtmlHTMLAttributes } from 'react';
|
|
5
|
-
import { GroupBase, Props, MultiValue } from 'react-select';
|
|
5
|
+
import { GroupBase, Props, MultiValue, SingleValue } from 'react-select';
|
|
6
6
|
export { ActionMeta, FormatOptionLabelContext, FormatOptionLabelMeta, GetOptionLabel, GetOptionValue, GroupBase, GroupHeadingProps, GroupProps, MenuListProps, MenuPlacement, MultiValue, MultiValueGenericProps, MultiValueProps, MultiValueRemoveProps, OnChangeValue, OptionContext, OptionProps, Options, OptionsOrGroups } from 'react-select';
|
|
7
7
|
import * as _emotion_react from '@emotion/react';
|
|
8
8
|
import { SerializedStyles } from '@emotion/react';
|
|
@@ -46,7 +46,7 @@ type ThemeProps = {
|
|
|
46
46
|
* @example <Theme disableReset={true} /> */
|
|
47
47
|
declare const Theme: ({ disableReset, disableGlobalReset }: ThemeProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
48
48
|
|
|
49
|
-
declare const BetaDecorator:
|
|
49
|
+
declare const BetaDecorator: Decorator;
|
|
50
50
|
|
|
51
51
|
/** Breakpoint label values */
|
|
52
52
|
type BreakpointSize = 'sm' | 'md' | 'lg' | 'xl' | '2xl';
|
|
@@ -20422,8 +20422,7 @@ type ButtonProps = ButtonProps$1 & {
|
|
|
20422
20422
|
};
|
|
20423
20423
|
/**
|
|
20424
20424
|
* Uniform Button Component
|
|
20425
|
-
* @
|
|
20426
|
-
* @example <Button buttonType="secondary" size="md" onClick={() => alert('hello world')}>Click me</Button>
|
|
20425
|
+
* @example <Button buttonType="secondary" size="md" onClick={() => alert('hello world!')}>Click me</Button>
|
|
20427
20426
|
*/
|
|
20428
20427
|
declare const Button: React$1.ForwardRefExoticComponent<Omit<ButtonProps, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
20429
20428
|
|
|
@@ -21434,6 +21433,8 @@ type DateTimePickerProps = {
|
|
|
21434
21433
|
id: string;
|
|
21435
21434
|
/** (optional) sets the label value */
|
|
21436
21435
|
label?: ReactNode;
|
|
21436
|
+
/** (optional) icon for the trigger */
|
|
21437
|
+
triggerIcon?: IconType$2;
|
|
21437
21438
|
/** The current controlled value of the picker */
|
|
21438
21439
|
value: DateTimePickerValue | null | undefined;
|
|
21439
21440
|
/** (optional) The minimum visible date. The calendar will not show previous months */
|
|
@@ -21482,7 +21483,12 @@ declare function useDateTimePickerContext(): {
|
|
|
21482
21483
|
* Subcomponents can manipulate the value directly by using
|
|
21483
21484
|
* the `useDateTimePickerContext()` hook.
|
|
21484
21485
|
*/
|
|
21485
|
-
declare const DateTimePicker: ({ id, label, value, minVisible, maxVisible, variant, caption, placeholder, belowTimeInputSlot, showLabel, errorMessage, warningMessage, disabled, onChange, testId, ...props }: DateTimePickerProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
21486
|
+
declare const DateTimePicker: ({ id, label, triggerIcon, value, minVisible, maxVisible, variant, caption, placeholder, belowTimeInputSlot, showLabel, errorMessage, warningMessage, disabled, onChange, testId, ...props }: DateTimePickerProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
21487
|
+
|
|
21488
|
+
declare function DateTimePickerSummary({ value, placeholder, }: {
|
|
21489
|
+
value: DateTimePickerValue | null | undefined;
|
|
21490
|
+
placeholder: ReactNode;
|
|
21491
|
+
}): _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
21486
21492
|
|
|
21487
21493
|
type DescriptionListProps = {
|
|
21488
21494
|
items: {
|
|
@@ -21787,12 +21793,14 @@ type InfoMessageProps = React.HTMLAttributes<HTMLSpanElement> & {
|
|
|
21787
21793
|
message?: string;
|
|
21788
21794
|
/** sets the test id for test automation (optional) */
|
|
21789
21795
|
testId?: string;
|
|
21796
|
+
/** customize the icon (optional) */
|
|
21797
|
+
icon?: IconType;
|
|
21790
21798
|
};
|
|
21791
21799
|
/**
|
|
21792
21800
|
* Component that provides info messaging to input fields
|
|
21793
|
-
* @example <
|
|
21801
|
+
* @example <InfoMessage>be aware of this</InfoMessage>
|
|
21794
21802
|
*/
|
|
21795
|
-
declare const InfoMessage: ({ message, testId, ...props }: InfoMessageProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element | null;
|
|
21803
|
+
declare const InfoMessage: ({ message, testId, icon, ...props }: InfoMessageProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element | null;
|
|
21796
21804
|
|
|
21797
21805
|
type InputProps = React$1.InputHTMLAttributes<HTMLInputElement> & {
|
|
21798
21806
|
/** (optional) sets the label value */
|
|
@@ -21949,7 +21957,7 @@ declare function convertComboBoxGroupsToSelectableGroups(args: ConvertComboBoxGr
|
|
|
21949
21957
|
* Finds all selected values in a combo box where there are multiple selectable groups
|
|
21950
21958
|
* (and selecting a group should select all of its virtual children)
|
|
21951
21959
|
*/
|
|
21952
|
-
declare function getComboBoxSelectedSelectableGroups(selectedValues: MultiValue<ComboBoxSelectableItem>): Set<string>;
|
|
21960
|
+
declare function getComboBoxSelectedSelectableGroups(selectedValues: MultiValue<ComboBoxSelectableItem> | SingleValue<ComboBoxSelectableItem>): Set<string>;
|
|
21953
21961
|
|
|
21954
21962
|
type InputInlineSelectOption = {
|
|
21955
21963
|
/** sets the display name of the option */
|
|
@@ -22001,7 +22009,7 @@ interface InputKeywordSearchProps extends InputHTMLAttributes<HTMLInputElement>
|
|
|
22001
22009
|
/** (optional) makes the input look more compact
|
|
22002
22010
|
* @default false
|
|
22003
22011
|
*/
|
|
22004
|
-
compact?: boolean | 'xs';
|
|
22012
|
+
compact?: boolean | 'sm' | 'xs';
|
|
22005
22013
|
/** (optional) makes the corners of the input rounded
|
|
22006
22014
|
* @default false
|
|
22007
22015
|
*/
|
|
@@ -22297,7 +22305,7 @@ declare const Textarea: React$1.ForwardRefExoticComponent<React$1.TextareaHTMLAt
|
|
|
22297
22305
|
|
|
22298
22306
|
type WarningMessageProps = React.HTMLAttributes<HTMLSpanElement> & {
|
|
22299
22307
|
/** sets the error message value */
|
|
22300
|
-
message?:
|
|
22308
|
+
message?: ReactNode;
|
|
22301
22309
|
/** sets the test id for test automation (optional) */
|
|
22302
22310
|
testId?: string;
|
|
22303
22311
|
};
|
|
@@ -23814,4 +23822,4 @@ type StatusBulletProps = React$1.HTMLAttributes<HTMLSpanElement> & {
|
|
|
23814
23822
|
};
|
|
23815
23823
|
declare const StatusBullet: ({ status, hideText, size, message, ...props }: StatusBulletProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
23816
23824
|
|
|
23817
|
-
export { type ActionButtonsProps, AddButton, type AddButtonProps, AddListButton, type AddListButtonProps, type AddListButtonThemeProps, AnimationFile, type AnimationFileProps, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, Badge, type BadgeProps, type BadgeSizeProps, type BadgeThemeProps, type BadgeThemeStyleProps, Banner, type BannerProps, type BannerType, BetaDecorator, type BoxHeightProps, type BreakpointSize, type BreakpointsMap, Button, type ButtonProps, type ButtonSizeProps$1 as ButtonSizeProps, type ButtonThemeProps$1 as ButtonThemeProps, ButtonWithMenu, type ButtonWithMenuProps, Calendar, type CalendarProps, Callout, type CalloutProps, type CalloutType, Caption, type CaptionProps, Card, CardContainer, type CardContainerBgColorProps, type CardContainerProps, type CardProps, CardTitle, type CardTitleProps, CheckboxWithInfo, type CheckboxWithInforProps, type ChildFunction, Chip, type ChipProps, type ChipTheme, type ComboBoxGroupBase, type ComboBoxSelectableGroup, type ComboBoxSelectableItem, type ComboBoxSelectableOption, ConnectToDataElementButton, type ConnectToDataElementButtonProps, Container, type ContainerProps, type ConvertComboBoxGroupsToSelectableGroupsOptions, Counter, type CounterProps, CreateTeamIntegrationTile, type CreateTeamIntegrationTileProps, CurrentDrawerContext, DashedBox, type DashedBoxProps, DateTimePicker, type DateTimePickerProps, type DateTimePickerValue, DateTimePickerVariant, DebouncedInputKeywordSearch, type DebouncedInputKeywordSearchProps, DescriptionList, type DescriptionListProps, Details, type DetailsProps, DismissibleChipAction, Drawer, DrawerContent, type DrawerContentProps, type DrawerContextValue, type DrawerItem, type DrawerProps, DrawerProvider, DrawerRenderer, type DrawerRendererItemProps, type DrawerRendererProps, type DrawersRegistryRecord, DropdownStyleMenuTrigger, type DropdownStyleMenuTriggerProps, EditTeamIntegrationTile, type EditTeamIntegrationTileProps, ErrorMessage, type ErrorMessageProps, FieldMessage, type FieldMessageProps, Fieldset, type FieldsetProps, Heading, type HeadingProps, HexModalBackground, HorizontalRhythm, Icon, IconButton, type IconButtonProps, type IconColor, type IconName, type IconProps, type IconType, IconsProvider, Image, ImageBroken, type ImageProps, InfoMessage, type InfoMessageProps, Input, InputComboBox, type InputComboBoxOption, type InputComboBoxProps, InputCreatableComboBox, type InputCreatableComboBoxProps, InputInlineSelect, type InputInlineSelectOption, type InputInlineSelectProps, InputKeywordSearch, type InputKeywordSearchProps, type InputProps, InputSelect, type InputSelectProps, InputTime, type InputTimeProps, InputToggle, type InputToggleProps, IntegrationComingSoon, type IntegrationComingSoonProps, IntegrationHeaderSection, type IntegrationHeaderSectionProps, IntegrationLoadingTile, type IntegrationLoadingTileProps, IntegrationModalHeader, type IntegrationModalHeaderProps, IntegrationModalIcon, type IntegrationModalIconProps, IntegrationTile, type IntegrationTileProps, type IsoDateString, type IsoDateTimeString, type IsoTimeString, JsonEditor, type JsonEditorProps, Label, LabelLeadingIcon, type LabelProps, Legend, type LegendProps, type LevelProps, LimitsBar, type LimitsBarProps, Link, type LinkColorProps, LinkList, type LinkListProps, type LinkManagerWithRefType, LinkNode, type LinkProps, LinkWithRef, LoadingCardSkeleton, LoadingIcon, type LoadingIconProps, LoadingIndicator, LoadingOverlay, type LoadingOverlayProps, MediaCard, type MediaCardProps, Menu, MenuButton, type MenuButtonProp, MenuGroup, type MenuGroupProps, MenuItem, MenuItemEmptyIcon, MenuItemIcon, MenuItemInner, type MenuItemProps, MenuItemSeparator, type MenuItemTextThemeProps, type MenuProps, MenuThreeDots, type MenuThreeDotsProps, Modal, ModalDialog, type ModalDialogProps, type ModalProps, MultilineChip, type MultilineChipProps, ObjectGridContainer, type ObjectGridContainerProps, ObjectGridItem, ObjectGridItemCardCover, type ObjectGridItemCardCoverProps, ObjectGridItemCover, ObjectGridItemCoverButton, type ObjectGridItemCoverButtonProps, type ObjectGridItemCoverProps, ObjectGridItemHeading, ObjectGridItemIconWithTooltip, type ObjectGridItemIconWithTooltipProps, type ObjectGridItemProps, type ObjectGridItemTitleProps, PageHeaderSection, type PageHeaderSectionProps, Pagination, Paragraph, type ParagraphProps, type ParameterDataConnectButtonProps, ParameterDataResource, ParameterDrawerHeader, type ParameterDrawerHeaderProps, ParameterGroup, type ParameterGroupProps, ParameterImage, ParameterImageInner, ParameterImagePreview, type ParameterImageProps, ParameterInput, ParameterInputInner, type ParameterInputProps, ParameterLabel, type ParameterLabelProps, ParameterLink, ParameterLinkInner, type ParameterLinkProps, ParameterMenuButton, type ParameterMenuButtonProps, ParameterMultiSelect, ParameterMultiSelectInner, type ParameterMultiSelectOption, type ParameterMultiSelectProps, ParameterNameAndPublicIdInput, type ParameterNameAndPublicIdInputProps, ParameterOverrideMarker, ParameterRichText, ParameterRichTextInner, type ParameterRichTextInnerProps, type ParameterRichTextProps, ParameterSelect, ParameterSelectInner, type ParameterSelectProps, ParameterShell, ParameterShellContext, ParameterShellPlaceholder, type ParameterShellProps, ParameterTextarea, ParameterTextareaInner, type ParameterTextareaProps, ParameterToggle, ParameterToggleInner, type ParameterToggleProps, Popover, type PopoverProps, ProgressBar, type ProgressBarProps, ProgressList, ProgressListItem, type ProgressListItemProps, type ProgressListProps, type RegisterDrawerProps, ResolveIcon, type ResolveIconProps, type RhythmProps, type RichTextParamValue, RichTextToolbarIcon, type ScrollableItemProps, ScrollableList, type ScrollableListContainerProps, ScrollableListInputItem, ScrollableListItem, type ScrollableListItemProps, type ScrollableListProps, SearchableMenu, type SearchableMenuProps, SegmentedControl, type SegmentedControlOption, type SegmentedControlProps, SelectableMenuItem, type SelectableMenuItemProps, type SerializedLinkNode, ShortcutContext, type ShortcutReference, ShortcutRevealer, Skeleton, type SkeletonProps, StatusBullet, type StatusBulletProps, type StatusTypeProps, SuccessMessage, type SuccessMessageProps, Switch, type SwitchProps, TAKEOVER_STACK_ID, TabButton, TabButtonGroup, type TabButtonProps, TabContent, type TabContentProps, Table, TableBody, type TableBodyProps, TableCellData, type TableCellDataProps, TableCellHead, type TableCellHeadProps, TableFoot, type TableFootProps, TableHead, type TableHeadProps, type TableProps, TableRow, type TableRowProps, Tabs, type TabsProps, TakeoverDrawerRenderer, type TextAlignProps, Textarea, type TextareaProps, Theme, type ThemeProps, Tile, TileContainer, type TileContainerProps, type TileProps, TileText, type TileTitleProps, ToastContainer, type ToastContainerProps, Tooltip, type TooltipProps, TwoColumnLayout, type TwoColumnLayoutProps, UniformBadge, UniformLogo, UniformLogoLarge, type UniformLogoProps, type UseShortcutOptions, type UseShortcutResult, VerticalRhythm, WarningMessage, type WarningMessageProps, accessibleHidden, addPathSegmentToPathname, borderTopIcon, breakpoints, button, buttonAccentAltDark, buttonAccentAltDarkOutline, buttonDestructive, buttonGhost, buttonGhostDestructive, buttonGhostUnimportant, buttonPrimary, buttonPrimaryInvert, buttonRippleEffect, buttonSecondary, buttonSecondaryInvert, buttonTertiary, buttonTertiaryOutline, buttonUnimportant, canvasAlertIcon, cardIcon, convertComboBoxGroupsToSelectableGroups, cq, customIcons, extractParameterProps, fadeIn, fadeInBottom, fadeInLtr, fadeInRtl, fadeInTop, fadeOutBottom, fullWidthScreenIcon, getComboBoxSelectedSelectableGroups, getDrawerAttributes, getFormattedShortcut, getParentPath, getPathSegment, growSubtle, imageTextIcon, infoFilledIcon, input, inputError, inputSelect, isSecureURL, isValidUrl, jsonIcon, labelText, loader as loaderAnimationData, mq, numberInput, queryStringIcon, rectangleRoundedIcon, replaceUnderscoreInString, richTextToolbarButton, richTextToolbarButtonActive, ripple, scrollbarStyles, settings, settingsIcon, skeletonLoading, slideInTtb, spin, spinner as spinnerAnimationData, structurePanelIcon, supports, textInput, uniformComponentIcon, uniformComponentPatternIcon, uniformContentTypeIcon, uniformEntryIcon, uniformEntryPatternIcon, useBreakpoint, useCloseCurrentDrawer, useCurrentDrawer, useCurrentTab, useDateTimePickerContext, useDrawer, useIconContext, useOutsideClick, useParameterShell, useShortcut, functionalColors as utilityColors, warningIcon, yesNoIcon };
|
|
23825
|
+
export { type ActionButtonsProps, AddButton, type AddButtonProps, AddListButton, type AddListButtonProps, type AddListButtonThemeProps, AnimationFile, type AnimationFileProps, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, Badge, type BadgeProps, type BadgeSizeProps, type BadgeThemeProps, type BadgeThemeStyleProps, Banner, type BannerProps, type BannerType, BetaDecorator, type BoxHeightProps, type BreakpointSize, type BreakpointsMap, Button, type ButtonProps, type ButtonSizeProps$1 as ButtonSizeProps, type ButtonThemeProps$1 as ButtonThemeProps, ButtonWithMenu, type ButtonWithMenuProps, Calendar, type CalendarProps, Callout, type CalloutProps, type CalloutType, Caption, type CaptionProps, Card, CardContainer, type CardContainerBgColorProps, type CardContainerProps, type CardProps, CardTitle, type CardTitleProps, CheckboxWithInfo, type CheckboxWithInforProps, type ChildFunction, Chip, type ChipProps, type ChipTheme, type ComboBoxGroupBase, type ComboBoxSelectableGroup, type ComboBoxSelectableItem, type ComboBoxSelectableOption, ConnectToDataElementButton, type ConnectToDataElementButtonProps, Container, type ContainerProps, type ConvertComboBoxGroupsToSelectableGroupsOptions, Counter, type CounterProps, CreateTeamIntegrationTile, type CreateTeamIntegrationTileProps, CurrentDrawerContext, DashedBox, type DashedBoxProps, DateTimePicker, type DateTimePickerProps, DateTimePickerSummary, type DateTimePickerValue, DateTimePickerVariant, DebouncedInputKeywordSearch, type DebouncedInputKeywordSearchProps, DescriptionList, type DescriptionListProps, Details, type DetailsProps, DismissibleChipAction, Drawer, DrawerContent, type DrawerContentProps, type DrawerContextValue, type DrawerItem, type DrawerProps, DrawerProvider, DrawerRenderer, type DrawerRendererItemProps, type DrawerRendererProps, type DrawersRegistryRecord, DropdownStyleMenuTrigger, type DropdownStyleMenuTriggerProps, EditTeamIntegrationTile, type EditTeamIntegrationTileProps, ErrorMessage, type ErrorMessageProps, FieldMessage, type FieldMessageProps, Fieldset, type FieldsetProps, Heading, type HeadingProps, HexModalBackground, HorizontalRhythm, Icon, IconButton, type IconButtonProps, type IconColor, type IconName, type IconProps, type IconType, IconsProvider, Image, ImageBroken, type ImageProps, InfoMessage, type InfoMessageProps, Input, InputComboBox, type InputComboBoxOption, type InputComboBoxProps, InputCreatableComboBox, type InputCreatableComboBoxProps, InputInlineSelect, type InputInlineSelectOption, type InputInlineSelectProps, InputKeywordSearch, type InputKeywordSearchProps, type InputProps, InputSelect, type InputSelectProps, InputTime, type InputTimeProps, InputToggle, type InputToggleProps, IntegrationComingSoon, type IntegrationComingSoonProps, IntegrationHeaderSection, type IntegrationHeaderSectionProps, IntegrationLoadingTile, type IntegrationLoadingTileProps, IntegrationModalHeader, type IntegrationModalHeaderProps, IntegrationModalIcon, type IntegrationModalIconProps, IntegrationTile, type IntegrationTileProps, type IsoDateString, type IsoDateTimeString, type IsoTimeString, JsonEditor, type JsonEditorProps, Label, LabelLeadingIcon, type LabelProps, Legend, type LegendProps, type LevelProps, LimitsBar, type LimitsBarProps, Link, type LinkColorProps, LinkList, type LinkListProps, type LinkManagerWithRefType, LinkNode, type LinkProps, LinkWithRef, LoadingCardSkeleton, LoadingIcon, type LoadingIconProps, LoadingIndicator, LoadingOverlay, type LoadingOverlayProps, MediaCard, type MediaCardProps, Menu, MenuButton, type MenuButtonProp, MenuGroup, type MenuGroupProps, MenuItem, MenuItemEmptyIcon, MenuItemIcon, MenuItemInner, type MenuItemProps, MenuItemSeparator, type MenuItemTextThemeProps, type MenuProps, MenuThreeDots, type MenuThreeDotsProps, Modal, ModalDialog, type ModalDialogProps, type ModalProps, MultilineChip, type MultilineChipProps, ObjectGridContainer, type ObjectGridContainerProps, ObjectGridItem, ObjectGridItemCardCover, type ObjectGridItemCardCoverProps, ObjectGridItemCover, ObjectGridItemCoverButton, type ObjectGridItemCoverButtonProps, type ObjectGridItemCoverProps, ObjectGridItemHeading, ObjectGridItemIconWithTooltip, type ObjectGridItemIconWithTooltipProps, type ObjectGridItemProps, type ObjectGridItemTitleProps, PageHeaderSection, type PageHeaderSectionProps, Pagination, Paragraph, type ParagraphProps, type ParameterDataConnectButtonProps, ParameterDataResource, ParameterDrawerHeader, type ParameterDrawerHeaderProps, ParameterGroup, type ParameterGroupProps, ParameterImage, ParameterImageInner, ParameterImagePreview, type ParameterImageProps, ParameterInput, ParameterInputInner, type ParameterInputProps, ParameterLabel, type ParameterLabelProps, ParameterLink, ParameterLinkInner, type ParameterLinkProps, ParameterMenuButton, type ParameterMenuButtonProps, ParameterMultiSelect, ParameterMultiSelectInner, type ParameterMultiSelectOption, type ParameterMultiSelectProps, ParameterNameAndPublicIdInput, type ParameterNameAndPublicIdInputProps, ParameterOverrideMarker, ParameterRichText, ParameterRichTextInner, type ParameterRichTextInnerProps, type ParameterRichTextProps, ParameterSelect, ParameterSelectInner, type ParameterSelectProps, ParameterShell, ParameterShellContext, ParameterShellPlaceholder, type ParameterShellProps, ParameterTextarea, ParameterTextareaInner, type ParameterTextareaProps, ParameterToggle, ParameterToggleInner, type ParameterToggleProps, Popover, type PopoverProps, ProgressBar, type ProgressBarProps, ProgressList, ProgressListItem, type ProgressListItemProps, type ProgressListProps, type RegisterDrawerProps, ResolveIcon, type ResolveIconProps, type RhythmProps, type RichTextParamValue, RichTextToolbarIcon, type ScrollableItemProps, ScrollableList, type ScrollableListContainerProps, ScrollableListInputItem, ScrollableListItem, type ScrollableListItemProps, type ScrollableListProps, SearchableMenu, type SearchableMenuProps, SegmentedControl, type SegmentedControlOption, type SegmentedControlProps, SelectableMenuItem, type SelectableMenuItemProps, type SerializedLinkNode, ShortcutContext, type ShortcutReference, ShortcutRevealer, Skeleton, type SkeletonProps, StatusBullet, type StatusBulletProps, type StatusTypeProps, SuccessMessage, type SuccessMessageProps, Switch, type SwitchProps, TAKEOVER_STACK_ID, TabButton, TabButtonGroup, type TabButtonProps, TabContent, type TabContentProps, Table, TableBody, type TableBodyProps, TableCellData, type TableCellDataProps, TableCellHead, type TableCellHeadProps, TableFoot, type TableFootProps, TableHead, type TableHeadProps, type TableProps, TableRow, type TableRowProps, Tabs, type TabsProps, TakeoverDrawerRenderer, type TextAlignProps, Textarea, type TextareaProps, Theme, type ThemeProps, Tile, TileContainer, type TileContainerProps, type TileProps, TileText, type TileTitleProps, ToastContainer, type ToastContainerProps, Tooltip, type TooltipProps, TwoColumnLayout, type TwoColumnLayoutProps, UniformBadge, UniformLogo, UniformLogoLarge, type UniformLogoProps, type UseShortcutOptions, type UseShortcutResult, VerticalRhythm, WarningMessage, type WarningMessageProps, accessibleHidden, addPathSegmentToPathname, borderTopIcon, breakpoints, button, buttonAccentAltDark, buttonAccentAltDarkOutline, buttonDestructive, buttonGhost, buttonGhostDestructive, buttonGhostUnimportant, buttonPrimary, buttonPrimaryInvert, buttonRippleEffect, buttonSecondary, buttonSecondaryInvert, buttonTertiary, buttonTertiaryOutline, buttonUnimportant, canvasAlertIcon, cardIcon, convertComboBoxGroupsToSelectableGroups, cq, customIcons, extractParameterProps, fadeIn, fadeInBottom, fadeInLtr, fadeInRtl, fadeInTop, fadeOutBottom, fullWidthScreenIcon, getComboBoxSelectedSelectableGroups, getDrawerAttributes, getFormattedShortcut, getParentPath, getPathSegment, growSubtle, imageTextIcon, infoFilledIcon, input, inputError, inputSelect, isSecureURL, isValidUrl, jsonIcon, labelText, loader as loaderAnimationData, mq, numberInput, queryStringIcon, rectangleRoundedIcon, replaceUnderscoreInString, richTextToolbarButton, richTextToolbarButtonActive, ripple, scrollbarStyles, settings, settingsIcon, skeletonLoading, slideInTtb, spin, spinner as spinnerAnimationData, structurePanelIcon, supports, textInput, uniformComponentIcon, uniformComponentPatternIcon, uniformContentTypeIcon, uniformEntryIcon, uniformEntryPatternIcon, useBreakpoint, useCloseCurrentDrawer, useCurrentDrawer, useCurrentTab, useDateTimePickerContext, useDrawer, useIconContext, useOutsideClick, useParameterShell, useShortcut, functionalColors as utilityColors, warningIcon, yesNoIcon };
|
package/dist/index.js
CHANGED
|
@@ -1371,6 +1371,7 @@ __export(src_exports, {
|
|
|
1371
1371
|
CurrentDrawerContext: () => CurrentDrawerContext,
|
|
1372
1372
|
DashedBox: () => DashedBox,
|
|
1373
1373
|
DateTimePicker: () => DateTimePicker,
|
|
1374
|
+
DateTimePickerSummary: () => DateTimePickerSummary,
|
|
1374
1375
|
DateTimePickerVariant: () => DateTimePickerVariant,
|
|
1375
1376
|
DebouncedInputKeywordSearch: () => DebouncedInputKeywordSearch,
|
|
1376
1377
|
DescriptionList: () => DescriptionList,
|
|
@@ -1673,6 +1674,10 @@ var Theme = ({ disableReset = false, disableGlobalReset = false }) => {
|
|
|
1673
1674
|
|
|
1674
1675
|
--action-destructive-default: var(--brand-secondary-5);
|
|
1675
1676
|
--action-destructive-hover: #e07571;
|
|
1677
|
+
--action-destructive-active: rbga(210, 50, 45, 0.05); /* #d2322d */
|
|
1678
|
+
--action-destructive-disabled: #f87171;
|
|
1679
|
+
|
|
1680
|
+
|
|
1676
1681
|
|
|
1677
1682
|
/* tertiary action */
|
|
1678
1683
|
--tertiary-action-default: var(--gray-700);
|
|
@@ -2572,16 +2577,16 @@ var buttonPrimary = import_react10.css`
|
|
|
2572
2577
|
})}
|
|
2573
2578
|
`;
|
|
2574
2579
|
var buttonDestructive = import_react10.css`
|
|
2575
|
-
background: var(--
|
|
2580
|
+
background: var(--action-destructive-default);
|
|
2576
2581
|
color: var(--white);
|
|
2577
2582
|
|
|
2578
2583
|
&:disabled {
|
|
2579
|
-
background: var(--gray-300);
|
|
2580
2584
|
color: var(--white);
|
|
2585
|
+
opacity: var(--opacity-50);
|
|
2581
2586
|
}
|
|
2582
2587
|
|
|
2583
2588
|
${buttonRippleEffect({
|
|
2584
|
-
hoverColor: "var(--
|
|
2589
|
+
hoverColor: "var(--action-destructive-default)",
|
|
2585
2590
|
activeColor: "var(--action-destructive-hover)"
|
|
2586
2591
|
})}
|
|
2587
2592
|
`;
|
|
@@ -2659,19 +2664,20 @@ var buttonGhost = import_react10.css`
|
|
|
2659
2664
|
`;
|
|
2660
2665
|
var buttonGhostDestructive = import_react10.css`
|
|
2661
2666
|
background: transparent;
|
|
2662
|
-
color: var(--
|
|
2667
|
+
color: var(--action-destructive-default);
|
|
2663
2668
|
|
|
2664
2669
|
&:hover {
|
|
2665
|
-
|
|
2670
|
+
outline: 1px solid var(--action-destructive-hover);
|
|
2671
|
+
color: var(--action-destructive-hover);
|
|
2666
2672
|
}
|
|
2667
2673
|
|
|
2668
2674
|
&:disabled {
|
|
2669
2675
|
background: transparent;
|
|
2670
|
-
|
|
2671
|
-
|
|
2676
|
+
color: var(--action-destructive-disabled);
|
|
2677
|
+
opacity: var(--opacity-50);
|
|
2672
2678
|
}
|
|
2673
2679
|
|
|
2674
|
-
${buttonRippleEffect({ hoverColor: "var(--white)", activeColor: "var(--
|
|
2680
|
+
${buttonRippleEffect({ hoverColor: "var(--white)", activeColor: "var(--action-destructive-active)" })}
|
|
2675
2681
|
`;
|
|
2676
2682
|
var buttonTertiary = import_react10.css`
|
|
2677
2683
|
background: var(--tertiary-action-default);
|
|
@@ -2799,7 +2805,7 @@ var toastContainerStyles = import_react12.css`
|
|
|
2799
2805
|
${functionalColors}
|
|
2800
2806
|
|
|
2801
2807
|
--toastify-color-light: white;
|
|
2802
|
-
--toastify-color-info: var(--utility-
|
|
2808
|
+
--toastify-color-info: var(--utility-info-icon);
|
|
2803
2809
|
--toastify-color-success: var(--utility-success-icon);
|
|
2804
2810
|
--toastify-color-warning: var(--utility-caution-icon);
|
|
2805
2811
|
--toastify-color-error: var(--utility-danger-icon);
|
|
@@ -14408,9 +14414,9 @@ var InfoIcon2 = import_react44.css`
|
|
|
14408
14414
|
|
|
14409
14415
|
// src/components/Input/InfoMessage.tsx
|
|
14410
14416
|
var import_jsx_runtime34 = require("@emotion/react/jsx-runtime");
|
|
14411
|
-
var InfoMessage = ({ message, testId, ...props }) => {
|
|
14417
|
+
var InfoMessage = ({ message, testId, icon = import_MdInfoOutline.MdInfoOutline, ...props }) => {
|
|
14412
14418
|
return message ? /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)("span", { role: "status", css: InfoText, "data-testid": testId, ...props, children: [
|
|
14413
|
-
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)("span", { children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(Icon, { css: InfoIcon2, icon
|
|
14419
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)("span", { children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(Icon, { css: InfoIcon2, icon, size: "1rem", iconColor: "currentColor" }) }),
|
|
14414
14420
|
message
|
|
14415
14421
|
] }) : null;
|
|
14416
14422
|
};
|
|
@@ -14830,10 +14836,11 @@ function convertComboBoxGroupsToSelectableGroups(args) {
|
|
|
14830
14836
|
return { groupedOptions, selectedOptions };
|
|
14831
14837
|
}
|
|
14832
14838
|
function getComboBoxSelectedSelectableGroups(selectedValues) {
|
|
14833
|
-
const
|
|
14839
|
+
const selectedValuesNormalized = selectedValues ? Array.isArray(selectedValues) ? selectedValues : [selectedValues] : null;
|
|
14840
|
+
const selectedOptionValues = selectedValuesNormalized == null ? void 0 : selectedValuesNormalized.flatMap(
|
|
14834
14841
|
(selectedValue) => Array.isArray(selectedValue.value) ? selectedValue.value : [selectedValue.value]
|
|
14835
14842
|
);
|
|
14836
|
-
return new Set(selectedOptionValues.filter((value) => value !== void 0));
|
|
14843
|
+
return new Set(selectedOptionValues == null ? void 0 : selectedOptionValues.filter((value) => value !== void 0));
|
|
14837
14844
|
}
|
|
14838
14845
|
function flatMapOptionValues(options) {
|
|
14839
14846
|
return options.flatMap((option) => {
|
|
@@ -15066,6 +15073,10 @@ var InputKeywordSearch = (0, import_react50.forwardRef)(
|
|
|
15066
15073
|
minHeight: 0,
|
|
15067
15074
|
padding: "var(--spacing-xs) var(--spacing-lg) var(--spacing-xs) var(--spacing-base)",
|
|
15068
15075
|
fontSize: "var(--fs-sm)"
|
|
15076
|
+
} : compact === "sm" ? {
|
|
15077
|
+
minHeight: "40px",
|
|
15078
|
+
padding: "var(--spacing-xs) var(--spacing-lg) var(--spacing-xs) var(--spacing-base)",
|
|
15079
|
+
fontSize: "var(--fs-sm)"
|
|
15069
15080
|
} : compact ? {
|
|
15070
15081
|
padding: "var(--spacing-sm) var(--spacing-lg) var(--spacing-sm) var(--spacing-base)",
|
|
15071
15082
|
fontSize: "var(--fs-sm)"
|
|
@@ -16974,6 +16985,7 @@ init_emotion_jsx_shim();
|
|
|
16974
16985
|
// src/components/DateTimePicker/DateTimePicker.tsx
|
|
16975
16986
|
init_emotion_jsx_shim();
|
|
16976
16987
|
var import_date4 = require("@internationalized/date");
|
|
16988
|
+
var import_CgCalendar2 = require("@react-icons/all-files/cg/CgCalendar");
|
|
16977
16989
|
var import_react75 = require("react");
|
|
16978
16990
|
var import_Popover = require("reakit/Popover");
|
|
16979
16991
|
|
|
@@ -17186,6 +17198,7 @@ function useDateTimePickerContext() {
|
|
|
17186
17198
|
var DateTimePicker = ({
|
|
17187
17199
|
id,
|
|
17188
17200
|
label,
|
|
17201
|
+
triggerIcon = import_CgCalendar2.CgCalendar,
|
|
17189
17202
|
value,
|
|
17190
17203
|
minVisible,
|
|
17191
17204
|
maxVisible,
|
|
@@ -17295,7 +17308,7 @@ var DateTimePicker = ({
|
|
|
17295
17308
|
children: "clear"
|
|
17296
17309
|
}
|
|
17297
17310
|
),
|
|
17298
|
-
/* @__PURE__ */ (0, import_jsx_runtime66.jsx)(Button, { css: trigger, buttonType: "ghost", disabled: disabled2, onClick: popover2.show, children: /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(Icon, { icon:
|
|
17311
|
+
/* @__PURE__ */ (0, import_jsx_runtime66.jsx)(Button, { css: trigger, buttonType: "ghost", disabled: disabled2, onClick: popover2.show, children: /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(Icon, { icon: triggerIcon, iconColor: "currentColor" }) })
|
|
17299
17312
|
]
|
|
17300
17313
|
}
|
|
17301
17314
|
),
|
|
@@ -23997,6 +24010,7 @@ var StatusBullet = ({
|
|
|
23997
24010
|
CurrentDrawerContext,
|
|
23998
24011
|
DashedBox,
|
|
23999
24012
|
DateTimePicker,
|
|
24013
|
+
DateTimePickerSummary,
|
|
24000
24014
|
DateTimePickerVariant,
|
|
24001
24015
|
DebouncedInputKeywordSearch,
|
|
24002
24016
|
DescriptionList,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uniformdev/design-system",
|
|
3
|
-
"version": "19.
|
|
3
|
+
"version": "19.164.0",
|
|
4
4
|
"description": "Uniform design system components",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -20,12 +20,12 @@
|
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
22
|
"@emotion/jest": "11.11.0",
|
|
23
|
-
"@storybook/
|
|
24
|
-
"@storybook/react": "
|
|
23
|
+
"@storybook/preview-api": "^8.0.10",
|
|
24
|
+
"@storybook/react": "8.0.10",
|
|
25
25
|
"@types/react": "18.2.40",
|
|
26
26
|
"@types/react-dom": "18.2.17",
|
|
27
|
-
"@uniformdev/canvas": "^19.
|
|
28
|
-
"@uniformdev/richtext": "^19.
|
|
27
|
+
"@uniformdev/canvas": "^19.164.0",
|
|
28
|
+
"@uniformdev/richtext": "^19.164.0",
|
|
29
29
|
"autoprefixer": "10.4.16",
|
|
30
30
|
"hygen": "6.2.11",
|
|
31
31
|
"postcss": "8.4.38",
|
|
@@ -72,5 +72,5 @@
|
|
|
72
72
|
"publishConfig": {
|
|
73
73
|
"access": "public"
|
|
74
74
|
},
|
|
75
|
-
"gitHead": "
|
|
75
|
+
"gitHead": "016e3b85373592ca9beb19593aa120247b638c06"
|
|
76
76
|
}
|