dibk-design 9.3.6 → 9.4.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.
- package/dist/dibk-design.css +1 -1
- package/dist/index.cjs.js +6 -6
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +4 -2
- package/dist/index.es.js +1100 -1060
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +6 -6
- package/dist/index.umd.js.map +1 -1
- package/package.json +67 -1
package/dist/index.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ import { default as default_2 } from 'react';
|
|
|
3
3
|
import { JSX } from 'react/jsx-runtime';
|
|
4
4
|
import { JSX as JSX_2 } from 'react';
|
|
5
5
|
import { ReactNode } from 'react';
|
|
6
|
+
import { ReactPortal } from 'react';
|
|
6
7
|
|
|
7
8
|
export declare const Accordion: ({ title, color, expanded: expandedProp, onToggleExpand, buttonProps, noMargin, initialized: initializedProp, children, ...rest }: AccordionProps) => JSX.Element;
|
|
8
9
|
|
|
@@ -155,7 +156,7 @@ declare interface DescriptionTermProps {
|
|
|
155
156
|
children?: default_2.ReactNode;
|
|
156
157
|
}
|
|
157
158
|
|
|
158
|
-
export declare const Dialog: ({ maxWidth, noPadding, closeButton, onClickOutside, modal, attachTo, hidden, children, }: DialogProps) =>
|
|
159
|
+
export declare const Dialog: ({ maxWidth, noPadding, closeButton, onClickOutside, modal, attachTo, hidden, children, }: DialogProps) => ReactPortal | null;
|
|
159
160
|
|
|
160
161
|
declare interface DialogProps {
|
|
161
162
|
maxWidth?: string;
|
|
@@ -229,12 +230,13 @@ declare interface InfoBoxProps {
|
|
|
229
230
|
children?: default_2.ReactNode;
|
|
230
231
|
}
|
|
231
232
|
|
|
232
|
-
export declare const InputField: ({ id, onChange, onBlur, name, type, disabled, required, readOnly, width, value, defaultValue, elementKey, label, contentOnly, buttonColor, buttonContent, selectedFileName, placeholder, defaultContent, min, max, role, "aria-describedby": ariaDescribedBy, "aria-autocomplete": ariaAutocomplete, hasErrors, errorMessage, noMargin, }: InputFieldProps) => JSX.Element;
|
|
233
|
+
export declare const InputField: ({ id, onChange, onBlur, onFocus, name, type, disabled, required, readOnly, width, value, defaultValue, elementKey, label, contentOnly, buttonColor, buttonContent, selectedFileName, placeholder, defaultContent, min, max, role, "aria-describedby": ariaDescribedBy, "aria-autocomplete": ariaAutocomplete, hasErrors, errorMessage, noMargin, }: InputFieldProps) => JSX.Element;
|
|
233
234
|
|
|
234
235
|
declare interface InputFieldProps {
|
|
235
236
|
id: string;
|
|
236
237
|
onChange?: (e: default_2.ChangeEvent<HTMLInputElement>) => void;
|
|
237
238
|
onBlur?: (e: default_2.FocusEvent<HTMLInputElement>) => void;
|
|
239
|
+
onFocus?: (e: default_2.FocusEvent<HTMLInputElement>) => void;
|
|
238
240
|
name?: string;
|
|
239
241
|
type?: string;
|
|
240
242
|
disabled?: boolean;
|