@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.
@@ -3,4 +3,3 @@ import "./theme/fonts/OpenSans.css";
3
3
  import "./theme/fonts/NotoSans.css";
4
4
  import "./theme/fonts/Inter.css";
5
5
  export * from "./lib";
6
- export * from "./theme";
@@ -1,14 +1,14 @@
1
- import { ButtonHTMLAttributes, ReactNode } from "react";
1
+ import { ButtonHTMLAttributes } from "react";
2
2
  import "../../../src/theme/fonts/ProximaNova.css";
3
3
  export type UsersProps = {
4
- img?: string;
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: ReactNode;
11
+ label: JSX.Element;
12
12
  };
13
13
  export type MenuDropdownProps = ButtonHTMLAttributes<HTMLButtonElement> & {
14
14
  open?: boolean;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { MenuDropdownProps } from "./MenuDropdown";
3
2
  import { Story } from "@storybook/react";
4
3
  declare const MenuDropdownStories: {
@@ -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, ReactNode, ChangeEvent, LiHTMLAttributes } from 'react';
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?: string;
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: ReactNode;
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
- 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 };
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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prosperitainova/mirage-ui",
3
- "version": "1.1.79",
3
+ "version": "1.1.81",
4
4
  "private": false,
5
5
  "license": "MIT",
6
6
  "publishConfig": {