@shlinkio/shlink-frontend-kit 0.9.11 → 0.9.12
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/tailwind.d.ts +18 -1
- package/dist/tailwind.js +606 -510
- package/dist/tailwind.preset.css +1 -0
- package/package.json +1 -1
package/dist/tailwind.d.ts
CHANGED
|
@@ -30,6 +30,8 @@ export declare type BaseInputProps = {
|
|
|
30
30
|
|
|
31
31
|
declare type BaseInputProps_2 = Omit<SearchInputProps, 'role' | 'aria-autocomplete' | 'aria-expanded' | 'aria-controls' | 'aria-activedescendant' | 'onChange' | 'autoComplete' | 'autoCorrect'>;
|
|
32
32
|
|
|
33
|
+
export declare const BaseNavBar: FC<NavBarProps>;
|
|
34
|
+
|
|
33
35
|
declare type BooleanControlProps = Omit<HTMLProps<HTMLInputElement>, 'type' | 'onChange' | 'value' | 'defaultValue'> & {
|
|
34
36
|
onChange?: (checked: boolean, e: ChangeEvent<HTMLInputElement>) => void;
|
|
35
37
|
};
|
|
@@ -156,7 +158,7 @@ export declare type DropdownProps = PropsWithChildren<{
|
|
|
156
158
|
buttonContent: RequiredReactNode;
|
|
157
159
|
buttonSize?: Size;
|
|
158
160
|
buttonClassName?: string;
|
|
159
|
-
buttonVariant?: 'button' | 'link';
|
|
161
|
+
buttonVariant?: 'button' | 'link' | 'text';
|
|
160
162
|
buttonDisabled?: boolean;
|
|
161
163
|
/** Set as the button's `aria-label` attribute */
|
|
162
164
|
buttonLabel?: string;
|
|
@@ -169,6 +171,8 @@ export declare type DropdownProps = PropsWithChildren<{
|
|
|
169
171
|
* Defaults to 'left'.
|
|
170
172
|
*/
|
|
171
173
|
menuAlignment?: 'left' | 'right';
|
|
174
|
+
/** Distance between toggle button and menu when open, in pixels. Defaults to 3 */
|
|
175
|
+
menuOffset?: number;
|
|
172
176
|
/** Whether to hide the caret or not. Defaults to false */
|
|
173
177
|
caretless?: boolean;
|
|
174
178
|
}>;
|
|
@@ -197,6 +201,10 @@ export declare type InputProps = Omit<InputHTMLAttributes<HTMLInputElement>, 'si
|
|
|
197
201
|
borderless?: boolean;
|
|
198
202
|
};
|
|
199
203
|
|
|
204
|
+
declare type ItemProps = {
|
|
205
|
+
active?: boolean;
|
|
206
|
+
};
|
|
207
|
+
|
|
200
208
|
export declare const keyForPage: (pageNumber: NumberOrEllipsis, index: number) => string;
|
|
201
209
|
|
|
202
210
|
export declare const Label: FC<LabelProps>;
|
|
@@ -335,6 +343,15 @@ export declare type ModalDialogProps = HTMLProps<HTMLDialogElement> & {
|
|
|
335
343
|
onClose: () => void;
|
|
336
344
|
};
|
|
337
345
|
|
|
346
|
+
export declare const NavBar: FC<NavBarProps> & {
|
|
347
|
+
MenuItem: FC<LinkProps & ItemProps>;
|
|
348
|
+
Dropdown: FC<Omit<DropdownProps, "menuAlignment" | "buttonVariant" | "menuOffset"> & ItemProps>;
|
|
349
|
+
};
|
|
350
|
+
|
|
351
|
+
export declare type NavBarProps = HTMLProps<HTMLElement> & {
|
|
352
|
+
brand: RequiredReactNode;
|
|
353
|
+
};
|
|
354
|
+
|
|
338
355
|
export declare const NavPills: FC<NavPillsProps> & {
|
|
339
356
|
Pill: FC<LinkProps>;
|
|
340
357
|
};
|