react-native-exp-fig 0.1.19 → 0.1.21

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 (40) hide show
  1. package/lib/commonjs/common/icons-svg/steering-wheel/index.js +6 -6
  2. package/lib/commonjs/common/icons-svg/steering-wheel/index.js.map +1 -1
  3. package/lib/commonjs/common/icons-svg/truck/index.js +10 -8
  4. package/lib/commonjs/common/icons-svg/truck/index.js.map +1 -1
  5. package/lib/commonjs/components/activities-progress/index.js +1 -1
  6. package/lib/commonjs/components/activities-progress/index.js.map +1 -1
  7. package/lib/commonjs/components/loading-details/index.js +13 -11
  8. package/lib/commonjs/components/loading-details/index.js.map +1 -1
  9. package/lib/commonjs/components/loading-details/interface.d.js.map +1 -1
  10. package/lib/commonjs/stories/loading-details/loading-details.stories.js +14 -2
  11. package/lib/commonjs/stories/loading-details/loading-details.stories.js.map +1 -1
  12. package/lib/commonjs/styles/theme/theme.js +5 -4
  13. package/lib/commonjs/styles/theme/theme.js.map +1 -1
  14. package/lib/commonjs/utils/get-icon-by-property/index.js.map +1 -1
  15. package/lib/module/common/icons-svg/steering-wheel/index.js +6 -6
  16. package/lib/module/common/icons-svg/steering-wheel/index.js.map +1 -1
  17. package/lib/module/common/icons-svg/truck/index.js +10 -8
  18. package/lib/module/common/icons-svg/truck/index.js.map +1 -1
  19. package/lib/module/components/activities-progress/index.js +1 -1
  20. package/lib/module/components/activities-progress/index.js.map +1 -1
  21. package/lib/module/components/loading-details/index.js +13 -11
  22. package/lib/module/components/loading-details/index.js.map +1 -1
  23. package/lib/module/components/loading-details/interface.d.js.map +1 -1
  24. package/lib/module/stories/loading-details/loading-details.stories.js +13 -1
  25. package/lib/module/stories/loading-details/loading-details.stories.js.map +1 -1
  26. package/lib/module/styles/theme/theme.js +5 -4
  27. package/lib/module/styles/theme/theme.js.map +1 -1
  28. package/lib/module/utils/get-icon-by-property/index.js.map +1 -1
  29. package/lib/typescript/src/stories/loading-details/loading-details.stories.d.ts +1 -0
  30. package/lib/typescript/src/styles/global/theme-provider.d.ts +1 -0
  31. package/lib/typescript/src/styles/theme/theme.d.ts +1 -0
  32. package/package.json +1 -1
  33. package/src/common/icons-svg/steering-wheel/index.tsx +49 -49
  34. package/src/common/icons-svg/truck/index.tsx +41 -39
  35. package/src/components/activities-progress/index.tsx +1 -1
  36. package/src/components/loading-details/index.tsx +156 -154
  37. package/src/components/loading-details/interface.d.ts +31 -28
  38. package/src/stories/loading-details/loading-details.stories.tsx +60 -48
  39. package/src/styles/theme/theme.ts +172 -171
  40. package/src/utils/get-icon-by-property/index.tsx +1 -0
