@pedidopago/ui 1.16.73 → 1.17.1
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/components/Flex/styles.d.ts +144 -0
- package/dist/components/Flex/styles.d.ts.map +1 -1
- package/dist/components/Grid/styles.d.ts +144 -0
- package/dist/components/Grid/styles.d.ts.map +1 -1
- package/dist/components/NewAlert/components/AlertBody/index.d.ts +6 -0
- package/dist/components/NewAlert/components/AlertBody/index.d.ts.map +1 -0
- package/dist/components/NewAlert/components/AlertBody/index.js +1 -0
- package/dist/components/NewAlert/components/AlertButton/index.d.ts +3 -0
- package/dist/components/NewAlert/components/AlertButton/index.d.ts.map +1 -0
- package/dist/components/NewAlert/components/AlertButton/index.js +3 -0
- package/dist/components/NewAlert/components/AlertButton/types.d.ts +3 -0
- package/dist/components/NewAlert/components/AlertButton/types.d.ts.map +1 -0
- package/dist/components/NewAlert/components/AlertButton/types.js +1 -0
- package/dist/components/NewAlert/components/AlertButtonContainer/index.d.ts +6 -0
- package/dist/components/NewAlert/components/AlertButtonContainer/index.d.ts.map +1 -0
- package/dist/components/NewAlert/components/AlertButtonContainer/index.js +1 -0
- package/dist/components/NewAlert/components/AlertContent/index.d.ts +3 -0
- package/dist/components/NewAlert/components/AlertContent/index.d.ts.map +1 -0
- package/dist/components/NewAlert/components/AlertContent/index.js +3 -0
- package/dist/components/NewAlert/components/AlertContent/types.d.ts +3 -0
- package/dist/components/NewAlert/components/AlertContent/types.d.ts.map +1 -0
- package/dist/components/NewAlert/components/AlertContent/types.js +1 -0
- package/dist/components/NewAlert/components/AlertHeader/index.d.ts +3 -0
- package/dist/components/NewAlert/components/AlertHeader/index.d.ts.map +1 -0
- package/dist/components/NewAlert/components/AlertHeader/index.js +5 -0
- package/dist/components/NewAlert/components/AlertHeader/styles.d.ts +7 -0
- package/dist/components/NewAlert/components/AlertHeader/styles.d.ts.map +1 -0
- package/dist/components/NewAlert/components/AlertHeader/styles.js +1 -0
- package/dist/components/NewAlert/components/AlertHeader/types.d.ts +6 -0
- package/dist/components/NewAlert/components/AlertHeader/types.d.ts.map +1 -0
- package/dist/components/NewAlert/components/AlertHeader/types.js +1 -0
- package/dist/components/NewAlert/components/AlertIcon/index.d.ts +3 -0
- package/dist/components/NewAlert/components/AlertIcon/index.d.ts.map +1 -0
- package/dist/components/NewAlert/components/AlertIcon/index.js +3 -0
- package/dist/components/NewAlert/components/AlertIcon/types.d.ts +6 -0
- package/dist/components/NewAlert/components/AlertIcon/types.d.ts.map +1 -0
- package/dist/components/NewAlert/components/AlertIcon/types.js +1 -0
- package/dist/components/NewAlert/components/AlertTitle/index.d.ts +3 -0
- package/dist/components/NewAlert/components/AlertTitle/index.d.ts.map +1 -0
- package/dist/components/NewAlert/components/AlertTitle/index.js +3 -0
- package/dist/components/NewAlert/components/AlertTitle/types.d.ts +3 -0
- package/dist/components/NewAlert/components/AlertTitle/types.d.ts.map +1 -0
- package/dist/components/NewAlert/components/AlertTitle/types.js +1 -0
- package/dist/components/NewAlert/constants.d.ts +7 -0
- package/dist/components/NewAlert/constants.d.ts.map +1 -0
- package/dist/components/NewAlert/constants.js +1 -0
- package/dist/components/NewAlert/contexts/alert-context/index.d.ts +11 -0
- package/dist/components/NewAlert/contexts/alert-context/index.d.ts.map +1 -0
- package/dist/components/NewAlert/contexts/alert-context/index.js +1 -0
- package/dist/components/NewAlert/index.d.ts +9 -0
- package/dist/components/NewAlert/index.d.ts.map +1 -0
- package/dist/components/NewAlert/index.js +1 -0
- package/dist/components/NewAlert/root.d.ts +3 -0
- package/dist/components/NewAlert/root.d.ts.map +1 -0
- package/dist/components/NewAlert/root.js +5 -0
- package/dist/components/NewAlert/styles.d.ts +7 -0
- package/dist/components/NewAlert/styles.d.ts.map +1 -0
- package/dist/components/NewAlert/styles.js +1 -0
- package/dist/components/NewAlert/types.d.ts +14 -0
- package/dist/components/NewAlert/types.d.ts.map +1 -0
- package/dist/components/NewAlert/types.js +1 -0
- package/dist/components/Progress/Linear/types.d.ts +1 -1
- package/dist/components/Progress/Linear/types.d.ts.map +1 -1
- package/dist/components/Progress/types.d.ts +1 -1
- package/dist/components/Progress/types.d.ts.map +1 -1
- package/dist/components/Spinner/styles.d.ts +144 -0
- package/dist/components/Spinner/styles.d.ts.map +1 -1
- package/dist/components/Tag/styles.d.ts +432 -0
- package/dist/components/Tag/styles.d.ts.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/shared/theme/hooks/useTheme.d.ts +144 -0
- package/dist/shared/theme/hooks/useTheme.d.ts.map +1 -1
- package/dist/shared/theme/objects/colors.d.ts +96 -0
- package/dist/shared/theme/objects/colors.d.ts.map +1 -1
- package/dist/shared/theme/objects/colors.js +1 -1
- package/dist/shared/theme/theme.d.ts +144 -0
- package/dist/shared/theme/theme.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/components/NewAlert/styles.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAIvC,eAAO,MAAM,qBAAqB;;;wHAiCjC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.StyledNewAlertWrapper=void 0;var _templateObject,_styled=_interopRequireDefault(require("@emotion/styled")),_react=require("@emotion/react"),_constants=require("./constants");function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _taggedTemplateLiteral(strings,raw){return raw||(raw=strings.slice(0)),Object.freeze(Object.defineProperties(strings,{raw:{value:Object.freeze(raw)}}))}var StyledNewAlertWrapper=_styled.default.div(function(_ref){var theme=_ref.theme,type=_ref.type,fullWidth=_ref.fullWidth,highlighted=_ref.highlighted,borderRadius=_ref.borderRadius,mappedColor=type?_constants.colorMapping[type]:null,color="dark"===theme.colorMode?"#FFFFFF":mappedColor?theme.colors[mappedColor][400]:theme.colors.neutral.neutral6,secondaryColor=mappedColor?theme.colors[mappedColor][50]:theme.colors.neutral.neutral1;return(0,_react.css)(_templateObject||(_templateObject=_taggedTemplateLiteral(["\n display: flex;\n align-items: start;\n align-content: flex-start;\n justify-content: space-between;\n gap: 1rem;\n border-radius: ",";\n width: ",";\n background-color: ",";\n font-weight: 500;\n color: ",";\n border-left: ",";\n\n button {\n color: ",";\n }\n "])),borderRadius?"".concat(borderRadius,"px"):"4px",fullWidth?"100%":"500px",secondaryColor,color,highlighted?"4px solid ".concat(color):"",color)});exports.StyledNewAlertWrapper=StyledNewAlertWrapper;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'react';
|
|
2
|
+
export type NewAlertTypes = 'success' | 'info' | 'warning' | 'error';
|
|
3
|
+
export type NewAlertProps = HTMLAttributes<HTMLDivElement> & {
|
|
4
|
+
type?: NewAlertTypes;
|
|
5
|
+
onClose?: () => void;
|
|
6
|
+
closable?: boolean;
|
|
7
|
+
};
|
|
8
|
+
export type IStyledAlert = {
|
|
9
|
+
fullWidth?: boolean;
|
|
10
|
+
type?: NewAlertTypes;
|
|
11
|
+
highlighted?: boolean;
|
|
12
|
+
borderRadius?: number | string;
|
|
13
|
+
};
|
|
14
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/NewAlert/types.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAEvC,MAAM,MAAM,aAAa,GAAG,SAAS,GAAG,MAAM,GAAG,SAAS,GAAG,OAAO,CAAC;AAErE,MAAM,MAAM,aAAa,GAAG,cAAc,CAAC,cAAc,CAAC,GAAG;IAC3D,IAAI,CAAC,EAAE,aAAa,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG;IACzB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,IAAI,CAAC,EAAE,aAAa,CAAC;IACrB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,YAAY,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;CAChC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/Progress/Linear/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/Progress/Linear/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAE1D,MAAM,MAAM,gBAAgB,GAAG;IAC7B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,iBAAiB,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,CAAC;CAC7C,CAAC;AACF,MAAM,MAAM,eAAe,GAAG;IAC5B,OAAO,EAAE,MAAM,GAAG,MAAM,CAAC;IACzB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,eAAe,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IACpC,OAAO,CAAC,EAAE,iBAAiB,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,CAAC;CAC7C,CAAC;AAEF,MAAM,MAAM,WAAW,GAAG,eAAe,GAAG;IAC1C,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/Progress/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/Progress/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAEvD,MAAM,WAAW,iBAAiB;IAChC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,MAAM,UAAU,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC;AAClD,MAAM,WAAW,UAAU;IACzB,QAAQ,EAAE,UAAU,CAAC;IACrB,QAAQ,EAAE,UAAU,CAAC;IACrB,QAAQ,EAAE,UAAU,CAAC;IACrB,QAAQ,EAAE,UAAU,CAAC;IACrB,QAAQ,EAAE,UAAU,CAAC;IACrB,QAAQ,EAAE,UAAU,CAAC;IACrB,KAAK,EAAE,UAAU,CAAC;CACnB;AAED,MAAM,MAAM,iBAAiB,GAAG;IAC9B,IAAI,CAAC,EAAE,QAAQ,GAAG,QAAQ,CAAC;IAC3B,MAAM,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC5B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IAC1B,OAAO,CAAC,EAAE,iBAAiB,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,CAAC;IAC5C,OAAO,EAAE,MAAM,GAAG,MAAM,CAAC;IACzB,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB,CAAC"}
|
|
@@ -122,6 +122,54 @@ export declare const StyledSpinner: import("@emotion/styled").StyledComponent<{
|
|
|
122
122
|
dark: string;
|
|
123
123
|
gradient: string;
|
|
124
124
|
};
|
|
125
|
+
emerald: {
|
|
126
|
+
50: string;
|
|
127
|
+
100: string;
|
|
128
|
+
200: string;
|
|
129
|
+
300: string;
|
|
130
|
+
400: string;
|
|
131
|
+
default: string;
|
|
132
|
+
};
|
|
133
|
+
blue: {
|
|
134
|
+
50: string;
|
|
135
|
+
100: string;
|
|
136
|
+
200: string;
|
|
137
|
+
300: string;
|
|
138
|
+
400: string;
|
|
139
|
+
default: string;
|
|
140
|
+
};
|
|
141
|
+
orange: {
|
|
142
|
+
50: string;
|
|
143
|
+
100: string;
|
|
144
|
+
200: string;
|
|
145
|
+
300: string;
|
|
146
|
+
400: string;
|
|
147
|
+
default: string;
|
|
148
|
+
};
|
|
149
|
+
amber: {
|
|
150
|
+
50: string;
|
|
151
|
+
100: string;
|
|
152
|
+
200: string;
|
|
153
|
+
300: string;
|
|
154
|
+
400: string;
|
|
155
|
+
default: string;
|
|
156
|
+
};
|
|
157
|
+
red: {
|
|
158
|
+
50: string;
|
|
159
|
+
100: string;
|
|
160
|
+
200: string;
|
|
161
|
+
300: string;
|
|
162
|
+
400: string;
|
|
163
|
+
default: string;
|
|
164
|
+
};
|
|
165
|
+
rose: {
|
|
166
|
+
50: string;
|
|
167
|
+
100: string;
|
|
168
|
+
200: string;
|
|
169
|
+
300: string;
|
|
170
|
+
400: string;
|
|
171
|
+
default: string;
|
|
172
|
+
};
|
|
125
173
|
};
|
|
126
174
|
lightColors: {
|
|
127
175
|
body: {
|
|
@@ -206,6 +254,54 @@ export declare const StyledSpinner: import("@emotion/styled").StyledComponent<{
|
|
|
206
254
|
dark: string;
|
|
207
255
|
gradient: string;
|
|
208
256
|
};
|
|
257
|
+
emerald: {
|
|
258
|
+
50: string;
|
|
259
|
+
100: string;
|
|
260
|
+
200: string;
|
|
261
|
+
300: string;
|
|
262
|
+
400: string;
|
|
263
|
+
default: string;
|
|
264
|
+
};
|
|
265
|
+
blue: {
|
|
266
|
+
50: string;
|
|
267
|
+
100: string;
|
|
268
|
+
200: string;
|
|
269
|
+
300: string;
|
|
270
|
+
400: string;
|
|
271
|
+
default: string;
|
|
272
|
+
};
|
|
273
|
+
orange: {
|
|
274
|
+
50: string;
|
|
275
|
+
100: string;
|
|
276
|
+
200: string;
|
|
277
|
+
300: string;
|
|
278
|
+
400: string;
|
|
279
|
+
default: string;
|
|
280
|
+
};
|
|
281
|
+
amber: {
|
|
282
|
+
50: string;
|
|
283
|
+
100: string;
|
|
284
|
+
200: string;
|
|
285
|
+
300: string;
|
|
286
|
+
400: string;
|
|
287
|
+
default: string;
|
|
288
|
+
};
|
|
289
|
+
red: {
|
|
290
|
+
50: string;
|
|
291
|
+
100: string;
|
|
292
|
+
200: string;
|
|
293
|
+
300: string;
|
|
294
|
+
400: string;
|
|
295
|
+
default: string;
|
|
296
|
+
};
|
|
297
|
+
rose: {
|
|
298
|
+
50: string;
|
|
299
|
+
100: string;
|
|
300
|
+
200: string;
|
|
301
|
+
300: string;
|
|
302
|
+
400: string;
|
|
303
|
+
default: string;
|
|
304
|
+
};
|
|
209
305
|
};
|
|
210
306
|
darkColors: {
|
|
211
307
|
body: {
|
|
@@ -290,6 +386,54 @@ export declare const StyledSpinner: import("@emotion/styled").StyledComponent<{
|
|
|
290
386
|
dark: string;
|
|
291
387
|
gradient: string;
|
|
292
388
|
};
|
|
389
|
+
emerald: {
|
|
390
|
+
50: string;
|
|
391
|
+
100: string;
|
|
392
|
+
200: string;
|
|
393
|
+
300: string;
|
|
394
|
+
400: string;
|
|
395
|
+
default: string;
|
|
396
|
+
};
|
|
397
|
+
blue: {
|
|
398
|
+
50: string;
|
|
399
|
+
100: string;
|
|
400
|
+
200: string;
|
|
401
|
+
300: string;
|
|
402
|
+
400: string;
|
|
403
|
+
default: string;
|
|
404
|
+
};
|
|
405
|
+
orange: {
|
|
406
|
+
50: string;
|
|
407
|
+
100: string;
|
|
408
|
+
200: string;
|
|
409
|
+
300: string;
|
|
410
|
+
400: string;
|
|
411
|
+
default: string;
|
|
412
|
+
};
|
|
413
|
+
amber: {
|
|
414
|
+
50: string;
|
|
415
|
+
100: string;
|
|
416
|
+
200: string;
|
|
417
|
+
300: string;
|
|
418
|
+
400: string;
|
|
419
|
+
default: string;
|
|
420
|
+
};
|
|
421
|
+
red: {
|
|
422
|
+
50: string;
|
|
423
|
+
100: string;
|
|
424
|
+
200: string;
|
|
425
|
+
300: string;
|
|
426
|
+
400: string;
|
|
427
|
+
default: string;
|
|
428
|
+
};
|
|
429
|
+
rose: {
|
|
430
|
+
50: string;
|
|
431
|
+
100: string;
|
|
432
|
+
200: string;
|
|
433
|
+
300: string;
|
|
434
|
+
400: string;
|
|
435
|
+
default: string;
|
|
436
|
+
};
|
|
293
437
|
};
|
|
294
438
|
space: {
|
|
295
439
|
px: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/components/Spinner/styles.ts"],"names":[],"mappings":";AAMA,eAAO,MAAM,aAAa
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/components/Spinner/styles.ts"],"names":[],"mappings":";AAMA,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yGAqCzB,CAAC"}
|