@pedidopago/ui 1.3.26 → 1.3.27
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 +93 -93
- package/dist/components/Button/Button.test.js +4 -31
- package/dist/components/Button/index.d.ts +1 -1
- package/dist/components/Button/index.d.ts.map +1 -1
- package/dist/components/Button/index.js +25 -36
- package/dist/components/Button/types.d.ts +0 -9
- package/dist/components/Button/types.d.ts.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,93 +1,93 @@
|
|
|
1
|
-
<h1 align="center">
|
|
2
|
-
<img src="https://user-images.githubusercontent.com/75874462/145101826-9244932f-7072-4727-9124-8c26620ad786.png" alt="Logo"/>
|
|
3
|
-
<br/>
|
|
4
|
-
</h1>
|
|
5
|
-
|
|
6
|
-
<div align="center">
|
|
7
|
-
<img src="https://img.shields.io/badge/React-v17.0.2-1DD195?style=for-the-badge&logo=react&link=http://google.com" />
|
|
8
|
-
<img src="https://img.shields.io/badge/Emotion-v11.3.0-1DD195?style=for-the-badge&logo=styled-components" />
|
|
9
|
-
<img src="https://img.shields.io/badge/Storybook-v6.3.7-1DD195?style=for-the-badge&logo=storybook" />
|
|
10
|
-
<img src="https://img.shields.io/badge/React Testing Library-v11.1.0-1DD195?style=for-the-badge&logo=testinglibrary" />
|
|
11
|
-
<img src="https://img.shields.io/badge/FrameMotion-v4.1.17-1DD195?style=for-the-badge&logo=framer" />
|
|
12
|
-
<img src="https://img.shields.io/badge/Typescript-v4.3.5-1DD195?style=for-the-badge&logo=typescript" />
|
|
13
|
-
</div>
|
|
14
|
-
|
|
15
|
-
<p align="center">
|
|
16
|
-
<a href="#iniciar-">Iniciar </a> |
|
|
17
|
-
<a href="#estrutura-de-codigo-">Estrutura de codigo </a> |
|
|
18
|
-
<a href="#roadmap-">Roadmap </a> |
|
|
19
|
-
<a href="#contribuir-">Contribuir </a>
|
|
20
|
-
</p>
|
|
21
|
-
|
|
22
|
-
## Iniciar 🚀
|
|
23
|
-
|
|
24
|
-
### Requisitos:
|
|
25
|
-
- [Nodejs](https://github.com/nodejs/node)
|
|
26
|
-
- [Yarn](https://github.com/yarnpkg/yarn)
|
|
27
|
-
|
|
28
|
-
### Instalação:
|
|
29
|
-
|
|
30
|
-
1. Clone o Repositorio
|
|
31
|
-
|
|
32
|
-
``` bash
|
|
33
|
-
git clone git@github.com:pedidopago/pedidopago-ui.git
|
|
34
|
-
```
|
|
35
|
-
|
|
36
|
-
2. Instalar as dependencias:
|
|
37
|
-
|
|
38
|
-
```bash
|
|
39
|
-
yarn
|
|
40
|
-
```
|
|
41
|
-
|
|
42
|
-
### Executar o projeto localmente:
|
|
43
|
-
|
|
44
|
-
Iniciar o projeto com o storybook:
|
|
45
|
-
|
|
46
|
-
```bash
|
|
47
|
-
yarn storybook
|
|
48
|
-
```
|
|
49
|
-
|
|
50
|
-
Para executar os testes use o script:
|
|
51
|
-
|
|
52
|
-
```bash
|
|
53
|
-
yarn test
|
|
54
|
-
```
|
|
55
|
-
|
|
56
|
-
> Para mais detalhes dos scripts considere consultar o package.json na raiz do projeto.
|
|
57
|
-
|
|
58
|
-
#### 📌 Ira precisar tambem das variaveis de ambiente `CHROMATIC_PROJECT_TOKEN` e `SKIP_PREFLIGHT_CHECK`.
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
## Estrutura de codigo
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
> Ao entrar no projeto sempre entre em `packages/pedidopago-ui` para trabalhar/executar os scripts
|
|
66
|
-
|
|
67
|
-
## Roadmap 🌐
|
|
68
|
-
|
|
69
|
-
- [ ] Mudar a estrutura de pastas
|
|
70
|
-
|
|
71
|
-
- [ ] Sessão de novos componentes
|
|
72
|
-
|
|
73
|
-
- [ ] Atualização de pacotes
|
|
74
|
-
|
|
75
|
-
- [ ] Incrementação dos testes
|
|
76
|
-
|
|
77
|
-
- [ ] Melhorias na documentação
|
|
78
|
-
|
|
79
|
-
- [ ] Adicionar license
|
|
80
|
-
|
|
81
|
-
## Contribuir 💡
|
|
82
|
-
|
|
83
|
-
1. Crie uma branch apartir da **`dev`** com o prefixo **`lib`-[número da issue]-[nome da issue]**.
|
|
84
|
-
exemplo:
|
|
85
|
-
```bash
|
|
86
|
-
git checkout -b lib-99-buttom
|
|
87
|
-
```
|
|
88
|
-
2. Desenvolver
|
|
89
|
-
|
|
90
|
-
3. Criar a pull request
|
|
91
|
-
- Número da issue no inicio da pr.
|
|
92
|
-
- Descritivo com pontos importantes do que foi feito.
|
|
93
|
-
- Print dos tests no terminal e video de apresentação que pode ser feito via [loom](https://www.loom.com/).
|
|
1
|
+
<h1 align="center">
|
|
2
|
+
<img src="https://user-images.githubusercontent.com/75874462/145101826-9244932f-7072-4727-9124-8c26620ad786.png" alt="Logo"/>
|
|
3
|
+
<br/>
|
|
4
|
+
</h1>
|
|
5
|
+
|
|
6
|
+
<div align="center">
|
|
7
|
+
<img src="https://img.shields.io/badge/React-v17.0.2-1DD195?style=for-the-badge&logo=react&link=http://google.com" />
|
|
8
|
+
<img src="https://img.shields.io/badge/Emotion-v11.3.0-1DD195?style=for-the-badge&logo=styled-components" />
|
|
9
|
+
<img src="https://img.shields.io/badge/Storybook-v6.3.7-1DD195?style=for-the-badge&logo=storybook" />
|
|
10
|
+
<img src="https://img.shields.io/badge/React Testing Library-v11.1.0-1DD195?style=for-the-badge&logo=testinglibrary" />
|
|
11
|
+
<img src="https://img.shields.io/badge/FrameMotion-v4.1.17-1DD195?style=for-the-badge&logo=framer" />
|
|
12
|
+
<img src="https://img.shields.io/badge/Typescript-v4.3.5-1DD195?style=for-the-badge&logo=typescript" />
|
|
13
|
+
</div>
|
|
14
|
+
|
|
15
|
+
<p align="center">
|
|
16
|
+
<a href="#iniciar-">Iniciar </a> |
|
|
17
|
+
<a href="#estrutura-de-codigo-">Estrutura de codigo </a> |
|
|
18
|
+
<a href="#roadmap-">Roadmap </a> |
|
|
19
|
+
<a href="#contribuir-">Contribuir </a>
|
|
20
|
+
</p>
|
|
21
|
+
|
|
22
|
+
## Iniciar 🚀
|
|
23
|
+
|
|
24
|
+
### Requisitos:
|
|
25
|
+
- [Nodejs](https://github.com/nodejs/node)
|
|
26
|
+
- [Yarn](https://github.com/yarnpkg/yarn)
|
|
27
|
+
|
|
28
|
+
### Instalação:
|
|
29
|
+
|
|
30
|
+
1. Clone o Repositorio
|
|
31
|
+
|
|
32
|
+
``` bash
|
|
33
|
+
git clone git@github.com:pedidopago/pedidopago-ui.git
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
2. Instalar as dependencias:
|
|
37
|
+
|
|
38
|
+
```bash
|
|
39
|
+
yarn
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
### Executar o projeto localmente:
|
|
43
|
+
|
|
44
|
+
Iniciar o projeto com o storybook:
|
|
45
|
+
|
|
46
|
+
```bash
|
|
47
|
+
yarn storybook
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
Para executar os testes use o script:
|
|
51
|
+
|
|
52
|
+
```bash
|
|
53
|
+
yarn test
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
> Para mais detalhes dos scripts considere consultar o package.json na raiz do projeto.
|
|
57
|
+
|
|
58
|
+
#### 📌 Ira precisar tambem das variaveis de ambiente `CHROMATIC_PROJECT_TOKEN` e `SKIP_PREFLIGHT_CHECK`.
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
## Estrutura de codigo
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
> Ao entrar no projeto sempre entre em `packages/pedidopago-ui` para trabalhar/executar os scripts
|
|
66
|
+
|
|
67
|
+
## Roadmap 🌐
|
|
68
|
+
|
|
69
|
+
- [ ] Mudar a estrutura de pastas
|
|
70
|
+
|
|
71
|
+
- [ ] Sessão de novos componentes
|
|
72
|
+
|
|
73
|
+
- [ ] Atualização de pacotes
|
|
74
|
+
|
|
75
|
+
- [ ] Incrementação dos testes
|
|
76
|
+
|
|
77
|
+
- [ ] Melhorias na documentação
|
|
78
|
+
|
|
79
|
+
- [ ] Adicionar license
|
|
80
|
+
|
|
81
|
+
## Contribuir 💡
|
|
82
|
+
|
|
83
|
+
1. Crie uma branch apartir da **`dev`** com o prefixo **`lib`-[número da issue]-[nome da issue]**.
|
|
84
|
+
exemplo:
|
|
85
|
+
```bash
|
|
86
|
+
git checkout -b lib-99-buttom
|
|
87
|
+
```
|
|
88
|
+
2. Desenvolver
|
|
89
|
+
|
|
90
|
+
3. Criar a pull request
|
|
91
|
+
- Número da issue no inicio da pr.
|
|
92
|
+
- Descritivo com pontos importantes do que foi feito.
|
|
93
|
+
- Print dos tests no terminal e video de apresentação que pode ser feito via [loom](https://www.loom.com/).
|
|
@@ -12,10 +12,6 @@ var _jsxRuntime = require("react/jsx-runtime");
|
|
|
12
12
|
|
|
13
13
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
14
14
|
|
|
15
|
-
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
|
|
16
|
-
|
|
17
|
-
function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
|
|
18
|
-
|
|
19
15
|
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
20
16
|
|
|
21
17
|
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
@@ -69,29 +65,6 @@ describe('Button', function () {
|
|
|
69
65
|
|
|
70
66
|
expect(handleClick).toHaveBeenCalledTimes(1);
|
|
71
67
|
});
|
|
72
|
-
it('should render a loading button', /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
|
|
73
|
-
var _setup2, getSkeleton;
|
|
74
|
-
|
|
75
|
-
return regeneratorRuntime.wrap(function _callee$(_context) {
|
|
76
|
-
while (1) {
|
|
77
|
-
switch (_context.prev = _context.next) {
|
|
78
|
-
case 0:
|
|
79
|
-
(0, _testUtils.render)( /*#__PURE__*/(0, _jsxRuntime.jsx)(_.default, {
|
|
80
|
-
variant: "solid",
|
|
81
|
-
children: "Click Me"
|
|
82
|
-
}));
|
|
83
|
-
_setup2 = setup({
|
|
84
|
-
isLoading: true
|
|
85
|
-
}), getSkeleton = _setup2.getSkeleton;
|
|
86
|
-
expect(getSkeleton()).toBeInTheDocument();
|
|
87
|
-
|
|
88
|
-
case 3:
|
|
89
|
-
case "end":
|
|
90
|
-
return _context.stop();
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
}, _callee);
|
|
94
|
-
})));
|
|
95
68
|
it('should render a disabled button', function () {
|
|
96
69
|
var handleClick = jest.fn();
|
|
97
70
|
(0, _testUtils.render)( /*#__PURE__*/(0, _jsxRuntime.jsx)(_.default, {
|
|
@@ -168,10 +141,10 @@ describe('Button', function () {
|
|
|
168
141
|
children: "Click Me"
|
|
169
142
|
}));
|
|
170
143
|
|
|
171
|
-
var
|
|
144
|
+
var _setup2 = setup({
|
|
172
145
|
leftIcon: 'airplay'
|
|
173
146
|
}),
|
|
174
|
-
getLeftIcon =
|
|
147
|
+
getLeftIcon = _setup2.getLeftIcon;
|
|
175
148
|
|
|
176
149
|
expect(getLeftIcon()).toBeInTheDocument();
|
|
177
150
|
});
|
|
@@ -182,10 +155,10 @@ describe('Button', function () {
|
|
|
182
155
|
children: "Click Me"
|
|
183
156
|
}));
|
|
184
157
|
|
|
185
|
-
var
|
|
158
|
+
var _setup3 = setup({
|
|
186
159
|
rightIcon: 'airplay'
|
|
187
160
|
}),
|
|
188
|
-
getRightIcon =
|
|
161
|
+
getRightIcon = _setup3.getRightIcon;
|
|
189
162
|
|
|
190
163
|
expect(getRightIcon()).toBeInTheDocument();
|
|
191
164
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { ButtonHTMLAttributes } from 'react';
|
|
2
2
|
import { ButtonProps } from './types';
|
|
3
|
-
export default function Button({ children, leftIcon, rightIcon,
|
|
3
|
+
export default function Button({ children, leftIcon, rightIcon, variant, bgColor, size, fullWidth, textColor, type, iconColor, ...props }: ButtonProps & ButtonHTMLAttributes<HTMLButtonElement>): JSX.Element;
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Button/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Button/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,OAAO,CAAC;AAK7C,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAEtC,MAAM,CAAC,OAAO,UAAU,MAAM,CAAC,EAC7B,QAAQ,EACR,QAAQ,EACR,SAAS,EACT,OAAiB,EACjB,OAAY,EACZ,IAAW,EACX,SAAS,EACT,SAAc,EACd,IAAe,EACf,SAAc,EACd,GAAG,KAAK,EACT,EAAE,WAAW,GAAG,oBAAoB,CAAC,iBAAiB,CAAC,eA0DvD"}
|
|
@@ -5,21 +5,17 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.default = Button;
|
|
7
7
|
|
|
8
|
-
var _react = require("react");
|
|
9
|
-
|
|
10
8
|
var _index = require("../../shared/theme/index");
|
|
11
9
|
|
|
12
10
|
var _getColorValue = require("../../utils/getColorValue");
|
|
13
11
|
|
|
14
12
|
var _Icon = _interopRequireDefault(require("../Icon"));
|
|
15
13
|
|
|
16
|
-
var _Skeleton = _interopRequireDefault(require("../Skeleton"));
|
|
17
|
-
|
|
18
14
|
var _styles = require("./styles");
|
|
19
15
|
|
|
20
16
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
21
17
|
|
|
22
|
-
var _excluded = ["children", "leftIcon", "rightIcon", "
|
|
18
|
+
var _excluded = ["children", "leftIcon", "rightIcon", "variant", "bgColor", "size", "fullWidth", "textColor", "type", "iconColor"];
|
|
23
19
|
|
|
24
20
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
25
21
|
|
|
@@ -37,7 +33,6 @@ function Button(_ref) {
|
|
|
37
33
|
var children = _ref.children,
|
|
38
34
|
leftIcon = _ref.leftIcon,
|
|
39
35
|
rightIcon = _ref.rightIcon,
|
|
40
|
-
isLoading = _ref.isLoading,
|
|
41
36
|
_ref$variant = _ref.variant,
|
|
42
37
|
variant = _ref$variant === void 0 ? 'solid' : _ref$variant,
|
|
43
38
|
_ref$bgColor = _ref.bgColor,
|
|
@@ -79,36 +74,30 @@ function Button(_ref) {
|
|
|
79
74
|
parsedIconColor = (0, _getColorValue.getThemeHex)(parsedIconColor, theme);
|
|
80
75
|
}
|
|
81
76
|
|
|
82
|
-
return /*#__PURE__*/(0, _jsxRuntime.jsx)(
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
name: rightIcon,
|
|
105
|
-
color: parsedIconColor,
|
|
106
|
-
size: iconSize,
|
|
107
|
-
"data-testid": "rightIconId"
|
|
108
|
-
})
|
|
109
|
-
})]
|
|
77
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.ButtonContainer, _objectSpread(_objectSpread({
|
|
78
|
+
bgColor: parsedBgColor,
|
|
79
|
+
textColor: parsedTextColor,
|
|
80
|
+
fullWidth: fullWidth,
|
|
81
|
+
variant: variant,
|
|
82
|
+
size: size,
|
|
83
|
+
type: type
|
|
84
|
+
}, props), {}, {
|
|
85
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_styles.IconContainer, {
|
|
86
|
+
children: [leftIcon && /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.IconWrapper, {
|
|
87
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_Icon.default, {
|
|
88
|
+
color: parsedIconColor,
|
|
89
|
+
name: leftIcon,
|
|
90
|
+
size: iconSize,
|
|
91
|
+
"data-testid": "leftIconId"
|
|
92
|
+
})
|
|
93
|
+
}), children, !leftIcon && rightIcon && /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.IconWrapper, {
|
|
94
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_Icon.default, {
|
|
95
|
+
name: rightIcon,
|
|
96
|
+
color: parsedIconColor,
|
|
97
|
+
size: iconSize,
|
|
98
|
+
"data-testid": "rightIconId"
|
|
110
99
|
})
|
|
111
|
-
})
|
|
100
|
+
})]
|
|
112
101
|
})
|
|
113
|
-
});
|
|
102
|
+
}));
|
|
114
103
|
}
|
|
@@ -40,15 +40,6 @@ export interface ButtonProps {
|
|
|
40
40
|
* @memberof ButtonProps
|
|
41
41
|
*/
|
|
42
42
|
rightIcon?: IconName;
|
|
43
|
-
/**
|
|
44
|
-
* The button rendered changes to a LoadingButton component
|
|
45
|
-
*
|
|
46
|
-
* @default false
|
|
47
|
-
* @type boolean
|
|
48
|
-
* @memberof ButtonProps
|
|
49
|
-
* @example true
|
|
50
|
-
*/
|
|
51
|
-
isLoading?: boolean;
|
|
52
43
|
/**
|
|
53
44
|
* The button height changes based on the string passed to this prop
|
|
54
45
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/Button/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAEvD,aAAK,aAAa,GAAG,SAAS,GAAG,OAAO,GAAG,OAAO,GAAG,MAAM,CAAC;AAC5D,aAAK,WAAW,GAAG,iBAAiB,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,CAAC;AACrD,aAAK,iBAAiB,CAAC,CAAC,GAAG,GAAG,IAAI;IAChC,IAAI,CAAC,EAAE,CAAC,CAAC;IACT,EAAE,CAAC,EAAE,CAAC,CAAC;IACP,EAAE,CAAC,EAAE,CAAC,CAAC;IACP,EAAE,CAAC,EAAE,CAAC,CAAC;IACP,EAAE,CAAC,EAAE,CAAC,CAAC;IACP,GAAG,CAAC,EAAE,CAAC,CAAC;CACT,CAAC;AACF,aAAK,WAAW,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAEpD,MAAM,WAAW,WAAW;IAC1B;;;;;;;OAOG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB;;;;;;;OAOG;IACH,QAAQ,CAAC,EAAE,QAAQ,CAAC;IAEpB;;;;;;;;OAQG;IACH,SAAS,CAAC,EAAE,QAAQ,CAAC;IAErB;;;;;;;OAOG;IACH,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/Button/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAEvD,aAAK,aAAa,GAAG,SAAS,GAAG,OAAO,GAAG,OAAO,GAAG,MAAM,CAAC;AAC5D,aAAK,WAAW,GAAG,iBAAiB,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,CAAC;AACrD,aAAK,iBAAiB,CAAC,CAAC,GAAG,GAAG,IAAI;IAChC,IAAI,CAAC,EAAE,CAAC,CAAC;IACT,EAAE,CAAC,EAAE,CAAC,CAAC;IACP,EAAE,CAAC,EAAE,CAAC,CAAC;IACP,EAAE,CAAC,EAAE,CAAC,CAAC;IACP,EAAE,CAAC,EAAE,CAAC,CAAC;IACP,GAAG,CAAC,EAAE,CAAC,CAAC;CACT,CAAC;AACF,aAAK,WAAW,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAEpD,MAAM,WAAW,WAAW;IAC1B;;;;;;;OAOG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB;;;;;;;OAOG;IACH,QAAQ,CAAC,EAAE,QAAQ,CAAC;IAEpB;;;;;;;;OAQG;IACH,SAAS,CAAC,EAAE,QAAQ,CAAC;IAErB;;;;;;;OAOG;IACH,IAAI,CAAC,EAAE,WAAW,CAAC;IAEnB;;;;;;;OAOG;IACH,OAAO,CAAC,EAAE,aAAa,CAAC;IAExB;;;;;;;OAOG;IACH,OAAO,CAAC,EAAE,WAAW,CAAC;IACtB,SAAS,CAAC,EAAE,iBAAiB,GAAG,MAAM,CAAC;IAEvC;;;;;;;;;OASG;IACH,SAAS,CAAC,EAAE,OAAO,GAAG,iBAAiB,CAAC,OAAO,CAAC,CAAC;IAEjD;;;;;;;OAOG;IACH,SAAS,CAAC,EAAE,WAAW,CAAC;CACzB"}
|