diff --git a/package.json b/package.json
index c219a20..9f31bf6 100644
--- a/package.json
+++ b/package.json
@@ -24,7 +24,7 @@
"size-limit": "7.0.8",
"standard-version": "9.5.0",
"syncpack": "12.4.0",
- "turbo": "2.0.12",
+ "turbo": "2.1.1",
"typescript": "5.1.6"
},
"scripts": {
@@ -42,8 +42,8 @@
"test": "turbo run test"
},
"volta": {
- "node": "20.16.0",
- "pnpm": "9.7.0"
+ "node": "20.17.0",
+ "pnpm": "9.9.0"
},
"packageManager": "pnpm@9.7.0",
"workspaces": [
diff --git a/packages/design-system/tailwind.config.js b/packages/design-system/tailwind.config.js
index d1e7417..ec99d7f 100644
--- a/packages/design-system/tailwind.config.js
+++ b/packages/design-system/tailwind.config.js
@@ -46,6 +46,9 @@ export default {
},
},
},
+ corePlugins: {
+ preflight: false,
+ },
plugins: [
import('tailwindcss-animate'),
import('@tailwindcss/typography'),
diff --git a/packages/design-system/types/constants.d.ts b/packages/design-system/types/constants.d.ts
index a77723d..dadb008 100644
--- a/packages/design-system/types/constants.d.ts
+++ b/packages/design-system/types/constants.d.ts
@@ -136,6 +136,49 @@ export declare const TailwindColorsUZH: {
'uzh-turqoise-60': string;
'uzh-turqoise-40': string;
'uzh-turqoise-20': string;
+ 'primary-100': string;
+ 'primary-80': string;
+ 'primary-60': string;
+ 'primary-40': string;
+ 'primary-20': string;
+ 'secondary-100': string;
+ 'secondary-80': string;
+ 'secondary-60': string;
+ 'secondary-40': string;
+ 'secondary-20': string;
+ border: string;
+ input: string;
+ ring: string;
+ background: string;
+ foreground: string;
+ primary: {
+ DEFAULT: string;
+ foreground: string;
+ };
+ secondary: {
+ DEFAULT: string;
+ foreground: string;
+ };
+ destructive: {
+ DEFAULT: string;
+ foreground: string;
+ };
+ muted: {
+ DEFAULT: string;
+ foreground: string;
+ };
+ accent: {
+ DEFAULT: string;
+ foreground: string;
+ };
+ popover: {
+ DEFAULT: string;
+ foreground: string;
+ };
+ card: {
+ DEFAULT: string;
+ foreground: string;
+ };
};
export declare const TailwindFonts: {
diff --git a/packages/design-system/types/index.d.ts b/packages/design-system/types/index.d.ts
index dde6d1f..e1d9184 100644
--- a/packages/design-system/types/index.d.ts
+++ b/packages/design-system/types/index.d.ts
@@ -1,9 +1,10 @@
+///
+
import { default as default_2 } from 'react';
import { Dispatch } from 'react';
import { FieldInputProps } from 'formik';
-import { IconDefinition } from '@fortawesome/free-regular-svg-icons';
-import { IconDefinition as IconDefinition_2 } from '@fortawesome/free-solid-svg-icons';
-import { IconDefinition as IconDefinition_3 } from '@fortawesome/fontawesome-svg-core';
+import { IconDefinition } from '@fortawesome/free-solid-svg-icons';
+import { IconDefinition as IconDefinition_2 } from '@fortawesome/free-regular-svg-icons';
import { IconProp } from '@fortawesome/fontawesome-svg-core';
import { JSX as JSX_2 } from 'react/jsx-runtime';
import { PropsWithChildren } from 'react';
@@ -200,10 +201,13 @@ export declare interface CollapsibleProps {
children: default_2.ReactNode;
}
-export declare function ColorPicker({ color, onSubmit, disabled, triggerIcon, presetColors, position, submitText, colorLabel, tooltip, dataTrigger, dataHexInput, dataSubmit, className, }: ColorPickerProps): JSX_2.Element;
+export declare function ColorPicker({ color, label, labelType, required, onSubmit, disabled, triggerIcon, presetColors, position, submitText, colorLabel, tooltip, colorTooltip, error, isTouched, dataTrigger, dataHexInput, dataSubmit, className, }: ColorPickerProps): JSX_2.Element;
export declare interface ColorPickerClassName {
root?: string;
+ pickerRoot?: string;
+ label?: string;
+ tooltip?: string;
trigger?: string;
popover?: string;
presetButtons?: string;
@@ -216,14 +220,20 @@ export declare interface ColorPickerClassName {
export declare interface ColorPickerProps {
color: string;
+ label?: string;
+ labelType?: 'small' | 'large';
+ required?: boolean;
onSubmit: (newColor: string) => void;
disabled?: boolean;
- triggerIcon?: IconDefinition_2;
+ triggerIcon?: IconDefinition;
presetColors?: string[];
- position?: 'bottom' | 'top';
+ position?: 'bottom' | 'top' | 'bottom-left' | 'top-left';
submitText: string;
colorLabel: string;
- tooltip?: string;
+ tooltip?: string | React.ReactNode;
+ colorTooltip?: string;
+ error?: string;
+ isTouched?: boolean;
dataTrigger?: {
cy?: string;
test?: string;
@@ -434,35 +444,10 @@ export declare interface DateChangerProps {
date: string;
onEdit: () => void;
onSave: (date: string) => void;
- editIcon?: IconDefinition_2;
+ editIcon?: IconDefinition;
className?: DateChangerClassName;
}
-export declare interface DateFieldProps {
- id?: string;
- data?: {
- cy?: string;
- test?: string;
- };
- label?: string;
- labelType?: 'small' | 'normal';
- placeholder?: string;
- tooltip?: string | default_2.ReactNode;
- required?: boolean;
- hideError?: boolean;
- disabled?: boolean;
- className?: {
- root?: string;
- field?: string;
- label?: string;
- input?: string;
- error?: string;
- tooltip?: string;
- };
- name: string;
- [key: string]: any;
-}
-
/**
* This function returns a pre-styled Dropdown component based on the RadixUI dropdown component and the custom theme.
*
@@ -519,7 +504,7 @@ declare interface DropdownProps {
test?: string;
};
trigger: string | default_2.ReactNode;
- triggerIcon?: IconDefinition_2;
+ triggerIcon?: IconDefinition;
items?: Item[];
activeItems?: string[];
groups?: Item[][];
@@ -550,30 +535,22 @@ export declare interface FormatterArgs {
ix: number;
}
-export declare function FormikColorPicker({ id, name, label, labelType, tooltip, required, hideError, disabled, triggerIcon, presetColors, position, submitText, className, dataTrigger, dataHexInput, dataSubmit, }: FormikColorPickerProps): JSX_2.Element;
+export declare function FormikColorPicker({ name, label, labelType, validateForm, tooltip, required, disabled, triggerIcon, presetColors, position, submitText, colorLabel, colorTooltip, dataTrigger, dataHexInput, dataSubmit, className, }: FormikColorPickerProps): JSX_2.Element;
export declare interface FormikColorPickerProps {
- id?: string;
name: string;
label?: string;
- labelType?: 'small' | 'normal';
+ labelType?: 'small' | 'large';
+ validateForm?: () => void;
tooltip?: string | default_2.ReactNode;
required?: boolean;
- hideError?: boolean;
disabled?: boolean;
- triggerIcon?: IconDefinition_3;
+ triggerIcon?: IconDefinition_2;
presetColors?: string[];
- position?: 'bottom' | 'top';
- abortText?: string;
- submitText?: string;
- className?: {
- root?: string;
- label?: string;
- field?: string;
- tooltip?: string;
- error?: string;
- colorPicker?: ColorPickerClassName;
- };
+ position?: 'bottom' | 'top' | 'bottom-left' | 'top-left';
+ submitText: string;
+ colorLabel: string;
+ colorTooltip?: string;
dataTrigger?: {
cy?: string;
test?: string;
@@ -582,57 +559,36 @@ export declare interface FormikColorPickerProps {
cy?: string;
test?: string;
};
- dataAbort?: {
- cy?: string;
- test?: string;
- };
dataSubmit?: {
cy?: string;
test?: string;
};
+ className?: ColorPickerClassName;
}
/**
- * This function returns a date field that works as to be expected in a Formik environment.
- * State is managed by Formik through the name attribute.
+ * This component provides a simple date changer with a label and a button to edit the date (not coupled to a formik context).
*
- * @param id - The id of the field.
+ * @param id - The id of the date changer
+ * @param name - The name of the field as used to keep track of the state in Formik.
+ * @param label - The label of the date changer
+ * @param labelType - The type of the label (small or large)
+ * @param tooltip - The tooltip of the date changer (is only shown if a label is given)
+ * @param required - Whether the date label should contain a required symbol
+ * @param disabled - Whether the date changer is disabled or not
+ * @param hideError - Whether the error message should be hidden
+ * @param format - The format of the date when the edit mode is not active (then the display is up to the browser implementation)
+ * @param date - The date to be displayed
+ * @param editIcon - The icon to be displayed on the edit button
+ * @param validateField - Function to trigger validation of the field under consideration
* @param data - The object of data attributes that can be used for testing (e.g. data-test or data-cy)
* @param dataButton - The object of data attributes that can be used for testing (e.g. data-test or data-cy) for the button
- * @param name - The name of the field as used to keep track of the state in Formik.
- * @param label - The optional label is shown next to the field in the form.
- * @param tooltip - The optional tooltip is shown on hover next to the label.
- * @param required - Indicate whether the field is required or not.
- * @param hideError - Hide the error message below this component as is might be more appropriate to show it somewhere else.
- * @param disabled - Disable the field.
* @param className - The optional className object allows you to override the default styling.
- * @returns Date field component with Formik state management.
+ * @returns Date changer component with optional label, edit button and save button.
*/
-export declare function FormikDateChanger({ id, data, dataButton, name, label, tooltip, required, hideError, disabled, className, }: FormikDateChangerProps): JSX_2.Element;
+export declare function FormikDateChanger({ id, name, label, labelType, tooltip, required, disabled, hideError, format, editIcon, validateField, data, dataButton, className, }: FormikDateChangerProps): JSX_2.Element;
export declare interface FormikDateChangerProps {
- id?: string;
- name: string;
- data?: {
- cy?: string;
- test?: string;
- };
- dataButton?: {
- cy?: string;
- test?: string;
- };
- label?: string;
- tooltip?: string;
- required?: boolean;
- hideError?: boolean;
- disabled?: boolean;
- className?: {
- root?: string;
- dateChanger?: DateChangerClassName;
- };
-}
-
-declare interface FormikDateChangerProps_2 {
id?: string;
name: string;
label?: string;
@@ -642,7 +598,7 @@ declare interface FormikDateChangerProps_2 {
disabled?: boolean;
hideError?: boolean;
format?: string;
- editIcon?: IconDefinition;
+ editIcon?: IconDefinition_2;
validateField?: () => void;
data?: {
cy?: string;
@@ -668,76 +624,78 @@ declare interface FormikDateChangerProps_2 {
* @param tooltip - The optional tooltip is shown on hover next to the label.
* @param required - Indicate whether the field is required or not.
* @param hideError - Hide the error message below this component as is might be more appropriate to show it somewhere else.
+ * @param touchedOnChange - Indicate whether the field should be marked as touched on change.
* @param disabled - Disable the field.
* @param className - The optional className object allows you to override the default styling.
* @returns Date field component with Formik state management.
*/
-export declare function FormikDateField({ id, data, name, label, labelType, placeholder, tooltip, required, hideError, disabled, className, ...props }: DateFieldProps): JSX_2.Element;
+export declare function FormikDateField({ id, data, name, label, labelType, placeholder, tooltip, required, hideError, touchedOnChange, disabled, className, ...props }: FormikDateFieldProps): JSX_2.Element;
+
+export declare interface FormikDateFieldProps {
+ id?: string;
+ name: string;
+ data?: {
+ cy?: string;
+ test?: string;
+ };
+ label?: string;
+ labelType?: 'small' | 'large';
+ placeholder?: string;
+ tooltip?: string | default_2.ReactNode;
+ required?: boolean;
+ hideError?: boolean;
+ touchedOnChange?: boolean;
+ disabled?: boolean;
+ className?: {
+ root?: string;
+ field?: string;
+ label?: string;
+ input?: string;
+ error?: string;
+ tooltip?: string;
+ };
+ [key: string]: unknown;
+}
/**
- * This function returns a text field that works as to be expected in a Formik environment.
- * State can be managed either through Formik or internally by passing a value and onChange function.
+ * This function returns a text field component for use without formik
*
- * @param id - The id of the field.
- * @param data - The object of data attributes that can be used for testing (e.g. data-test or data-cy)
- * @param name - The name of the field as used to keep track of the state in Formik. If no value and onChange function are provided, this field is required.
- * @param label - The optional label is shown next to the field in the form.
+ * @param id - The id of the input field.
+ * @param value - The value of the input field (external state management).
+ * @param onChange - The onChange function of the input field (external state management).
+ * @param label - The text displayed as label.
* @param labelType - The optional labelType can be used to change the size and position of the label according to pre-defined standards.
- * @param placeholder - The optional placeholder is shown when the field is empty.
- * @param tooltip - The optional tooltip is shown on hover next to the label.
- * @param required - Indicate whether the field is required or not.
- * @param hideError - Hide the error message below this component as is might be more appropriate to show it somewhere else.
+ * @param placeholder - The placeholder text for the input field.
* @param precision - The optional precision defines the number of decimal places that are allowed.
* @param min - The optional min defines the minimum value that is allowed.
* @param max - The optional max defines the maximum value that is allowed.
- * @param disabled - Disables the field.
+ * @param tooltip - The optional tooltip is shown on hover over the tooltip next to the label.
+ * @param required - Indicate whether the field is required or not.
+ * @param hideError - Indicate whether the error message should be hidden or not.
+ * @param error - The error message that is displayed below the input field.
+ * @param isTouched - Indicate whether the field has been touched or not (validation is not handled by this component).
+ * @param disabled - Indicate whether the field is disabled or not.
+ * @param onBlur - The onBlur function of the input field.
+ * @param data - The object of data attributes that can be used for testing (e.g. data-test or data-cy)
* @param className - The optional className object allows you to override the default styling.
- * @returns Text field component with Formik state management.
*/
-export declare function FormikNumberField({ id, data, name, label, labelType, placeholder, tooltip, required, hideError, precision, min, max, disabled, className, }: FormikNumberFieldProps): JSX_2.Element;
+export declare function FormikNumberField({ id, name, value, onChange, label, labelType, placeholder, precision, min, max, tooltip, required, hideError, error, isTouched, disabled, onBlur, data, className, ...props }: FormikNumberFieldNameProps | FormikNumberFieldOnChangeProps): JSX_2.Element;
-declare interface FormikNumberFieldNameProps extends FormikNumberFieldProps_2 {
+export declare interface FormikNumberFieldNameProps extends FormikNumberFieldProps {
name: string;
value?: never;
onChange?: never;
isTouched?: never;
}
-declare interface FormikNumberFieldOnChangeProps extends FormikNumberFieldProps_2 {
+export declare interface FormikNumberFieldOnChangeProps extends FormikNumberFieldProps {
name?: never;
value: string;
onChange: (newValue: string) => void;
isTouched?: boolean;
}
-export declare interface FormikNumberFieldProps {
- id?: string;
- name: string;
- data?: {
- cy?: string;
- test?: string;
- };
- label?: string;
- labelType?: 'small' | 'normal';
- placeholder?: string;
- tooltip?: string | default_2.ReactNode;
- required?: boolean;
- hideError?: boolean;
- precision?: number;
- min?: number;
- max?: number;
- disabled?: boolean;
- className?: {
- root?: string;
- field?: string;
- label?: string;
- tooltip?: string;
- error?: string;
- numberField?: NumberFieldClassName;
- };
-}
-
-declare interface FormikNumberFieldProps_2 {
+declare interface FormikNumberFieldProps {
id?: string;
label?: string;
labelType?: 'small' | 'large';
@@ -758,10 +716,12 @@ declare interface FormikNumberFieldProps_2 {
className?: NumberFieldClassName & {
root?: string;
};
- [key: string]: any;
+ [key: string]: unknown;
}
-declare interface FormikPinFieldProps {
+export declare function FormikPinField({ id, name, required, label, labelType, tooltip, className, data, }: FormikPinFieldProps): JSX_2.Element;
+
+export declare interface FormikPinFieldProps {
id?: string;
name: string;
required?: boolean;
@@ -783,13 +743,14 @@ declare interface FormikPinFieldProps {
*
* @param id - The id of the field.
* @param data - The object of data attributes that can be used for testing (e.g. data-test or data-cy)
- * @param name - The name of the field. This is used to identify the field in Formik.
+ * @param name - The name of the field.
* @param items - The array of items that should be available on the select component.
* @param groups - The optional groups array can be used to group items in the select component.
* @param label - The optional label is shown next to the field in the form.
* @param labelType - The optional labelType can be used to change the size and position of the label according to pre-defined standards.
* @param placeholder - The optional placeholder is shown when no value is selected / initialization with 'undefined' is chosen.
* @param disabled - The optional disabled prop disables the select component.
+ * @param error - The optional error message is shown next to the component.
* @param hideError - Hide the error message below this component as is might be more appropriate to show it somewhere else.
* @param contentPosition - The position of the content of the select component. Currently only 'item-aligned' and 'popper' are supported.
* @param tooltip - The optional tooltip is shown on hover next to the label.
@@ -797,24 +758,14 @@ declare interface FormikPinFieldProps {
* @param className - The optional className object allows you to override the default styling.
* @returns Select component with formik state management.
*/
-export declare function FormikSelectField({ id, data, name, items, groups, label, labelType, placeholder, tooltip, required, disabled, hideError, contentPosition, className, ...props }: FormikSelectFieldItemsProps | FormikSelectFieldGroupsProps): JSX_2.Element;
-
-export declare interface FormikSelectFieldGroupsProps extends FormikSelectFieldProps_2 {
- groups: SelectGroup[];
- items?: never;
-}
+export declare function FormikSelectField({ id, data, name, items, groups, label, labelType, placeholder, tooltip, required, disabled, error, hideError, contentPosition, className, ...props }: FormikSelectFieldItemsProps | FormikSelectFieldGroupsProps): JSX_2.Element;
-declare interface FormikSelectFieldGroupsProps_2 extends FormikSelectFieldProps {
+export declare interface FormikSelectFieldGroupsProps extends FormikSelectFieldProps {
groups: SelectGroup[];
items?: never;
}
-export declare interface FormikSelectFieldItemsProps extends FormikSelectFieldProps_2 {
- items: SelectItem[];
- groups?: never;
-}
-
-declare interface FormikSelectFieldItemsProps_2 extends FormikSelectFieldProps {
+export declare interface FormikSelectFieldItemsProps extends FormikSelectFieldProps {
items: SelectItem[];
groups?: never;
}
@@ -844,30 +795,6 @@ declare interface FormikSelectFieldProps {
};
}
-declare interface FormikSelectFieldProps_2 {
- id?: string;
- data?: {
- cy?: string;
- test?: string;
- };
- name: string;
- label?: string;
- labelType?: 'small' | 'normal';
- placeholder?: string;
- tooltip?: string | default_2.ReactNode;
- required?: boolean;
- disabled?: boolean;
- hideError?: boolean;
- contentPosition?: 'item-aligned' | 'popper';
- className?: {
- root?: string;
- label?: string;
- error?: string;
- tooltip?: string;
- select?: SelectClassName;
- };
-}
-
/**
* This function extends the pre-styled Switch component so that it works as to be expected in a Formik environment.
* State, in this case, is managed by Formik through the name attribute.
@@ -876,41 +803,19 @@ declare interface FormikSelectFieldProps_2 {
* @param name - The name of the field. This is used to identify the field in Formik.
* @param data - The object of data attributes that can be used for testing (e.g. data-test or data-cy)
* @param label - The label that is displayed next to the switch.
+ * @param labelLeft - Indicator whether the label should be displayed on the left or right side of the switch.
* @param disabled - Indicator whether the switch is disabled or not.
+ * @param error - The error message that is shown below the switch.
* @param hideError - Indicator whether the error message is displayed or not.
* @param size - The size of the switch. The size can be small, medium or large.
- * @param standardLabel - Indicator whether the label is displayed in the standard format (left of the component) instead of being optimized to a switch.
* @param tooltip - The tooltip that is displayed when hovering over the label. Tooltips are only available with the standardLabel setting.
* @param required - Indicator whether the field is required or not. This is only available with the standardLabel setting.
* @param className - The optional className object allows you to override the default styling.
* @returns Switch component with formik state management
*/
-export declare function FormikSwitchField({ id, name, data, disabled, hideError, label, size, standardLabel, required, tooltip, className, }: FormikSwitchFieldProps): JSX_2.Element;
+export declare function FormikSwitchField({ id, name, data, disabled, error, hideError, label, labelLeft, size, required, tooltip, className, }: FormikSwitchFieldProps): JSX_2.Element;
export declare interface FormikSwitchFieldProps {
- id?: string;
- name: string;
- data?: {
- cy?: string;
- test?: string;
- };
- disabled?: boolean;
- hideError?: boolean;
- label?: string;
- size?: 'sm' | 'md' | 'lg';
- standardLabel?: boolean;
- tooltip?: string | default_2.ReactNode;
- required?: boolean;
- className?: {
- root?: string;
- label?: string;
- tooltip?: string;
- error?: string;
- switch?: SwitchClassName;
- };
-}
-
-declare interface FormikSwitchFieldProps_2 {
id?: string;
name: string;
data?: {
@@ -921,6 +826,7 @@ declare interface FormikSwitchFieldProps_2 {
error?: string;
hideError?: boolean;
label?: string;
+ labelLeft?: boolean;
size?: 'sm' | 'md' | 'lg';
tooltip?: string | default_2.ReactNode;
required?: boolean;
@@ -928,27 +834,29 @@ declare interface FormikSwitchFieldProps_2 {
}
/**
- * This component returns a textarea field that works as to be expected in a Formik environment.
+ * This function returns a text field that works as to be expected in a Formik environment.
* State can be managed either through Formik or internally by passing a value and onChange function.
*
* @param id - The id of the field.
* @param data - The object of data attributes that can be used for testing (e.g. data-test or data-cy)
* @param name - The name of the field as used to keep track of the state in Formik. If no value and onChange function are provided, this field is required.
+ * @param value - The value of the field. This is used to manage the state internally. If no name is provided, this field is required.
+ * @param onChange - The onChange function is called when the value of the field changes. This is used to manage the state internally. If no name is provided, this field is required.
+ * @param error - The error message that is shown below the field. If a name is provided, this prop will not be used.
* @param label - The optional label is shown next to the field in the form.
* @param labelType - The optional labelType can be used to change the size and position of the label according to pre-defined standards.
+ * @param placeholder - The optional placeholder is shown when the field is empty.
* @param tooltip - The optional tooltip is shown on hover next to the label.
+ * @param maxLength - The optional maxLength is shown below the field to indicate the maximum number of characters allowed.
+ * @param maxLengthUnit - The optional maxLengthUnit is shown next to the maxLength to indicate the unit of the maximum number of characters allowed.
+ * @param hideMaxLength - Indicate whether the maxLength should be hidden or not.
* @param required - Indicate whether the field is required or not.
- * @param placeholder - The optional placeholder is shown when the field is empty.
- * @param value - The value of the field. This is used to manage the state internally. If no name is provided, this field is required.
- * @param onChange - The onChange function is called when the value of the field changes. This is used to manage the state internally. If no name is provided, this field is required.
- * @param maxLength - The optional maxLength is used to limit the number of characters that can be entered in the field.
- * @param maxLengthLabel - This optional label allows to specify a custom label for the maxLength indicator (e.g. "characters left" supporting internationalization).
* @param hideError - Hide the error message below this component as is might be more appropriate to show it somewhere else.
* @param disabled - Disable the field.
* @param className - The optional className object allows you to override the default styling.
- * @returns Textarea component with Formik state management.
+ * @returns Text field component with Formik state management.
*/
-export declare function FormikTextareaField({ id, data, name, value, onChange, label, labelType, placeholder, tooltip, required, maxLength, maxLengthLabel, hideError, disabled, className, ...props }: TextareaFieldWithNameProps | TextareaFieldWithOnChangeProps): JSX_2.Element;
+export declare function FormikTextareaField({ id, data, name, value, onChange, error, label, labelType, icon, placeholder, tooltip, required, hideError, disabled, className, ...props }: FormikTextareaFieldWithNameProps | FormikTextareaFieldWithOnChangeProps): JSX_2.Element;
declare interface FormikTextareaFieldProps {
id?: string;
@@ -977,20 +885,20 @@ declare interface FormikTextareaFieldProps {
};
}
-declare interface FormikTextareaFieldWithNameProps extends FormikTextareaFieldProps {
+export declare interface FormikTextareaFieldWithNameProps extends FormikTextareaFieldProps {
name: string;
value?: never;
onChange?: never;
error?: never;
- [key: string]: any;
+ [key: string]: unknown;
}
-declare interface FormikTextareaFieldWithOnChangeProps extends FormikTextareaFieldProps {
+export declare interface FormikTextareaFieldWithOnChangeProps extends FormikTextareaFieldProps {
name?: never;
value: string;
onChange: (newValue: string) => void;
error?: string;
- [key: string]: any;
+ [key: string]: unknown;
}
/**
@@ -1006,16 +914,18 @@ declare interface FormikTextareaFieldWithOnChangeProps extends FormikTextareaFie
* @param label - The optional label is shown next to the field in the form.
* @param labelType - The optional labelType can be used to change the size and position of the label according to pre-defined standards.
* @param icon - An optional icon (FontAwesomeIcon IconDefinition) that is shown on the right side of the text input component
+ * @param iconPosition - The optional iconPosition can be used to change the position of the icon according to pre-defined standards.
* @param onIconClick - An optional function that is called when the icon (previous prop) is clicked
* @param placeholder - The optional placeholder is shown when the field is empty.
* @param tooltip - The optional tooltip is shown on hover next to the label.
* @param required - Indicate whether the field is required or not.
* @param hideError - Hide the error message below this component as is might be more appropriate to show it somewhere else.
* @param disabled - Disable the field.
+ * @param onPaste - An optional function that is called when the user pastes text into the field.
* @param className - The optional className object allows you to override the default styling.
* @returns Text field component with Formik state management.
*/
-export declare function FormikTextField({ id, data, name, value, onChange, error, label, labelType, icon, onIconClick, placeholder, tooltip, required, hideError, disabled, className, ...props }: TextFieldWithNameProps | TextFieldWithOnChangeProps): JSX_2.Element;
+export declare function FormikTextField({ id, data, name, value, onChange, error, label, labelType, icon, iconPosition, onIconClick, placeholder, tooltip, required, hideError, isTouched, disabled, onPaste, className, ...props }: FormikTextFieldWithNameProps | FormikTextFieldWithOnChangeProps): JSX_2.Element;
declare interface FormikTextFieldProps {
id?: string;
@@ -1025,7 +935,8 @@ declare interface FormikTextFieldProps {
};
label?: string;
labelType?: 'small' | 'large';
- icon?: IconDefinition_2;
+ icon?: IconDefinition;
+ iconPosition?: 'left' | 'right';
onIconClick?: () => void;
placeholder?: string;
tooltip?: string | default_2.ReactNode;
@@ -1038,22 +949,36 @@ declare interface FormikTextFieldProps {
};
}
-declare interface FormikTextFieldWithNameProps extends FormikTextFieldProps {
+export declare interface FormikTextFieldWithNameProps extends FormikTextFieldProps {
name: string;
value?: never;
onChange?: never;
error?: never;
isTouched?: never;
- [key: string]: any;
+ [key: string]: unknown;
}
-declare interface FormikTextFieldWithOnChangeProps extends FormikTextFieldProps {
+export declare interface FormikTextFieldWithOnChangeProps extends FormikTextFieldProps {
name?: never;
value: string;
onChange: (newValue: string) => void;
error?: string;
isTouched?: boolean;
- [key: string]: any;
+ [key: string]: unknown;
+}
+
+export declare function FormLabel({ id, required, label, labelType, className, tooltip, }: FormLabelProps): JSX_2.Element;
+
+export declare interface FormLabelProps {
+ id?: string;
+ required: boolean;
+ label: string;
+ labelType: 'small' | 'large';
+ className?: {
+ label?: string;
+ tooltip?: string;
+ };
+ tooltip?: string | React.ReactNode;
}
/**
@@ -1264,232 +1189,48 @@ export declare interface ModalProps {
onOpenChange?: () => void;
onPrev?: () => void;
onPrimaryAction?: default_2.ReactNode;
- onSecondaryAction?: default_2.ReactNode;
-}
-
-/**
- * This function returns a pre-styled Navigation component based on the RadixUI navigation component and the custom theme.
- *
- * @param id - The id of the navigation.
- * @param data - The object of data attributes that can be used for testing (e.g. data-test or data-cy)
- * @param children - The content of the navigation. Children should be subcomponents of the Navigation component like TriggerItem / ButtonItem / CustomItem for the correct functionality.
- * @param className - The optional className object allows you to override the default styling.
- * @param style - The optional style object allows you to override the default styling using CSS key-value styles.
- * @returns Navigation component
- */
-export declare function Navigation({ id, data, children, className, style, }: NavigationProps): JSX_2.Element;
-
-export declare namespace Navigation {
- var TriggerItem: ({ id, data, label, icon, dropdownWidth, children, disabled, className, style, }: TriggerIconProps | TriggerLabelProps) => JSX_2.Element;
- var DropdownItem: ({ id, data, title, href, onClick, subtitle, icon, className, style, }: DropdownItemWithHrefProps | DropdownItemWithOnClickProps) => JSX_2.Element;
- var ButtonItem: ({ id, data, label, disabled, icon, href, onClick, className, style, }: ButtonItemWithHrefProps | ButtonItemWithOnClickProps) => JSX_2.Element;
- var IconItem: ({ id, data, icon, disabled, href, onClick, className, style, }: IconItemWithHrefProps | IconItemWithOnClickProps) => JSX_2.Element;
- var CustomItem: ({ id, data, children, className, style, }: CustomItemProps) => JSX_2.Element;
-}
-
-export declare interface NavigationProps {
- id?: string;
- data?: {
- cy?: string;
- test?: string;
- };
- children: default_2.ReactNode;
- className?: {
- root?: string;
- indicator?: string;
- viewport?: string;
- };
- style?: {
- root?: default_2.CSSProperties;
- indicator?: default_2.CSSProperties;
- viewport?: default_2.CSSProperties;
- };
-}
-
-/**
- * This component provides a simple date changer with a label and a button to edit the date (not coupled to a formik context).
- *
- * @param id - The id of the date changer
- * @param name - The name of the field as used to keep track of the state in Formik.
- * @param label - The label of the date changer
- * @param labelType - The type of the label (small or large)
- * @param tooltip - The tooltip of the date changer (is only shown if a label is given)
- * @param required - Whether the date label should contain a required symbol
- * @param disabled - Whether the date changer is disabled or not
- * @param hideError - Whether the error message should be hidden
- * @param format - The format of the date when the edit mode is not active (then the display is up to the browser implementation)
- * @param date - The date to be displayed
- * @param editIcon - The icon to be displayed on the edit button
- * @param validateField - Function to trigger validation of the field under consideration
- * @param data - The object of data attributes that can be used for testing (e.g. data-test or data-cy)
- * @param dataButton - The object of data attributes that can be used for testing (e.g. data-test or data-cy) for the button
- * @param className - The optional className object allows you to override the default styling.
- * @returns Date changer component with optional label, edit button and save button.
- */
-export declare function FormikDateChanger({ id, name, label, labelType, tooltip, required, disabled, hideError, format, editIcon, validateField, data, dataButton, className, }: FormikDateChangerProps_2): JSX_2.Element;
+ onSecondaryAction?: default_2.ReactNode;
+}
/**
- * This function returns a date field that works as to be expected in a Formik environment.
- * State is managed by Formik through the name attribute.
+ * This function returns a pre-styled Navigation component based on the RadixUI navigation component and the custom theme.
*
- * @param id - The id of the field.
+ * @param id - The id of the navigation.
* @param data - The object of data attributes that can be used for testing (e.g. data-test or data-cy)
- * @param name - The name of the field as used to keep track of the state in Formik.
- * @param label - The optional label is shown next to the field in the form.
- * @param labelType - The optional labelType can be used to change the size and position of the label according to pre-defined standards.
- * @param placeholder - The optional placeholder is shown when the field is empty.
- * @param tooltip - The optional tooltip is shown on hover next to the label.
- * @param required - Indicate whether the field is required or not.
- * @param hideError - Hide the error message below this component as is might be more appropriate to show it somewhere else.
- * @param disabled - Disable the field.
+ * @param children - The content of the navigation. Children should be subcomponents of the Navigation component like TriggerItem / ButtonItem / CustomItem for the correct functionality.
* @param className - The optional className object allows you to override the default styling.
- * @returns Date field component with Formik state management.
+ * @param style - The optional style object allows you to override the default styling using CSS key-value styles.
+ * @returns Navigation component
*/
-export declare function FormikDateField({ id, data, name, label, labelType, placeholder, tooltip, required, hideError, disabled, className, ...props }: FormikDateFieldProps): JSX_2.Element;
+export declare function Navigation({ id, data, children, className, style, }: NavigationProps): JSX_2.Element;
+
+export declare namespace Navigation {
+ var TriggerItem: ({ id, data, label, icon, dropdownWidth, children, disabled, className, style, }: TriggerIconProps | TriggerLabelProps) => JSX_2.Element;
+ var DropdownItem: ({ id, data, title, href, onClick, subtitle, icon, className, style, }: DropdownItemWithHrefProps | DropdownItemWithOnClickProps) => JSX_2.Element;
+ var ButtonItem: ({ id, data, label, disabled, icon, href, onClick, className, style, }: ButtonItemWithHrefProps | ButtonItemWithOnClickProps) => JSX_2.Element;
+ var IconItem: ({ id, data, icon, disabled, href, onClick, className, style, }: IconItemWithHrefProps | IconItemWithOnClickProps) => JSX_2.Element;
+ var CustomItem: ({ id, data, children, className, style, }: CustomItemProps) => JSX_2.Element;
+}
-declare interface FormikDateFieldProps {
+export declare interface NavigationProps {
id?: string;
- name: string;
data?: {
cy?: string;
test?: string;
};
- label?: string;
- labelType?: 'small' | 'large';
- placeholder?: string;
- tooltip?: string | default_2.ReactNode;
- required?: boolean;
- hideError?: boolean;
- disabled?: boolean;
+ children: default_2.ReactNode;
className?: {
root?: string;
- field?: string;
- label?: string;
- input?: string;
- error?: string;
- tooltip?: string;
+ indicator?: string;
+ viewport?: string;
+ };
+ style?: {
+ root?: default_2.CSSProperties;
+ indicator?: default_2.CSSProperties;
+ viewport?: default_2.CSSProperties;
};
- [key: string]: any;
}
-export declare function FormikPinField({ id, name, required, label, labelType, tooltip, className, data, }: FormikPinFieldProps): JSX_2.Element;
-
-/**
- * This component returns a select field that works as to be expected in a Formik environment.
- * State is managed by Formik through the name attribute.
- *
- * @param id - The id of the field.
- * @param data - The object of data attributes that can be used for testing (e.g. data-test or data-cy)
- * @param name - The name of the field.
- * @param items - The array of items that should be available on the select component.
- * @param groups - The optional groups array can be used to group items in the select component.
- * @param label - The optional label is shown next to the field in the form.
- * @param labelType - The optional labelType can be used to change the size and position of the label according to pre-defined standards.
- * @param placeholder - The optional placeholder is shown when no value is selected / initialization with 'undefined' is chosen.
- * @param disabled - The optional disabled prop disables the select component.
- * @param error - The optional error message is shown next to the component.
- * @param hideError - Hide the error message below this component as is might be more appropriate to show it somewhere else.
- * @param contentPosition - The position of the content of the select component. Currently only 'item-aligned' and 'popper' are supported.
- * @param tooltip - The optional tooltip is shown on hover next to the label.
- * @param required - Indicate whether the field is required or not.
- * @param className - The optional className object allows you to override the default styling.
- * @returns Select component with formik state management.
- */
-export declare function FormikSelectField({ id, data, name, items, groups, label, labelType, placeholder, tooltip, required, disabled, error, hideError, contentPosition, className, ...props }: FormikSelectFieldItemsProps_2 | FormikSelectFieldGroupsProps_2): JSX_2.Element;
-
-/**
- * This function extends the pre-styled Switch component so that it works as to be expected in a Formik environment.
- * State, in this case, is managed by Formik through the name attribute.
- *
- * @param id - The id of the switch.
- * @param name - The name of the field. This is used to identify the field in Formik.
- * @param data - The object of data attributes that can be used for testing (e.g. data-test or data-cy)
- * @param label - The label that is displayed next to the switch.
- * @param disabled - Indicator whether the switch is disabled or not.
- * @param error - The error message that is shown below the switch.
- * @param hideError - Indicator whether the error message is displayed or not.
- * @param size - The size of the switch. The size can be small, medium or large.
- * @param tooltip - The tooltip that is displayed when hovering over the label. Tooltips are only available with the standardLabel setting.
- * @param required - Indicator whether the field is required or not. This is only available with the standardLabel setting.
- * @param className - The optional className object allows you to override the default styling.
- * @returns Switch component with formik state management
- */
-export declare function FormikSwitchField({ id, name, data, disabled, error, hideError, label, size, required, tooltip, className, }: FormikSwitchFieldProps_2): JSX_2.Element;
-
-/**
- * This function returns a text field that works as to be expected in a Formik environment.
- * State can be managed either through Formik or internally by passing a value and onChange function.
- *
- * @param id - The id of the field.
- * @param data - The object of data attributes that can be used for testing (e.g. data-test or data-cy)
- * @param name - The name of the field as used to keep track of the state in Formik. If no value and onChange function are provided, this field is required.
- * @param value - The value of the field. This is used to manage the state internally. If no name is provided, this field is required.
- * @param onChange - The onChange function is called when the value of the field changes. This is used to manage the state internally. If no name is provided, this field is required.
- * @param error - The error message that is shown below the field. If a name is provided, this prop will not be used.
- * @param label - The optional label is shown next to the field in the form.
- * @param labelType - The optional labelType can be used to change the size and position of the label according to pre-defined standards.
- * @param placeholder - The optional placeholder is shown when the field is empty.
- * @param tooltip - The optional tooltip is shown on hover next to the label.
- * @param maxLength - The optional maxLength is shown below the field to indicate the maximum number of characters allowed.
- * @param maxLengthUnit - The optional maxLengthUnit is shown next to the maxLength to indicate the unit of the maximum number of characters allowed.
- * @param hideMaxLength - Indicate whether the maxLength should be hidden or not.
- * @param required - Indicate whether the field is required or not.
- * @param hideError - Hide the error message below this component as is might be more appropriate to show it somewhere else.
- * @param disabled - Disable the field.
- * @param className - The optional className object allows you to override the default styling.
- * @returns Text field component with Formik state management.
- */
-export declare function FormikTextareaField({ id, data, name, value, onChange, error, label, labelType, icon, onIconClick, placeholder, tooltip, required, hideError, disabled, className, ...props }: FormikTextareaFieldWithNameProps | FormikTextareaFieldWithOnChangeProps): JSX_2.Element;
-
-/**
- * This function returns a text field that works as to be expected in a Formik environment.
- * State can be managed either through Formik or internally by passing a value and onChange function.
- *
- * @param id - The id of the field.
- * @param data - The object of data attributes that can be used for testing (e.g. data-test or data-cy)
- * @param name - The name of the field as used to keep track of the state in Formik. If no value and onChange function are provided, this field is required.
- * @param value - The value of the field. This is used to manage the state internally. If no name is provided, this field is required.
- * @param onChange - The onChange function is called when the value of the field changes. This is used to manage the state internally. If no name is provided, this field is required.
- * @param error - The error message that is shown below the field. If a name is provided, this prop will not be used.
- * @param label - The optional label is shown next to the field in the form.
- * @param labelType - The optional labelType can be used to change the size and position of the label according to pre-defined standards.
- * @param icon - An optional icon (FontAwesomeIcon IconDefinition) that is shown on the right side of the text input component
- * @param onIconClick - An optional function that is called when the icon (previous prop) is clicked
- * @param placeholder - The optional placeholder is shown when the field is empty.
- * @param tooltip - The optional tooltip is shown on hover next to the label.
- * @param required - Indicate whether the field is required or not.
- * @param hideError - Hide the error message below this component as is might be more appropriate to show it somewhere else.
- * @param disabled - Disable the field.
- * @param onPaste - An optional function that is called when the user pastes text into the field.
- * @param className - The optional className object allows you to override the default styling.
- * @returns Text field component with Formik state management.
- */
-export declare function FormikTextField({ id, data, name, value, onChange, error, label, labelType, icon, onIconClick, placeholder, tooltip, required, hideError, isTouched, disabled, onPaste, className, ...props }: FormikTextFieldWithNameProps | FormikTextFieldWithOnChangeProps): JSX_2.Element;
-
-/**
- * This function returns a text field component for use without formik
- *
- * @param id - The id of the input field.
- * @param value - The value of the input field (external state management).
- * @param onChange - The onChange function of the input field (external state management).
- * @param label - The text displayed as label.
- * @param labelType - The optional labelType can be used to change the size and position of the label according to pre-defined standards.
- * @param placeholder - The placeholder text for the input field.
- * @param precision - The optional precision defines the number of decimal places that are allowed.
- * @param min - The optional min defines the minimum value that is allowed.
- * @param max - The optional max defines the maximum value that is allowed.
- * @param tooltip - The optional tooltip is shown on hover over the tooltip next to the label.
- * @param required - Indicate whether the field is required or not.
- * @param hideError - Indicate whether the error message should be hidden or not.
- * @param error - The error message that is displayed below the input field.
- * @param isTouched - Indicate whether the field has been touched or not (validation is not handled by this component).
- * @param disabled - Indicate whether the field is disabled or not.
- * @param onBlur - The onBlur function of the input field.
- * @param data - The object of data attributes that can be used for testing (e.g. data-test or data-cy)
- * @param className - The optional className object allows you to override the default styling.
- */
-export declare function NewFromikNumberField({ id, name, value, onChange, label, labelType, placeholder, precision, min, max, tooltip, required, hideError, error, isTouched, disabled, onBlur, data, className, ...props }: FormikNumberFieldNameProps | FormikNumberFieldOnChangeProps): JSX_2.Element;
-
/**
* This function returns a pre-styled wrapper for some custom component with navigation badge on it.
*
@@ -1577,28 +1318,6 @@ export declare interface NumberFieldProps {
[key: string]: any;
}
-export declare function PinField({ id, name, required, label, labelType, tooltip, className, data, }: PinFieldProps): JSX_2.Element;
-
-export declare interface PinFieldProps {
- id?: string;
- name: string;
- required?: boolean;
- label?: string;
- labelType?: 'small' | 'normal';
- tooltip?: string | default_2.ReactNode;
- className?: {
- root?: string;
- field?: string;
- label?: string;
- error?: string;
- tooltip?: string;
- };
- data?: {
- cy?: string;
- test?: string;
- };
-}
-
/**
* This function returns a pre-styled Progress component based on the RadixUI progress component and the custom theme.
*
@@ -1964,6 +1683,7 @@ export declare interface SwitchClassName {
element?: string;
thumb?: string;
label?: string;
+ tooltip?: string;
}
export declare interface SwitchProps {
@@ -2373,7 +2093,7 @@ export declare interface TagProps {
*/
export declare function TextareaField({ id, data, name, field, value, onChange, label, labelType, placeholder, tooltip, maxLength, maxLengthUnit, hideMaxLength, required, isTouched, hideError, error, disabled, className, ...props }: TextareaFieldNameProps | TextareaFieldOnChangeProps): JSX_2.Element;
-export declare interface TextareaFieldNameProps extends TextareaFieldProps_2 {
+export declare interface TextareaFieldNameProps extends TextareaFieldProps {
name: string;
field: FieldInputProps;
value?: never;
@@ -2381,7 +2101,7 @@ export declare interface TextareaFieldNameProps extends TextareaFieldProps_2 {
[key: string]: any;
}
-export declare interface TextareaFieldOnChangeProps extends TextareaFieldProps_2 {
+export declare interface TextareaFieldOnChangeProps extends TextareaFieldProps {
name?: never;
field?: never;
value: string;
@@ -2389,32 +2109,7 @@ export declare interface TextareaFieldOnChangeProps extends TextareaFieldProps_2
[key: string]: any;
}
-export declare interface TextareaFieldProps {
- id?: string;
- data?: {
- cy?: string;
- test?: string;
- };
- label?: string;
- labelType?: 'small' | 'normal';
- placeholder?: string;
- tooltip?: string | default_2.ReactNode;
- required?: boolean;
- maxLength?: number;
- maxLengthLabel?: string;
- hideError?: boolean;
- disabled?: boolean;
- className?: {
- root?: string;
- field?: string;
- label?: string;
- input?: string;
- error?: string;
- tooltip?: string;
- };
-}
-
-declare interface TextareaFieldProps_2 {
+declare interface TextareaFieldProps {
id?: string;
data?: {
cy?: string;
@@ -2442,20 +2137,6 @@ declare interface TextareaFieldProps_2 {
};
}
-export declare interface TextareaFieldWithNameProps extends TextareaFieldProps {
- name: string;
- value?: never;
- onChange?: never;
- [key: string]: any;
-}
-
-export declare interface TextareaFieldWithOnChangeProps extends TextareaFieldProps {
- name?: never;
- value: string;
- onChange: (newValue: string) => void;
- [key: string]: any;
-}
-
/**
* This function returns a text field component for use without formik
*
@@ -2477,9 +2158,11 @@ export declare interface TextareaFieldWithOnChangeProps extends TextareaFieldPro
* @param onPaste - The optional onPaste function is called when the user pastes text into the input field.
* @param className - The optional className object allows you to override the default styling.
* @param icon - The optional icon is shown on the right side of the input field.
+ * @param iconPosition - The optional iconPosition can be used to change the position of the icon to the left side of the input field.
+ * @param onIconClick - The optional onIconClick function is called when the icon is clicked.
* @returns Text field component with optional label, tooltip, error message and icon.
*/
-export declare function TextField({ id, data, name, field, value, onChange, label, labelType, placeholder, tooltip, required, isTouched, hideError, error, disabled, onPaste, className, icon, ...props }: TextFieldNameProps | TextFieldOnChangeProps): JSX_2.Element;
+export declare function TextField({ id, data, name, field, value, onChange, label, labelType, placeholder, tooltip, required, isTouched, hideError, error, disabled, onPaste, className, icon, iconPosition, onIconClick, ...props }: TextFieldNameProps | TextFieldOnChangeProps): JSX_2.Element;
export declare interface TextFieldClassName {
field?: string;
@@ -2487,9 +2170,10 @@ export declare interface TextFieldClassName {
input?: string;
error?: string;
tooltip?: string;
+ icon?: string;
}
-export declare interface TextFieldNameProps extends TextFieldProps_2 {
+export declare interface TextFieldNameProps extends TextFieldProps {
name: string;
field: FieldInputProps;
value?: never;
@@ -2497,7 +2181,7 @@ export declare interface TextFieldNameProps extends TextFieldProps_2 {
[key: string]: any;
}
-export declare interface TextFieldOnChangeProps extends TextFieldProps_2 {
+export declare interface TextFieldOnChangeProps extends TextFieldProps {
name?: never;
field?: never;
value: string;
@@ -2506,32 +2190,6 @@ export declare interface TextFieldOnChangeProps extends TextFieldProps_2 {
}
declare interface TextFieldProps {
- id?: string;
- data?: {
- cy?: string;
- test?: string;
- };
- label?: string;
- labelType?: 'small' | 'normal';
- icon?: IconDefinition_2;
- onIconClick?: () => void;
- placeholder?: string;
- tooltip?: string | default_2.ReactNode;
- required?: boolean;
- hideError?: boolean;
- disabled?: boolean;
- className?: {
- root?: string;
- field?: string;
- icon?: string;
- label?: string;
- input?: string;
- error?: string;
- tooltip?: string;
- };
-}
-
-declare interface TextFieldProps_2 {
id?: string;
data?: {
cy?: string;
@@ -2549,22 +2207,8 @@ declare interface TextFieldProps_2 {
onPaste?: (e: any) => void;
className?: TextFieldClassName;
icon?: IconProp;
-}
-
-export declare interface TextFieldWithNameProps extends TextFieldProps {
- name: string;
- value?: never;
- onChange?: never;
- error?: never;
- [key: string]: any;
-}
-
-export declare interface TextFieldWithOnChangeProps extends TextFieldProps {
- name?: never;
- value: string;
- onChange: (newValue: string) => void;
- error?: string;
- [key: string]: any;
+ iconPosition?: 'left' | 'right';
+ onIconClick?: () => void;
}
export declare function Toast({ title, description, duration, dismissible, triggerText, actionText, actionOnClick, position, openExternal, setOpenExternal, type, children, className, }: ToastPropsWithTitleTrigger | ToastPropsWithTitleNoTrigger | ToastPropsWithChildrenTrigger | ToastPropsWithChildrenNoTrigger): React_3.ReactElement;
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 076dc9d..2bd809e 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -33,8 +33,8 @@ importers:
specifier: 12.4.0
version: 12.4.0(typescript@5.1.6)
turbo:
- specifier: 2.0.12
- version: 2.0.12
+ specifier: 2.1.1
+ version: 2.1.1
typescript:
specifier: 5.1.6
version: 5.1.6
@@ -6355,38 +6355,38 @@ packages:
engines: {node: '>=18.0.0'}
hasBin: true
- turbo-darwin-64@2.0.12:
- resolution: {integrity: sha512-NAgfgbXxX/JScWQmmQnGbPuFZq7LIswHfcMk5JwyBXQM/xmklNOxxac7MnGGIOf19Z2f6S3qHy17VIj0SeGfnA==}
+ turbo-darwin-64@2.1.1:
+ resolution: {integrity: sha512-aYNuJpZlCoi0Htd79fl/2DywpewGKijdXeOfg9KzNuPVKzSMYlAXuAlNGh0MKjiOcyqxQGL7Mq9LFhwA0VpDpQ==}
cpu: [x64]
os: [darwin]
- turbo-darwin-arm64@2.0.12:
- resolution: {integrity: sha512-cP02uer5KSJ+fXL+OfRRk5hnVjV0c60hxDgNcJxrZpfhun7HHoKDDR7w2xhQntiA45aC6ZZEXRqMKpj6GAmKbg==}
+ turbo-darwin-arm64@2.1.1:
+ resolution: {integrity: sha512-tifJKD8yHY48rHXPMcM8o1jI/Jk2KCaXiNjTKvvy9Zsim61BZksNVLelIbrRoCGwAN6PUBZO2lGU5iL/TQJ5Pw==}
cpu: [arm64]
os: [darwin]
- turbo-linux-64@2.0.12:
- resolution: {integrity: sha512-+mQgGfg1eq5qF+wenK/FKJaNMNAo5DQLC4htQy+8osW+fx6U+8+6UlPQPaycAWDEqwOI7NwuqkeHfkEQLQUTyQ==}
+ turbo-linux-64@2.1.1:
+ resolution: {integrity: sha512-Js6d/bSQe9DuV9c7ITXYpsU/ADzFHABdz1UIHa7Oqjj9VOEbFeA9WpAn0c+mdJrVD+IXJFbbDZUjN7VYssmtcg==}
cpu: [x64]
os: [linux]
- turbo-linux-arm64@2.0.12:
- resolution: {integrity: sha512-KFyEZDXfPU1DK4zimxdCcqAcK7IIttX4mfsgB7NsSEOmH0dhHOih/YFYiyEDC1lTRx0C2RlzQ0Kjjdz48AN5Eg==}
+ turbo-linux-arm64@2.1.1:
+ resolution: {integrity: sha512-LidzTCq0yvQ+N8w8Qub9FmhQ/mmEIeoqFi7DSupekEV2EjvE9jw/zYc9Pk67X+g7dHVfgOnvVzmrjChdxpFePw==}
cpu: [arm64]
os: [linux]
- turbo-windows-64@2.0.12:
- resolution: {integrity: sha512-kJj4KCkZTkDTDCqsSw1m1dbO4WeoQq1mYUm/thXOH0OkeqYbSMt0EyoTcJOgKUDsrMnzZD2gPfYrlYHtV69lVA==}
+ turbo-windows-64@2.1.1:
+ resolution: {integrity: sha512-GKc9ZywKwy4xLDhwXd6H07yzl0TB52HjXMrFLyHGhCVnf/w0oq4sLJv2sjbvuarPjsyx4xnCBJ3m3oyL2XmFtA==}
cpu: [x64]
os: [win32]
- turbo-windows-arm64@2.0.12:
- resolution: {integrity: sha512-TY3ROxguDilN2olCwcZMaePdW01Xhma0pZU7bNhsQEqca9RGAmsZBuzfGnTMcWPmv4tpnb/PlX1hrt1Hod/44Q==}
+ turbo-windows-arm64@2.1.1:
+ resolution: {integrity: sha512-oFKkMj11KKUv3xSK9/fhAEQTxLUp1Ol1EOktwc32+SFtEU0uls7kosAz0b+qe8k3pJGEMFdDPdqoEjyJidbxtQ==}
cpu: [arm64]
os: [win32]
- turbo@2.0.12:
- resolution: {integrity: sha512-8s2KwqjwQj7z8Z53SUZSKVkQOZ2/Sl4D2F440oaBY/k2lGju60dW6srEpnn8/RIDeICZmQn3pQHF79Jfnc5Skw==}
+ turbo@2.1.1:
+ resolution: {integrity: sha512-u9gUDkmR9dFS8b5kAYqIETK4OnzsS4l2ragJ0+soSMHh6VEeNHjTfSjk1tKxCqLyziCrPogadxP680J+v6yGHw==}
hasBin: true
type-check@0.4.0:
@@ -14063,32 +14063,32 @@ snapshots:
optionalDependencies:
fsevents: 2.3.3
- turbo-darwin-64@2.0.12:
+ turbo-darwin-64@2.1.1:
optional: true
- turbo-darwin-arm64@2.0.12:
+ turbo-darwin-arm64@2.1.1:
optional: true
- turbo-linux-64@2.0.12:
+ turbo-linux-64@2.1.1:
optional: true
- turbo-linux-arm64@2.0.12:
+ turbo-linux-arm64@2.1.1:
optional: true
- turbo-windows-64@2.0.12:
+ turbo-windows-64@2.1.1:
optional: true
- turbo-windows-arm64@2.0.12:
+ turbo-windows-arm64@2.1.1:
optional: true
- turbo@2.0.12:
+ turbo@2.1.1:
optionalDependencies:
- turbo-darwin-64: 2.0.12
- turbo-darwin-arm64: 2.0.12
- turbo-linux-64: 2.0.12
- turbo-linux-arm64: 2.0.12
- turbo-windows-64: 2.0.12
- turbo-windows-arm64: 2.0.12
+ turbo-darwin-64: 2.1.1
+ turbo-darwin-arm64: 2.1.1
+ turbo-linux-64: 2.1.1
+ turbo-linux-arm64: 2.1.1
+ turbo-windows-64: 2.1.1
+ turbo-windows-arm64: 2.1.1
type-check@0.4.0:
dependencies: