contentoh-components-library 21.1.62 → 21.1.63

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 (24) hide show
  1. package/dist/components/atoms/InputFormatter/index.js +3 -3
  2. package/dist/components/atoms/ProductPercentCard/Percent.stories.js +1 -1
  3. package/dist/components/atoms/ProductPercentCard/styles.js +1 -1
  4. package/dist/components/molecules/AssignedWork/AssignedWork.stories.js +1 -1
  5. package/dist/components/molecules/AssignedWork/styles.js +1 -1
  6. package/dist/components/organisms/FullProductNameHeader/index.js +1 -1
  7. package/dist/components/pages/ProviderProductEdition/ProviderProductEdition.stories.js +93 -109
  8. package/dist/components/pages/ProviderProductEdition/index.js +430 -429
  9. package/dist/components/pages/RetailerProductEdition/RetailerProductEdition.stories.js +42 -30
  10. package/dist/components/pages/RetailerProductEdition/index.js +217 -200
  11. package/dist/global-files/data.js +8 -8
  12. package/package.json +1 -1
  13. package/src/components/atoms/InputFormatter/index.js +3 -6
  14. package/src/components/atoms/ProductPercentCard/Percent.stories.js +11 -12
  15. package/src/components/atoms/ProductPercentCard/styles.js +9 -9
  16. package/src/components/molecules/AssignedWork/AssignedWork.stories.js +8 -8
  17. package/src/components/molecules/AssignedWork/styles.js +9 -10
  18. package/src/components/organisms/FullProductNameHeader/index.js +2 -2
  19. package/src/components/pages/ProviderProductEdition/ProviderProductEdition.stories.js +95 -114
  20. package/src/components/pages/ProviderProductEdition/index.js +232 -248
  21. package/src/components/pages/RetailerProductEdition/RetailerProductEdition.stories.js +44 -30
  22. package/src/components/pages/RetailerProductEdition/index.js +149 -173
  23. package/src/global-files/data.js +8 -8
  24. package/src/components/atoms/ProgressBar/styles.js +0 -69
@@ -1,69 +0,0 @@
1
- import styled from "styled-components";
2
- import { FontFamily, GlobalColors } from "../../../global-files/variables";
3
-
4
- export const Container = styled.div`
5
- background-color: ${GlobalColors.s3};
6
- width: fit-content;
7
- height: 27px;
8
- padding: 4px;
9
- border-radius: 15px;
10
- font-family: ${FontFamily.AvenirNext};
11
- font-weight: 600;
12
- font-size: 14px;
13
- line-height: 19px;
14
- color: ${(backgroundColor) =>
15
- backgroundColor === "s2" || backgroundColor === "s1"
16
- ? GlobalColors.s4
17
- : GlobalColors.white};
18
-
19
- &.status-As,
20
- &.status-P {
21
- background-color: ${GlobalColors.in_progress};
22
- }
23
-
24
- &.status-Pr,
25
- &.status-Rr {
26
- background-color: ${GlobalColors.reception};
27
- }
28
-
29
- &.status-AA,
30
- &.status-AP,
31
- &.status-AC,
32
- &.status-AF {
33
- background-color: ${GlobalColors.finished};
34
- }
35
-
36
- &.status-RA,
37
- &.status-RF,
38
- &.status-RP,
39
- &.status-RC {
40
- background-color: ${GlobalColors.rejected_status};
41
- }
42
-
43
- &.status-Dat,
44
- &.status-Dsc,
45
- &.status-Imgs {
46
- background-color: ${GlobalColors.s4};
47
- }
48
-
49
- &.status-Ex {
50
- background-color: ${GlobalColors.exported};
51
- }
52
-
53
- &.status-DDI {
54
- background-color: ${GlobalColors.original_purpura};
55
- }
56
-
57
- &.status-GLD {
58
- background-color: ${GlobalColors.in_progress};
59
- }
60
-
61
- &.status-TAB {
62
- background-color: ${GlobalColors.deep_gray};
63
- }
64
-
65
- &.status-Pt {
66
- background-color: ${GlobalColors.s2};
67
- color: ${GlobalColors.s4};
68
- }
69
- `;