@ultraviolet/ui 1.4.5 → 1.4.7
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/README.md +7 -0
- package/dist/index.d.ts +127 -127
- package/dist/src/components/List/Cell.js +6 -0
- package/package.json +10 -8
package/README.md
CHANGED
|
@@ -10,6 +10,13 @@ Ultraviolet UI is a set of React components and utilities to build fast applicat
|
|
|
10
10
|
$ pnpm add @ultraviolet/ui @emotion/react @emotion/styled
|
|
11
11
|
```
|
|
12
12
|
|
|
13
|
+
You will also need to import fonts in your project by adding:
|
|
14
|
+
|
|
15
|
+
```html
|
|
16
|
+
<link href="https://fonts.cdnfonts.com/css/asap?styles=20325,20323,20320" rel="stylesheet">
|
|
17
|
+
<link href="https://fonts.cdnfonts.com/css/jetbrains-mono-2?styles=156604" rel="stylesheet">
|
|
18
|
+
```
|
|
19
|
+
|
|
13
20
|
### Usage
|
|
14
21
|
|
|
15
22
|
```js
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import { ReactNode, SVGProps, ComponentProps, ButtonHTMLAttributes, AriaRole, MouseEventHandler, JSX, MouseEvent, InputHTMLAttributes, HTMLAttributeAnchorTarget, AnchorHTMLAttributes, ReactElement, Ref, RefObject, CSSProperties, ChangeEventHandler, FocusEventHandler, ForwardRefExoticComponent, ForwardedRef, HTMLAttributes, ElementType, KeyboardEventHandler, TextareaHTMLAttributes } from 'react';
|
|
3
|
-
import * as
|
|
3
|
+
import * as _emotion_react_jsx_runtime from '@emotion/react/jsx-runtime';
|
|
4
4
|
import * as _emotion_styled from '@emotion/styled';
|
|
5
5
|
import * as _emotion_react from '@emotion/react';
|
|
6
6
|
import { Theme, CSSObject, css } from '@emotion/react';
|
|
@@ -719,85 +719,85 @@ type Color = Extract<keyof typeof consoleLightTheme.colors, 'primary' | 'neutral
|
|
|
719
719
|
declare const SENTIMENTS: readonly ["primary", "neutral", "success", "danger", "warning", "info"];
|
|
720
720
|
|
|
721
721
|
declare const ICONS: {
|
|
722
|
-
readonly alert: () =>
|
|
723
|
-
readonly anchor: () =>
|
|
724
|
-
readonly 'arrow-down': () =>
|
|
725
|
-
readonly 'arrow-left': () =>
|
|
726
|
-
readonly 'arrow-left-double': () =>
|
|
727
|
-
readonly 'arrow-right': () =>
|
|
728
|
-
readonly 'arrow-right-bottom': () =>
|
|
729
|
-
readonly 'arrow-right-double': () =>
|
|
730
|
-
readonly 'arrow-up': () =>
|
|
731
|
-
readonly asterisk: () =>
|
|
732
|
-
readonly 'auto-fix': () =>
|
|
733
|
-
readonly bullhorn: () =>
|
|
734
|
-
readonly burger: () =>
|
|
735
|
-
readonly 'book-open-outline': () =>
|
|
736
|
-
readonly calculator: () =>
|
|
737
|
-
readonly 'calendar-range': () =>
|
|
738
|
-
readonly cancel: () =>
|
|
739
|
-
readonly id: () =>
|
|
740
|
-
readonly check: () =>
|
|
741
|
-
readonly 'checkbox-circle-outline': () =>
|
|
742
|
-
readonly 'clock-outline': () =>
|
|
743
|
-
readonly close: () =>
|
|
744
|
-
readonly 'close-circle-outline': () =>
|
|
745
|
-
readonly 'copy-content': () =>
|
|
746
|
-
readonly credentials: () =>
|
|
747
|
-
readonly 'credit-card': () =>
|
|
748
|
-
readonly delete: () =>
|
|
749
|
-
readonly detach: () =>
|
|
750
|
-
readonly doc: () =>
|
|
751
|
-
readonly 'dots-horizontal': () =>
|
|
752
|
-
readonly 'dots-vertical': () =>
|
|
753
|
-
readonly download: () =>
|
|
754
|
-
readonly 'drag-variant': () =>
|
|
755
|
-
readonly 'drag-vertical': () =>
|
|
756
|
-
readonly east: () =>
|
|
757
|
-
readonly 'email-outline': () =>
|
|
758
|
-
readonly expand: () =>
|
|
759
|
-
readonly eye: () =>
|
|
760
|
-
readonly 'eye-off': () =>
|
|
761
|
-
readonly filter: () =>
|
|
762
|
-
readonly github: () =>
|
|
763
|
-
readonly 'help-circle-outline': () =>
|
|
764
|
-
readonly 'information-outline': () =>
|
|
765
|
-
readonly lock: () =>
|
|
766
|
-
readonly logout: () =>
|
|
767
|
-
readonly members: () =>
|
|
768
|
-
readonly minus: () =>
|
|
769
|
-
readonly moon: () =>
|
|
770
|
-
readonly 'open-in-new': () =>
|
|
771
|
-
readonly organization: () =>
|
|
772
|
-
readonly pencil: () =>
|
|
773
|
-
readonly 'play-circle-outline': () =>
|
|
774
|
-
readonly plus: () =>
|
|
775
|
-
readonly privacy: () =>
|
|
776
|
-
readonly profile: () =>
|
|
777
|
-
readonly 'progress-check': () =>
|
|
778
|
-
readonly 'ray-end-arrow': () =>
|
|
779
|
-
readonly 'ray-start-arrow': () =>
|
|
780
|
-
readonly 'ray-start-end': () =>
|
|
781
|
-
readonly 'ray-top-arrow': () =>
|
|
782
|
-
readonly reboot: () =>
|
|
783
|
-
readonly restore: () =>
|
|
784
|
-
readonly revoke: () =>
|
|
785
|
-
readonly rocket: () =>
|
|
786
|
-
readonly search: () =>
|
|
787
|
-
readonly send: () =>
|
|
788
|
-
readonly settings: () =>
|
|
789
|
-
readonly sort: () =>
|
|
790
|
-
readonly sun: () =>
|
|
791
|
-
readonly support: () =>
|
|
792
|
-
readonly switch_orga: () =>
|
|
793
|
-
readonly unlock: () =>
|
|
794
|
-
readonly upload: () =>
|
|
795
|
-
readonly view: () =>
|
|
796
|
-
readonly 'weather-night': () =>
|
|
797
|
-
readonly attach: () =>
|
|
798
|
-
readonly phone: () =>
|
|
799
|
-
readonly earth: () =>
|
|
800
|
-
readonly 'email-remove-outline': () =>
|
|
722
|
+
readonly alert: () => _emotion_react_jsx_runtime.JSX.Element;
|
|
723
|
+
readonly anchor: () => _emotion_react_jsx_runtime.JSX.Element;
|
|
724
|
+
readonly 'arrow-down': () => _emotion_react_jsx_runtime.JSX.Element;
|
|
725
|
+
readonly 'arrow-left': () => _emotion_react_jsx_runtime.JSX.Element;
|
|
726
|
+
readonly 'arrow-left-double': () => _emotion_react_jsx_runtime.JSX.Element;
|
|
727
|
+
readonly 'arrow-right': () => _emotion_react_jsx_runtime.JSX.Element;
|
|
728
|
+
readonly 'arrow-right-bottom': () => _emotion_react_jsx_runtime.JSX.Element;
|
|
729
|
+
readonly 'arrow-right-double': () => _emotion_react_jsx_runtime.JSX.Element;
|
|
730
|
+
readonly 'arrow-up': () => _emotion_react_jsx_runtime.JSX.Element;
|
|
731
|
+
readonly asterisk: () => _emotion_react_jsx_runtime.JSX.Element;
|
|
732
|
+
readonly 'auto-fix': () => _emotion_react_jsx_runtime.JSX.Element;
|
|
733
|
+
readonly bullhorn: () => _emotion_react_jsx_runtime.JSX.Element;
|
|
734
|
+
readonly burger: () => _emotion_react_jsx_runtime.JSX.Element;
|
|
735
|
+
readonly 'book-open-outline': () => _emotion_react_jsx_runtime.JSX.Element;
|
|
736
|
+
readonly calculator: () => _emotion_react_jsx_runtime.JSX.Element;
|
|
737
|
+
readonly 'calendar-range': () => _emotion_react_jsx_runtime.JSX.Element;
|
|
738
|
+
readonly cancel: () => _emotion_react_jsx_runtime.JSX.Element;
|
|
739
|
+
readonly id: () => _emotion_react_jsx_runtime.JSX.Element;
|
|
740
|
+
readonly check: () => _emotion_react_jsx_runtime.JSX.Element;
|
|
741
|
+
readonly 'checkbox-circle-outline': () => _emotion_react_jsx_runtime.JSX.Element;
|
|
742
|
+
readonly 'clock-outline': () => _emotion_react_jsx_runtime.JSX.Element;
|
|
743
|
+
readonly close: () => _emotion_react_jsx_runtime.JSX.Element;
|
|
744
|
+
readonly 'close-circle-outline': () => _emotion_react_jsx_runtime.JSX.Element;
|
|
745
|
+
readonly 'copy-content': () => _emotion_react_jsx_runtime.JSX.Element;
|
|
746
|
+
readonly credentials: () => _emotion_react_jsx_runtime.JSX.Element;
|
|
747
|
+
readonly 'credit-card': () => _emotion_react_jsx_runtime.JSX.Element;
|
|
748
|
+
readonly delete: () => _emotion_react_jsx_runtime.JSX.Element;
|
|
749
|
+
readonly detach: () => _emotion_react_jsx_runtime.JSX.Element;
|
|
750
|
+
readonly doc: () => _emotion_react_jsx_runtime.JSX.Element;
|
|
751
|
+
readonly 'dots-horizontal': () => _emotion_react_jsx_runtime.JSX.Element;
|
|
752
|
+
readonly 'dots-vertical': () => _emotion_react_jsx_runtime.JSX.Element;
|
|
753
|
+
readonly download: () => _emotion_react_jsx_runtime.JSX.Element;
|
|
754
|
+
readonly 'drag-variant': () => _emotion_react_jsx_runtime.JSX.Element;
|
|
755
|
+
readonly 'drag-vertical': () => _emotion_react_jsx_runtime.JSX.Element;
|
|
756
|
+
readonly east: () => _emotion_react_jsx_runtime.JSX.Element;
|
|
757
|
+
readonly 'email-outline': () => _emotion_react_jsx_runtime.JSX.Element;
|
|
758
|
+
readonly expand: () => _emotion_react_jsx_runtime.JSX.Element;
|
|
759
|
+
readonly eye: () => _emotion_react_jsx_runtime.JSX.Element;
|
|
760
|
+
readonly 'eye-off': () => _emotion_react_jsx_runtime.JSX.Element;
|
|
761
|
+
readonly filter: () => _emotion_react_jsx_runtime.JSX.Element;
|
|
762
|
+
readonly github: () => _emotion_react_jsx_runtime.JSX.Element;
|
|
763
|
+
readonly 'help-circle-outline': () => _emotion_react_jsx_runtime.JSX.Element;
|
|
764
|
+
readonly 'information-outline': () => _emotion_react_jsx_runtime.JSX.Element;
|
|
765
|
+
readonly lock: () => _emotion_react_jsx_runtime.JSX.Element;
|
|
766
|
+
readonly logout: () => _emotion_react_jsx_runtime.JSX.Element;
|
|
767
|
+
readonly members: () => _emotion_react_jsx_runtime.JSX.Element;
|
|
768
|
+
readonly minus: () => _emotion_react_jsx_runtime.JSX.Element;
|
|
769
|
+
readonly moon: () => _emotion_react_jsx_runtime.JSX.Element;
|
|
770
|
+
readonly 'open-in-new': () => _emotion_react_jsx_runtime.JSX.Element;
|
|
771
|
+
readonly organization: () => _emotion_react_jsx_runtime.JSX.Element;
|
|
772
|
+
readonly pencil: () => _emotion_react_jsx_runtime.JSX.Element;
|
|
773
|
+
readonly 'play-circle-outline': () => _emotion_react_jsx_runtime.JSX.Element;
|
|
774
|
+
readonly plus: () => _emotion_react_jsx_runtime.JSX.Element;
|
|
775
|
+
readonly privacy: () => _emotion_react_jsx_runtime.JSX.Element;
|
|
776
|
+
readonly profile: () => _emotion_react_jsx_runtime.JSX.Element;
|
|
777
|
+
readonly 'progress-check': () => _emotion_react_jsx_runtime.JSX.Element;
|
|
778
|
+
readonly 'ray-end-arrow': () => _emotion_react_jsx_runtime.JSX.Element;
|
|
779
|
+
readonly 'ray-start-arrow': () => _emotion_react_jsx_runtime.JSX.Element;
|
|
780
|
+
readonly 'ray-start-end': () => _emotion_react_jsx_runtime.JSX.Element;
|
|
781
|
+
readonly 'ray-top-arrow': () => _emotion_react_jsx_runtime.JSX.Element;
|
|
782
|
+
readonly reboot: () => _emotion_react_jsx_runtime.JSX.Element;
|
|
783
|
+
readonly restore: () => _emotion_react_jsx_runtime.JSX.Element;
|
|
784
|
+
readonly revoke: () => _emotion_react_jsx_runtime.JSX.Element;
|
|
785
|
+
readonly rocket: () => _emotion_react_jsx_runtime.JSX.Element;
|
|
786
|
+
readonly search: () => _emotion_react_jsx_runtime.JSX.Element;
|
|
787
|
+
readonly send: () => _emotion_react_jsx_runtime.JSX.Element;
|
|
788
|
+
readonly settings: () => _emotion_react_jsx_runtime.JSX.Element;
|
|
789
|
+
readonly sort: () => _emotion_react_jsx_runtime.JSX.Element;
|
|
790
|
+
readonly sun: () => _emotion_react_jsx_runtime.JSX.Element;
|
|
791
|
+
readonly support: () => _emotion_react_jsx_runtime.JSX.Element;
|
|
792
|
+
readonly switch_orga: () => _emotion_react_jsx_runtime.JSX.Element;
|
|
793
|
+
readonly unlock: () => _emotion_react_jsx_runtime.JSX.Element;
|
|
794
|
+
readonly upload: () => _emotion_react_jsx_runtime.JSX.Element;
|
|
795
|
+
readonly view: () => _emotion_react_jsx_runtime.JSX.Element;
|
|
796
|
+
readonly 'weather-night': () => _emotion_react_jsx_runtime.JSX.Element;
|
|
797
|
+
readonly attach: () => _emotion_react_jsx_runtime.JSX.Element;
|
|
798
|
+
readonly phone: () => _emotion_react_jsx_runtime.JSX.Element;
|
|
799
|
+
readonly earth: () => _emotion_react_jsx_runtime.JSX.Element;
|
|
800
|
+
readonly 'email-remove-outline': () => _emotion_react_jsx_runtime.JSX.Element;
|
|
801
801
|
};
|
|
802
802
|
type IconName = keyof typeof ICONS;
|
|
803
803
|
declare const Icon: react.ForwardRefExoticComponent<{
|
|
@@ -934,7 +934,7 @@ type AlertProps = {
|
|
|
934
934
|
*/
|
|
935
935
|
disabled?: boolean;
|
|
936
936
|
};
|
|
937
|
-
declare const Alert: ({ children, title, sentiment, buttonText, onClickButton, closable, onClose, className, disabled, "data-testid": dataTestId, }: AlertProps) =>
|
|
937
|
+
declare const Alert: ({ children, title, sentiment, buttonText, onClickButton, closable, onClose, className, disabled, "data-testid": dataTestId, }: AlertProps) => _emotion_react_jsx_runtime.JSX.Element | null;
|
|
938
938
|
|
|
939
939
|
type Without<T, U> = {
|
|
940
940
|
[P in Exclude<keyof T, keyof U>]?: never;
|
|
@@ -979,7 +979,7 @@ type AvatarProps = {
|
|
|
979
979
|
text: string;
|
|
980
980
|
}
|
|
981
981
|
]>;
|
|
982
|
-
declare const Avatar: ({ image, size, text, textBgColor, textColor, textSize, lock, className, "data-testid": dataTestId, }: AvatarProps) =>
|
|
982
|
+
declare const Avatar: ({ image, size, text, textBgColor, textColor, textSize, lock, className, "data-testid": dataTestId, }: AvatarProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
983
983
|
|
|
984
984
|
declare const SIZES: {
|
|
985
985
|
large: number;
|
|
@@ -1003,7 +1003,7 @@ type BadgeProps = {
|
|
|
1003
1003
|
children: ReactNode;
|
|
1004
1004
|
'data-testid'?: string;
|
|
1005
1005
|
};
|
|
1006
|
-
declare const Badge: ({ sentiment, size, prominence, icon, disabled, className, children, "data-testid": dataTestId, }: BadgeProps) =>
|
|
1006
|
+
declare const Badge: ({ sentiment, size, prominence, icon, disabled, className, children, "data-testid": dataTestId, }: BadgeProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
1007
1007
|
|
|
1008
1008
|
type Variant$1 = 'intro' | 'promotional';
|
|
1009
1009
|
type BannerProps = {
|
|
@@ -1020,7 +1020,7 @@ type BannerProps = {
|
|
|
1020
1020
|
image?: ReactNode;
|
|
1021
1021
|
className?: string;
|
|
1022
1022
|
};
|
|
1023
|
-
declare const Banner: ({ variant, size, title, children, direction, onClose, buttonText, onClickButton, linkText, linkHref, image, className, }: BannerProps) =>
|
|
1023
|
+
declare const Banner: ({ variant, size, title, children, direction, onClose, buttonText, onClickButton, linkText, linkHref, image, className, }: BannerProps) => _emotion_react_jsx_runtime.JSX.Element | null;
|
|
1024
1024
|
|
|
1025
1025
|
type BarChartToolTipProps = {
|
|
1026
1026
|
color: string;
|
|
@@ -1029,7 +1029,7 @@ type BarChartToolTipProps = {
|
|
|
1029
1029
|
className?: string;
|
|
1030
1030
|
'data-testid'?: string;
|
|
1031
1031
|
};
|
|
1032
|
-
declare const BarChartToolTip: ({ formattedValue, indexValue, color, className, "data-testid": dataTestId, }: BarChartToolTipProps) =>
|
|
1032
|
+
declare const BarChartToolTip: ({ formattedValue, indexValue, color, className, "data-testid": dataTestId, }: BarChartToolTipProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
1033
1033
|
|
|
1034
1034
|
type Formatter = ValueFormat<DatumValue>;
|
|
1035
1035
|
type TickSpec = NonNullable<ComponentProps<typeof ResponsiveBar>['axisBottom']>['tickValues'];
|
|
@@ -1049,7 +1049,7 @@ type BarChartProps = {
|
|
|
1049
1049
|
/**
|
|
1050
1050
|
* @experimental This component is experimental and may be subject to breaking changes in the future.
|
|
1051
1051
|
*/
|
|
1052
|
-
declare const BarChart: ({ height, margin, data, axisFormatters, tickValues, keys, tooltipFunction, chartProps, className, "data-testid": dataTestId, }: BarChartProps) =>
|
|
1052
|
+
declare const BarChart: ({ height, margin, data, axisFormatters, tickValues, keys, tooltipFunction, chartProps, className, "data-testid": dataTestId, }: BarChartProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
1053
1053
|
|
|
1054
1054
|
type BarProps = {
|
|
1055
1055
|
/**
|
|
@@ -1097,7 +1097,7 @@ type ItemProps$1 = {
|
|
|
1097
1097
|
step?: number;
|
|
1098
1098
|
onClick?: (event: MouseEvent<HTMLLIElement>, step: number) => void;
|
|
1099
1099
|
};
|
|
1100
|
-
declare const Item: ({ to, children, disabled, "aria-current": ariaCurrent, onClick, step, }: ItemProps$1) =>
|
|
1100
|
+
declare const Item: ({ to, children, disabled, "aria-current": ariaCurrent, onClick, step, }: ItemProps$1) => _emotion_react_jsx_runtime.JSX.Element;
|
|
1101
1101
|
type BreadcrumbsProps = {
|
|
1102
1102
|
selected?: number;
|
|
1103
1103
|
children: ReactNode;
|
|
@@ -1138,7 +1138,7 @@ type BulletProps = {
|
|
|
1138
1138
|
'data-testid'?: string;
|
|
1139
1139
|
prominence?: ProminenceType;
|
|
1140
1140
|
} & ContentProps$1;
|
|
1141
|
-
declare const Bullet: ({ className, sentiment, size, icon, text, tooltip, tooltipBaseId, "data-testid": dataTestId, prominence, }: BulletProps) =>
|
|
1141
|
+
declare const Bullet: ({ className, sentiment, size, icon, text, tooltip, tooltipBaseId, "data-testid": dataTestId, prominence, }: BulletProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
1142
1142
|
|
|
1143
1143
|
type CardProps = {
|
|
1144
1144
|
children: ReactNode;
|
|
@@ -1202,7 +1202,7 @@ type CopyButtonProps = {
|
|
|
1202
1202
|
className?: string;
|
|
1203
1203
|
'data-testid'?: string;
|
|
1204
1204
|
};
|
|
1205
|
-
declare const CopyButton: ({ size, value, copyText, copiedText, sentiment, noBorder, className, "data-testid": dataTestId, }: CopyButtonProps) =>
|
|
1205
|
+
declare const CopyButton: ({ size, value, copyText, copiedText, sentiment, noBorder, className, "data-testid": dataTestId, }: CopyButtonProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
1206
1206
|
|
|
1207
1207
|
type DateInputProps = Pick<ReactDatePickerProps<string>, 'autoFocus' | 'disabled' | 'locale' | 'maxDate' | 'minDate' | 'name' | 'onBlur' | 'onChange' | 'onFocus' | 'required'> & {
|
|
1208
1208
|
error?: string;
|
|
@@ -1215,7 +1215,7 @@ type DateInputProps = Pick<ReactDatePickerProps<string>, 'autoFocus' | 'disabled
|
|
|
1215
1215
|
className?: string;
|
|
1216
1216
|
'data-testid'?: string;
|
|
1217
1217
|
};
|
|
1218
|
-
declare const DateInput: ({ autoFocus, disabled, error, format, label, locale, maxDate, minDate, name, onBlur, onChange, onFocus, required, value, className, "data-testid": dataTestId, }: DateInputProps) =>
|
|
1218
|
+
declare const DateInput: ({ autoFocus, disabled, error, format, label, locale, maxDate, minDate, name, onBlur, onChange, onFocus, required, value, className, "data-testid": dataTestId, }: DateInputProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
1219
1219
|
|
|
1220
1220
|
declare const CONTAINER_SIZES: {
|
|
1221
1221
|
readonly small: 720;
|
|
@@ -1249,7 +1249,7 @@ type EmptyStateProps = {
|
|
|
1249
1249
|
children?: ReactNode;
|
|
1250
1250
|
'data-testid'?: string;
|
|
1251
1251
|
};
|
|
1252
|
-
declare const EmptyState: ({ image, title, size, description, primaryButton, secondaryButton, learnMore, className, bordered, children, "data-testid": dataTestId, }: EmptyStateProps) =>
|
|
1252
|
+
declare const EmptyState: ({ image, title, size, description, primaryButton, secondaryButton, learnMore, className, bordered, children, "data-testid": dataTestId, }: EmptyStateProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
1253
1253
|
|
|
1254
1254
|
type ExpandableProps = {
|
|
1255
1255
|
/**
|
|
@@ -1267,7 +1267,7 @@ type ExpandableProps = {
|
|
|
1267
1267
|
className?: string;
|
|
1268
1268
|
'data-testid'?: string;
|
|
1269
1269
|
};
|
|
1270
|
-
declare const Expandable: ({ children, opened, minHeight, className, "data-testid": dataTestId, }: ExpandableProps) =>
|
|
1270
|
+
declare const Expandable: ({ children, opened, minHeight, className, "data-testid": dataTestId, }: ExpandableProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
1271
1271
|
|
|
1272
1272
|
type Transformer = (value: DatumValue) => string;
|
|
1273
1273
|
type CustomLegendProps = {
|
|
@@ -1278,7 +1278,7 @@ type CustomLegendProps = {
|
|
|
1278
1278
|
className?: string;
|
|
1279
1279
|
'data-testid'?: string;
|
|
1280
1280
|
};
|
|
1281
|
-
declare const CustomLegend: ({ axisTransformer, data, selected, setSelected, className, "data-testid": dataTestId, }: CustomLegendProps) =>
|
|
1281
|
+
declare const CustomLegend: ({ axisTransformer, data, selected, setSelected, className, "data-testid": dataTestId, }: CustomLegendProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
1282
1282
|
|
|
1283
1283
|
type LineChartProps = {
|
|
1284
1284
|
height?: string | number;
|
|
@@ -1296,7 +1296,7 @@ type LineChartProps = {
|
|
|
1296
1296
|
/**
|
|
1297
1297
|
* @experimental This component is experimental and may be subject to breaking changes in the future.
|
|
1298
1298
|
*/
|
|
1299
|
-
declare const LineChart: ({ height, margin, xScale, yScale, data, withLegend, axisFormatters, pointFormatters, tickValues, chartProps, "data-testid": dataTestId, }: LineChartProps) =>
|
|
1299
|
+
declare const LineChart: ({ height, margin, xScale, yScale, data, withLegend, axisFormatters, pointFormatters, tickValues, chartProps, "data-testid": dataTestId, }: LineChartProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
1300
1300
|
|
|
1301
1301
|
declare const PROMINENCES$1: {
|
|
1302
1302
|
default: string;
|
|
@@ -1332,7 +1332,7 @@ type HeaderCellProps$1 = {
|
|
|
1332
1332
|
onOrder?: (newOrder: 'asc' | 'desc') => void;
|
|
1333
1333
|
info?: string;
|
|
1334
1334
|
};
|
|
1335
|
-
declare const HeaderCell$1: ({ children, isOrdered, orderDirection, onOrder, className, info, }: HeaderCellProps$1) =>
|
|
1335
|
+
declare const HeaderCell$1: ({ children, isOrdered, orderDirection, onOrder, className, info, }: HeaderCellProps$1) => _emotion_react_jsx_runtime.JSX.Element;
|
|
1336
1336
|
|
|
1337
1337
|
type SelectBarProps$1<T> = {
|
|
1338
1338
|
className?: string;
|
|
@@ -1346,7 +1346,7 @@ type SelectBarProps$1<T> = {
|
|
|
1346
1346
|
* */
|
|
1347
1347
|
idKey: keyof T;
|
|
1348
1348
|
};
|
|
1349
|
-
declare function SelectBar$1<T>({ children, data, idKey, className, }: SelectBarProps$1<T>):
|
|
1349
|
+
declare function SelectBar$1<T>({ children, data, idKey, className, }: SelectBarProps$1<T>): _emotion_react_jsx_runtime.JSX.Element | null;
|
|
1350
1350
|
|
|
1351
1351
|
type ColumnProps$1 = Pick<ComponentProps<typeof HeaderCell$1>, 'isOrdered' | 'onOrder' | 'orderDirection'> & {
|
|
1352
1352
|
label?: string;
|
|
@@ -1420,7 +1420,7 @@ type LoaderProps = {
|
|
|
1420
1420
|
*/
|
|
1421
1421
|
label?: string;
|
|
1422
1422
|
};
|
|
1423
|
-
declare const Loader: ({ percentage, text, size, strokeWidth, color, trailColor, active, label, }: LoaderProps) =>
|
|
1423
|
+
declare const Loader: ({ percentage, text, size, strokeWidth, color, trailColor, active, label, }: LoaderProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
1424
1424
|
|
|
1425
1425
|
type DisclosureElement = ((popover: Partial<PopoverStateReturn>) => ReactElement<ButtonHTMLAttributes<HTMLButtonElement>>) | (ReactElement<ButtonHTMLAttributes<HTMLButtonElement>> & {
|
|
1426
1426
|
ref?: Ref<HTMLButtonElement>;
|
|
@@ -1561,14 +1561,14 @@ type ModalProps = Partial<Pick<DialogProps, 'animated' | 'id' | 'hideOnEsc' | 'h
|
|
|
1561
1561
|
className?: string;
|
|
1562
1562
|
'data-testid'?: string;
|
|
1563
1563
|
};
|
|
1564
|
-
declare const Modal: react.MemoExoticComponent<({ animated, animation, ariaLabel, id, bordered, children, customDialogBackdropStyles, customDialogStyles, disclosure, height, hideOnClickOutside, hideOnEsc, isClosable, modal, onClose, onBeforeClose, opened, placement, preventBodyScroll, width, className, "data-testid": dataTestId, }: ModalProps) =>
|
|
1564
|
+
declare const Modal: react.MemoExoticComponent<({ animated, animation, ariaLabel, id, bordered, children, customDialogBackdropStyles, customDialogStyles, disclosure, height, hideOnClickOutside, hideOnEsc, isClosable, modal, onClose, onBeforeClose, opened, placement, preventBodyScroll, width, className, "data-testid": dataTestId, }: ModalProps) => _emotion_react_jsx_runtime.JSX.Element>;
|
|
1565
1565
|
|
|
1566
1566
|
type NoticeProps = {
|
|
1567
1567
|
children: ReactNode;
|
|
1568
1568
|
className?: string;
|
|
1569
1569
|
'data-testid'?: string;
|
|
1570
1570
|
};
|
|
1571
|
-
declare const Notice: ({ children, className, "data-testid": dataTestId, }: NoticeProps) =>
|
|
1571
|
+
declare const Notice: ({ children, className, "data-testid": dataTestId, }: NoticeProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
1572
1572
|
|
|
1573
1573
|
declare const containerSizes: {
|
|
1574
1574
|
large: number;
|
|
@@ -1605,7 +1605,7 @@ type NumberInputProps = {
|
|
|
1605
1605
|
placeholder?: string;
|
|
1606
1606
|
error?: string | boolean;
|
|
1607
1607
|
} & Omit<InputHTMLAttributes<HTMLInputElement>, 'size' | 'onChange' | 'value' | 'defaultValue'>;
|
|
1608
|
-
declare const NumberInput: ({ disabled, maxValue, minValue, name, onChange, onFocus, onBlur, onMaxCrossed, onMinCrossed, size, step, text, defaultValue, value, disabledTooltip, className, label, id, placeholder, error, "aria-label": ariaLabel, "aria-describedby": ariaDescribedBy, "data-testid": dataTestId, }: NumberInputProps) =>
|
|
1608
|
+
declare const NumberInput: ({ disabled, maxValue, minValue, name, onChange, onFocus, onBlur, onMaxCrossed, onMinCrossed, size, step, text, defaultValue, value, disabledTooltip, className, label, id, placeholder, error, "aria-label": ariaLabel, "aria-describedby": ariaDescribedBy, "data-testid": dataTestId, }: NumberInputProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
1609
1609
|
|
|
1610
1610
|
type PaginationProps = {
|
|
1611
1611
|
/**
|
|
@@ -1650,7 +1650,7 @@ type PasswordCheckProps = {
|
|
|
1650
1650
|
className?: string;
|
|
1651
1651
|
'data-testid'?: string;
|
|
1652
1652
|
};
|
|
1653
|
-
declare const PasswordCheck: ({ rules, className, "data-testid": dataTestId, }: PasswordCheckProps) =>
|
|
1653
|
+
declare const PasswordCheck: ({ rules, className, "data-testid": dataTestId, }: PasswordCheckProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
1654
1654
|
|
|
1655
1655
|
type Strength = {
|
|
1656
1656
|
/**
|
|
@@ -1711,7 +1711,7 @@ type PieChartProps = {
|
|
|
1711
1711
|
/**
|
|
1712
1712
|
* @experimental This component is experimental and may be subject to breaking changes in the future.
|
|
1713
1713
|
*/
|
|
1714
|
-
declare const PieChart: ({ height, width, data, emptyLegend, content, withLegend, margin, chartProps, }: PieChartProps) =>
|
|
1714
|
+
declare const PieChart: ({ height, width, data, emptyLegend, content, withLegend, margin, chartProps, }: PieChartProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
1715
1715
|
|
|
1716
1716
|
type TooltipPlacement = 'top' | 'right' | 'bottom' | 'left' | 'auto';
|
|
1717
1717
|
|
|
@@ -1765,7 +1765,7 @@ type PopoverProps = {
|
|
|
1765
1765
|
className?: string;
|
|
1766
1766
|
'data-testid'?: string;
|
|
1767
1767
|
} & Pick<ComponentProps<typeof Tooltip>, 'placement'>;
|
|
1768
|
-
declare const Popover: ({ visible, children, placement, content, title, sentiment, size, onClose, className, "data-testid": dataTestId, }: PopoverProps) =>
|
|
1768
|
+
declare const Popover: ({ visible, children, placement, content, title, sentiment, size, onClose, className, "data-testid": dataTestId, }: PopoverProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
1769
1769
|
|
|
1770
1770
|
declare const progressBarSentiments: readonly ["primary", "success", "warning", "info"];
|
|
1771
1771
|
type ProgressBarProps = {
|
|
@@ -1776,7 +1776,7 @@ type ProgressBarProps = {
|
|
|
1776
1776
|
className?: string;
|
|
1777
1777
|
'data-testid'?: string;
|
|
1778
1778
|
};
|
|
1779
|
-
declare const ProgressBar: ({ progress, value, sentiment, className, "data-testid": dataTestId, }: ProgressBarProps) =>
|
|
1779
|
+
declare const ProgressBar: ({ progress, value, sentiment, className, "data-testid": dataTestId, }: ProgressBarProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
1780
1780
|
|
|
1781
1781
|
type RadioProps = {
|
|
1782
1782
|
error?: string | ReactNode;
|
|
@@ -1803,7 +1803,7 @@ type RowProps = {
|
|
|
1803
1803
|
alignItems?: CSSProperties['alignItems'];
|
|
1804
1804
|
justifyContent?: CSSProperties['justifyContent'];
|
|
1805
1805
|
};
|
|
1806
|
-
declare const Row: ({ className, "data-testid": dataTestId, children, templateColumns, alignItems, justifyContent, gap, }: RowProps) =>
|
|
1806
|
+
declare const Row: ({ className, "data-testid": dataTestId, children, templateColumns, alignItems, justifyContent, gap, }: RowProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
1807
1807
|
|
|
1808
1808
|
type SelectableCardProps = {
|
|
1809
1809
|
name?: string;
|
|
@@ -1904,16 +1904,16 @@ declare const Separator: ({ direction, thickness, color, icon, className, "data-
|
|
|
1904
1904
|
declare const variants$1: {
|
|
1905
1905
|
readonly block: ({ length }: {
|
|
1906
1906
|
length?: number | undefined;
|
|
1907
|
-
}) =>
|
|
1907
|
+
}) => _emotion_react_jsx_runtime.JSX.Element;
|
|
1908
1908
|
readonly blocks: ({ col, length, }: {
|
|
1909
1909
|
col?: number | undefined;
|
|
1910
1910
|
length?: number | undefined;
|
|
1911
|
-
}) =>
|
|
1911
|
+
}) => _emotion_react_jsx_runtime.JSX.Element;
|
|
1912
1912
|
readonly box: ({ col, length, }: {
|
|
1913
1913
|
col?: number | undefined;
|
|
1914
1914
|
length?: number | undefined;
|
|
1915
|
-
}) =>
|
|
1916
|
-
readonly donut: () =>
|
|
1915
|
+
}) => _emotion_react_jsx_runtime.JSX.Element;
|
|
1916
|
+
readonly donut: () => _emotion_react_jsx_runtime.JSX.Element;
|
|
1917
1917
|
readonly line: _emotion_styled.StyledComponent<{
|
|
1918
1918
|
theme?: _emotion_react.Theme | undefined;
|
|
1919
1919
|
as?: react.ElementType<any> | undefined;
|
|
@@ -1921,10 +1921,10 @@ declare const variants$1: {
|
|
|
1921
1921
|
readonly list: ({ length, col, }: {
|
|
1922
1922
|
length?: number | undefined;
|
|
1923
1923
|
col?: number | undefined;
|
|
1924
|
-
}) =>
|
|
1924
|
+
}) => _emotion_react_jsx_runtime.JSX.Element;
|
|
1925
1925
|
readonly slider: ({ length }: {
|
|
1926
1926
|
length?: number | undefined;
|
|
1927
|
-
}) =>
|
|
1927
|
+
}) => _emotion_react_jsx_runtime.JSX.Element;
|
|
1928
1928
|
};
|
|
1929
1929
|
type SkeletonVariant = keyof typeof variants$1;
|
|
1930
1930
|
type SkeletonProps = {
|
|
@@ -1933,7 +1933,7 @@ type SkeletonProps = {
|
|
|
1933
1933
|
col?: number;
|
|
1934
1934
|
className?: string;
|
|
1935
1935
|
};
|
|
1936
|
-
declare const Skeleton: ({ variant, length, col, className, }: SkeletonProps) =>
|
|
1936
|
+
declare const Skeleton: ({ variant, length, col, className, }: SkeletonProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
1937
1937
|
|
|
1938
1938
|
type Prefixes = 'lines' | 'command';
|
|
1939
1939
|
type SnippetProps = {
|
|
@@ -1949,7 +1949,7 @@ type SnippetProps = {
|
|
|
1949
1949
|
hideText?: string;
|
|
1950
1950
|
'data-testid'?: string;
|
|
1951
1951
|
} & Pick<ComponentProps<typeof CopyButton>, 'copyText' | 'copiedText'>;
|
|
1952
|
-
declare const Snippet: ({ children, copyText, copiedText, showText, hideText, prefix, className, "data-testid": dataTestId, }: SnippetProps) =>
|
|
1952
|
+
declare const Snippet: ({ children, copyText, copiedText, showText, hideText, prefix, className, "data-testid": dataTestId, }: SnippetProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
1953
1953
|
|
|
1954
1954
|
type StackProps = {
|
|
1955
1955
|
gap?: keyof SCWUITheme['space'] | number;
|
|
@@ -2017,8 +2017,8 @@ type StepListProps = {
|
|
|
2017
2017
|
* @experimental This component is experimental and may be subject to breaking changes in the future.
|
|
2018
2018
|
*/
|
|
2019
2019
|
declare const StepList: {
|
|
2020
|
-
({ children, className, "data-testid": dataTestId, }: StepListProps):
|
|
2021
|
-
Item: ({ bulletText, bulletIcon, sentiment, children, size, disabled, className, }: ItemProps) =>
|
|
2020
|
+
({ children, className, "data-testid": dataTestId, }: StepListProps): _emotion_react_jsx_runtime.JSX.Element;
|
|
2021
|
+
Item: ({ bulletText, bulletIcon, sentiment, children, size, disabled, className, }: ItemProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
2022
2022
|
};
|
|
2023
2023
|
|
|
2024
2024
|
type StepperProps = {
|
|
@@ -2028,7 +2028,7 @@ type StepperProps = {
|
|
|
2028
2028
|
className?: string;
|
|
2029
2029
|
'data-testid'?: string;
|
|
2030
2030
|
};
|
|
2031
|
-
declare const Stepper: ({ children, selected, animated, className, "data-testid": dataTestId, }: StepperProps) =>
|
|
2031
|
+
declare const Stepper: ({ children, selected, animated, className, "data-testid": dataTestId, }: StepperProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
2032
2032
|
|
|
2033
2033
|
type SwitchButtonProps = {
|
|
2034
2034
|
name: string;
|
|
@@ -2050,7 +2050,7 @@ type SwitchButtonProps = {
|
|
|
2050
2050
|
className?: string;
|
|
2051
2051
|
'data-testid'?: string;
|
|
2052
2052
|
};
|
|
2053
|
-
declare const SwitchButton: ({ value, onChange, onFocus, onBlur, name, leftButton, rightButton, tooltip, className, "data-testid": dataTestId, }: SwitchButtonProps) =>
|
|
2053
|
+
declare const SwitchButton: ({ value, onChange, onFocus, onBlur, name, leftButton, rightButton, tooltip, className, "data-testid": dataTestId, }: SwitchButtonProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
2054
2054
|
|
|
2055
2055
|
type HeaderCellProps = {
|
|
2056
2056
|
children: ReactNode;
|
|
@@ -2063,7 +2063,7 @@ type HeaderCellProps = {
|
|
|
2063
2063
|
maxWidth?: string;
|
|
2064
2064
|
info?: string;
|
|
2065
2065
|
};
|
|
2066
|
-
declare const HeaderCell: ({ children, className, isOrdered, onOrder, orderDirection, width, maxWidth, minWidth, info, }: HeaderCellProps) =>
|
|
2066
|
+
declare const HeaderCell: ({ children, className, isOrdered, onOrder, orderDirection, width, maxWidth, minWidth, info, }: HeaderCellProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
2067
2067
|
|
|
2068
2068
|
type SelectBarProps<T> = {
|
|
2069
2069
|
className?: string;
|
|
@@ -2077,7 +2077,7 @@ type SelectBarProps<T> = {
|
|
|
2077
2077
|
* */
|
|
2078
2078
|
idKey: keyof T;
|
|
2079
2079
|
};
|
|
2080
|
-
declare function SelectBar<T>({ children, data, idKey, className, }: SelectBarProps<T>):
|
|
2080
|
+
declare function SelectBar<T>({ children, data, idKey, className, }: SelectBarProps<T>): _emotion_react_jsx_runtime.JSX.Element | null;
|
|
2081
2081
|
|
|
2082
2082
|
type ColumnProps = Pick<ComponentProps<typeof HeaderCell>, 'isOrdered' | 'onOrder' | 'orderDirection'> & {
|
|
2083
2083
|
label?: string;
|
|
@@ -2100,20 +2100,20 @@ type TableProps = {
|
|
|
2100
2100
|
declare const Table: react.ForwardRefExoticComponent<TableProps & react.RefAttributes<HTMLTableElement>> & {
|
|
2101
2101
|
Body: ({ children }: {
|
|
2102
2102
|
children: ReactNode;
|
|
2103
|
-
}) =>
|
|
2103
|
+
}) => _emotion_react_jsx_runtime.JSX.Element;
|
|
2104
2104
|
Row: ({ children, className, id, selectDisabled, "data-testid": dataTestid, }: {
|
|
2105
2105
|
children: ReactNode;
|
|
2106
2106
|
className?: string | undefined;
|
|
2107
2107
|
id: string;
|
|
2108
2108
|
'data-testid'?: string | undefined;
|
|
2109
2109
|
selectDisabled?: string | boolean | undefined;
|
|
2110
|
-
}) =>
|
|
2110
|
+
}) => _emotion_react_jsx_runtime.JSX.Element;
|
|
2111
2111
|
Cell: ({ children, className, colSpan, rowSpan }: {
|
|
2112
2112
|
children?: ReactNode;
|
|
2113
2113
|
className?: string | undefined;
|
|
2114
2114
|
colSpan?: number | undefined;
|
|
2115
2115
|
rowSpan?: number | undefined;
|
|
2116
|
-
}) =>
|
|
2116
|
+
}) => _emotion_react_jsx_runtime.JSX.Element;
|
|
2117
2117
|
useTableContext: () => {
|
|
2118
2118
|
bordered: boolean;
|
|
2119
2119
|
stripped: boolean;
|
|
@@ -2139,7 +2139,7 @@ type TabsProps = {
|
|
|
2139
2139
|
'data-testid'?: string;
|
|
2140
2140
|
} & Omit<HTMLAttributes<HTMLElement>, 'onChange' | 'role'>;
|
|
2141
2141
|
declare const Tabs: {
|
|
2142
|
-
({ children, onChange, moreDisclosure, selected, className, "data-testid": dataTestId, ...props }: TabsProps):
|
|
2142
|
+
({ children, onChange, moreDisclosure, selected, className, "data-testid": dataTestId, ...props }: TabsProps): _emotion_react_jsx_runtime.JSX.Element;
|
|
2143
2143
|
Tab: react.ForwardRefExoticComponent<Omit<{
|
|
2144
2144
|
as?: react.ElementType | undefined;
|
|
2145
2145
|
badge?: ReactNode;
|
|
@@ -2172,7 +2172,7 @@ declare const Tabs: {
|
|
|
2172
2172
|
'data-testid'?: string | undefined;
|
|
2173
2173
|
} & react.RefAttributes<HTMLElement> & {
|
|
2174
2174
|
theme?: _emotion_react.Theme | undefined;
|
|
2175
|
-
}) =>
|
|
2175
|
+
}) => _emotion_react_jsx_runtime.JSX.Element;
|
|
2176
2176
|
};
|
|
2177
2177
|
|
|
2178
2178
|
type TagProps = {
|
|
@@ -2191,7 +2191,7 @@ type TagProps = {
|
|
|
2191
2191
|
children: ReactNode;
|
|
2192
2192
|
'data-testid'?: string;
|
|
2193
2193
|
};
|
|
2194
|
-
declare const Tag: ({ children, isLoading, onClose, icon, copiable, copyText, copiedText, disabled, sentiment, className, "data-testid": dataTestId, }: TagProps) =>
|
|
2194
|
+
declare const Tag: ({ children, isLoading, onClose, icon, copiable, copyText, copiedText, disabled, sentiment, className, "data-testid": dataTestId, }: TagProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
2195
2195
|
|
|
2196
2196
|
declare const variants: {
|
|
2197
2197
|
readonly base: ({ theme: { colors, shadows, radii } }: {
|
|
@@ -2274,7 +2274,7 @@ type TextProps = {
|
|
|
2274
2274
|
htmlFor?: string;
|
|
2275
2275
|
'data-testid'?: string;
|
|
2276
2276
|
};
|
|
2277
|
-
declare const Text: ({ variant, children, as, color, oneLine, prominence, className, disabled, italic, underline, id, dir, htmlFor, "data-testid": dataTestId, }: TextProps) =>
|
|
2277
|
+
declare const Text: ({ variant, children, as, color, oneLine, prominence, className, disabled, italic, underline, id, dir, htmlFor, "data-testid": dataTestId, }: TextProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
2278
2278
|
|
|
2279
2279
|
declare const inputSizes: {
|
|
2280
2280
|
medium: {
|
|
@@ -2385,7 +2385,7 @@ type ToastContainerProps = {
|
|
|
2385
2385
|
position?: ToastOptions['position'];
|
|
2386
2386
|
'data-testid'?: string;
|
|
2387
2387
|
};
|
|
2388
|
-
declare const ToastContainer: ({ newestOnTop, limit, position, "data-testid": dataTestId, }: ToastContainerProps) =>
|
|
2388
|
+
declare const ToastContainer: ({ newestOnTop, limit, position, "data-testid": dataTestId, }: ToastContainerProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
2389
2389
|
|
|
2390
2390
|
type ToggleProps = {
|
|
2391
2391
|
id?: string;
|
|
@@ -25,11 +25,17 @@ const Cell = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
25
25
|
event.stopPropagation();
|
|
26
26
|
}
|
|
27
27
|
};
|
|
28
|
+
const handleKeyDown = event => {
|
|
29
|
+
if (preventClick) {
|
|
30
|
+
event.stopPropagation();
|
|
31
|
+
}
|
|
32
|
+
};
|
|
28
33
|
return jsx(StyledCell, {
|
|
29
34
|
ref: ref,
|
|
30
35
|
role: "cell",
|
|
31
36
|
className: className,
|
|
32
37
|
onClick: handleClick,
|
|
38
|
+
onKeyDown: handleKeyDown,
|
|
33
39
|
"data-testid": dataTestid,
|
|
34
40
|
children: children
|
|
35
41
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ultraviolet/ui",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.7",
|
|
4
4
|
"description": "Ultraviolet UI",
|
|
5
5
|
"homepage": "https://github.com/scaleway/ultraviolet#readme",
|
|
6
6
|
"repository": {
|
|
@@ -26,10 +26,12 @@
|
|
|
26
26
|
"linux"
|
|
27
27
|
],
|
|
28
28
|
"sideEffects": false,
|
|
29
|
-
"
|
|
30
|
-
"
|
|
31
|
-
"
|
|
32
|
-
|
|
29
|
+
"type": "module",
|
|
30
|
+
"types": "./dist/index.d.ts",
|
|
31
|
+
"exports": {
|
|
32
|
+
"types": "./dist/index.d.ts",
|
|
33
|
+
"default": "./dist/src/index.js"
|
|
34
|
+
},
|
|
33
35
|
"peerDependencies": {
|
|
34
36
|
"@emotion/react": "11.11.1",
|
|
35
37
|
"@emotion/styled": "11.11.0",
|
|
@@ -37,7 +39,7 @@
|
|
|
37
39
|
"react-dom": "18.2.0"
|
|
38
40
|
},
|
|
39
41
|
"devDependencies": {
|
|
40
|
-
"@babel/core": "7.22.
|
|
42
|
+
"@babel/core": "7.22.8",
|
|
41
43
|
"@emotion/babel-plugin": "11.11.0",
|
|
42
44
|
"@emotion/react": "11.11.1",
|
|
43
45
|
"@emotion/styled": "11.11.0",
|
|
@@ -56,7 +58,7 @@
|
|
|
56
58
|
"@nivo/scales": "0.80.0",
|
|
57
59
|
"@nivo/tooltip": "0.80.0",
|
|
58
60
|
"@scaleway/random-name": "4.0.1",
|
|
59
|
-
"@scaleway/use-media": "2.0.
|
|
61
|
+
"@scaleway/use-media": "2.0.1",
|
|
60
62
|
"deepmerge": "4.3.1",
|
|
61
63
|
"prop-types": "15.8.1",
|
|
62
64
|
"react-datepicker": "4.15.0",
|
|
@@ -65,6 +67,6 @@
|
|
|
65
67
|
"react-toastify": "9.1.3",
|
|
66
68
|
"react-use-clipboard": "1.0.9",
|
|
67
69
|
"reakit": "1.3.11",
|
|
68
|
-
"@ultraviolet/themes": "1.1.
|
|
70
|
+
"@ultraviolet/themes": "1.1.5"
|
|
69
71
|
}
|
|
70
72
|
}
|