@@ -62,7 +62,7 @@ const ActivitiesProgress = ({
62
62
  }), /*#__PURE__*/React.createElement(Typography, {
63
63
  text: titleLabel,
64
64
  color: tipo_atividade === "trabalho" ? theme.colors.green[400] : theme.colors.orange[500],
65
- size: theme.fontSizes.sm,
65
+ size: theme.fontSizes.xs,
66
66
  fontFamily: theme.fonts.inter_semi_bold_600,
67
67
  fontWeight: "600",
68
68
  lineHeight: theme.fontSizes.lg
@@ -1 +1 @@
1
- {"version":3,"names":["React","Box","Typography","Icons","theme","getIconByProperty","ActivitiesProgress","data_inicio_horario","duracao","data_inicio","titleLabel","criado_offline","tipo_atividade","referencia","createElement","width","height","backgroundColor","colors","neutral","borderStyled","borderRadius","borderWidths","thick_medium","blue","borderTopLeftRadius","thin_bold","borderTopRightRadius","borderColor","flexStyle","justifyContent","flexDirection","alignItems","text","color","size","fontSizes","sm","fontFamily","fonts","inter_medium_500","fontWeight","lineHeight","lg","marginLeft","margins","green","orange","inter_semi_bold_600","style","marginRight","marginTop","icon","paddingStyle","padding","paddings","black","xs","inter_bold_700","marginStyle","inter_bold","md","gray"],"sources":["index.tsx"],"sourcesContent":["/**\r\n * IMPORTS\r\n */\r\nimport React from \"react\";\r\n\r\n// components\r\nimport { Box } from \"../../components/box\";\r\nimport { Typography } from \"../../components/typography\";\r\n\r\n//commons/ icons\r\nimport { Icons } from \"../../common/icons-svg\";\r\n\r\n// styles\r\nimport { theme } from \"../../styles/theme/theme\";\r\n\r\n// typings\r\nimport { IActivitiesProgress } from \"./interface\";\r\n\r\n// utils\r\nimport { getIconByProperty } from \"../../utils/get-icon-by-property\";\r\n\r\nconst ActivitiesProgress: React.FC<IActivitiesProgress> = ({\r\n data_inicio_horario = \"11/05/2025\",\r\n duracao = \"00:30\",\r\n data_inicio = \"17:20\",\r\n titleLabel = \"Descanso\",\r\n criado_offline = true,\r\n tipo_atividade = \"Descanso\",\r\n referencia = \"repouso_noturno\",\r\n}) => {\r\n return (\r\n <Box\r\n width={\"100%\"}\r\n height={100}\r\n backgroundColor={theme.colors.neutral[25]}\r\n borderStyled={{ borderRadius: theme.borderWidths.thick_medium }}\r\n >\r\n <Box\r\n width={\"100%\"}\r\n height={30}\r\n backgroundColor={theme.colors.blue[400]}\r\n borderStyled={{\r\n borderTopLeftRadius: theme.borderWidths.thin_bold,\r\n borderTopRightRadius: theme.borderWidths.thin_bold,\r\n borderColor: theme.colors.blue[400],\r\n }}\r\n flexStyle={{\r\n justifyContent: \"space-between\",\r\n flexDirection: \"row\",\r\n }}\r\n >\r\n <Box\r\n flexStyle={{\r\n flexDirection: \"row\",\r\n alignItems: \"center\",\r\n }}\r\n >\r\n <Typography\r\n text={\"Status: \"}\r\n color={theme.colors.neutral[25]}\r\n size={theme.fontSizes.sm}\r\n fontFamily={theme.fonts.inter_medium_500}\r\n fontWeight={\"500\"}\r\n lineHeight={theme.fontSizes.lg}\r\n marginLeft={theme.margins[\"2xs\"]}\r\n />\r\n <Typography\r\n text={titleLabel}\r\n color={\r\n tipo_atividade === \"trabalho\" ? theme.colors.green[400] : theme.colors.orange[500]\r\n }\r\n size={theme.fontSizes.sm}\r\n fontFamily={theme.fonts.inter_semi_bold_600}\r\n fontWeight={\"600\"}\r\n lineHeight={theme.fontSizes.lg}\r\n />\r\n </Box>\r\n\r\n <Box\r\n style={{ marginRight: theme.margins[\"2xs\"], marginTop: theme.margins[\"1xs\"] }}\r\n height={20}\r\n width={20}\r\n >\r\n <Icons\r\n icon={criado_offline ? \"CHECK_OUTLINE\" : \"TIMER\"}\r\n size={19}\r\n color={criado_offline ? theme.colors.green[400] : theme.colors.orange[500]}\r\n />\r\n </Box>\r\n </Box>\r\n\r\n <Box\r\n width={\"100%\"}\r\n flexStyle={{\r\n flexDirection: \"row\",\r\n justifyContent: \"space-between\",\r\n }}\r\n paddingStyle={{\r\n padding: theme.paddings[\"2xs\"],\r\n }}\r\n >\r\n <Box height={20} flexStyle={{ flexDirection: \"row\", alignItems: \"center\" }}>\r\n {getIconByProperty(referencia)}\r\n <Typography\r\n text={data_inicio}\r\n color={theme.colors.black[25]}\r\n size={theme.fontSizes.xs}\r\n fontFamily={theme.fonts.inter_bold_700}\r\n fontWeight={\"700\"}\r\n lineHeight={theme.fontSizes.lg}\r\n marginLeft={4}\r\n />\r\n </Box>\r\n\r\n <Box height={50} flexStyle={{ flexDirection: \"row\", alignItems: \"flex-end\" }}>\r\n <Box\r\n flexStyle={{ alignItems: \"center\" }}\r\n marginStyle={{ marginRight: theme.margins[\"2xs\"] }}\r\n >\r\n <Typography\r\n text={data_inicio_horario}\r\n color={theme.colors.blue[500]}\r\n size={theme.fontSizes.sm}\r\n fontFamily={theme.fonts.inter_bold}\r\n fontWeight={\"700\"}\r\n lineHeight={theme.fontSizes.md}\r\n />\r\n <Typography\r\n text={\"INICIO\"}\r\n color={theme.colors.gray[600]}\r\n size={theme.fontSizes[\"2xs\"]}\r\n fontFamily={theme.fonts.inter_medium_500}\r\n fontWeight={\"500\"}\r\n lineHeight={theme.fontSizes.xs}\r\n marginTop={4}\r\n />\r\n </Box>\r\n\r\n <Box\r\n flexStyle={{ alignItems: \"center\" }}\r\n marginStyle={{ marginRight: theme.margins[\"2xs\"] }}\r\n >\r\n <Typography\r\n text={duracao}\r\n color={theme.colors.blue[500]}\r\n size={theme.fontSizes.sm}\r\n fontFamily={theme.fonts.inter_bold}\r\n fontWeight={\"700\"}\r\n lineHeight={theme.fontSizes.md}\r\n />\r\n <Typography\r\n text={\"DURAÇÃO\"}\r\n color={theme.colors.gray[600]}\r\n size={theme.fontSizes[\"2xs\"]}\r\n fontFamily={theme.fonts.inter_medium_500}\r\n fontWeight={\"500\"}\r\n lineHeight={theme.fontSizes.xs}\r\n marginTop={4}\r\n />\r\n </Box>\r\n </Box>\r\n </Box>\r\n </Box>\r\n );\r\n};\r\n\r\n/**\r\n * EXPORTS\r\n */\r\nexport { ActivitiesProgress };\r\n"],"mappings":"AAAA;AACA;AACA;AACA,OAAOA,KAAK,MAAM,OAAO;;AAEzB;AACA,SAASC,GAAG,QAAQ,sBAAsB;AAC1C,SAASC,UAAU,QAAQ,6BAA6B;;AAExD;AACA,SAASC,KAAK,QAAQ,wBAAwB;;AAE9C;AACA,SAASC,KAAK,QAAQ,0BAA0B;;AAEhD;;AAGA;AACA,SAASC,iBAAiB,QAAQ,kCAAkC;AAEpE,MAAMC,kBAAiD,GAAGA,CAAC;EACzDC,mBAAmB,GAAG,YAAY;EAClCC,OAAO,GAAG,OAAO;EACjBC,WAAW,GAAG,OAAO;EACrBC,UAAU,GAAG,UAAU;EACvBC,cAAc,GAAG,IAAI;EACrBC,cAAc,GAAG,UAAU;EAC3BC,UAAU,GAAG;AACf,CAAC,KAAK;EACJ,oBACEb,KAAA,CAAAc,aAAA,CAACb,GAAG;IACFc,KAAK,EAAE,MAAO;IACdC,MAAM,EAAE,GAAI;IACZC,eAAe,EAAEb,KAAK,CAACc,MAAM,CAACC,OAAO,CAAC,EAAE,CAAE;IAC1CC,YAAY,EAAE;MAAEC,YAAY,EAAEjB,KAAK,CAACkB,YAAY,CAACC;IAAa;EAAE,gBAEhEvB,KAAA,CAAAc,aAAA,CAACb,GAAG;IACFc,KAAK,EAAE,MAAO;IACdC,MAAM,EAAE,EAAG;IACXC,eAAe,EAAEb,KAAK,CAACc,MAAM,CAACM,IAAI,CAAC,GAAG,CAAE;IACxCJ,YAAY,EAAE;MACZK,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AAA,CAAAc,aAAA,CAACZ,UAAU;IACT+B,IAAI,EAAEzB,OAAQ;IACd0B,KAAK,EAAE9B,KAAK,CAACc,MAAM,CAACM,IAAI,CAAC,GAAG,CAAE;IAC9BW,IAAI,EAAE/B,KAAK,CAACgC,SAAS,CAACC,EAAG;IACzBC,UAAU,EAAElC,KAAK,CAACmC,KAAK,CAACqB,UAAW;IACnCnB,UAAU,EAAE,KAAM;IAClBC,UAAU,EAAEtC,KAAK,CAACgC,SAAS,CAACyB;EAAG,CAChC,CAAC,eACF7D,KAAA,CAAAc,aAAA,CAACZ,UAAU;IACT+B,IAAI,EAAE,SAAU;IAChBC,KAAK,EAAE9B,KAAK,CAACc,MAAM,CAAC4C,IAAI,CAAC,GAAG,CAAE;IAC9B3B,IAAI,EAAE/B,KAAK,CAACgC,SAAS,CAAC,KAAK,CAAE;IAC7BE,UAAU,EAAElC,KAAK,CAACmC,KAAK,CAACC,gBAAiB;IACzCC,UAAU,EAAE,KAAM;IAClBC,UAAU,EAAEtC,KAAK,CAACgC,SAAS,CAACqB,EAAG;IAC/BN,SAAS,EAAE;EAAE,CACd,CACE,CACF,CACF,CACF,CAAC;AAEV,CAAC;;AAED;AACA;AACA;AACA,SAAS7C,kBAAkB","ignoreList":[]}
1
+ {"version":3,"names":["React","Box","Typography","Icons","theme","getIconByProperty","ActivitiesProgress","data_inicio_horario","duracao","data_inicio","titleLabel","criado_offline","tipo_atividade","referencia","createElement","width","height","backgroundColor","colors","neutral","borderStyled","borderRadius","borderWidths","thick_medium","blue","borderTopLeftRadius","thin_bold","borderTopRightRadius","borderColor","flexStyle","justifyContent","flexDirection","alignItems","text","color","size","fontSizes","sm","fontFamily","fonts","inter_medium_500","fontWeight","lineHeight","lg","marginLeft","margins","green","orange","xs","inter_semi_bold_600","style","marginRight","marginTop","icon","paddingStyle","padding","paddings","black","inter_bold_700","marginStyle","inter_bold","md","gray"],"sources":["index.tsx"],"sourcesContent":["/**\r\n * IMPORTS\r\n */\r\nimport React from \"react\";\r\n\r\n// components\r\nimport { Box } from \"../../components/box\";\r\nimport { Typography } from \"../../components/typography\";\r\n\r\n//commons/ icons\r\nimport { Icons } from \"../../common/icons-svg\";\r\n\r\n// styles\r\nimport { theme } from \"../../styles/theme/theme\";\r\n\r\n// typings\r\nimport { IActivitiesProgress } from \"./interface\";\r\n\r\n// utils\r\nimport { getIconByProperty } from \"../../utils/get-icon-by-property\";\r\n\r\nconst ActivitiesProgress: React.FC<IActivitiesProgress> = ({\r\n data_inicio_horario = \"11/05/2025\",\r\n duracao = \"00:30\",\r\n data_inicio = \"17:20\",\r\n titleLabel = \"Descanso\",\r\n criado_offline = true,\r\n tipo_atividade = \"Descanso\",\r\n referencia = \"repouso_noturno\",\r\n}) => {\r\n return (\r\n <Box\r\n width={\"100%\"}\r\n height={100}\r\n backgroundColor={theme.colors.neutral[25]}\r\n borderStyled={{ borderRadius: theme.borderWidths.thick_medium }}\r\n >\r\n <Box\r\n width={\"100%\"}\r\n height={30}\r\n backgroundColor={theme.colors.blue[400]}\r\n borderStyled={{\r\n borderTopLeftRadius: theme.borderWidths.thin_bold,\r\n borderTopRightRadius: theme.borderWidths.thin_bold,\r\n borderColor: theme.colors.blue[400],\r\n }}\r\n flexStyle={{\r\n justifyContent: \"space-between\",\r\n flexDirection: \"row\",\r\n }}\r\n >\r\n <Box\r\n flexStyle={{\r\n flexDirection: \"row\",\r\n alignItems: \"center\",\r\n }}\r\n >\r\n <Typography\r\n text={\"Status: \"}\r\n color={theme.colors.neutral[25]}\r\n size={theme.fontSizes.sm}\r\n fontFamily={theme.fonts.inter_medium_500}\r\n fontWeight={\"500\"}\r\n lineHeight={theme.fontSizes.lg}\r\n marginLeft={theme.margins[\"2xs\"]}\r\n />\r\n <Typography\r\n text={titleLabel}\r\n color={\r\n tipo_atividade === \"trabalho\" ? theme.colors.green[400] : theme.colors.orange[500]\r\n }\r\n size={theme.fontSizes.xs}\r\n fontFamily={theme.fonts.inter_semi_bold_600}\r\n fontWeight={\"600\"}\r\n lineHeight={theme.fontSizes.lg}\r\n />\r\n </Box>\r\n\r\n <Box\r\n style={{ marginRight: theme.margins[\"2xs\"], marginTop: theme.margins[\"1xs\"] }}\r\n height={20}\r\n width={20}\r\n >\r\n <Icons\r\n icon={criado_offline ? \"CHECK_OUTLINE\" : \"TIMER\"}\r\n size={19}\r\n color={criado_offline ? theme.colors.green[400] : theme.colors.orange[500]}\r\n />\r\n </Box>\r\n </Box>\r\n\r\n <Box\r\n width={\"100%\"}\r\n flexStyle={{\r\n flexDirection: \"row\",\r\n justifyContent: \"space-between\",\r\n }}\r\n paddingStyle={{\r\n padding: theme.paddings[\"2xs\"],\r\n }}\r\n >\r\n <Box height={20} flexStyle={{ flexDirection: \"row\", alignItems: \"center\" }}>\r\n {getIconByProperty(referencia)}\r\n <Typography\r\n text={data_inicio}\r\n color={theme.colors.black[25]}\r\n size={theme.fontSizes.xs}\r\n fontFamily={theme.fonts.inter_bold_700}\r\n fontWeight={\"700\"}\r\n lineHeight={theme.fontSizes.lg}\r\n marginLeft={4}\r\n />\r\n </Box>\r\n\r\n <Box height={50} flexStyle={{ flexDirection: \"row\", alignItems: \"flex-end\" }}>\r\n <Box\r\n flexStyle={{ alignItems: \"center\" }}\r\n marginStyle={{ marginRight: theme.margins[\"2xs\"] }}\r\n >\r\n <Typography\r\n text={data_inicio_horario}\r\n color={theme.colors.blue[500]}\r\n size={theme.fontSizes.sm}\r\n fontFamily={theme.fonts.inter_bold}\r\n fontWeight={\"700\"}\r\n lineHeight={theme.fontSizes.md}\r\n />\r\n <Typography\r\n text={\"INICIO\"}\r\n color={theme.colors.gray[600]}\r\n size={theme.fontSizes[\"2xs\"]}\r\n fontFamily={theme.fonts.inter_medium_500}\r\n fontWeight={\"500\"}\r\n lineHeight={theme.fontSizes.xs}\r\n marginTop={4}\r\n />\r\n </Box>\r\n\r\n <Box\r\n flexStyle={{ alignItems: \"center\" }}\r\n marginStyle={{ marginRight: theme.margins[\"2xs\"] }}\r\n >\r\n <Typography\r\n text={duracao}\r\n color={theme.colors.blue[500]}\r\n size={theme.fontSizes.sm}\r\n fontFamily={theme.fonts.inter_bold}\r\n fontWeight={\"700\"}\r\n lineHeight={theme.fontSizes.md}\r\n />\r\n <Typography\r\n text={\"DURAÇÃO\"}\r\n color={theme.colors.gray[600]}\r\n size={theme.fontSizes[\"2xs\"]}\r\n fontFamily={theme.fonts.inter_medium_500}\r\n fontWeight={\"500\"}\r\n lineHeight={theme.fontSizes.xs}\r\n marginTop={4}\r\n />\r\n </Box>\r\n </Box>\r\n </Box>\r\n </Box>\r\n );\r\n};\r\n\r\n/**\r\n * EXPORTS\r\n */\r\nexport { ActivitiesProgress };\r\n"],"mappings":"AAAA;AACA;AACA;AACA,OAAOA,KAAK,MAAM,OAAO;;AAEzB;AACA,SAASC,GAAG,QAAQ,sBAAsB;AAC1C,SAASC,UAAU,QAAQ,6BAA6B;;AAExD;AACA,SAASC,KAAK,QAAQ,wBAAwB;;AAE9C;AACA,SAASC,KAAK,QAAQ,0BAA0B;;AAEhD;;AAGA;AACA,SAASC,iBAAiB,QAAQ,kCAAkC;AAEpE,MAAMC,kBAAiD,GAAGA,CAAC;EACzDC,mBAAmB,GAAG,YAAY;EAClCC,OAAO,GAAG,OAAO;EACjBC,WAAW,GAAG,OAAO;EACrBC,UAAU,GAAG,UAAU;EACvBC,cAAc,GAAG,IAAI;EACrBC,cAAc,GAAG,UAAU;EAC3BC,UAAU,GAAG;AACf,CAAC,KAAK;EACJ,oBACEb,KAAA,CAAAc,aAAA,CAACb,GAAG;IACFc,KAAK,EAAE,MAAO;IACdC,MAAM,EAAE,GAAI;IACZC,eAAe,EAAEb,KAAK,CAACc,MAAM,CAACC,OAAO,CAAC,EAAE,CAAE;IAC1CC,YAAY,EAAE;MAAEC,YAAY,EAAEjB,KAAK,CAACkB,YAAY,CAACC;IAAa;EAAE,gBAEhEvB,KAAA,CAAAc,aAAA,CAACb,GAAG;IACFc,KAAK,EAAE,MAAO;IACdC,MAAM,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,CAAE;IACpC2B,WAAW,EAAE;MAAER,WAAW,EAAE/C,KAAK,CAACyC,OAAO,CAAC,KAAK;IAAE;EAAE,gBAEnD7C,KAAA,CAAAc,aAAA,CAACZ,UAAU;IACT+B,IAAI,EAAEzB,OAAQ;IACd0B,KAAK,EAAE9B,KAAK,CAACc,MAAM,CAACM,IAAI,CAAC,GAAG,CAAE;IAC9BW,IAAI,EAAE/B,KAAK,CAACgC,SAAS,CAACC,EAAG;IACzBC,UAAU,EAAElC,KAAK,CAACmC,KAAK,CAACqB,UAAW;IACnCnB,UAAU,EAAE,KAAM;IAClBC,UAAU,EAAEtC,KAAK,CAACgC,SAAS,CAACyB;EAAG,CAChC,CAAC,eACF7D,KAAA,CAAAc,aAAA,CAACZ,UAAU;IACT+B,IAAI,EAAE,SAAU;IAChBC,KAAK,EAAE9B,KAAK,CAACc,MAAM,CAAC4C,IAAI,CAAC,GAAG,CAAE;IAC9B3B,IAAI,EAAE/B,KAAK,CAACgC,SAAS,CAAC,KAAK,CAAE;IAC7BE,UAAU,EAAElC,KAAK,CAACmC,KAAK,CAACC,gBAAiB;IACzCC,UAAU,EAAE,KAAM;IAClBC,UAAU,EAAEtC,KAAK,CAACgC,SAAS,CAACY,EAAG;IAC/BI,SAAS,EAAE;EAAE,CACd,CACE,CACF,CACF,CACF,CAAC;AAEV,CAAC;;AAED;AACA;AACA;AACA,SAAS9C,kBAAkB","ignoreList":[]}
@@ -1,5 +1,5 @@
1
- /**
2
- * IMPORTS
1
+ /**
2
+ * IMPORTS
3
3
  */
4
4
  import React from "react";
5
5
 
@@ -18,6 +18,7 @@ const LoadingDetails = ({
18
18
  date = "24/03/2025",
19
19
  duracao = "00:00",
20
20
  isLoadingStart = false,
21
+ disabled,
21
22
  handleClickGoback,
22
23
  handleClickStart
23
24
  }) => {
@@ -100,12 +101,13 @@ const LoadingDetails = ({
100
101
  padding: theme.paddings.md
101
102
  }
102
103
  }, /*#__PURE__*/React.createElement(Button, {
104
+ testID: "iniciar-button",
103
105
  title: "INICIAR",
104
106
  onPress: handleClickStart,
105
107
  height: 40,
106
108
  isLoading: isLoadingStart,
107
- disabled: isLoadingStart,
108
- backgroundColor: theme.colors.green[250],
109
+ disabled: disabled,
110
+ backgroundColor: disabled ? theme.colors.green[100] : theme.colors.green[250],
109
111
  flexStyle: {
110
112
  flex: 1,
111
113
  alignItems: "center",
@@ -119,9 +121,9 @@ const LoadingDetails = ({
119
121
  textAlign: "center"
120
122
  },
121
123
  borderStyled: {
122
- borderWidth: 1,
123
- borderColor: theme.colors.green[250],
124
- borderRadius: 24
124
+ borderWidth: theme.borderWidths.thin,
125
+ borderColor: disabled ? theme.colors.green[100] : theme.colors.green[250],
126
+ borderRadius: theme.fontSizes["2xl"]
125
127
  }
126
128
  }), /*#__PURE__*/React.createElement(Button, {
127
129
  title: "VOLTAR",
@@ -143,15 +145,15 @@ const LoadingDetails = ({
143
145
  textAlign: "center"
144
146
  },
145
147
  borderStyled: {
146
- borderWidth: 1,
148
+ borderWidth: theme.borderWidths.thin,
147
149
  borderColor: theme.colors.yellow[75],
148
- borderRadius: 24
150
+ borderRadius: theme.fontSizes["2xl"]
149
151
  }
150
152
  })));
151
153
  };
152
154
 
153
- /**
154
- * EXPORTS
155
+ /**
156
+ * EXPORTS
155
157
  */
156
158
  export { LoadingDetails };
157
159
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["React","Box","Button","Typography","theme","LoadingDetails","numero","local","date","duracao","isLoadingStart","handleClickGoback","handleClickStart","createElement","width","borderStyled","borderRadius","style","shadowColor","colors","black","shadowOpacity","shadowOffset","height","shadowRadius","elevation","backgroundColor","blue","flexStyle","flexDirection","alignItems","justifyContent","paddingStyle","padding","paddings","md","text","size","fontSizes","sm","fontFamily","fonts","inter_bold","fontWeight","color","neutral","lineHeight","letterSpacing","xs","numberOfLines","align","gray","marginStyle","marginTop","margins","marginBottom","gap","title","onPress","isLoading","disabled","green","flex","buttonTextStyle","inter_semi_bold_600","fontSize","textAlign","borderWidth","borderColor","yellow"],"sources":["index.tsx"],"sourcesContent":["/**\n * IMPORTS\n */\nimport React from \"react\";\n\n// components\nimport { Box } from \"../box\";\nimport { Button } from \"../button\";\nimport { Typography } from \"../typography\";\n\n// typings\nimport { ILoadingDetails } from \"./interface\";\n\n// styles\nimport { theme } from \"../../styles/theme/theme\";\n\nconst LoadingDetails: React.FC<ILoadingDetails> = ({\n numero = \"01020304050607\",\n local = \"Doca 1, Pátio 02 - Usimais (Ipatinga)\",\n date = \"24/03/2025\",\n duracao = \"00:00\",\n isLoadingStart = false,\n handleClickGoback,\n handleClickStart,\n}: ILoadingDetails) => {\n return (\n <Box\n width=\"100%\"\n borderStyled={{ borderRadius: 8 }}\n style={{\n shadowColor: theme.colors.black[10],\n shadowOpacity: 0.1,\n shadowOffset: { width: 0, height: 2 },\n shadowRadius: 4,\n elevation: 2,\n }}\n backgroundColor={theme.colors.blue[400]}\n >\n <Box\n width={\"100%\"}\n flexStyle={{\n flexDirection: \"row\",\n alignItems: \"center\",\n justifyContent: \"space-between\",\n }}\n paddingStyle={{ padding: theme.paddings.md }}\n >\n <Box\n width={\"78%\"}\n flexStyle={{\n flexDirection: \"column\",\n justifyContent: \"flex-start\",\n alignItems: \"flex-start\",\n }}\n >\n <Typography\n text={`Carregamento - #${numero}`}\n size={theme.fontSizes.sm}\n fontFamily={theme.fonts.inter_bold}\n fontWeight=\"700\"\n color={theme.colors.neutral[25]}\n lineHeight={theme.fontSizes[\"lg\"]}\n letterSpacing={\"regular\"}\n />\n\n <Typography\n text={local}\n color={theme.colors.neutral[25]}\n size={theme.fontSizes.xs}\n lineHeight={theme.fontSizes[\"2xl\"]}\n letterSpacing={\"regular\"}\n numberOfLines={1}\n />\n <Typography\n text={`Data carregamento: ${date}`}\n color={theme.colors.neutral[25]}\n size={theme.fontSizes.xs}\n lineHeight={theme.fontSizes[\"2xl\"]}\n letterSpacing={\"regular\"}\n numberOfLines={1}\n />\n </Box>\n\n <Typography\n text={duracao}\n color={theme.colors.neutral[25]}\n size={24}\n align=\"left\"\n fontFamily=\"inter_bold\"\n fontWeight=\"700\"\n lineHeight={theme.fontSizes[\"3xl\"]}\n letterSpacing={\"regular\"}\n />\n </Box>\n\n <Box\n height={1}\n backgroundColor={theme.colors.gray[950]}\n marginStyle={{ marginTop: theme.margins.xs, marginBottom: theme.margins.xs }}\n />\n\n <Box style={{ flexDirection: \"row\", gap: 12, marginBottom: 8, padding: theme.paddings.md }}>\n <Button\n title=\"INICIAR\"\n onPress={handleClickStart}\n height={40}\n isLoading={isLoadingStart}\n disabled={isLoadingStart}\n backgroundColor={theme.colors.green[250]}\n flexStyle={{ flex: 1, alignItems: \"center\", justifyContent: \"center\" }}\n buttonTextStyle={{\n color: theme.colors.neutral[25],\n fontFamily: theme.fonts.inter_semi_bold_600,\n fontSize: theme.fontSizes.md,\n fontWeight: \"600\",\n textAlign: \"center\",\n }}\n borderStyled={{\n borderWidth: 1,\n borderColor: theme.colors.green[250],\n borderRadius: 24,\n }}\n />\n\n <Button\n title=\"VOLTAR\"\n onPress={handleClickGoback}\n height={40}\n isLoading={false}\n disabled={isLoadingStart}\n backgroundColor={theme.colors.yellow[75]}\n flexStyle={{ flex: 1, alignItems: \"center\", justifyContent: \"center\" }}\n buttonTextStyle={{\n color: theme.colors.neutral[25],\n fontFamily: theme.fonts.inter_semi_bold_600,\n fontSize: theme.fontSizes.md,\n fontWeight: \"600\",\n textAlign: \"center\",\n }}\n borderStyled={{\n borderWidth: 1,\n borderColor: theme.colors.yellow[75],\n borderRadius: 24,\n }}\n />\n </Box>\n </Box>\n );\n};\n\n/**\n * EXPORTS\n */\nexport { LoadingDetails };\n"],"mappings":"AAAA;AACA;AACA;AACA,OAAOA,KAAK,MAAM,OAAO;;AAEzB;AACA,SAASC,GAAG,QAAQ,QAAQ;AAC5B,SAASC,MAAM,QAAQ,WAAW;AAClC,SAASC,UAAU,QAAQ,eAAe;;AAE1C;;AAGA;AACA,SAASC,KAAK,QAAQ,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AA,CAAAa,aAAA,CAACX,MAAM;IACLuD,KAAK,EAAC,QAAQ;IACdC,OAAO,EAAE/C,iBAAkB;IAC3BY,MAAM,EAAE,EAAG;IACXoC,SAAS,EAAE,KAAM;IACjBC,QAAQ,EAAElD,cAAe;IACzBgB,eAAe,EAAEtB,KAAK,CAACe,MAAM,CAACkD,MAAM,CAAC,EAAE,CAAE;IACzCzC,SAAS,EAAE;MAAEkC,IAAI,EAAE,CAAC;MAAEhC,UAAU,EAAE,QAAQ;MAAEC,cAAc,EAAE;IAAS,CAAE;IACvEgC,eAAe,EAAE;MACfnB,KAAK,EAAExC,KAAK,CAACe,MAAM,CAAC0B,OAAO,CAAC,EAAE,CAAC;MAC/BL,UAAU,EAAEpC,KAAK,CAACqC,KAAK,CAACuB,mBAAmB;MAC3CC,QAAQ,EAAE7D,KAAK,CAACkC,SAAS,CAACH,EAAE;MAC5BQ,UAAU,EAAE,KAAK;MACjBuB,SAAS,EAAE;IACb,CAAE;IACFnD,YAAY,EAAE;MACZoD,WAAW,EAAE,CAAC;MACdC,WAAW,EAAEhE,KAAK,CAACe,MAAM,CAACkD,MAAM,CAAC,EAAE,CAAC;MACpCrD,YAAY,EAAE;IAChB;EAAE,CACH,CACE,CACF,CAAC;AAEV,CAAC;;AAED;AACA;AACA;AACA,SAASX,cAAc","ignoreList":[]}
1
+ {"version":3,"names":["React","Box","Button","Typography","theme","LoadingDetails","numero","local","date","duracao","isLoadingStart","disabled","handleClickGoback","handleClickStart","createElement","width","borderStyled","borderRadius","style","shadowColor","colors","black","shadowOpacity","shadowOffset","height","shadowRadius","elevation","backgroundColor","blue","flexStyle","flexDirection","alignItems","justifyContent","paddingStyle","padding","paddings","md","text","size","fontSizes","sm","fontFamily","fonts","inter_bold","fontWeight","color","neutral","lineHeight","letterSpacing","xs","numberOfLines","align","gray","marginStyle","marginTop","margins","marginBottom","gap","testID","title","onPress","isLoading","green","flex","buttonTextStyle","inter_semi_bold_600","fontSize","textAlign","borderWidth","borderWidths","thin","borderColor","yellow"],"sources":["index.tsx"],"sourcesContent":["/**\r\n * IMPORTS\r\n */\r\nimport React from \"react\";\r\n\r\n// components\r\nimport { Box } from \"../box\";\r\nimport { Button } from \"../button\";\r\nimport { Typography } from \"../typography\";\r\n\r\n// typings\r\nimport { ILoadingDetails } from \"./interface\";\r\n\r\n// styles\r\nimport { theme } from \"../../styles/theme/theme\";\r\n\r\nconst LoadingDetails: React.FC<ILoadingDetails> = ({\r\n numero = \"01020304050607\",\r\n local = \"Doca 1, Pátio 02 - Usimais (Ipatinga)\",\r\n date = \"24/03/2025\",\r\n duracao = \"00:00\",\r\n isLoadingStart = false,\r\n disabled,\r\n handleClickGoback,\r\n handleClickStart,\r\n}: ILoadingDetails) => {\r\n return (\r\n <Box\r\n width=\"100%\"\r\n borderStyled={{ borderRadius: 8 }}\r\n style={{\r\n shadowColor: theme.colors.black[10],\r\n shadowOpacity: 0.1,\r\n shadowOffset: { width: 0, height: 2 },\r\n shadowRadius: 4,\r\n elevation: 2,\r\n }}\r\n backgroundColor={theme.colors.blue[400]}\r\n >\r\n <Box\r\n width={\"100%\"}\r\n flexStyle={{\r\n flexDirection: \"row\",\r\n alignItems: \"center\",\r\n justifyContent: \"space-between\",\r\n }}\r\n paddingStyle={{ padding: theme.paddings.md }}\r\n >\r\n <Box\r\n width={\"78%\"}\r\n flexStyle={{\r\n flexDirection: \"column\",\r\n justifyContent: \"flex-start\",\r\n alignItems: \"flex-start\",\r\n }}\r\n >\r\n <Typography\r\n text={`Carregamento - #${numero}`}\r\n size={theme.fontSizes.sm}\r\n fontFamily={theme.fonts.inter_bold}\r\n fontWeight=\"700\"\r\n color={theme.colors.neutral[25]}\r\n lineHeight={theme.fontSizes[\"lg\"]}\r\n letterSpacing={\"regular\"}\r\n />\r\n\r\n <Typography\r\n text={local}\r\n color={theme.colors.neutral[25]}\r\n size={theme.fontSizes.xs}\r\n lineHeight={theme.fontSizes[\"2xl\"]}\r\n letterSpacing={\"regular\"}\r\n numberOfLines={1}\r\n />\r\n <Typography\r\n text={`Data carregamento: ${date}`}\r\n color={theme.colors.neutral[25]}\r\n size={theme.fontSizes.xs}\r\n lineHeight={theme.fontSizes[\"2xl\"]}\r\n letterSpacing={\"regular\"}\r\n numberOfLines={1}\r\n />\r\n </Box>\r\n\r\n <Typography\r\n text={duracao}\r\n color={theme.colors.neutral[25]}\r\n size={24}\r\n align=\"left\"\r\n fontFamily=\"inter_bold\"\r\n fontWeight=\"700\"\r\n lineHeight={theme.fontSizes[\"3xl\"]}\r\n letterSpacing={\"regular\"}\r\n />\r\n </Box>\r\n\r\n <Box\r\n height={1}\r\n backgroundColor={theme.colors.gray[950]}\r\n marginStyle={{ marginTop: theme.margins.xs, marginBottom: theme.margins.xs }}\r\n />\r\n\r\n <Box style={{ flexDirection: \"row\", gap: 12, marginBottom: 8, padding: theme.paddings.md }}>\r\n <Button\r\n testID=\"iniciar-button\"\r\n title=\"INICIAR\"\r\n onPress={handleClickStart}\r\n height={40}\r\n isLoading={isLoadingStart}\r\n disabled={disabled}\r\n backgroundColor={disabled ? theme.colors.green[100] : theme.colors.green[250]}\r\n flexStyle={{ flex: 1, alignItems: \"center\", justifyContent: \"center\" }}\r\n buttonTextStyle={{\r\n color: theme.colors.neutral[25],\r\n fontFamily: theme.fonts.inter_semi_bold_600,\r\n fontSize: theme.fontSizes.md,\r\n fontWeight: \"600\",\r\n textAlign: \"center\",\r\n }}\r\n borderStyled={{\r\n borderWidth: theme.borderWidths.thin,\r\n borderColor: disabled ? theme.colors.green[100] : theme.colors.green[250],\r\n borderRadius: theme.fontSizes[\"2xl\"],\r\n }}\r\n />\r\n\r\n <Button\r\n title=\"VOLTAR\"\r\n onPress={handleClickGoback}\r\n height={40}\r\n isLoading={false}\r\n disabled={isLoadingStart}\r\n backgroundColor={theme.colors.yellow[75]}\r\n flexStyle={{ flex: 1, alignItems: \"center\", justifyContent: \"center\" }}\r\n buttonTextStyle={{\r\n color: theme.colors.neutral[25],\r\n fontFamily: theme.fonts.inter_semi_bold_600,\r\n fontSize: theme.fontSizes.md,\r\n fontWeight: \"600\",\r\n textAlign: \"center\",\r\n }}\r\n borderStyled={{\r\n borderWidth: theme.borderWidths.thin,\r\n borderColor: theme.colors.yellow[75],\r\n borderRadius: theme.fontSizes[\"2xl\"],\r\n }}\r\n />\r\n </Box>\r\n </Box>\r\n );\r\n};\r\n\r\n/**\r\n * EXPORTS\r\n */\r\nexport { LoadingDetails };\r\n"],"mappings":"AAAA;AACA;AACA;AACA,OAAOA,KAAK,MAAM,OAAO;;AAEzB;AACA,SAASC,GAAG,QAAQ,QAAQ;AAC5B,SAASC,MAAM,QAAQ,WAAW;AAClC,SAASC,UAAU,QAAQ,eAAe;;AAE1C;;AAGA;AACA,SAASC,KAAK,QAAQ,0BAA0B;AAEhD,MAAMC,cAAyC,GAAGA,CAAC;EACjDC,MAAM,GAAG,gBAAgB;EACzBC,KAAK,GAAG,uCAAuC;EAC/CC,IAAI,GAAG,YAAY;EACnBC,OAAO,GAAG,OAAO;EACjBC,cAAc,GAAG,KAAK;EACtBC,QAAQ;EACRC,iBAAiB;EACjBC;AACe,CAAC,KAAK;EACrB,oBACEb,KAAA,CAAAc,aAAA,CAACb,GAAG;IACFc,KAAK,EAAC,MAAM;IACZC,YAAY,EAAE;MAAEC,YAAY,EAAE;IAAE,CAAE;IAClCC,KAAK,EAAE;MACLC,WAAW,EAAEf,KAAK,CAACgB,MAAM,CAACC,KAAK,CAAC,EAAE,CAAC;MACnCC,aAAa,EAAE,GAAG;MAClBC,YAAY,EAAE;QAAER,KAAK,EAAE,CAAC;QAAES,MAAM,EAAE;MAAE,CAAC;MACrCC,YAAY,EAAE,CAAC;MACfC,SAAS,EAAE;IACb,CAAE;IACFC,eAAe,EAAEvB,KAAK,CAACgB,MAAM,CAACQ,IAAI,CAAC,GAAG;EAAE,gBAExC5B,KAAA,CAAAc,aAAA,CAACb,GAAG;IACFc,KAAK,EAAE,MAAO;IACdc,SAAS,EAAE;MACTC,aAAa,E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CC,QAAQ,EAAE9D,KAAK,CAACmC,SAAS,CAACH,EAAE;MAC5BQ,UAAU,EAAE,KAAK;MACjBuB,SAAS,EAAE;IACb,CAAE;IACFnD,YAAY,EAAE;MACZoD,WAAW,EAAEhE,KAAK,CAACiE,YAAY,CAACC,IAAI;MACpCC,WAAW,EAAEnE,KAAK,CAACgB,MAAM,CAACoD,MAAM,CAAC,EAAE,CAAC;MACpCvD,YAAY,EAAEb,KAAK,CAACmC,SAAS,CAAC,KAAK;IACrC;EAAE,CACH,CACE,CACF,CAAC;AAEV,CAAC;;AAED;AACA;AACA;AACA,SAASlC,cAAc","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":[],"sources":["interface.d.ts"],"sourcesContent":["/**\n * IMPORTS\n */\ntype ILoadingDetails = {\n /**número do carregamento */\n numero: string;\n /**local onde vai ser o carregamento */\n local: string;\n /**data de quando o carregamento vai ser realizado */\n date: string;\n /**duração para o carregamento */\n duracao: string;\n\n /**carregamento do inicio do start */\n isLoadingStart?: boolean;\n\n /**Actions */\n\n /**função usada para voltar usuário */\n handleClickGoback: () => void;\n /**função que inicia o carregamento */\n handleClickStart: () => void;\n};\n\n/**\n * EXPORTS\n */\nexport { ILoadingDetails };\n"],"mappings":"","ignoreList":[]}
1
+ {"version":3,"names":[],"sources":["interface.d.ts"],"sourcesContent":["/**\r\n * IMPORTS\r\n */\r\ntype ILoadingDetails = {\r\n /**número do carregamento */\r\n numero: string;\r\n /**local onde vai ser o carregamento */\r\n local: string;\r\n /**data de quando o carregamento vai ser realizado */\r\n date: string;\r\n /**duração para o carregamento */\r\n duracao: string;\r\n\r\n /**Actions */\r\n /**carregamento do inicio do start */\r\n isLoadingStart?: boolean;\r\n\r\n /**função usada para voltar usuário */\r\n handleClickGoback: () => void;\r\n\r\n /**função que inicia o carregamento */\r\n handleClickStart: () => void;\r\n\r\n /**para desabilitar o button de iniciar o carregamento*/\r\n disabled?: boolean;\r\n};\r\n\r\n/**\r\n * EXPORTS\r\n */\r\nexport { ILoadingDetails };\r\n"],"mappings":"","ignoreList":[]}
@@ -6,7 +6,8 @@ const meta = {
6
6
  numero: "01",
7
7
  local: "Doca 1, Pátio 02 - Ultrimais (Ipatinga)",
8
8
  date: "24/03/2025",
9
- duracao: "00:00"
9
+ duracao: "00:00",
10
+ disabled: false
10
11
  },
11
12
  parameters: {
12
13
  notes: `
@@ -23,6 +24,7 @@ Você usa assim:
23
24
  handleClickGoback={() => {}}
24
25
  isLoadingStart={false}
25
26
  handleClickStart={() => {}}
27
+ disabled={true}
26
28
  />
27
29
  \`\`\`
28
30
  `
@@ -38,4 +40,14 @@ export const Profile = {
38
40
  duracao: "00:00"
39
41
  }
40
42
  };
43
+ export const ProfileDisabled = {
44
+ name: "loading-details-disabled",
45
+ args: {
46
+ numero: "01",
47
+ local: "Doca 1, Pátio 02 - Ultrimais (Ipatinga)",
48
+ date: "24/03/2025",
49
+ duracao: "00:00",
50
+ disabled: true
51
+ }
52
+ };
41
53
  //# sourceMappingURL=loading-details.stories.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["LoadingDetails","meta","title","component","args","numero","local","date","duracao","parameters","notes","Profile","name"],"sources":["loading-details.stories.tsx"],"sourcesContent":["import React from \"react\";\nimport type { StoryObj, Meta } from \"@storybook/react\";\n\nimport { LoadingDetails } from \"../../components/loading-details\";\n\nconst meta: Meta<typeof LoadingDetails> = {\n title: \"componente/LoadingDetails\",\n component: LoadingDetails as React.FC,\n args: {\n numero: \"01\",\n local: \"Doca 1, Pátio 02 - Ultrimais (Ipatinga)\",\n date: \"24/03/2025\",\n duracao: \"00:00\",\n },\n parameters: {\n notes: `\n# LoadingDetails\n\nEste é um componente de LoadingDetails.\nVocê usa assim:\n\\`\\`\\`tsx\n<LoadingDetails\n numero=\"01\"\n local=\"Doca 1, Pátio 02 - Usiminas (Ipatinga)\"\n date=\"24/03/2025\"\n duracao=\"00:00\"\n handleClickGoback={() => {}}\n isLoadingStart={false}\n handleClickStart={() => {}}\n />\n\\`\\`\\`\n`,\n },\n};\n\nexport default meta;\n\ntype Story = StoryObj<typeof meta>;\n\nexport const Profile: Story = {\n name: \"loading-details\",\n args: {\n numero: \"01\",\n local: \"Doca 1, Pátio 02 - Ultrimais (Ipatinga)\",\n date: \"24/03/2025\",\n duracao: \"00:00\",\n },\n};\n"],"mappings":"AAGA,SAASA,cAAc,QAAQ,kCAAkC;AAEjE,MAAMC,IAAiC,GAAG;EACxCC,KAAK,EAAE,2BAA2B;EAClCC,SAAS,EAAEH,cAA0B;EACrCI,IAAI,EAAE;IACJC,MAAM,EAAE,IAAI;IACZC,KAAK,EAAE,yCAAyC;IAChDC,IAAI,EAAE,YAAY;IAClBC,OAAO,EAAE;EACX,CAAC;EACDC,UAAU,EAAE;IACVC,KAAK,EAAE;AACX;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;EACE;AACF,CAAC;AAED,eAAeT,IAAI;AAInB,OAAO,MAAMU,OAAc,GAAG;EAC5BC,IAAI,EAAE,iBAAiB;EACvBR,IAAI,EAAE;IACJC,MAAM,EAAE,IAAI;IACZC,KAAK,EAAE,yCAAyC;IAChDC,IAAI,EAAE,YAAY;IAClBC,OAAO,EAAE;EACX;AACF,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["LoadingDetails","meta","title","component","args","numero","local","date","duracao","disabled","parameters","notes","Profile","name","ProfileDisabled"],"sources":["loading-details.stories.tsx"],"sourcesContent":["import React from \"react\";\r\nimport type { StoryObj, Meta } from \"@storybook/react\";\r\n\r\nimport { LoadingDetails } from \"../../components/loading-details\";\r\n\r\nconst meta: Meta<typeof LoadingDetails> = {\r\n title: \"componente/LoadingDetails\",\r\n component: LoadingDetails as React.FC,\r\n args: {\r\n numero: \"01\",\r\n local: \"Doca 1, Pátio 02 - Ultrimais (Ipatinga)\",\r\n date: \"24/03/2025\",\r\n duracao: \"00:00\",\r\n disabled: false,\r\n },\r\n parameters: {\r\n notes: `\r\n# LoadingDetails\r\n\r\nEste é um componente de LoadingDetails.\r\nVocê usa assim:\r\n\\`\\`\\`tsx\r\n<LoadingDetails\r\n numero=\"01\"\r\n local=\"Doca 1, Pátio 02 - Usiminas (Ipatinga)\"\r\n date=\"24/03/2025\"\r\n duracao=\"00:00\"\r\n handleClickGoback={() => {}}\r\n isLoadingStart={false}\r\n handleClickStart={() => {}}\r\n disabled={true}\r\n />\r\n\\`\\`\\`\r\n`,\r\n },\r\n};\r\n\r\nexport default meta;\r\n\r\ntype Story = StoryObj<typeof meta>;\r\n\r\nexport const Profile: Story = {\r\n name: \"loading-details\",\r\n args: {\r\n numero: \"01\",\r\n local: \"Doca 1, Pátio 02 - Ultrimais (Ipatinga)\",\r\n date: \"24/03/2025\",\r\n duracao: \"00:00\",\r\n },\r\n};\r\nexport const ProfileDisabled: Story = {\r\n name: \"loading-details-disabled\",\r\n args: {\r\n numero: \"01\",\r\n local: \"Doca 1, Pátio 02 - Ultrimais (Ipatinga)\",\r\n date: \"24/03/2025\",\r\n duracao: \"00:00\",\r\n disabled: true,\r\n },\r\n};\r\n"],"mappings":"AAGA,SAASA,cAAc,QAAQ,kCAAkC;AAEjE,MAAMC,IAAiC,GAAG;EACxCC,KAAK,EAAE,2BAA2B;EAClCC,SAAS,EAAEH,cAA0B;EACrCI,IAAI,EAAE;IACJC,MAAM,EAAE,IAAI;IACZC,KAAK,EAAE,yCAAyC;IAChDC,IAAI,EAAE,YAAY;IAClBC,OAAO,EAAE,OAAO;IAChBC,QAAQ,EAAE;EACZ,CAAC;EACDC,UAAU,EAAE;IACVC,KAAK,EAAE;AACX;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;EACE;AACF,CAAC;AAED,eAAeV,IAAI;AAInB,OAAO,MAAMW,OAAc,GAAG;EAC5BC,IAAI,EAAE,iBAAiB;EACvBT,IAAI,EAAE;IACJC,MAAM,EAAE,IAAI;IACZC,KAAK,EAAE,yCAAyC;IAChDC,IAAI,EAAE,YAAY;IAClBC,OAAO,EAAE;EACX;AACF,CAAC;AACD,OAAO,MAAMM,eAAsB,GAAG;EACpCD,IAAI,EAAE,0BAA0B;EAChCT,IAAI,EAAE;IACJC,MAAM,EAAE,IAAI;IACZC,KAAK,EAAE,yCAAyC;IAChDC,IAAI,EAAE,YAAY;IAClBC,OAAO,EAAE,OAAO;IAChBC,QAAQ,EAAE;EACZ;AACF,CAAC","ignoreList":[]}
@@ -1,5 +1,5 @@
1
- /**
2
- * IMPORTS
1
+ /**
2
+ * IMPORTS
3
3
  */
4
4
 
5
5
  const borderWidths = {
@@ -61,6 +61,7 @@ const colors = {
61
61
  950: "#94a3b8"
62
62
  },
63
63
  green: {
64
+ 100: "#20AD4880",
64
65
  200: "#25BA76",
65
66
  250: "#20AD48",
66
67
  400: "#49C63E",
@@ -149,8 +150,8 @@ const letterSpacing = {
149
150
  strong: 1
150
151
  };
151
152
 
152
- /**
153
- * EXPORTSS
153
+ /**
154
+ * EXPORTSS
154
155
  */
155
156
  export const theme = {
156
157
  borderWidths,
@@ -1 +1 @@
1
- {"version":3,"names":["borderWidths","thin","thin_medium","thin_bold","thick","thick_medium","thick_bold","thick_large","hairline","colors","neutral","black","blue","red","gray","green","orange","yellow","fonts","inter_thin_100","inter_extra_light_200","inter_light_300","inter_regular_400","inter_medium_500","inter_semi_bold_600","inter_bold_700","inter_extra_bold_800","inter_bold","fontSizes","xs","sm","md","lg","xl","margins","paddings","shadows","z1","z2","letterSpacing","o_16","regular","medium","strong","theme"],"sources":["theme.ts"],"sourcesContent":["/**\n * IMPORTS\n */\n\nconst borderWidths = {\n thin: 1,\n thin_medium: 2,\n thin_bold: 6,\n thick: 4,\n thick_medium: 8,\n thick_bold: 12,\n thick_large: 16,\n hairline: 999,\n};\n\nconst colors = {\n neutral: {\n 25: \"#FFFFFF\",\n 50: \"#E7EEFF\",\n 75: \"#E5E1F9\",\n 200: \"#C6C6C6\",\n 300: \"#F3F3F3\",\n 400: \"#F4F5F6\",\n },\n black: {\n 10: \"#000000\",\n 25: \"#1E1E1E\",\n 100: \"#393939\",\n 180: \"#35302B\",\n },\n blue: {\n 25: \"#1E1E1E\",\n 50: \"#1EA7fD\",\n 100: \"#051C3B\",\n 150: \"#2E41F2\",\n 350: \"#357FD6\",\n 375: \"#056CF2\",\n 400: \"#2D3748\",\n 400_50: \"#2D374880\",\n 500: \"#050022\",\n 525: \"#051C3B\",\n },\n red: {\n 400: \"#D23A1A\",\n 500: \"#C54239\",\n 600: \"#B3261E\",\n 800: \"#E72626\",\n 900: \"#9F0000\",\n },\n gray: {\n 300: \"#D9D9D9\",\n 350: \"#CDCDCD\",\n 400: \"#C6C6C6\",\n 500: \"#1c1c1e\",\n 600: \"#5E5E5E\",\n 700: \"#727272\",\n 800: \"#837676\",\n 850: \"#868686\",\n 875: \"#949494\",\n 900: \"#9B9B9B\",\n 925: \"#957c5f\",\n 950: \"#94a3b8\",\n },\n green: {\n 200: \"#25BA76\",\n 250: \"#20AD48\",\n 400: \"#49C63E\",\n 500: \"#50C58F\",\n },\n orange: {\n 500: \"#FC5701\",\n 450: \"#FC6C2D\",\n 150: \"#FFA41C\",\n },\n yellow: {\n 100: \"#DFAE00\",\n 50: \"#F0CA4B\",\n 75: \"#F59E0B\",\n 90: \"#957C5F\",\n },\n};\n\nconst fonts = {\n inter_thin_100: \"Inter-Thin\",\n inter_extra_light_200: \"Inter-ExtraLight\",\n inter_light_300: \"Inter-Light\",\n inter_regular_400: \"Inter-Regular\",\n inter_medium_500: \"Inter-Medium\",\n inter_semi_bold_600: \"Inter-SemiBold\",\n inter_bold_700: \"Inter-Bold\",\n inter_extra_bold_800: \"Inter-ExtraBold\",\n inter_bold: \"Inter-Bold\",\n};\n\nconst fontSizes = {\n \"2xs\": 10,\n xs: 12,\n sm: 14,\n md: 16,\n lg: 18,\n xl: 20,\n \"2xl\": 24,\n \"3xl\": 32,\n \"4xl\": 38,\n \"5xl\": 50,\n \"6xl\": 60,\n \"7xl\": 72,\n \"8xl\": 96,\n \"9xl\": 128,\n};\n\nconst margins = {\n \"1xs\": 6,\n \"2xs\": 10,\n xs: 12,\n sm: 14,\n md: 16,\n lg: 18,\n xl: 20,\n \"2xl\": 24,\n \"3xl\": 30,\n \"4xl\": 36,\n \"5xl\": 48,\n \"6xl\": 60,\n \"7xl\": 72,\n \"8xl\": 96,\n \"9xl\": 128,\n};\n\nconst paddings = {\n \"2xs\": 10,\n xs: 12,\n sm: 14,\n md: 16,\n lg: 18,\n xl: 20,\n \"2xl\": 24,\n \"3xl\": 30,\n \"4xl\": 36,\n \"5xl\": 48,\n \"6xl\": 60,\n \"7xl\": 72,\n \"8xl\": 96,\n \"9xl\": 128,\n};\n\nconst shadows = {\n z1: \"0px 1px 0px rgba(0, 0, 0, 0.3), 0px 1px 0px 1px rgba(0, 0, 0, 0.15)\",\n z2: \"0px 1px 2px rgba(0, 0, 0, 0.3)\",\n};\n\nconst letterSpacing = {\n o_16: 0.16,\n regular: 0.5,\n medium: 0.75,\n strong: 1,\n};\n\n/**\n * EXPORTSS\n */\nexport const theme = {\n borderWidths,\n colors,\n fonts,\n fontSizes,\n margins,\n shadows,\n paddings,\n letterSpacing,\n};\n"],"mappings":"AAAA;AACA;AACA;;AAEA,MAAMA,YAAY,GAAG;EACnBC,IAAI,EAAE,CAAC;EACPC,WAAW,EAAE,CAAC;EACdC,SAAS,EAAE,CAAC;EACZC,KAAK,EAAE,CAAC;EACRC,YAAY,EAAE,CAAC;EACfC,UAAU,EAAE,EAAE;EACdC,WAAW,EAAE,EAAE;EACfC,QAAQ,EAAE;AACZ,CAAC;AAED,MAAMC,MAAM,GAAG;EACbC,OAAO,EAAE;IACP,EAAE,EAAE,SAAS;IACb,EAAE,EAAE,SAAS;IACb,EAAE,EAAE,SAAS;IACb,GAAG,EAAE,SAAS;IACd,GAAG,EAAE,SAAS;IACd,GAAG,EAAE;EACP,CAAC;EACDC,KAAK,EAAE;IACL,EAAE,EAAE,SAAS;IACb,EAAE,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AG;EACdC,EAAE,EAAE,qEAAqE;EACzEC,EAAE,EAAE;AACN,CAAC;AAED,MAAMC,aAAa,GAAG;EACpBC,IAAI,EAAE,IAAI;EACVC,OAAO,EAAE,GAAG;EACZC,MAAM,EAAE,IAAI;EACZC,MAAM,EAAE;AACV,CAAC;;AAED;AACA;AACA;AACA,OAAO,MAAMC,KAAK,GAAG;EACnB5C,YAAY;EACZS,MAAM;EACNS,KAAK;EACLU,SAAS;EACTM,OAAO;EACPE,OAAO;EACPD,QAAQ;EACRI;AACF,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["borderWidths","thin","thin_medium","thin_bold","thick","thick_medium","thick_bold","thick_large","hairline","colors","neutral","black","blue","red","gray","green","orange","yellow","fonts","inter_thin_100","inter_extra_light_200","inter_light_300","inter_regular_400","inter_medium_500","inter_semi_bold_600","inter_bold_700","inter_extra_bold_800","inter_bold","fontSizes","xs","sm","md","lg","xl","margins","paddings","shadows","z1","z2","letterSpacing","o_16","regular","medium","strong","theme"],"sources":["theme.ts"],"sourcesContent":["/**\r\n * IMPORTS\r\n */\r\n\r\nconst borderWidths = {\r\n thin: 1,\r\n thin_medium: 2,\r\n thin_bold: 6,\r\n thick: 4,\r\n thick_medium: 8,\r\n thick_bold: 12,\r\n thick_large: 16,\r\n hairline: 999,\r\n};\r\n\r\nconst colors = {\r\n neutral: {\r\n 25: \"#FFFFFF\",\r\n 50: \"#E7EEFF\",\r\n 75: \"#E5E1F9\",\r\n 200: \"#C6C6C6\",\r\n 300: \"#F3F3F3\",\r\n 400: \"#F4F5F6\",\r\n },\r\n black: {\r\n 10: \"#000000\",\r\n 25: \"#1E1E1E\",\r\n 100: \"#393939\",\r\n 180: \"#35302B\",\r\n },\r\n blue: {\r\n 25: \"#1E1E1E\",\r\n 50: \"#1EA7fD\",\r\n 100: \"#051C3B\",\r\n 150: \"#2E41F2\",\r\n 350: \"#357FD6\",\r\n 375: \"#056CF2\",\r\n 400: \"#2D3748\",\r\n 400_50: \"#2D374880\",\r\n 500: \"#050022\",\r\n 525: \"#051C3B\",\r\n },\r\n red: {\r\n 400: \"#D23A1A\",\r\n 500: \"#C54239\",\r\n 600: \"#B3261E\",\r\n 800: \"#E72626\",\r\n 900: \"#9F0000\",\r\n },\r\n gray: {\r\n 300: \"#D9D9D9\",\r\n 350: \"#CDCDCD\",\r\n 400: \"#C6C6C6\",\r\n 500: \"#1c1c1e\",\r\n 600: \"#5E5E5E\",\r\n 700: \"#727272\",\r\n 800: \"#837676\",\r\n 850: \"#868686\",\r\n 875: \"#949494\",\r\n 900: \"#9B9B9B\",\r\n 925: \"#957c5f\",\r\n 950: \"#94a3b8\",\r\n },\r\n green: {\r\n 100: \"#20AD4880\",\r\n 200: \"#25BA76\",\r\n 250: \"#20AD48\",\r\n 400: \"#49C63E\",\r\n 500: \"#50C58F\",\r\n },\r\n orange: {\r\n 500: \"#FC5701\",\r\n 450: \"#FC6C2D\",\r\n 150: \"#FFA41C\",\r\n },\r\n yellow: {\r\n 100: \"#DFAE00\",\r\n 50: \"#F0CA4B\",\r\n 75: \"#F59E0B\",\r\n 90: \"#957C5F\",\r\n },\r\n};\r\n\r\nconst fonts = {\r\n inter_thin_100: \"Inter-Thin\",\r\n inter_extra_light_200: \"Inter-ExtraLight\",\r\n inter_light_300: \"Inter-Light\",\r\n inter_regular_400: \"Inter-Regular\",\r\n inter_medium_500: \"Inter-Medium\",\r\n inter_semi_bold_600: \"Inter-SemiBold\",\r\n inter_bold_700: \"Inter-Bold\",\r\n inter_extra_bold_800: \"Inter-ExtraBold\",\r\n inter_bold: \"Inter-Bold\",\r\n};\r\n\r\nconst fontSizes = {\r\n \"2xs\": 10,\r\n xs: 12,\r\n sm: 14,\r\n md: 16,\r\n lg: 18,\r\n xl: 20,\r\n \"2xl\": 24,\r\n \"3xl\": 32,\r\n \"4xl\": 38,\r\n \"5xl\": 50,\r\n \"6xl\": 60,\r\n \"7xl\": 72,\r\n \"8xl\": 96,\r\n \"9xl\": 128,\r\n};\r\n\r\nconst margins = {\r\n \"1xs\": 6,\r\n \"2xs\": 10,\r\n xs: 12,\r\n sm: 14,\r\n md: 16,\r\n lg: 18,\r\n xl: 20,\r\n \"2xl\": 24,\r\n \"3xl\": 30,\r\n \"4xl\": 36,\r\n \"5xl\": 48,\r\n \"6xl\": 60,\r\n \"7xl\": 72,\r\n \"8xl\": 96,\r\n \"9xl\": 128,\r\n};\r\n\r\nconst paddings = {\r\n \"2xs\": 10,\r\n xs: 12,\r\n sm: 14,\r\n md: 16,\r\n lg: 18,\r\n xl: 20,\r\n \"2xl\": 24,\r\n \"3xl\": 30,\r\n \"4xl\": 36,\r\n \"5xl\": 48,\r\n \"6xl\": 60,\r\n \"7xl\": 72,\r\n \"8xl\": 96,\r\n \"9xl\": 128,\r\n};\r\n\r\nconst shadows = {\r\n z1: \"0px 1px 0px rgba(0, 0, 0, 0.3), 0px 1px 0px 1px rgba(0, 0, 0, 0.15)\",\r\n z2: \"0px 1px 2px rgba(0, 0, 0, 0.3)\",\r\n};\r\n\r\nconst letterSpacing = {\r\n o_16: 0.16,\r\n regular: 0.5,\r\n medium: 0.75,\r\n strong: 1,\r\n};\r\n\r\n/**\r\n * EXPORTSS\r\n */\r\nexport const theme = {\r\n borderWidths,\r\n colors,\r\n fonts,\r\n fontSizes,\r\n margins,\r\n shadows,\r\n paddings,\r\n letterSpacing,\r\n};\r\n"],"mappings":"AAAA;AACA;AACA;;AAEA,MAAMA,YAAY,GAAG;EACnBC,IAAI,EAAE,CAAC;EACPC,WAAW,EAAE,CAAC;EACdC,SAAS,EAAE,CAAC;EACZC,KAAK,EAAE,CAAC;EACRC,YAAY,EAAE,CAAC;EACfC,UAAU,EAAE,EAAE;EACdC,WAAW,EAAE,EAAE;EACfC,QAAQ,EAAE;AACZ,CAAC;AAED,MAAMC,MAAM,GAAG;EACbC,OAAO,EAAE;IACP,EAAE,EAAE,SAAS;IACb,EAAE,EAAE,SAAS;IACb,EAAE,EAAE,SAAS;IACb,GAAG,EAAE,SAAS;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AE,EAAE;EACT,KAAK,EAAE,EAAE;EACT,KAAK,EAAE,EAAE;EACT,KAAK,EAAE,EAAE;EACT,KAAK,EAAE;AACT,CAAC;AAED,MAAMG,OAAO,GAAG;EACdC,EAAE,EAAE,qEAAqE;EACzEC,EAAE,EAAE;AACN,CAAC;AAED,MAAMC,aAAa,GAAG;EACpBC,IAAI,EAAE,IAAI;EACVC,OAAO,EAAE,GAAG;EACZC,MAAM,EAAE,IAAI;EACZC,MAAM,EAAE;AACV,CAAC;;AAED;AACA;AACA;AACA,OAAO,MAAMC,KAAK,GAAG;EACnB5C,YAAY;EACZS,MAAM;EACNS,KAAK;EACLU,SAAS;EACTM,OAAO;EACPE,OAAO;EACPD,QAAQ;EACRI;AACF,CAAC","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":["React","Icons","theme","getIconByProperty","propertyType","color","createElement","icon","colors","blue","size"],"sources":["index.tsx"],"sourcesContent":["/**\r\n * IMPORTS\r\n */\r\n\r\nimport React from \"react\";\r\nimport { Icons } from \"../../common/icons-svg\";\r\nimport { theme } from \"../../styles/theme/theme\";\r\n\r\n/**\r\n * Function that will map property types to corresponding icons in SVG 🛠️.\r\n * @param propertyType\r\n * @param color\r\n * @returns SVG\r\n */\r\nconst getIconByProperty: React.FC<any> = (propertyType: string, color?: string) => {\r\n switch (propertyType) {\r\n case \"operacao_veiculo\":\r\n return <Icons color={color} icon=\"STEERING_WHEEL\" />;\r\n\r\n case \"manutencao\":\r\n return <Icons color={color} icon=\"GEAR\" />;\r\n\r\n case \"aguardando_carga\":\r\n return <Icons color={color} icon=\"TIMER\" />;\r\n\r\n case \"disposicao_veiculo_parado\":\r\n return <Icons color={theme.colors.blue[500]} size={20} icon=\"TRUCK_ACTIVITY\" />;\r\n\r\n case \"aguardando_descarga\":\r\n return <Icons color={color} icon=\"HOURGLASS\" />;\r\n\r\n case \"descanso\":\r\n return <Icons color={color} icon=\"COFFEE\" />;\r\n\r\n case \"repouso_semanal\":\r\n return <Icons color={color} icon=\"HOUSE\" />;\r\n\r\n case \"repouso_noturno\":\r\n return <Icons color={color} icon=\"MOON_STARS\" />;\r\n\r\n case \"refeicao\":\r\n return <Icons color={color} icon=\"CALL_BELL\" />;\r\n\r\n case \"ferias\":\r\n return <Icons color={color} icon=\"ISLAND\" />;\r\n default:\r\n return <Icons color={color} icon=\"STEERING_WHEEL\" />; // Retorna uma Svg default caso o tipo de propriedade não for reconhecido.\r\n }\r\n};\r\n\r\n/**\r\n * EXPORTS\r\n */\r\nexport { getIconByProperty };\r\n"],"mappings":"AAAA;AACA;AACA;;AAEA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,KAAK,QAAQ,wBAAwB;AAC9C,SAASC,KAAK,QAAQ,0BAA0B;;AAEhD;AACA;AACA;AACA;AACA;AACA;AACA,MAAMC,iBAAgC,GAAGA,CAACC,YAAoB,EAAEC,KAAc,KAAK;EACjF,QAAQD,YAAY;IAClB,KAAK,kBAAkB;MACrB,oBAAOJ,KAAA,CAAAM,aAAA,CAACL,KAAK;QAACI,KAAK,EAAEA,KAAM;QAACE,IAAI,EAAC;MAAgB,CAAE,CAAC;IAEtD,KAAK,YAAY;MACf,oBAAOP,KAAA,CAAAM,aAAA,CAACL,KAAK;QAACI,KAAK,EAAEA,KAAM;QAACE,IAAI,EAAC;MAAM,CAAE,CAAC;IAE5C,KAAK,kBAAkB;MACrB,oBAAOP,KAAA,CAAAM,aAAA,CAACL,KAAK;QAACI,KAAK,EAAEA,KAAM;QAACE,IAAI,EAAC;MAAO,CAAE,CAAC;IAE7C,KAAK,2BAA2B;MAC9B,oBAAOP,KAAA,CAAAM,aAAA,CAACL,KAAK;QAACI,KAAK,EAAEH,KAAK,CAACM,MAAM,CAACC,IAAI,CAAC,GAAG,CAAE;QAACC,IAAI,EAAE,EAAG;QAACH,IAAI,EAAC;MAAgB,CAAE,CAAC;IAEjF,KAAK,qBAAqB;MACxB,oBAAOP,KAAA,CAAAM,aAAA,CAACL,KAAK;QAACI,KAAK,EAAEA,KAAM;QAACE,IAAI,EAAC;MAAW,CAAE,CAAC;IAEjD,KAAK,UAAU;MACb,oBAAOP,KAAA,CAAAM,aAAA,CAACL,KAAK;QAACI,KAAK,EAAEA,KAAM;QAACE,IAAI,EAAC;MAAQ,CAAE,CAAC;IAE9C,KAAK,iBAAiB;MACpB,oBAAOP,KAAA,CAAAM,aAAA,CAACL,KAAK;QAACI,KAAK,EAAEA,KAAM;QAACE,IAAI,EAAC;MAAO,CAAE,CAAC;IAE7C,KAAK,iBAAiB;MACpB,oBAAOP,KAAA,CAAAM,aAAA,CAACL,KAAK;QAACI,KAAK,EAAEA,KAAM;QAACE,IAAI,EAAC;MAAY,CAAE,CAAC;IAElD,KAAK,UAAU;MACb,oBAAOP,KAAA,CAAAM,aAAA,CAACL,KAAK;QAACI,KAAK,EAAEA,KAAM;QAACE,IAAI,EAAC;MAAW,CAAE,CAAC;IAEjD,KAAK,QAAQ;MACX,oBAAOP,KAAA,CAAAM,aAAA,CAACL,KAAK;QAACI,KAAK,EAAEA,KAAM;QAACE,IAAI,EAAC;MAAQ,CAAE,CAAC;IAC9C;MACE,oBAAOP,KAAA,CAAAM,aAAA,CAACL,KAAK;QAACI,KAAK,EAAEA,KAAM;QAACE,IAAI,EAAC;MAAgB,CAAE,CAAC;IAAE;EAC1D;AACF,CAAC;;AAED;AACA;AACA;AACA,SAASJ,iBAAiB","ignoreList":[]}
1
+ {"version":3,"names":["React","Icons","theme","getIconByProperty","propertyType","color","createElement","icon","colors","blue","size"],"sources":["index.tsx"],"sourcesContent":["/**\r\n * IMPORTS\r\n */\r\n\r\nimport React from \"react\";\r\nimport { Icons } from \"../../common/icons-svg\";\r\nimport { theme } from \"../../styles/theme/theme\";\r\n\r\n/**\r\n * Function that will map property types to corresponding icons in SVG 🛠️.\r\n * @param propertyType\r\n * @param color\r\n * @returns SVG\r\n */\r\nconst getIconByProperty: React.FC<any> = (propertyType: string, color?: string) => {\r\n switch (propertyType) {\r\n \r\n case \"operacao_veiculo\":\r\n return <Icons color={color} icon=\"STEERING_WHEEL\" />;\r\n\r\n case \"manutencao\":\r\n return <Icons color={color} icon=\"GEAR\" />;\r\n\r\n case \"aguardando_carga\":\r\n return <Icons color={color} icon=\"TIMER\" />;\r\n\r\n case \"disposicao_veiculo_parado\":\r\n return <Icons color={theme.colors.blue[500]} size={20} icon=\"TRUCK_ACTIVITY\" />;\r\n\r\n case \"aguardando_descarga\":\r\n return <Icons color={color} icon=\"HOURGLASS\" />;\r\n\r\n case \"descanso\":\r\n return <Icons color={color} icon=\"COFFEE\" />;\r\n\r\n case \"repouso_semanal\":\r\n return <Icons color={color} icon=\"HOUSE\" />;\r\n\r\n case \"repouso_noturno\":\r\n return <Icons color={color} icon=\"MOON_STARS\" />;\r\n\r\n case \"refeicao\":\r\n return <Icons color={color} icon=\"CALL_BELL\" />;\r\n\r\n case \"ferias\":\r\n return <Icons color={color} icon=\"ISLAND\" />;\r\n default:\r\n return <Icons color={color} icon=\"STEERING_WHEEL\" />; // Retorna uma Svg default caso o tipo de propriedade não for reconhecido.\r\n }\r\n};\r\n\r\n/**\r\n * EXPORTS\r\n */\r\nexport { getIconByProperty };\r\n"],"mappings":"AAAA;AACA;AACA;;AAEA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,KAAK,QAAQ,wBAAwB;AAC9C,SAASC,KAAK,QAAQ,0BAA0B;;AAEhD;AACA;AACA;AACA;AACA;AACA;AACA,MAAMC,iBAAgC,GAAGA,CAACC,YAAoB,EAAEC,KAAc,KAAK;EACjF,QAAQD,YAAY;IAElB,KAAK,kBAAkB;MACrB,oBAAOJ,KAAA,CAAAM,aAAA,CAACL,KAAK;QAACI,KAAK,EAAEA,KAAM;QAACE,IAAI,EAAC;MAAgB,CAAE,CAAC;IAEtD,KAAK,YAAY;MACf,oBAAOP,KAAA,CAAAM,aAAA,CAACL,KAAK;QAACI,KAAK,EAAEA,KAAM;QAACE,IAAI,EAAC;MAAM,CAAE,CAAC;IAE5C,KAAK,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ACA,SAASJ,iBAAiB","ignoreList":[]}
@@ -4,3 +4,4 @@ declare const meta: Meta<typeof LoadingDetails>;
4
4
  export default meta;
5
5
  declare type Story = StoryObj<typeof meta>;
6
6
  export declare const Profile: Story;
7
+ export declare const ProfileDisabled: Story;
@@ -62,6 +62,7 @@ export declare const useTheme: () => {
62
62
  950: string;
63
63
  };
64
64
  green: {
65
+ 100: string;
65
66
  200: string;
66
67
  250: string;
67
68
  400: string;
@@ -64,6 +64,7 @@ export declare const theme: {
64
64
  950: string;
65
65
  };
66
66
  green: {
67
+ 100: string;
67
68
  200: string;
68
69
  250: string;
69
70
  400: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-exp-fig",
3
- "version": "0.1.19",
3
+ "version": "0.1.21",
4
4
  "description": "Biblioteca para desenvolvimento dos componentes para utilizar nos app da Expresso Figueiredo.",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",
@@ -1,49 +1,49 @@
1
- /**
2
- * IMPORTS
3
- */
4
- import * as React from "react";
5
- import Svg, { Path, Defs, G, ClipPath } from "react-native-svg";
6
-
7
- //typings
8
- import { ISvgProps } from "../interface";
9
-
10
- const SvgIconSteeringWheel: React.FC<ISvgProps> = ({ color, size }) => (
11
- <Svg
12
- //@ts-ignore
13
- xmlns="http://www.w3.org/2000/svg"
14
- width={size ?? 24}
15
- height={size ?? 24}
16
- fill="none"
17
- >
18
- <G clipPath="url(#a)">
19
- <Path
20
- fill={color ?? "#050022"}
21
- d="M12.455 14.254a.938.938 0 1 0 0-1.875.938.938 0 0 0 0 1.875Z"
22
- />
23
- <Path
24
- stroke={color ?? "#050022"}
25
- strokeLinecap="round"
26
- strokeLinejoin="round"
27
- strokeWidth={1.5}
28
- d="M12.455 21.192a9 9 0 1 0 0-18 9 9 0 0 0 0 18Z"
29
- />
30
- <Path
31
- stroke={color ?? "#050022"}
32
- strokeLinecap="round"
33
- strokeLinejoin="round"
34
- strokeWidth={1.5}
35
- d="M3.605 13.837a12 12 0 0 1 17.7 0M11.687 21.159l-2.05-5.48a.75.75 0 0 0-.702-.487H3.966M13.22 21.16l2.052-5.482a.75.75 0 0 1 .704-.486h4.968"
36
- />
37
- </G>
38
- <Defs>
39
- <ClipPath id="a">
40
- <Path fill="#fff" d="M.455.192h24v24h-24z" />
41
- </ClipPath>
42
- </Defs>
43
- </Svg>
44
- );
45
-
46
- /**
47
- * EXPORTS
48
- */
49
- export { SvgIconSteeringWheel };
1
+ /**
2
+ * IMPORTS
3
+ */
4
+ import * as React from "react";
5
+ import Svg, { Path, Defs, G, ClipPath } from "react-native-svg";
6
+
7
+ //typings
8
+ import { ISvgProps } from "../interface";
9
+
10
+ const SvgIconSteeringWheel: React.FC<ISvgProps> = ({ color, size }) => (
11
+ <Svg
12
+ //@ts-ignore
13
+ xmlns="http://www.w3.org/2000/svg"
14
+ width={size ?? 24}
15
+ height={size ?? 24}
16
+ fill="none"
17
+ >
18
+ <G clipPath="url(#a)">
19
+ <Path
20
+ fill={color ?? "#050022"}
21
+ d="M12.455 14.254a.938.938 0 1 0 0-1.875.938.938 0 0 0 0 1.875Z"
22
+ />
23
+ <Path
24
+ stroke={color ?? "#050022"}
25
+ strokeLinecap="round"
26
+ strokeLinejoin="round"
27
+ strokeWidth={2}
28
+ d="M12.455 21.192a9 9 0 1 0 0-18 9 9 0 0 0 0 18Z"
29
+ />
30
+ <Path
31
+ stroke={color ?? "#050022"}
32
+ strokeLinecap="round"
33
+ strokeLinejoin="round"
34
+ strokeWidth={2}
35
+ d="M3.605 13.837a12 12 0 0 1 17.7 0M11.687 21.159l-2.05-5.48a.75.75 0 0 0-.702-.487H3.966M13.22 21.16l2.052-5.482a.75.75 0 0 1 .704-.486h4.968"
36
+ />
37
+ </G>
38
+ <Defs>
39
+ <ClipPath id="a">
40
+ <Path fill="#fff" d="M.455.192h24v24h-24z" />
41
+ </ClipPath>
42
+ </Defs>
43
+ </Svg>
44
+ );
45
+
46
+ /**
47
+ * EXPORTS
48
+ */
49
+ export { SvgIconSteeringWheel };
@@ -1,39 +1,41 @@
1
- /**
2
- * IMPORTS
3
- */
4
- import React from "react";
5
- import Svg, { Path } from "react-native-svg";
6
- /**
7
- * typings
8
- */
9
- import { ISvgProps } from "../interface";
10
-
11
- const IconTruck: React.FC<ISvgProps> = ({ color, size, ...res }) => (
12
- <Svg
13
- //@ts-ignore
14
- xmlns="http://www.w3.org/2000/svg"
15
- width={size ?? 24}
16
- height={size ?? 24}
17
- fill="none"
18
- viewBox="0 0 24 24"
19
- {...res}
20
- >
21
- <Path
22
- stroke={color ?? "#fff"}
23
- strokeLinecap="round"
24
- strokeLinejoin="round"
25
- d="M10 17h4V5H2v12h3M20 17h2v-3.34a4 4 0 00-1.17-2.83L19 9h-5M14 17h1"
26
- ></Path>
27
- <Path
28
- stroke={color ?? "#fff"}
29
- strokeLinecap="round"
30
- strokeLinejoin="round"
31
- d="M7.5 20a2.5 2.5 0 100-5 2.5 2.5 0 000 5zM17.5 20a2.5 2.5 0 100-5 2.5 2.5 0 000 5z"
32
- ></Path>
33
- </Svg>
34
- );
35
-
36
- /**
37
- * EXPORTS
38
- */
39
- export { IconTruck };
1
+ /**
2
+ * IMPORTS
3
+ */
4
+ import React from "react";
5
+ import Svg, { Path } from "react-native-svg";
6
+ /**
7
+ * typings
8
+ */
9
+ import { ISvgProps } from "../interface";
10
+
11
+ const IconTruck: React.FC<ISvgProps> = ({ color, size, ...res }) => (
12
+ <Svg
13
+ //@ts-ignore
14
+ xmlns="http://www.w3.org/2000/svg"
15
+ width={size ?? 24}
16
+ height={size ?? 24}
17
+ fill="none"
18
+ viewBox="0 0 24 24"
19
+ {...res}
20
+ >
21
+ <Path
22
+ stroke={color ?? "#050022"}
23
+ strokeWidth={2}
24
+ strokeLinecap="round"
25
+ strokeLinejoin="round"
26
+ d="M10 17h4V5H2v12h3M20 17h2v-3.34a4 4 0 00-1.17-2.83L19 9h-5M14 17h1"
27
+ />
28
+ <Path
29
+ stroke={color ?? "#050022"}
30
+ strokeWidth={2}
31
+ strokeLinecap="round"
32
+ strokeLinejoin="round"
33
+ d="M7.5 20a2.5 2.5 0 100-5 2.5 2.5 0 000 5zM17.5 20a2.5 2.5 0 100-5 2.5 2.5 0 000 5z"
34
+ />
35
+ </Svg>
36
+ );
37
+
38
+ /**
39
+ * EXPORTS
40
+ */
41
+ export { IconTruck };
@@ -69,7 +69,7 @@ const ActivitiesProgress: React.FC<IActivitiesProgress> = ({
69
69
  color={
70
70
  tipo_atividade === "trabalho" ? theme.colors.green[400] : theme.colors.orange[500]
71
71
  }
72
- size={theme.fontSizes.sm}
72
+ size={theme.fontSizes.xs}
73
73
  fontFamily={theme.fonts.inter_semi_bold_600}
74
74
  fontWeight={"600"}
75
75
  lineHeight={theme.fontSizes.lg}