@ultraviolet/ui 3.0.0-beta.23 → 3.0.0-beta.25
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 +1 -6
- package/dist/components/ActionBar/index.cjs +7 -3
- package/dist/components/ActionBar/index.d.ts +3 -2
- package/dist/components/ActionBar/index.js +7 -3
- package/dist/components/ActionBar/styles.css.cjs +0 -1
- package/dist/components/ActionBar/styles.css.js +0 -1
- package/dist/components/Alert/index.cjs +3 -2
- package/dist/components/Alert/index.d.ts +3 -2
- package/dist/components/Alert/index.js +3 -2
- package/dist/components/Avatar/index.cjs +4 -2
- package/dist/components/Avatar/index.d.ts +1 -1
- package/dist/components/Avatar/index.js +4 -2
- package/dist/components/Avatar/styles.css.cjs +1 -0
- package/dist/components/Avatar/styles.css.js +1 -0
- package/dist/components/Avatar/types.d.ts +2 -1
- package/dist/components/Badge/index.cjs +3 -2
- package/dist/components/Badge/index.d.ts +3 -2
- package/dist/components/Badge/index.js +3 -2
- package/dist/components/Banner/index.cjs +3 -2
- package/dist/components/Banner/index.d.ts +3 -2
- package/dist/components/Banner/index.js +3 -2
- package/dist/components/BarChart/index.cjs +4 -2
- package/dist/components/BarChart/index.d.ts +3 -2
- package/dist/components/BarChart/index.js +4 -2
- package/dist/components/BarStack/index.cjs +3 -2
- package/dist/components/BarStack/index.d.ts +3 -2
- package/dist/components/BarStack/index.js +3 -2
- package/dist/components/Breadcrumbs/index.cjs +3 -2
- package/dist/components/Breadcrumbs/index.d.ts +2 -1
- package/dist/components/Breadcrumbs/index.js +3 -2
- package/dist/components/Bullet/index.cjs +3 -2
- package/dist/components/Bullet/index.d.ts +3 -2
- package/dist/components/Bullet/index.js +3 -2
- package/dist/components/Button/index.cjs +1 -1
- package/dist/components/Button/index.js +1 -1
- package/dist/components/Card/index.cjs +4 -3
- package/dist/components/Card/index.d.ts +2 -1
- package/dist/components/Card/index.js +4 -3
- package/dist/components/Carousel/index.cjs +8 -4
- package/dist/components/Carousel/index.d.ts +4 -3
- package/dist/components/Carousel/index.js +8 -4
- package/dist/components/Checkbox/index.cjs +3 -2
- package/dist/components/Checkbox/index.d.ts +1 -1
- package/dist/components/Checkbox/index.js +3 -2
- package/dist/components/CheckboxGroup/index.cjs +6 -4
- package/dist/components/CheckboxGroup/index.d.ts +4 -4
- package/dist/components/CheckboxGroup/index.js +6 -4
- package/dist/components/Chip/index.cjs +3 -2
- package/dist/components/Chip/index.d.ts +3 -2
- package/dist/components/Chip/index.js +3 -2
- package/dist/components/CopyButton/index.cjs +3 -2
- package/dist/components/CopyButton/index.d.ts +3 -1
- package/dist/components/CopyButton/index.js +3 -2
- package/dist/components/DateInput/index.cjs +3 -2
- package/dist/components/DateInput/index.d.ts +3 -2
- package/dist/components/DateInput/index.js +3 -2
- package/dist/components/Dialog/components/Button.cjs +3 -2
- package/dist/components/Dialog/components/Button.d.ts +2 -2
- package/dist/components/Dialog/components/Button.js +3 -2
- package/dist/components/Dialog/components/CancelButton.cjs +3 -2
- package/dist/components/Dialog/components/CancelButton.d.ts +3 -2
- package/dist/components/Dialog/components/CancelButton.js +3 -2
- package/dist/components/Dialog/components/Stack.cjs +3 -2
- package/dist/components/Dialog/components/Stack.d.ts +3 -2
- package/dist/components/Dialog/components/Stack.js +3 -2
- package/dist/components/Dialog/components/Text.cjs +3 -2
- package/dist/components/Dialog/components/Text.d.ts +3 -1
- package/dist/components/Dialog/components/Text.js +3 -2
- package/dist/components/Dialog/index.cjs +3 -2
- package/dist/components/Dialog/index.d.ts +11 -8
- package/dist/components/Dialog/index.js +3 -2
- package/dist/components/Drawer/index.cjs +3 -2
- package/dist/components/Drawer/index.d.ts +3 -3
- package/dist/components/Drawer/index.js +3 -2
- package/dist/components/EmptyState/index.cjs +4 -3
- package/dist/components/EmptyState/index.d.ts +3 -2
- package/dist/components/EmptyState/index.js +4 -3
- package/dist/components/Expandable/index.cjs +15 -8
- package/dist/components/Expandable/index.d.ts +4 -3
- package/dist/components/Expandable/index.js +15 -8
- package/dist/components/ExpandableCard/components/Title.cjs +3 -2
- package/dist/components/ExpandableCard/components/Title.d.ts +2 -2
- package/dist/components/ExpandableCard/components/Title.js +3 -2
- package/dist/components/ExpandableCard/index.cjs +3 -2
- package/dist/components/ExpandableCard/index.d.ts +3 -2
- package/dist/components/ExpandableCard/index.js +3 -2
- package/dist/components/GlobalAlert/GlobalAlertLink.cjs +3 -2
- package/dist/components/GlobalAlert/GlobalAlertLink.d.ts +1 -1
- package/dist/components/GlobalAlert/GlobalAlertLink.js +3 -2
- package/dist/components/GlobalAlert/index.cjs +3 -2
- package/dist/components/GlobalAlert/index.d.ts +4 -3
- package/dist/components/GlobalAlert/index.js +3 -2
- package/dist/components/InfiniteScroll/index.cjs +4 -2
- package/dist/components/InfiniteScroll/index.d.ts +3 -2
- package/dist/components/InfiniteScroll/index.js +4 -2
- package/dist/components/Key/index.cjs +9 -49
- package/dist/components/Key/index.d.ts +3 -1
- package/dist/components/Key/index.js +10 -48
- package/dist/components/Key/styles.css.cjs +6 -0
- package/dist/components/Key/styles.css.d.ts +29 -0
- package/dist/components/Key/styles.css.js +6 -0
- package/dist/components/Label/index.cjs +8 -6
- package/dist/components/Label/index.d.ts +3 -2
- package/dist/components/Label/index.js +8 -6
- package/dist/components/LineChart/CustomLegend.cjs +40 -54
- package/dist/components/LineChart/CustomLegend.js +41 -55
- package/dist/components/LineChart/index.cjs +3 -1
- package/dist/components/LineChart/index.d.ts +3 -2
- package/dist/components/LineChart/index.js +3 -1
- package/dist/components/LineChart/styles.css.cjs +16 -6
- package/dist/components/LineChart/styles.css.d.ts +5 -0
- package/dist/components/LineChart/styles.css.js +16 -6
- package/dist/components/Link/index.cjs +3 -2
- package/dist/components/Link/index.d.ts +2 -1
- package/dist/components/Link/index.js +3 -2
- package/dist/components/List/Cell.cjs +2 -2
- package/dist/components/List/Cell.js +2 -2
- package/dist/components/List/index.cjs +3 -2
- package/dist/components/List/index.d.ts +4 -3
- package/dist/components/List/index.js +3 -2
- package/dist/components/Loader/index.cjs +5 -3
- package/dist/components/Loader/index.d.ts +3 -1
- package/dist/components/Loader/index.js +5 -3
- package/dist/components/Menu/MenuContent.cjs +3 -2
- package/dist/components/Menu/MenuContent.d.ts +1 -1
- package/dist/components/Menu/MenuContent.js +3 -2
- package/dist/components/Menu/components/Group.cjs +3 -2
- package/dist/components/Menu/components/Group.d.ts +3 -2
- package/dist/components/Menu/components/Group.js +3 -2
- package/dist/components/Menu/components/Item.cjs +4 -3
- package/dist/components/Menu/components/Item.d.ts +2 -1
- package/dist/components/Menu/components/Item.js +4 -3
- package/dist/components/Menu/index.d.ts +4 -2
- package/dist/components/Menu/types.d.ts +1 -1
- package/dist/components/Meter/index.cjs +2 -1
- package/dist/components/Meter/index.d.ts +3 -1
- package/dist/components/Meter/index.js +2 -1
- package/dist/components/Modal/ModalContent.cjs +3 -2
- package/dist/components/Modal/ModalContent.d.ts +3 -2
- package/dist/components/Modal/ModalContent.js +3 -2
- package/dist/components/Modal/components/Dialog.cjs +9 -5
- package/dist/components/Modal/components/Dialog.d.ts +1 -1
- package/dist/components/Modal/components/Dialog.js +9 -5
- package/dist/components/Modal/index.cjs +3 -2
- package/dist/components/Modal/index.d.ts +3 -2
- package/dist/components/Modal/index.js +3 -2
- package/dist/components/Modal/types.d.ts +2 -1
- package/dist/components/Notice/index.cjs +3 -2
- package/dist/components/Notice/index.d.ts +3 -2
- package/dist/components/Notice/index.js +3 -2
- package/dist/components/Notification/index.cjs +2 -1
- package/dist/components/Notification/index.d.ts +3 -2
- package/dist/components/Notification/index.js +2 -1
- package/dist/components/NumberInput/index.cjs +3 -2
- package/dist/components/NumberInput/index.d.ts +1 -1
- package/dist/components/NumberInput/index.js +3 -2
- package/dist/components/Pagination/index.cjs +3 -2
- package/dist/components/Pagination/index.d.ts +3 -1
- package/dist/components/Pagination/index.js +3 -2
- package/dist/components/PasswordCheck/index.cjs +3 -2
- package/dist/components/PasswordCheck/index.d.ts +3 -1
- package/dist/components/PasswordCheck/index.js +3 -2
- package/dist/components/PieChart/index.cjs +8 -4
- package/dist/components/PieChart/index.d.ts +3 -2
- package/dist/components/PieChart/index.js +8 -4
- package/dist/components/Popover/index.cjs +3 -2
- package/dist/components/Popover/index.d.ts +1 -1
- package/dist/components/Popover/index.js +3 -2
- package/dist/components/ProgressBar/index.cjs +3 -2
- package/dist/components/ProgressBar/index.d.ts +3 -2
- package/dist/components/ProgressBar/index.js +3 -2
- package/dist/components/Radio/index.cjs +3 -1
- package/dist/components/Radio/index.d.ts +1 -1
- package/dist/components/Radio/index.js +3 -1
- package/dist/components/RadioGroup/index.cjs +3 -2
- package/dist/components/RadioGroup/index.d.ts +1 -1
- package/dist/components/RadioGroup/index.js +3 -2
- package/dist/components/SearchInput/index.cjs +3 -2
- package/dist/components/SearchInput/index.js +3 -2
- package/dist/components/SelectInput/components/selectBar.css.cjs +0 -2
- package/dist/components/SelectInput/components/selectBar.css.js +0 -2
- package/dist/components/SelectableCard/index.cjs +10 -6
- package/dist/components/SelectableCard/index.d.ts +2 -1
- package/dist/components/SelectableCard/index.js +10 -6
- package/dist/components/SelectableCardGroup/index.cjs +4 -21
- package/dist/components/SelectableCardGroup/index.d.ts +1 -1
- package/dist/components/SelectableCardGroup/index.js +4 -19
- package/dist/components/SelectableCardGroup/styles.css.cjs +5 -0
- package/dist/components/SelectableCardGroup/styles.css.d.ts +1 -0
- package/dist/components/SelectableCardGroup/styles.css.js +5 -0
- package/dist/components/SelectableCardOptionGroup/components/Image.cjs +2 -20
- package/dist/components/SelectableCardOptionGroup/components/Image.js +2 -18
- package/dist/components/SelectableCardOptionGroup/components/Option.cjs +13 -74
- package/dist/components/SelectableCardOptionGroup/components/Option.d.ts +1 -1
- package/dist/components/SelectableCardOptionGroup/components/Option.js +8 -67
- package/dist/components/SelectableCardOptionGroup/index.cjs +5 -22
- package/dist/components/SelectableCardOptionGroup/index.d.ts +3 -3
- package/dist/components/SelectableCardOptionGroup/index.js +5 -20
- package/dist/components/SelectableCardOptionGroup/styles.css.cjs +21 -0
- package/dist/components/SelectableCardOptionGroup/styles.css.d.ts +8 -0
- package/dist/components/SelectableCardOptionGroup/styles.css.js +21 -0
- package/dist/components/Separator/index.cjs +3 -2
- package/dist/components/Separator/index.d.ts +3 -2
- package/dist/components/Separator/index.js +3 -2
- package/dist/components/Slider/index.cjs +2 -1
- package/dist/components/Slider/index.d.ts +1 -1
- package/dist/components/Slider/index.js +2 -1
- package/dist/components/Slider/types.d.ts +1 -1
- package/dist/components/Snippet/index.cjs +3 -2
- package/dist/components/Snippet/index.d.ts +3 -2
- package/dist/components/Snippet/index.js +3 -2
- package/dist/components/Stack/index.cjs +10 -6
- package/dist/components/Stack/index.d.ts +1 -1
- package/dist/components/Stack/index.js +10 -6
- package/dist/components/Status/index.cjs +3 -2
- package/dist/components/Status/index.d.ts +3 -1
- package/dist/components/Status/index.js +3 -2
- package/dist/components/StepList/index.cjs +2 -1
- package/dist/components/StepList/index.d.ts +3 -2
- package/dist/components/StepList/index.js +2 -1
- package/dist/components/Stepper/Step.cjs +2 -1
- package/dist/components/Stepper/Step.d.ts +3 -2
- package/dist/components/Stepper/Step.js +2 -1
- package/dist/components/Stepper/index.cjs +3 -2
- package/dist/components/Stepper/index.d.ts +5 -3
- package/dist/components/Stepper/index.js +3 -2
- package/dist/components/SwitchButton/Option.cjs +3 -2
- package/dist/components/SwitchButton/Option.d.ts +3 -2
- package/dist/components/SwitchButton/Option.js +3 -2
- package/dist/components/SwitchButton/index.cjs +3 -2
- package/dist/components/SwitchButton/index.d.ts +5 -3
- package/dist/components/SwitchButton/index.js +3 -2
- package/dist/components/Table/Cell.cjs +10 -6
- package/dist/components/Table/Cell.d.ts +3 -2
- package/dist/components/Table/Cell.js +10 -6
- package/dist/components/Table/Row.cjs +2 -1
- package/dist/components/Table/Row.d.ts +3 -2
- package/dist/components/Table/Row.js +2 -1
- package/dist/components/Table/index.cjs +3 -2
- package/dist/components/Table/index.d.ts +7 -3
- package/dist/components/Table/index.js +3 -2
- package/dist/components/Tabs/Tab.d.ts +2 -1
- package/dist/components/Tabs/index.d.ts +2 -0
- package/dist/components/TagInput/index.cjs +3 -2
- package/dist/components/TagInput/index.d.ts +3 -2
- package/dist/components/TagInput/index.js +3 -2
- package/dist/components/TagList/index.cjs +8 -6
- package/dist/components/TagList/index.d.ts +3 -2
- package/dist/components/TagList/index.js +8 -6
- package/dist/components/Text/style.css.cjs +0 -1
- package/dist/components/Text/style.css.js +0 -1
- package/dist/components/Text/variables.css.cjs +1 -0
- package/dist/components/Text/variables.css.js +1 -0
- package/dist/components/TextArea/index.cjs +8 -4
- package/dist/components/TextArea/index.d.ts +2 -1
- package/dist/components/TextArea/index.js +8 -4
- package/dist/components/TextInput/index.cjs +3 -2
- package/dist/components/TextInput/index.d.ts +1 -1
- package/dist/components/TextInput/index.js +3 -2
- package/dist/components/TimeInput/index.cjs +2 -1
- package/dist/components/TimeInput/index.d.ts +3 -2
- package/dist/components/TimeInput/index.js +2 -1
- package/dist/components/Toaster/components/Button.d.ts +1 -1
- package/dist/components/Toaster/index.cjs +3 -2
- package/dist/components/Toaster/index.d.ts +4 -3
- package/dist/components/Toaster/index.js +3 -2
- package/dist/components/Toaster/styles.css.d.ts +1 -0
- package/dist/components/Toggle/index.cjs +3 -2
- package/dist/components/Toggle/index.d.ts +1 -1
- package/dist/components/Toggle/index.js +3 -2
- package/dist/components/ToggleGroup/index.cjs +6 -4
- package/dist/components/ToggleGroup/index.d.ts +4 -4
- package/dist/components/ToggleGroup/index.js +6 -4
- package/dist/components/UnitInput/index.cjs +3 -2
- package/dist/components/UnitInput/index.d.ts +2 -2
- package/dist/components/UnitInput/index.js +3 -2
- package/dist/components/VerificationCode/index.cjs +3 -2
- package/dist/components/VerificationCode/index.d.ts +3 -2
- package/dist/components/VerificationCode/index.js +3 -2
- package/dist/index.cjs +5 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +5 -0
- package/dist/ui.css +1 -1
- package/dist/utils/animationVanillaExtract.css.cjs +11 -0
- package/dist/utils/animationVanillaExtract.css.d.ts +1 -0
- package/dist/utils/animationVanillaExtract.css.js +11 -0
- package/dist/utils/index.d.ts +1 -1
- package/package.json +3 -3
- package/dist/components/Toaster/components/Button.cjs +0 -15
- package/dist/components/Toaster/components/Button.js +0 -12
|
@@ -29,6 +29,7 @@ const TimeInput = ({
|
|
|
29
29
|
className,
|
|
30
30
|
id,
|
|
31
31
|
autoFocus,
|
|
32
|
+
style,
|
|
32
33
|
"data-testid": dataTestId,
|
|
33
34
|
placeholder = constants.DEFAULT_PLACEHOLDER,
|
|
34
35
|
"aria-label": ariaLabel
|
|
@@ -169,7 +170,7 @@ const TimeInput = ({
|
|
|
169
170
|
refMinutes.current?.focus();
|
|
170
171
|
}
|
|
171
172
|
};
|
|
172
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(index.Stack, { className, gap: 0.5, children: [
|
|
173
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(index.Stack, { className, gap: 0.5, style, children: [
|
|
173
174
|
label || labelDescription ? /* @__PURE__ */ jsxRuntime.jsx(index$1.Label, { htmlFor: id ?? localId, labelDescription, required, size, children: label }) : null,
|
|
174
175
|
/* @__PURE__ */ jsxRuntime.jsxs(index.Stack, { alignItems: "center", "aria-label": ariaLabel, "aria-required": required, className: styles_css.timeinputWrapper({
|
|
175
176
|
disabled,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { FocusEvent, ReactNode } from 'react';
|
|
1
|
+
import type { CSSProperties, FocusEvent, ReactNode } from 'react';
|
|
2
2
|
export type Time = {
|
|
3
3
|
h: string;
|
|
4
4
|
m: string;
|
|
@@ -27,6 +27,7 @@ type TimeInputProps = {
|
|
|
27
27
|
* Automatically focus on the element on render. Autofocus is applied to the hour input
|
|
28
28
|
*/
|
|
29
29
|
autoFocus?: boolean;
|
|
30
|
+
style?: CSSProperties;
|
|
30
31
|
} & ({
|
|
31
32
|
label?: string;
|
|
32
33
|
'aria-label'?: never;
|
|
@@ -38,5 +39,5 @@ type TimeInputProps = {
|
|
|
38
39
|
* A time input component that allows users to type a time in a 24 or 12-hour format.
|
|
39
40
|
* @experimental This component is experimental and may be subject to breaking changes in the future.
|
|
40
41
|
*/
|
|
41
|
-
export declare const TimeInput: ({ label, timeFormat, value, clearable, required, labelDescription, helper, size, disabled, readOnly, error, onChange, onBlur, onFocus, className, id, autoFocus, "data-testid": dataTestId, placeholder, "aria-label": ariaLabel, }: TimeInputProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
42
|
+
export declare const TimeInput: ({ label, timeFormat, value, clearable, required, labelDescription, helper, size, disabled, readOnly, error, onChange, onBlur, onFocus, className, id, autoFocus, style, "data-testid": dataTestId, placeholder, "aria-label": ariaLabel, }: TimeInputProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
42
43
|
export {};
|
|
@@ -27,6 +27,7 @@ const TimeInput = ({
|
|
|
27
27
|
className,
|
|
28
28
|
id,
|
|
29
29
|
autoFocus,
|
|
30
|
+
style,
|
|
30
31
|
"data-testid": dataTestId,
|
|
31
32
|
placeholder = DEFAULT_PLACEHOLDER,
|
|
32
33
|
"aria-label": ariaLabel
|
|
@@ -167,7 +168,7 @@ const TimeInput = ({
|
|
|
167
168
|
refMinutes.current?.focus();
|
|
168
169
|
}
|
|
169
170
|
};
|
|
170
|
-
return /* @__PURE__ */ jsxs(Stack, { className, gap: 0.5, children: [
|
|
171
|
+
return /* @__PURE__ */ jsxs(Stack, { className, gap: 0.5, style, children: [
|
|
171
172
|
label || labelDescription ? /* @__PURE__ */ jsx(Label, { htmlFor: id ?? localId, labelDescription, required, size, children: label }) : null,
|
|
172
173
|
/* @__PURE__ */ jsxs(Stack, { alignItems: "center", "aria-label": ariaLabel, "aria-required": required, className: timeinputWrapper({
|
|
173
174
|
disabled,
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { ComponentProps } from 'react';
|
|
2
2
|
import { Button } from '../../Button';
|
|
3
|
-
export declare const ToastButton: ({ variant, ...props }: ComponentProps<typeof Button>) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
3
|
+
export declare const ToastButton: ({ variant, className, ...props }: ComponentProps<typeof Button>) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
@@ -40,7 +40,8 @@ const ToastContainer = ({
|
|
|
40
40
|
"data-testid": dataTestId,
|
|
41
41
|
className,
|
|
42
42
|
autoClose,
|
|
43
|
-
containerId = "toaster"
|
|
44
|
-
|
|
43
|
+
containerId = "toaster",
|
|
44
|
+
style
|
|
45
|
+
}) => /* @__PURE__ */ jsxRuntime.jsx(reactToastify.ToastContainer, { autoClose: autoClose ?? AUTOCLOSE_DELAY, className: `${className ? `${className} ` : ""}${styles_css.toaster}`, containerId, "data-testid": dataTestId, draggable: false, hideProgressBar: true, icon: false, limit, newestOnTop, pauseOnFocusLoss: false, pauseOnHover: false, position, stacked: true, style, transition: reactToastify.Slide });
|
|
45
46
|
exports.ToastContainer = ToastContainer;
|
|
46
47
|
exports.toast = toast;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ReactNode } from 'react';
|
|
1
|
+
import type { CSSProperties, ReactNode } from 'react';
|
|
2
2
|
import type { ToastOptions } from 'react-toastify';
|
|
3
3
|
import { Button } from '../Button';
|
|
4
4
|
export declare const toast: {
|
|
@@ -30,6 +30,7 @@ type ToastContainerProps = {
|
|
|
30
30
|
* Set a custom containerId to be able to define multiple ToastContainers
|
|
31
31
|
*/
|
|
32
32
|
containerId?: string;
|
|
33
|
+
style?: CSSProperties;
|
|
33
34
|
};
|
|
34
35
|
/**
|
|
35
36
|
* Display short information about an event that happen in the interface in a floating alert.
|
|
@@ -39,9 +40,9 @@ type ToastContainerProps = {
|
|
|
39
40
|
* Toaster is separated in two parts, first the `ToastContainer` which is where the div of the toast will be rendered,
|
|
40
41
|
* and second the `toast()` function which is used to display the toast.
|
|
41
42
|
*/
|
|
42
|
-
export declare const ToastContainer: ({ newestOnTop, limit, position, "data-testid": dataTestId, className, autoClose, containerId, }: ToastContainerProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
43
|
+
export declare const ToastContainer: ({ newestOnTop, limit, position, "data-testid": dataTestId, className, autoClose, containerId, style, }: ToastContainerProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
43
44
|
export declare const Toast: {
|
|
44
|
-
Button: ({ variant, ...props }: import("react").ComponentProps<typeof Button>) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
45
|
+
Button: ({ variant, className, ...props }: import("react").ComponentProps<typeof Button>) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
45
46
|
Link: ({ ...props }: import("react").ComponentProps<typeof import("..").Link>) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
46
47
|
};
|
|
47
48
|
export {};
|
|
@@ -38,8 +38,9 @@ const ToastContainer = ({
|
|
|
38
38
|
"data-testid": dataTestId,
|
|
39
39
|
className,
|
|
40
40
|
autoClose,
|
|
41
|
-
containerId = "toaster"
|
|
42
|
-
|
|
41
|
+
containerId = "toaster",
|
|
42
|
+
style
|
|
43
|
+
}) => /* @__PURE__ */ jsx(ToastContainer$1, { autoClose: autoClose ?? AUTOCLOSE_DELAY, className: `${className ? `${className} ` : ""}${toaster}`, containerId, "data-testid": dataTestId, draggable: false, hideProgressBar: true, icon: false, limit, newestOnTop, pauseOnFocusLoss: false, pauseOnHover: false, position, stacked: true, style, transition: Slide });
|
|
43
44
|
export {
|
|
44
45
|
ToastContainer,
|
|
45
46
|
toast
|
|
@@ -24,7 +24,8 @@ const Toggle = react.forwardRef(({
|
|
|
24
24
|
"data-testid": dataTestId,
|
|
25
25
|
value,
|
|
26
26
|
error,
|
|
27
|
-
"aria-label": ariaLabel
|
|
27
|
+
"aria-label": ariaLabel,
|
|
28
|
+
style
|
|
28
29
|
}, ref) => {
|
|
29
30
|
const uniqueId = react.useId();
|
|
30
31
|
return /* @__PURE__ */ jsxRuntime.jsx(index.Tooltip, { text: tooltip, children: /* @__PURE__ */ jsxRuntime.jsxs("label", { "aria-disabled": disabled, className: `${className ? `${className} ` : ""}${styles_css.label({
|
|
@@ -43,7 +44,7 @@ const Toggle = react.forwardRef(({
|
|
|
43
44
|
disabled,
|
|
44
45
|
error: !!error,
|
|
45
46
|
size
|
|
46
|
-
}), children: /* @__PURE__ */ jsxRuntime.jsx("input", { "aria-invalid": !!error, "aria-label": ariaLabel, checked, className: styles_css.checkbox, disabled, id: id ?? uniqueId, name, onChange, ref, required, type: "checkbox", value }) })
|
|
47
|
+
}), children: /* @__PURE__ */ jsxRuntime.jsx("input", { "aria-invalid": !!error, "aria-label": ariaLabel, checked, className: styles_css.checkbox, disabled, id: id ?? uniqueId, name, onChange, ref, required, style, type: "checkbox", value }) })
|
|
47
48
|
] }) });
|
|
48
49
|
});
|
|
49
50
|
exports.Toggle = Toggle;
|
|
@@ -15,4 +15,4 @@ export declare const Toggle: import("react").ForwardRefExoticComponent<{
|
|
|
15
15
|
required?: boolean;
|
|
16
16
|
error?: boolean | string;
|
|
17
17
|
'data-testid'?: string;
|
|
18
|
-
} & Pick<InputHTMLAttributes<HTMLInputElement>, "value"> & import("react").RefAttributes<HTMLInputElement>>;
|
|
18
|
+
} & Pick<InputHTMLAttributes<HTMLInputElement>, "style" | "value"> & import("react").RefAttributes<HTMLInputElement>>;
|
|
@@ -22,7 +22,8 @@ const Toggle = forwardRef(({
|
|
|
22
22
|
"data-testid": dataTestId,
|
|
23
23
|
value,
|
|
24
24
|
error,
|
|
25
|
-
"aria-label": ariaLabel
|
|
25
|
+
"aria-label": ariaLabel,
|
|
26
|
+
style
|
|
26
27
|
}, ref) => {
|
|
27
28
|
const uniqueId = useId();
|
|
28
29
|
return /* @__PURE__ */ jsx(Tooltip, { text: tooltip, children: /* @__PURE__ */ jsxs("label", { "aria-disabled": disabled, className: `${className ? `${className} ` : ""}${label({
|
|
@@ -41,7 +42,7 @@ const Toggle = forwardRef(({
|
|
|
41
42
|
disabled,
|
|
42
43
|
error: !!error,
|
|
43
44
|
size
|
|
44
|
-
}), children: /* @__PURE__ */ jsx("input", { "aria-invalid": !!error, "aria-label": ariaLabel, checked, className: checkbox, disabled, id: id ?? uniqueId, name, onChange, ref, required, type: "checkbox", value }) })
|
|
45
|
+
}), children: /* @__PURE__ */ jsx("input", { "aria-invalid": !!error, "aria-label": ariaLabel, checked, className: checkbox, disabled, id: id ?? uniqueId, name, onChange, ref, required, style, type: "checkbox", value }) })
|
|
45
46
|
] }) });
|
|
46
47
|
});
|
|
47
48
|
export {
|
|
@@ -17,7 +17,8 @@ const ToggleGroupToggle = ({
|
|
|
17
17
|
helper,
|
|
18
18
|
error,
|
|
19
19
|
className,
|
|
20
|
-
"data-testid": dataTestId
|
|
20
|
+
"data-testid": dataTestId,
|
|
21
|
+
style
|
|
21
22
|
}) => {
|
|
22
23
|
const context = react.useContext(ToggleGroupContext);
|
|
23
24
|
if (!context) {
|
|
@@ -31,7 +32,7 @@ const ToggleGroupToggle = ({
|
|
|
31
32
|
} = context;
|
|
32
33
|
const ToggleName = `${groupName}.${name}`;
|
|
33
34
|
const ToggleValue = `${value}`;
|
|
34
|
-
return /* @__PURE__ */ jsxRuntime.jsx(index$3.Toggle, { checked: groupValues?.includes(ToggleValue), className, "data-testid": dataTestId, disabled, error: error || contextError, helper, label, name: ToggleName, onChange, value: ToggleValue });
|
|
35
|
+
return /* @__PURE__ */ jsxRuntime.jsx(index$3.Toggle, { checked: groupValues?.includes(ToggleValue), className, "data-testid": dataTestId, disabled, error: error || contextError, helper, label, name: ToggleName, onChange, style, value: ToggleValue });
|
|
35
36
|
};
|
|
36
37
|
const ToggleGroup = ({
|
|
37
38
|
legend,
|
|
@@ -45,7 +46,8 @@ const ToggleGroup = ({
|
|
|
45
46
|
onChange,
|
|
46
47
|
name,
|
|
47
48
|
description,
|
|
48
|
-
required = false
|
|
49
|
+
required = false,
|
|
50
|
+
style
|
|
49
51
|
}) => {
|
|
50
52
|
const contextValue = react.useMemo(() => ({
|
|
51
53
|
error: !!error,
|
|
@@ -54,7 +56,7 @@ const ToggleGroup = ({
|
|
|
54
56
|
onChange
|
|
55
57
|
}), [name, value, onChange, error]);
|
|
56
58
|
return /* @__PURE__ */ jsxRuntime.jsx(ToggleGroupContext.Provider, { value: contextValue, children: /* @__PURE__ */ jsxRuntime.jsxs(index.Stack, { gap: 1, children: [
|
|
57
|
-
/* @__PURE__ */ jsxRuntime.jsx("fieldset", { className: `${className ? `${className} ` : ""}${styles_css.fieldset}`, children: /* @__PURE__ */ jsxRuntime.jsxs(index.Stack, { gap: 1.5, children: [
|
|
59
|
+
/* @__PURE__ */ jsxRuntime.jsx("fieldset", { className: `${className ? `${className} ` : ""}${styles_css.fieldset}`, style, children: /* @__PURE__ */ jsxRuntime.jsxs(index.Stack, { gap: 1.5, children: [
|
|
58
60
|
legend || description ? /* @__PURE__ */ jsxRuntime.jsxs(index.Stack, { gap: 0.5, children: [
|
|
59
61
|
legend ? /* @__PURE__ */ jsxRuntime.jsx(index$1.Label, { as: "legend", labelDescription: legendDescription, required, children: legend }) : null,
|
|
60
62
|
description ? /* @__PURE__ */ jsxRuntime.jsx(index$2.Text, { as: typeof description === "string" ? "p" : "div", prominence: "weak", sentiment: "neutral", variant: "bodySmall", children: description }) : null
|
|
@@ -6,7 +6,7 @@ type ToggleGroupToggleProps = Omit<ComponentProps<typeof Toggle>, 'onChange' | '
|
|
|
6
6
|
/**
|
|
7
7
|
* ToggleGroup is a component that allows you to group a set of Toggle components together under the same legend.
|
|
8
8
|
*/
|
|
9
|
-
export declare const ToggleGroupToggle: ({ disabled, name, value, label, helper, error, className, "data-testid": dataTestId, }: ToggleGroupToggleProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
9
|
+
export declare const ToggleGroupToggle: ({ disabled, name, value, label, helper, error, className, "data-testid": dataTestId, style, }: ToggleGroupToggleProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
10
10
|
type ToggleGroupProps = {
|
|
11
11
|
legend?: string;
|
|
12
12
|
legendDescription?: ReactNode;
|
|
@@ -18,9 +18,9 @@ type ToggleGroupProps = {
|
|
|
18
18
|
children: ReactNode;
|
|
19
19
|
required?: boolean;
|
|
20
20
|
description?: ReactNode;
|
|
21
|
-
} & Required<Pick<InputHTMLAttributes<HTMLInputElement>, 'onChange' | 'name'>> & Pick<InputHTMLAttributes<HTMLInputElement>, 'required'>;
|
|
21
|
+
} & Required<Pick<InputHTMLAttributes<HTMLInputElement>, 'onChange' | 'name'>> & Pick<InputHTMLAttributes<HTMLInputElement>, 'required' | 'style'>;
|
|
22
22
|
export declare const ToggleGroup: {
|
|
23
|
-
({ legend, legendDescription, value, className, helper, error, direction, children, onChange, name, description, required, }: ToggleGroupProps): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
24
|
-
Toggle: ({ disabled, name, value, label, helper, error, className, "data-testid": dataTestId, }: ToggleGroupToggleProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
23
|
+
({ legend, legendDescription, value, className, helper, error, direction, children, onChange, name, description, required, style, }: ToggleGroupProps): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
24
|
+
Toggle: ({ disabled, name, value, label, helper, error, className, "data-testid": dataTestId, style, }: ToggleGroupToggleProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
25
25
|
};
|
|
26
26
|
export {};
|
|
@@ -15,7 +15,8 @@ const ToggleGroupToggle = ({
|
|
|
15
15
|
helper,
|
|
16
16
|
error,
|
|
17
17
|
className,
|
|
18
|
-
"data-testid": dataTestId
|
|
18
|
+
"data-testid": dataTestId,
|
|
19
|
+
style
|
|
19
20
|
}) => {
|
|
20
21
|
const context = useContext(ToggleGroupContext);
|
|
21
22
|
if (!context) {
|
|
@@ -29,7 +30,7 @@ const ToggleGroupToggle = ({
|
|
|
29
30
|
} = context;
|
|
30
31
|
const ToggleName = `${groupName}.${name}`;
|
|
31
32
|
const ToggleValue = `${value}`;
|
|
32
|
-
return /* @__PURE__ */ jsx(Toggle, { checked: groupValues?.includes(ToggleValue), className, "data-testid": dataTestId, disabled, error: error || contextError, helper, label, name: ToggleName, onChange, value: ToggleValue });
|
|
33
|
+
return /* @__PURE__ */ jsx(Toggle, { checked: groupValues?.includes(ToggleValue), className, "data-testid": dataTestId, disabled, error: error || contextError, helper, label, name: ToggleName, onChange, style, value: ToggleValue });
|
|
33
34
|
};
|
|
34
35
|
const ToggleGroup = ({
|
|
35
36
|
legend,
|
|
@@ -43,7 +44,8 @@ const ToggleGroup = ({
|
|
|
43
44
|
onChange,
|
|
44
45
|
name,
|
|
45
46
|
description,
|
|
46
|
-
required = false
|
|
47
|
+
required = false,
|
|
48
|
+
style
|
|
47
49
|
}) => {
|
|
48
50
|
const contextValue = useMemo(() => ({
|
|
49
51
|
error: !!error,
|
|
@@ -52,7 +54,7 @@ const ToggleGroup = ({
|
|
|
52
54
|
onChange
|
|
53
55
|
}), [name, value, onChange, error]);
|
|
54
56
|
return /* @__PURE__ */ jsx(ToggleGroupContext.Provider, { value: contextValue, children: /* @__PURE__ */ jsxs(Stack, { gap: 1, children: [
|
|
55
|
-
/* @__PURE__ */ jsx("fieldset", { className: `${className ? `${className} ` : ""}${fieldset}`, children: /* @__PURE__ */ jsxs(Stack, { gap: 1.5, children: [
|
|
57
|
+
/* @__PURE__ */ jsx("fieldset", { className: `${className ? `${className} ` : ""}${fieldset}`, style, children: /* @__PURE__ */ jsxs(Stack, { gap: 1.5, children: [
|
|
56
58
|
legend || description ? /* @__PURE__ */ jsxs(Stack, { gap: 0.5, children: [
|
|
57
59
|
legend ? /* @__PURE__ */ jsx(Label, { as: "legend", labelDescription: legendDescription, required, children: legend }) : null,
|
|
58
60
|
description ? /* @__PURE__ */ jsx(Text, { as: typeof description === "string" ? "p" : "div", prominence: "weak", sentiment: "neutral", variant: "bodySmall", children: description }) : null
|
|
@@ -44,7 +44,8 @@ const UnitInput = ({
|
|
|
44
44
|
onBlur,
|
|
45
45
|
onKeyDown,
|
|
46
46
|
dropdownAlign,
|
|
47
|
-
templateColumns
|
|
47
|
+
templateColumns,
|
|
48
|
+
style
|
|
48
49
|
}) => {
|
|
49
50
|
const [val, setVal] = react.useState(value);
|
|
50
51
|
const localId = react.useId();
|
|
@@ -93,7 +94,7 @@ const UnitInput = ({
|
|
|
93
94
|
setVal(numericValue);
|
|
94
95
|
onChange?.(numericValue);
|
|
95
96
|
}
|
|
96
|
-
}, placeholder, readOnly, required, step, type: "number", value: val }),
|
|
97
|
+
}, placeholder, readOnly, required, step, style, type: "number", value: val }),
|
|
97
98
|
error ? /* @__PURE__ */ jsxRuntime.jsx(Icon.AlertCircleIcon, { sentiment: "danger" }) : null,
|
|
98
99
|
success && !error ? /* @__PURE__ */ jsxRuntime.jsx(Icon.CheckCircleIcon, { sentiment: "success" }) : null
|
|
99
100
|
] }),
|
|
@@ -30,6 +30,6 @@ type UnitInputProps = {
|
|
|
30
30
|
step?: number | string;
|
|
31
31
|
dropdownAlign?: ComponentProps<typeof SelectInput>['dropdownAlign'];
|
|
32
32
|
templateColumns?: ComponentProps<typeof Row>['templateColumns'];
|
|
33
|
-
} & Pick<InputHTMLAttributes<HTMLInputElement>, 'onFocus' | 'onBlur' | 'name' | 'id' | 'placeholder' | 'disabled' | 'readOnly' | 'required' | 'autoFocus' | 'onKeyDown'>;
|
|
34
|
-
export declare const UnitInput: ({ id, name, max, min, autoFocus, size, placeholder, placeholderUnit, onChange, onChangeUnitValue, value, unitValue, selectInputWidth, disabled, options, className, label, step, error, required, helper, unitError, success, "data-testid": dataTestId, width, maxWidth, labelInformation, readOnly, onFocus, onBlur, onKeyDown, dropdownAlign, templateColumns, }: UnitInputProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
33
|
+
} & Pick<InputHTMLAttributes<HTMLInputElement>, 'onFocus' | 'onBlur' | 'name' | 'id' | 'placeholder' | 'disabled' | 'readOnly' | 'required' | 'autoFocus' | 'onKeyDown' | 'style'>;
|
|
34
|
+
export declare const UnitInput: ({ id, name, max, min, autoFocus, size, placeholder, placeholderUnit, onChange, onChangeUnitValue, value, unitValue, selectInputWidth, disabled, options, className, label, step, error, required, helper, unitError, success, "data-testid": dataTestId, width, maxWidth, labelInformation, readOnly, onFocus, onBlur, onKeyDown, dropdownAlign, templateColumns, style, }: UnitInputProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
35
35
|
export {};
|
|
@@ -42,7 +42,8 @@ const UnitInput = ({
|
|
|
42
42
|
onBlur,
|
|
43
43
|
onKeyDown,
|
|
44
44
|
dropdownAlign,
|
|
45
|
-
templateColumns
|
|
45
|
+
templateColumns,
|
|
46
|
+
style
|
|
46
47
|
}) => {
|
|
47
48
|
const [val, setVal] = useState(value);
|
|
48
49
|
const localId = useId();
|
|
@@ -91,7 +92,7 @@ const UnitInput = ({
|
|
|
91
92
|
setVal(numericValue);
|
|
92
93
|
onChange?.(numericValue);
|
|
93
94
|
}
|
|
94
|
-
}, placeholder, readOnly, required, step, type: "number", value: val }),
|
|
95
|
+
}, placeholder, readOnly, required, step, style, type: "number", value: val }),
|
|
95
96
|
error ? /* @__PURE__ */ jsx(AlertCircleIcon, { sentiment: "danger" }) : null,
|
|
96
97
|
success && !error ? /* @__PURE__ */ jsx(CheckCircleIcon, { sentiment: "success" }) : null
|
|
97
98
|
] }),
|
|
@@ -27,7 +27,8 @@ const VerificationCode = ({
|
|
|
27
27
|
label,
|
|
28
28
|
labelDescription,
|
|
29
29
|
helper,
|
|
30
|
-
success
|
|
30
|
+
success,
|
|
31
|
+
style
|
|
31
32
|
}) => {
|
|
32
33
|
const uniqueId = react.useId();
|
|
33
34
|
const id = inputId || uniqueId;
|
|
@@ -137,7 +138,7 @@ const VerificationCode = ({
|
|
|
137
138
|
}
|
|
138
139
|
return "neutral";
|
|
139
140
|
}, [error, success]);
|
|
140
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("fieldset", { className: `${className ? `${className} ` : ""}${styles_css.filedSetClass}`, "data-testid": dataTestId, children: [
|
|
141
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("fieldset", { className: `${className ? `${className} ` : ""}${styles_css.filedSetClass}`, "data-testid": dataTestId, style, children: [
|
|
141
142
|
label || labelDescription ? /* @__PURE__ */ jsxRuntime.jsx(index.Label, { htmlFor: `${id}-0`, id: `${id}-label`, labelDescription, required, size: size === "xlarge" ? "large" : size, children: label }) : null,
|
|
142
143
|
/* @__PURE__ */ jsxRuntime.jsx("div", { children: values.map((value, index2) => /* @__PURE__ */ jsxRuntime.jsx("input", { "aria-invalid": !!error, "aria-label": `${ariaLabel} ${index2}`, autoComplete: "off", className: `${styles_css.inputSizes[size]} ${styles_css.inputClass}`, "data-success": !!success, "data-testid": index2, disabled, id: `${id}-${index2}`, onChange: inputOnChange(index2), onFocus: inputOnFocus, onKeyDown: inputOnKeyDown(index2), onPaste: inputOnPaste(index2), pattern: type === "number" ? "[0-9]*" : void 0, placeholder: placeholder?.[index2] ?? "", ref: inputRefs[index2], required, type: type === "number" ? "tel" : type, value }, `field-${index2}`)) }),
|
|
143
144
|
error || typeof success === "string" || typeof helper === "string" ? /* @__PURE__ */ jsxRuntime.jsx(index$1.Text, { as: "p", disabled, prominence: !error && !success ? "weak" : "default", sentiment, variant: "caption", children: error || success || helper }) : null,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ReactNode } from 'react';
|
|
1
|
+
import type { CSSProperties, ReactNode } from 'react';
|
|
2
2
|
type Size = 'small' | 'medium' | 'large' | 'xlarge';
|
|
3
3
|
export declare const verificationCodeSizes: Size[];
|
|
4
4
|
type VerificationCodeProps = {
|
|
@@ -33,9 +33,10 @@ type VerificationCodeProps = {
|
|
|
33
33
|
labelDescription?: ReactNode;
|
|
34
34
|
helper?: ReactNode;
|
|
35
35
|
success?: boolean | string;
|
|
36
|
+
style?: CSSProperties;
|
|
36
37
|
};
|
|
37
38
|
/**
|
|
38
39
|
* Verification code allows you to enter a code in multiple fields (4 by default).
|
|
39
40
|
*/
|
|
40
|
-
export declare const VerificationCode: ({ disabled, className, error, fields, initialValue, inputId, size, onChange, onComplete, placeholder, required, type, "data-testid": dataTestId, "aria-label": ariaLabel, label, labelDescription, helper, success, }: VerificationCodeProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
41
|
+
export declare const VerificationCode: ({ disabled, className, error, fields, initialValue, inputId, size, onChange, onComplete, placeholder, required, type, "data-testid": dataTestId, "aria-label": ariaLabel, label, labelDescription, helper, success, style, }: VerificationCodeProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
41
42
|
export {};
|
|
@@ -25,7 +25,8 @@ const VerificationCode = ({
|
|
|
25
25
|
label,
|
|
26
26
|
labelDescription,
|
|
27
27
|
helper,
|
|
28
|
-
success
|
|
28
|
+
success,
|
|
29
|
+
style
|
|
29
30
|
}) => {
|
|
30
31
|
const uniqueId = useId();
|
|
31
32
|
const id = inputId || uniqueId;
|
|
@@ -135,7 +136,7 @@ const VerificationCode = ({
|
|
|
135
136
|
}
|
|
136
137
|
return "neutral";
|
|
137
138
|
}, [error, success]);
|
|
138
|
-
return /* @__PURE__ */ jsxs("fieldset", { className: `${className ? `${className} ` : ""}${filedSetClass}`, "data-testid": dataTestId, children: [
|
|
139
|
+
return /* @__PURE__ */ jsxs("fieldset", { className: `${className ? `${className} ` : ""}${filedSetClass}`, "data-testid": dataTestId, style, children: [
|
|
139
140
|
label || labelDescription ? /* @__PURE__ */ jsx(Label, { htmlFor: `${id}-0`, id: `${id}-label`, labelDescription, required, size: size === "xlarge" ? "large" : size, children: label }) : null,
|
|
140
141
|
/* @__PURE__ */ jsx("div", { children: values.map((value, index) => /* @__PURE__ */ jsx("input", { "aria-invalid": !!error, "aria-label": `${ariaLabel} ${index}`, autoComplete: "off", className: `${inputSizes[size]} ${inputClass}`, "data-success": !!success, "data-testid": index, disabled, id: `${id}-${index}`, onChange: inputOnChange(index), onFocus: inputOnFocus, onKeyDown: inputOnKeyDown(index), onPaste: inputOnPaste(index), pattern: type === "number" ? "[0-9]*" : void 0, placeholder: placeholder?.[index] ?? "", ref: inputRefs[index], required, type: type === "number" ? "tel" : type, value }, `field-${index}`)) }),
|
|
141
142
|
error || typeof success === "string" || typeof helper === "string" ? /* @__PURE__ */ jsx(Text, { as: "p", disabled, prominence: !error && !success ? "weak" : "default", sentiment, variant: "caption", children: error || success || helper }) : null,
|
package/dist/index.cjs
CHANGED
|
@@ -6,6 +6,7 @@ const normalize = require("./utils/normalize.cjs");
|
|
|
6
6
|
const themes = require("@ultraviolet/themes");
|
|
7
7
|
const animations = require("./utils/animations.cjs");
|
|
8
8
|
const utilities = require("./utils/responsive/utilities.cjs");
|
|
9
|
+
const animationVanillaExtract_css = require("./utils/animationVanillaExtract.css.cjs");
|
|
9
10
|
const ids = require("./utils/ids.cjs");
|
|
10
11
|
const index$1 = require("./components/ActionBar/index.cjs");
|
|
11
12
|
const index$2 = require("./components/Alert/index.cjs");
|
|
@@ -129,6 +130,10 @@ exports.zoomIn = animations.zoomIn;
|
|
|
129
130
|
exports.zoomOut = animations.zoomOut;
|
|
130
131
|
exports.down = utilities.down;
|
|
131
132
|
exports.up = utilities.up;
|
|
133
|
+
exports.fadeInVanillaExtract = animationVanillaExtract_css.fadeInVanillaExtract;
|
|
134
|
+
exports.pingVanillaExtract = animationVanillaExtract_css.pingVanillaExtract;
|
|
135
|
+
exports.slideFromBottomVanillaExtract = animationVanillaExtract_css.slideFromBottomVanillaExtract;
|
|
136
|
+
exports.zoomInVanillaExtract = animationVanillaExtract_css.zoomInVanillaExtract;
|
|
132
137
|
exports.getUUID = ids.getUUID;
|
|
133
138
|
exports.ActionBar = index$1.ActionBar;
|
|
134
139
|
exports.Alert = index$2.Alert;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export * from './components';
|
|
2
2
|
export type { UltravioletUITheme } from './theme';
|
|
3
3
|
export { darkTheme, default as theme, extendTheme, ThemeProvider, useTheme, } from './theme';
|
|
4
|
-
export { Breakpoint, bounce, down, fadeIn, fadeOut, flash, getUUID, normalize, ping, pulse, quickScaleDown, scaleBack, scaleDown, scaleForward, scaleUp, sketchIn, sketchOut, slideDownLarge, slideFromBottom, slideFromLeft, slideFromRight, slideFromTop, slideToBottom, slideToLeft, slideToRight, slideToTop, slideUpLarge, unfoldIn, unfoldOut, up, zoomIn, zoomOut, } from './utils';
|
|
4
|
+
export { Breakpoint, bounce, down, fadeIn, fadeInVanillaExtract, fadeOut, flash, getUUID, normalize, ping, pingVanillaExtract, pulse, quickScaleDown, scaleBack, scaleDown, scaleForward, scaleUp, sketchIn, sketchOut, slideDownLarge, slideFromBottom, slideFromBottomVanillaExtract, slideFromLeft, slideFromRight, slideFromTop, slideToBottom, slideToLeft, slideToRight, slideToTop, slideUpLarge, unfoldIn, unfoldOut, up, zoomIn, zoomInVanillaExtract, zoomOut, } from './utils';
|
package/dist/index.js
CHANGED
|
@@ -4,6 +4,7 @@ import { default as default3 } from "./utils/normalize.js";
|
|
|
4
4
|
import { ThemeProvider, consoleDarkTheme, consoleLightTheme, useTheme } from "@ultraviolet/themes";
|
|
5
5
|
import { bounce, fadeIn, fadeOut, flash, ping, pulse, quickScaleDown, scaleBack, scaleDown, scaleForward, scaleUp, sketchIn, sketchOut, slideDownLarge, slideFromBottom, slideFromLeft, slideFromRight, slideFromTop, slideToBottom, slideToLeft, slideToRight, slideToTop, slideUpLarge, unfoldIn, unfoldOut, zoomIn, zoomOut } from "./utils/animations.js";
|
|
6
6
|
import { down, up } from "./utils/responsive/utilities.js";
|
|
7
|
+
import { fadeInVanillaExtract, pingVanillaExtract, slideFromBottomVanillaExtract, zoomInVanillaExtract } from "./utils/animationVanillaExtract.css.js";
|
|
7
8
|
import { getUUID } from "./utils/ids.js";
|
|
8
9
|
import { ActionBar } from "./components/ActionBar/index.js";
|
|
9
10
|
import { Alert } from "./components/Alert/index.js";
|
|
@@ -162,12 +163,14 @@ export {
|
|
|
162
163
|
down,
|
|
163
164
|
extendTheme,
|
|
164
165
|
fadeIn,
|
|
166
|
+
fadeInVanillaExtract,
|
|
165
167
|
fadeOut,
|
|
166
168
|
flash,
|
|
167
169
|
getUUID,
|
|
168
170
|
default3 as normalize,
|
|
169
171
|
notification,
|
|
170
172
|
ping,
|
|
173
|
+
pingVanillaExtract,
|
|
171
174
|
pulse,
|
|
172
175
|
quickScaleDown,
|
|
173
176
|
scaleBack,
|
|
@@ -178,6 +181,7 @@ export {
|
|
|
178
181
|
sketchOut,
|
|
179
182
|
slideDownLarge,
|
|
180
183
|
slideFromBottom,
|
|
184
|
+
slideFromBottomVanillaExtract,
|
|
181
185
|
slideFromLeft,
|
|
182
186
|
slideFromRight,
|
|
183
187
|
slideFromTop,
|
|
@@ -193,5 +197,6 @@ export {
|
|
|
193
197
|
up,
|
|
194
198
|
useTheme,
|
|
195
199
|
zoomIn,
|
|
200
|
+
zoomInVanillaExtract,
|
|
196
201
|
zoomOut
|
|
197
202
|
};
|