@up42/up-components 5.0.0-tokens.3 → 5.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,9 @@
1
+ import React, { ReactNode } from 'react';
2
+ type EditTagsCardProps = {
3
+ onClose: (event: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
4
+ onSave: () => void;
5
+ children: ReactNode;
6
+ isUpdatingTags?: boolean;
7
+ };
8
+ export declare const EditTagsCard: React.ForwardRefExoticComponent<EditTagsCardProps & React.RefAttributes<HTMLDivElement>>;
9
+ export {};
@@ -0,0 +1,6 @@
1
+ import React, { type PropsWithChildren } from 'react';
2
+ export type EditTagsModalProps = PropsWithChildren<{
3
+ open: boolean;
4
+ onClose: (event: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
5
+ }>;
6
+ export declare const EditTagsModal: ({ open, onClose, children }: EditTagsModalProps) => React.JSX.Element;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  export type SearchTagsProps = {
3
3
  tags: string[];
4
- onAddTag: (tag: string) => void;
4
+ onAddTags: (tags: string[]) => void;
5
5
  };
6
- export declare const SearchTags: ({ tags, onAddTag }: SearchTagsProps) => React.JSX.Element;
6
+ export declare const SearchTags: ({ tags, onAddTags }: SearchTagsProps) => React.JSX.Element;
@@ -3,9 +3,10 @@ import { CheckboxProps } from '../Checkbox/Checkbox';
3
3
  export type FeatureCardHeaderProps = {
4
4
  header: string;
5
5
  subheader?: string;
6
- imageUrl?: string;
7
- selected?: boolean;
8
- onSelectChange?: CheckboxProps['onChange'];
9
- isLoading?: boolean;
6
+ imageProps?: {
7
+ url?: string;
8
+ isLoading?: boolean;
9
+ };
10
+ checkboxProps?: CheckboxProps;
10
11
  };
11
- export declare const FeatureCardHeader: ({ header, subheader, imageUrl, selected, onSelectChange, isLoading, }: FeatureCardHeaderProps) => React.JSX.Element;
12
+ export declare const FeatureCardHeader: ({ header, subheader, checkboxProps, imageProps }: FeatureCardHeaderProps) => React.JSX.Element;
@@ -67,6 +67,7 @@ export { default as Copy } from './Copy.svg';
67
67
  export { default as Credit } from './Credit.svg';
68
68
  export { default as Dashboard } from './Dashboard.svg';
69
69
  export { default as DataTransferVertical } from './DataTransferVertical.svg';
70
+ export { default as Delivery } from './Delivery.svg';
70
71
  export { default as DollarCoinCircleFilled } from './DollarCoinCircleFilled.svg';
71
72
  export { default as DottedLines } from './DottedLines.svg';
72
73
  export { default as Download } from './Download.svg';