@pedidopago/ui 1.16.73 → 1.17.0

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.
Files changed (77) hide show
  1. package/dist/components/Flex/styles.d.ts +144 -0
  2. package/dist/components/Flex/styles.d.ts.map +1 -1
  3. package/dist/components/Grid/styles.d.ts +144 -0
  4. package/dist/components/Grid/styles.d.ts.map +1 -1
  5. package/dist/components/NewAlert/components/AlertBody/index.d.ts +6 -0
  6. package/dist/components/NewAlert/components/AlertBody/index.d.ts.map +1 -0
  7. package/dist/components/NewAlert/components/AlertBody/index.js +1 -0
  8. package/dist/components/NewAlert/components/AlertButton/index.d.ts +3 -0
  9. package/dist/components/NewAlert/components/AlertButton/index.d.ts.map +1 -0
  10. package/dist/components/NewAlert/components/AlertButton/index.js +3 -0
  11. package/dist/components/NewAlert/components/AlertButton/types.d.ts +3 -0
  12. package/dist/components/NewAlert/components/AlertButton/types.d.ts.map +1 -0
  13. package/dist/components/NewAlert/components/AlertButton/types.js +1 -0
  14. package/dist/components/NewAlert/components/AlertButtonContainer/index.d.ts +6 -0
  15. package/dist/components/NewAlert/components/AlertButtonContainer/index.d.ts.map +1 -0
  16. package/dist/components/NewAlert/components/AlertButtonContainer/index.js +1 -0
  17. package/dist/components/NewAlert/components/AlertContent/index.d.ts +3 -0
  18. package/dist/components/NewAlert/components/AlertContent/index.d.ts.map +1 -0
  19. package/dist/components/NewAlert/components/AlertContent/index.js +3 -0
  20. package/dist/components/NewAlert/components/AlertContent/types.d.ts +3 -0
  21. package/dist/components/NewAlert/components/AlertContent/types.d.ts.map +1 -0
  22. package/dist/components/NewAlert/components/AlertContent/types.js +1 -0
  23. package/dist/components/NewAlert/components/AlertHeader/index.d.ts +3 -0
  24. package/dist/components/NewAlert/components/AlertHeader/index.d.ts.map +1 -0
  25. package/dist/components/NewAlert/components/AlertHeader/index.js +5 -0
  26. package/dist/components/NewAlert/components/AlertHeader/styles.d.ts +7 -0
  27. package/dist/components/NewAlert/components/AlertHeader/styles.d.ts.map +1 -0
  28. package/dist/components/NewAlert/components/AlertHeader/styles.js +1 -0
  29. package/dist/components/NewAlert/components/AlertHeader/types.d.ts +6 -0
  30. package/dist/components/NewAlert/components/AlertHeader/types.d.ts.map +1 -0
  31. package/dist/components/NewAlert/components/AlertHeader/types.js +1 -0
  32. package/dist/components/NewAlert/components/AlertIcon/index.d.ts +3 -0
  33. package/dist/components/NewAlert/components/AlertIcon/index.d.ts.map +1 -0
  34. package/dist/components/NewAlert/components/AlertIcon/index.js +3 -0
  35. package/dist/components/NewAlert/components/AlertIcon/types.d.ts +6 -0
  36. package/dist/components/NewAlert/components/AlertIcon/types.d.ts.map +1 -0
  37. package/dist/components/NewAlert/components/AlertIcon/types.js +1 -0
  38. package/dist/components/NewAlert/components/AlertTitle/index.d.ts +3 -0
  39. package/dist/components/NewAlert/components/AlertTitle/index.d.ts.map +1 -0
  40. package/dist/components/NewAlert/components/AlertTitle/index.js +3 -0
  41. package/dist/components/NewAlert/components/AlertTitle/types.d.ts +3 -0
  42. package/dist/components/NewAlert/components/AlertTitle/types.d.ts.map +1 -0
  43. package/dist/components/NewAlert/components/AlertTitle/types.js +1 -0
  44. package/dist/components/NewAlert/constants.d.ts +7 -0
  45. package/dist/components/NewAlert/constants.d.ts.map +1 -0
  46. package/dist/components/NewAlert/constants.js +1 -0
  47. package/dist/components/NewAlert/contexts/alert-context/index.d.ts +11 -0
  48. package/dist/components/NewAlert/contexts/alert-context/index.d.ts.map +1 -0
  49. package/dist/components/NewAlert/contexts/alert-context/index.js +1 -0
  50. package/dist/components/NewAlert/index.d.ts +4 -0
  51. package/dist/components/NewAlert/index.d.ts.map +1 -0
  52. package/dist/components/NewAlert/index.js +5 -0
  53. package/dist/components/NewAlert/styles.d.ts +7 -0
  54. package/dist/components/NewAlert/styles.d.ts.map +1 -0
  55. package/dist/components/NewAlert/styles.js +1 -0
  56. package/dist/components/NewAlert/types.d.ts +14 -0
  57. package/dist/components/NewAlert/types.d.ts.map +1 -0
  58. package/dist/components/NewAlert/types.js +1 -0
  59. package/dist/components/Progress/Linear/types.d.ts +1 -1
  60. package/dist/components/Progress/Linear/types.d.ts.map +1 -1
  61. package/dist/components/Progress/types.d.ts +1 -1
  62. package/dist/components/Progress/types.d.ts.map +1 -1
  63. package/dist/components/Spinner/styles.d.ts +144 -0
  64. package/dist/components/Spinner/styles.d.ts.map +1 -1
  65. package/dist/components/Tag/styles.d.ts +432 -0
  66. package/dist/components/Tag/styles.d.ts.map +1 -1
  67. package/dist/index.d.ts +1 -0
  68. package/dist/index.d.ts.map +1 -1
  69. package/dist/index.js +1 -1
  70. package/dist/shared/theme/hooks/useTheme.d.ts +144 -0
  71. package/dist/shared/theme/hooks/useTheme.d.ts.map +1 -1
  72. package/dist/shared/theme/objects/colors.d.ts +96 -0
  73. package/dist/shared/theme/objects/colors.d.ts.map +1 -1
  74. package/dist/shared/theme/objects/colors.js +1 -1
  75. package/dist/shared/theme/theme.d.ts +144 -0
  76. package/dist/shared/theme/theme.d.ts.map +1 -1
  77. package/package.json +1 -1
@@ -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,4 +1,4 @@
1
- import { GlobalColorsProps } from 'src/shared/theme';
1
+ import { GlobalColorsProps } from '../../../shared/theme';
2
2
  export type ProgressBarProps = {
3
3
  height?: string;
4
4
  bgColor?: GlobalColorsProps | (string & {});
@@ -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,kBAAkB,CAAC;AAErD,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
+ {"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,4 +1,4 @@
1
- import { GlobalColorsProps } from 'src/shared/theme';
1
+ import { GlobalColorsProps } from '../../shared/theme';
2
2
  export interface DisplayValueProps {
3
3
  height?: string;
4
4
  size?: number;
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/Progress/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAErD,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,CA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AAC;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yGAqCzB,CAAC"}
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/components/Spinner/styles.ts"],"names":[],"mappings":";AAMA,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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