pge-front-common 4.0.0 → 4.0.2

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/README.md CHANGED
@@ -63,18 +63,14 @@ O Storybook estará disponível em http://localhost:6006.
63
63
 
64
64
  ## Template Pull Request
65
65
 
66
- # Qual é a Feature ou Bug?
66
+ # Qual é a Feature ou Bug
67
67
 
68
- # Como foi implementada a solução?
68
+ # Como foi implementada a solução
69
69
 
70
+ # Isso pode impactar outra parte do projeto
70
71
 
71
- # Isso pode impactar outra parte do projeto?
72
+ # O que é esperado após esta implementaçã
72
73
 
74
+ # Existem alterações na UI/UX? (screenshots, gravações de tela
73
75
 
74
- # O que é esperado após esta implementação
75
-
76
-
77
- # Existem alterações na UI/UX? (screenshots, gravações de tela)
78
-
79
-
80
- # Como reproduzir esta feature/correção?
76
+ # Como reproduzir esta feature/correção?
package/lib/index.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  import React$1, { ButtonHTMLAttributes, SVGProps } from 'react';
2
+ import { DefaultTheme } from 'styled-components';
2
3
 
3
4
  interface ButtonProps extends ButtonHTMLAttributes<HTMLButtonElement> {
4
5
  variant: "primary" | "secondary";
@@ -60,6 +61,8 @@ type OptionsProps = {
60
61
 
61
62
  declare const Dropdown: React$1.FC<Partial<DropdownProps>>;
62
63
 
64
+ declare const theme: DefaultTheme;
65
+
63
66
  declare const IconDownload: (props?: SVGProps<SVGSVGElement>) => React$1.JSX.Element;
64
67
 
65
68
  declare const IconVisibillity: (props?: SVGProps<SVGSVGElement>) => React$1.JSX.Element;
@@ -106,4 +109,4 @@ declare const IconSwap: (props?: SVGProps<SVGSVGElement>) => React$1.JSX.Element
106
109
 
107
110
  declare const IconAddCell: (props?: SVGProps<SVGSVGElement>) => React$1.JSX.Element;
108
111
 
109
- export { Button, type ButtonProps, Dropdown, type DropdownProps, IconAdd, IconAddCell, IconArrowExpland, IconArrowRecall, IconCLose, IconCalendar, IconCheckCircle, IconCircleExpland, IconCircleRecall, IconDelete, IconDownload, IconEdit, IconEventAvaliable, IconLogout, IconNewTab, IconProfile, IconRemove, IconSwap, IconTriangleExpand, IconTriangleRecall, IconUpload, IconVisibillity, IconWarning, InputBase, type InputBaseProps, Modal, ModalConfirm, type ModalConfirmProps, type ModalProps, type OptionsProps };
112
+ export { Button, type ButtonProps, Dropdown, type DropdownProps, IconAdd, IconAddCell, IconArrowExpland, IconArrowRecall, IconCLose, IconCalendar, IconCheckCircle, IconCircleExpland, IconCircleRecall, IconDelete, IconDownload, IconEdit, IconEventAvaliable, IconLogout, IconNewTab, IconProfile, IconRemove, IconSwap, IconTriangleExpand, IconTriangleRecall, IconUpload, IconVisibillity, IconWarning, InputBase, type InputBaseProps, Modal, ModalConfirm, type ModalConfirmProps, type ModalProps, type OptionsProps, theme };
package/lib/index.esm.js CHANGED
@@ -955,12 +955,12 @@ var SecondaryButton = ct(templateObject_3$3 || (templateObject_3$3 = __makeTempl
955
955
  var templateObject_1$5, templateObject_2$3, templateObject_3$3;
956
956
 
957
957
  var StyledButton = pt(BaseButton)(templateObject_1$4 || (templateObject_1$4 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), function (_a) {
958
- var variant = _a.variant;
959
- return variant === "primary" ? PrimaryButton : SecondaryButton;
958
+ var $variant = _a.$variant;
959
+ return $variant === "primary" ? PrimaryButton : SecondaryButton;
960
960
  });
961
961
  function Button(_a) {
962
962
  var variant = _a.variant, _b = _a.text, text = _b === void 0 ? "" : _b, leftIcon = _a.leftIcon, props = __rest(_a, ["variant", "text", "leftIcon"]);
963
- return (React__default.createElement(StyledButton, __assign({ variant: variant }, props),
963
+ return (React__default.createElement(StyledButton, __assign({ "$variant": variant }, props),
964
964
  leftIcon,
965
965
  text));
966
966
  }
@@ -3317,5 +3317,5 @@ var Dropdown = function (_a) {
3317
3317
  !hasError && message && React__default.createElement(Message, null, message)));
3318
3318
  };
3319
3319
 
3320
- export { Button, Dropdown, IconAdd, IconAddCell, IconArrowExpland, IconArrowRecall, IconCLose, IconCalendar, IconCheckCircle, IconCircleExpland, IconCircleRecall, IconDelete, IconDownload, IconEdit, IconEventAvaliable, IconLogout, IconNewTab, IconProfile, IconRemove, IconSwap, IconTriangleExpand, IconTriangleRecall, IconUpload, IconVisibillity, IconWarning, InputBase, Modal, ModalConfirm };
3320
+ export { Button, Dropdown, IconAdd, IconAddCell, IconArrowExpland, IconArrowRecall, IconCLose, IconCalendar, IconCheckCircle, IconCircleExpland, IconCircleRecall, IconDelete, IconDownload, IconEdit, IconEventAvaliable, IconLogout, IconNewTab, IconProfile, IconRemove, IconSwap, IconTriangleExpand, IconTriangleRecall, IconUpload, IconVisibillity, IconWarning, InputBase, Modal, ModalConfirm, theme };
3321
3321
  //# sourceMappingURL=index.esm.js.map