contentoh-components-library 21.1.71 → 21.1.72

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 (44) hide show
  1. package/dist/components/atoms/AsignationOption/index.js +2 -2
  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/atoms/ProgressBar/styles.js +22 -0
  5. package/dist/components/atoms/StatusTag/StatusTag.stories.js +48 -0
  6. package/dist/components/atoms/StatusTag/index.js +58 -0
  7. package/dist/components/atoms/StatusTag/styles.js +20 -0
  8. package/dist/components/molecules/AssignedWork/AssignedWork.stories.js +1 -1
  9. package/dist/components/molecules/AssignedWork/styles.js +1 -1
  10. package/dist/components/molecules/ProductNameHeader/index.js +2 -2
  11. package/dist/components/molecules/StatusAsignationInfo/index.js +3 -3
  12. package/dist/components/organisms/FullProductNameHeader/index.js +1 -1
  13. package/dist/components/pages/ProviderProductEdition/ProviderProductEdition.stories.js +6 -2
  14. package/dist/components/pages/ProviderProductEdition/index.js +433 -433
  15. package/dist/components/pages/RegistrationLoginFirstStep/RegistrationLoginFirstStep.stories.js +37 -0
  16. package/dist/components/pages/RegistrationLoginFirstStep/index.js +269 -0
  17. package/dist/components/pages/RegistrationLoginFirstStep/styles.js +20 -0
  18. package/dist/components/pages/RetailerProductEdition/index.js +200 -217
  19. package/dist/global-files/customHooks.js +12 -8
  20. package/dist/global-files/data.js +8 -8
  21. package/dist/index.js +1 -1
  22. package/package.json +1 -1
  23. package/src/components/atoms/AsignationOption/index.js +2 -2
  24. package/src/components/atoms/ProductPercentCard/Percent.stories.js +12 -11
  25. package/src/components/atoms/ProductPercentCard/styles.js +9 -9
  26. package/src/components/atoms/ProgressBar/styles.js +69 -0
  27. package/src/components/atoms/StatusTag/index.js +37 -0
  28. package/src/components/atoms/{Status → StatusTag}/styles.js +10 -7
  29. package/src/components/molecules/AssignedWork/AssignedWork.stories.js +8 -8
  30. package/src/components/molecules/AssignedWork/styles.js +10 -9
  31. package/src/components/molecules/ProductNameHeader/index.js +2 -2
  32. package/src/components/molecules/StatusAsignationInfo/index.js +1 -1
  33. package/src/components/organisms/FullProductNameHeader/index.js +2 -2
  34. package/src/components/pages/ProviderProductEdition/ProviderProductEdition.stories.js +3 -2
  35. package/src/components/pages/ProviderProductEdition/index.js +250 -233
  36. package/src/components/pages/RetailerProductEdition/index.js +173 -149
  37. package/src/global-files/customHooks.js +15 -13
  38. package/src/global-files/data.js +8 -8
  39. package/src/index.js +1 -1
  40. package/dist/components/atoms/Status/Status.stories.js +0 -31
  41. package/dist/components/atoms/Status/index.js +0 -23
  42. package/dist/components/atoms/Status/styles.js +0 -20
  43. package/src/components/atoms/Status/Status.stories.js +0 -14
  44. package/src/components/atoms/Status/index.js +0 -9
@@ -1,20 +0,0 @@
1
- "use strict";
2
-
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
4
-
5
- Object.defineProperty(exports, "__esModule", {
6
- value: true
7
- });
8
- exports.Container = void 0;
9
-
10
- var _taggedTemplateLiteral2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/taggedTemplateLiteral"));
11
-
12
- var _styledComponents = _interopRequireDefault(require("styled-components"));
13
-
14
- var _variables = require("../../../global-files/variables");
15
-
16
- var _templateObject;
17
-
18
- var Container = _styledComponents.default.div(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n width: fit-content;\n padding: 0 10px;\n height: 20px;\n background-color: ", ";\n border-radius: 3px;\n\n p {\n text-align: center;\n color: ", ";\n font-family: ", ";\n font-size: 12px;\n line-height: 20px;\n }\n\n &.status-CA,\n &.status-IE {\n background-color: ", ";\n }\n\n &.status-R,\n &.status-AS {\n background-color: ", ";\n }\n\n &.status-AA,\n &.status-AP,\n &.status-AC,\n &.status-ACA {\n background-color: ", ";\n }\n\n &.status-RA,\n &.status-RC,\n &.status-RP,\n &.status-RCA {\n background-color: ", ";\n }\n\n &.status-Dat,\n &.status-Dsc,\n &.status-Imgs {\n background-color: ", ";\n }\n\n &.status-Ex {\n background-color: ", ";\n }\n\n &.status-DDI {\n background-color: ", ";\n }\n\n &.status-GLD {\n background-color: ", ";\n }\n\n &.status-TAB {\n background-color: ", ";\n }\n\n &.status-Pt {\n background-color: ", ";\n color: ", ";\n }\n\n &.oval-form {\n border-radius: 10px;\n }\n"])), _variables.GlobalColors.s3, _variables.GlobalColors.white, _variables.FontFamily.Lato, _variables.GlobalColors.in_progress, _variables.GlobalColors.reception, _variables.GlobalColors.finished, _variables.GlobalColors.rejected_status, _variables.GlobalColors.s4, _variables.GlobalColors.exported, _variables.GlobalColors.original_purpura, _variables.GlobalColors.in_progress, _variables.GlobalColors.deep_gray, _variables.GlobalColors.s2, _variables.GlobalColors.s4);
19
-
20
- exports.Container = Container;
@@ -1,14 +0,0 @@
1
- import { Status } from "./index";
2
-
3
- export default {
4
- title: "Components/atoms/Status",
5
- component: Status,
6
- };
7
-
8
- const Template = (args) => <Status {...args} />;
9
-
10
- export const StatusDefault = Template.bind({});
11
- StatusDefault.args = {
12
- statusType: "IE",
13
- ovalForm: false,
14
- };
@@ -1,9 +0,0 @@
1
- import { Container } from "./styles";
2
-
3
- export const Status = ({ statusType, ovalForm }) => {
4
- return (
5
- <Container className={`status-${statusType} ${ovalForm && "oval-form"}`}>
6
- <p>{statusType}</p>
7
- </Container>
8
- );
9
- };