@prosperitainova/mirage-ui 1.1.79 → 1.1.81
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/cjs/index.js +4 -4
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/index.d.ts +0 -1
- package/dist/cjs/types/lib/MenuDropdown/MenuDropdown.d.ts +3 -3
- package/dist/cjs/types/lib/MenuDropdown/MenuDropdown.stories.d.ts +0 -1
- package/dist/cjs/types/lib/index.d.ts +1 -0
- package/dist/esm/index.js +3 -3
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/index.d.ts +0 -1
- package/dist/esm/types/lib/MenuDropdown/MenuDropdown.d.ts +3 -3
- package/dist/esm/types/lib/MenuDropdown/MenuDropdown.stories.d.ts +0 -1
- package/dist/esm/types/lib/index.d.ts +1 -0
- package/dist/index.d.ts +66 -4
- package/package.json +1 -1
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { ButtonHTMLAttributes
|
|
1
|
+
import { ButtonHTMLAttributes } from "react";
|
|
2
2
|
import "../../../src/theme/fonts/ProximaNova.css";
|
|
3
3
|
export type UsersProps = {
|
|
4
|
-
img?:
|
|
4
|
+
img?: JSX.Element;
|
|
5
5
|
text: string;
|
|
6
6
|
label: string;
|
|
7
7
|
changeUser?: (index?: number) => void;
|
|
8
8
|
};
|
|
9
9
|
export type BottonButtonProps = {
|
|
10
10
|
onBottomButtonClick: () => void;
|
|
11
|
-
label:
|
|
11
|
+
label: JSX.Element;
|
|
12
12
|
};
|
|
13
13
|
export type MenuDropdownProps = ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
14
14
|
open?: boolean;
|
|
@@ -35,3 +35,4 @@ export { default as Tooltip } from "./TooltTip";
|
|
|
35
35
|
export { default as TooltipCustom } from "./TooltipCustom";
|
|
36
36
|
export { default as NotControlledToolTip } from "./NotControlledTooltip";
|
|
37
37
|
export { default as BottomModal } from "./BottomModal";
|
|
38
|
+
export { default as UITheme } from "../theme";
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import React, { ButtonHTMLAttributes, InputHTMLAttributes, TextareaHTMLAttributes, HTMLAttributes,
|
|
2
|
+
import React, { ButtonHTMLAttributes, InputHTMLAttributes, TextareaHTMLAttributes, HTMLAttributes, ChangeEvent, LiHTMLAttributes } from 'react';
|
|
3
3
|
import { DropzoneProps as DropzoneProps$1 } from 'react-dropzone';
|
|
4
4
|
import { Props } from 'react-select';
|
|
5
5
|
import { TooltipProps, UncontrolledTooltipProps } from 'reactstrap';
|
|
@@ -126,14 +126,14 @@ type ModalProps$1 = HTMLAttributes<HTMLDivElement> & {
|
|
|
126
126
|
declare const lateralModal: (props: ModalProps$1) => JSX.Element;
|
|
127
127
|
|
|
128
128
|
type UsersProps = {
|
|
129
|
-
img?:
|
|
129
|
+
img?: JSX.Element;
|
|
130
130
|
text: string;
|
|
131
131
|
label: string;
|
|
132
132
|
changeUser?: (index?: number) => void;
|
|
133
133
|
};
|
|
134
134
|
type BottonButtonProps = {
|
|
135
135
|
onBottomButtonClick: () => void;
|
|
136
|
-
label:
|
|
136
|
+
label: JSX.Element;
|
|
137
137
|
};
|
|
138
138
|
type MenuDropdownProps = ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
139
139
|
open?: boolean;
|
|
@@ -449,5 +449,67 @@ type ModalProps = HTMLAttributes<HTMLDivElement> & {
|
|
|
449
449
|
};
|
|
450
450
|
declare const BottomModal: (props: ModalProps) => JSX.Element;
|
|
451
451
|
|
|
452
|
-
|
|
452
|
+
type AppTheme = {
|
|
453
|
+
colors: Colors;
|
|
454
|
+
fonts: Fonts;
|
|
455
|
+
};
|
|
456
|
+
type Fonts = {
|
|
457
|
+
titles: Titles;
|
|
458
|
+
dialog: Dialog;
|
|
459
|
+
headline: Dialog;
|
|
460
|
+
card: Dialog;
|
|
461
|
+
tableHead: Dialog;
|
|
462
|
+
table: Dialog;
|
|
463
|
+
input: Dialog;
|
|
464
|
+
contentbody: Dialog;
|
|
465
|
+
contentmodal: Dialog;
|
|
466
|
+
complementarytext: Dialog;
|
|
467
|
+
};
|
|
468
|
+
type Dialog = {
|
|
469
|
+
family: string;
|
|
470
|
+
color: string;
|
|
471
|
+
weigth: string;
|
|
472
|
+
size: string;
|
|
473
|
+
lineheight: string;
|
|
474
|
+
};
|
|
475
|
+
type Titles = {
|
|
476
|
+
family: string;
|
|
477
|
+
color: string;
|
|
478
|
+
weigth: Weigth;
|
|
479
|
+
size: Weigth;
|
|
480
|
+
lineheight: Weigth;
|
|
481
|
+
};
|
|
482
|
+
type Weigth = {
|
|
483
|
+
h2: string;
|
|
484
|
+
h3: string;
|
|
485
|
+
h4: string;
|
|
486
|
+
h5: string;
|
|
487
|
+
h6: string;
|
|
488
|
+
};
|
|
489
|
+
type Colors = {
|
|
490
|
+
primary: colortype;
|
|
491
|
+
secondary: colortype;
|
|
492
|
+
base: colortype;
|
|
493
|
+
success: colortype;
|
|
494
|
+
info: colortype;
|
|
495
|
+
warning: colortype;
|
|
496
|
+
error: colortype;
|
|
497
|
+
};
|
|
498
|
+
type colortype = {
|
|
499
|
+
main: string;
|
|
500
|
+
light100: string;
|
|
501
|
+
light200: string;
|
|
502
|
+
light300: string;
|
|
503
|
+
light400: string;
|
|
504
|
+
light500: string;
|
|
505
|
+
dark100: string;
|
|
506
|
+
dark200: string;
|
|
507
|
+
dark300: string;
|
|
508
|
+
dark400: string;
|
|
509
|
+
dark500: string;
|
|
510
|
+
};
|
|
511
|
+
|
|
512
|
+
declare const UITheme: AppTheme;
|
|
513
|
+
|
|
514
|
+
export { AddBalanceOutput, BalanceAlert, BottomModal, Breadcrumb, Button, ButtonDropdown, ButtonMoreDetails, Checkbox, CustomSelect, Dropzone, IconWithTooltip, Input, InputCurrency, InputToken, InteractiveModal, lateralModal as LateralModal, Margin, MenuDropdown as Menudropdown, NotcontrolledTooltip as NotControlledToolTip, NotificationBar as NotificationsBar, Padding, Pagination, ParcelSelector, ProgressBar, Radio, RadioGroup, ReturnButton, Search, SideBar, Spacer, SummaryPanel, TabMenu, Table, Toast, Toggle, Tooltip, TooltipCustom, UITheme };
|
|
453
515
|
//# sourceMappingURL=index.d.ts.map
|