dibk-design 10.3.4 → 10.3.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/dibk-design.css +1 -1
- package/dist/index.cjs.js +5 -5
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +12 -13
- package/dist/index.es.js +2269 -2309
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +5 -5
- package/dist/index.umd.js.map +1 -1
- package/package.json +13 -13
package/dist/index.d.ts
CHANGED
|
@@ -222,23 +222,21 @@ declare interface HeaderProps {
|
|
|
222
222
|
children?: default_2.ReactNode;
|
|
223
223
|
}
|
|
224
224
|
|
|
225
|
-
export declare const InfoBox: ({ title, children, variant, fullScreen,
|
|
225
|
+
export declare const InfoBox: ({ title, children, variant, fullScreen, noBorder, hideIcon, icon, }: InfoBoxProps) => JSX.Element;
|
|
226
226
|
|
|
227
227
|
declare interface InfoBoxProps {
|
|
228
|
-
title
|
|
228
|
+
title: string;
|
|
229
229
|
children?: default_2.ReactNode;
|
|
230
230
|
variant?: InfoBoxVariant;
|
|
231
231
|
fullScreen?: boolean;
|
|
232
|
-
isAlert?: boolean;
|
|
233
232
|
noBorder?: boolean;
|
|
234
233
|
hideIcon?: boolean;
|
|
235
234
|
icon?: default_2.ReactNode;
|
|
236
|
-
className?: string;
|
|
237
235
|
}
|
|
238
236
|
|
|
239
237
|
declare type InfoBoxVariant = "info" | "warning" | "error" | "tip" | "success";
|
|
240
238
|
|
|
241
|
-
export declare const InputField: ({ id, onChange, onBlur, onFocus, name, type, disabled, required, readOnly, width, value, defaultValue, elementKey, label,
|
|
239
|
+
export declare const InputField: ({ id, onChange, onBlur, onFocus, name, type, disabled, required, readOnly, width, value, defaultValue, elementKey, label, actionButtonColor, actionButtonContent, actionButtonIconLeft, actionButtonIconRight, actionButtonOnClick, actionButtonDisabled, actionButtonAriaLabel, selectedFileName, placeholder, min, max, role, "aria-describedby": ariaDescribedBy, "aria-autocomplete": ariaAutocomplete, hasErrors, errorMessage, noMargin, caption, }: InputFieldProps) => JSX.Element;
|
|
242
240
|
|
|
243
241
|
declare interface InputFieldProps {
|
|
244
242
|
id: string;
|
|
@@ -255,9 +253,8 @@ declare interface InputFieldProps {
|
|
|
255
253
|
defaultValue?: string | number | Date;
|
|
256
254
|
elementKey?: string;
|
|
257
255
|
label?: default_2.ReactNode;
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
actionButtonContent?: default_2.ReactNode;
|
|
256
|
+
actionButtonColor?: "primary" | "secondary";
|
|
257
|
+
actionButtonContent?: string;
|
|
261
258
|
actionButtonIconLeft?: default_2.ReactNode;
|
|
262
259
|
actionButtonIconRight?: default_2.ReactNode;
|
|
263
260
|
actionButtonOnClick?: (event: default_2.MouseEvent<HTMLButtonElement>) => void;
|
|
@@ -609,7 +606,7 @@ declare interface NavigationBarProps {
|
|
|
609
606
|
logoLinkTitle?: string;
|
|
610
607
|
openLogoLinkInNewTab?: boolean;
|
|
611
608
|
theme?: CustomThemeName;
|
|
612
|
-
color?: "
|
|
609
|
+
color?: "secondary" | "neutral";
|
|
613
610
|
children?: default_2.ReactNode;
|
|
614
611
|
}
|
|
615
612
|
|
|
@@ -690,8 +687,8 @@ declare interface RadioButtonListItemProps {
|
|
|
690
687
|
onChange?: (e: React.ChangeEvent<HTMLInputElement>) => void;
|
|
691
688
|
compact?: boolean;
|
|
692
689
|
hasErrors?: boolean;
|
|
693
|
-
|
|
694
|
-
|
|
690
|
+
"aria-controls"?: string;
|
|
691
|
+
"aria-describedby"?: string;
|
|
695
692
|
children?: React.ReactNode;
|
|
696
693
|
}
|
|
697
694
|
|
|
@@ -723,7 +720,9 @@ declare interface SelectPropsBase {
|
|
|
723
720
|
"aria-describedby"?: string;
|
|
724
721
|
hasErrors?: boolean;
|
|
725
722
|
errorMessage?: default_2.ReactNode;
|
|
726
|
-
|
|
723
|
+
backgroundColor?: string;
|
|
724
|
+
textColor?: string;
|
|
725
|
+
placeholderColor?: string;
|
|
727
726
|
}
|
|
728
727
|
|
|
729
728
|
declare interface SingleSelectProps extends SelectPropsBase {
|
|
@@ -753,7 +752,7 @@ declare interface StepProps {
|
|
|
753
752
|
direction?: "vertical" | "horizontal";
|
|
754
753
|
}
|
|
755
754
|
|
|
756
|
-
export declare const Table: <T extends object>({ columns, data, loading, loadingAriaLabel, getRowId, selectionType, selectionLabel, selectedRowId, onSelect, selectedRowIds, onSelectMany, onRowClick, pageSize, page, defaultPage, onPageChange, totalCount, totalPages: totalPagesProp,
|
|
755
|
+
export declare const Table: <T extends object>({ columns, data, loading, loadingAriaLabel, getRowId, selectionType, selectionLabel, selectedRowId, onSelect, selectedRowIds, onSelectMany, onRowClick, pageSize, page, defaultPage, onPageChange, totalCount, totalPages: totalPagesProp, }: TableProps<T>) => JSX.Element;
|
|
757
756
|
|
|
758
757
|
declare type TableColumn<T> = {
|
|
759
758
|
key: string;
|