react-native-exp-fig 0.1.19 → 0.1.20

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 (27) hide show
  1. package/lib/commonjs/components/activities-progress/index.js +1 -1
  2. package/lib/commonjs/components/activities-progress/index.js.map +1 -1
  3. package/lib/commonjs/components/loading-details/index.js +13 -11
  4. package/lib/commonjs/components/loading-details/index.js.map +1 -1
  5. package/lib/commonjs/components/loading-details/interface.d.js.map +1 -1
  6. package/lib/commonjs/stories/loading-details/loading-details.stories.js +14 -2
  7. package/lib/commonjs/stories/loading-details/loading-details.stories.js.map +1 -1
  8. package/lib/commonjs/styles/theme/theme.js +5 -4
  9. package/lib/commonjs/styles/theme/theme.js.map +1 -1
  10. package/lib/module/components/activities-progress/index.js +1 -1
  11. package/lib/module/components/activities-progress/index.js.map +1 -1
  12. package/lib/module/components/loading-details/index.js +13 -11
  13. package/lib/module/components/loading-details/index.js.map +1 -1
  14. package/lib/module/components/loading-details/interface.d.js.map +1 -1
  15. package/lib/module/stories/loading-details/loading-details.stories.js +13 -1
  16. package/lib/module/stories/loading-details/loading-details.stories.js.map +1 -1
  17. package/lib/module/styles/theme/theme.js +5 -4
  18. package/lib/module/styles/theme/theme.js.map +1 -1
  19. package/lib/typescript/src/stories/loading-details/loading-details.stories.d.ts +1 -0
  20. package/lib/typescript/src/styles/global/theme-provider.d.ts +1 -0
  21. package/lib/typescript/src/styles/theme/theme.d.ts +1 -0
  22. package/package.json +1 -1
  23. package/src/components/activities-progress/index.tsx +1 -1
  24. package/src/components/loading-details/index.tsx +156 -154
  25. package/src/components/loading-details/interface.d.ts +31 -28
  26. package/src/stories/loading-details/loading-details.stories.tsx +60 -48
  27. package/src/styles/theme/theme.ts +172 -171
@@ -70,7 +70,7 @@ const ActivitiesProgress = ({
70
70
  }), /*#__PURE__*/_react.default.createElement(_typography.Typography, {
71
71
  text: titleLabel,
72
72
  color: tipo_atividade === "trabalho" ? _theme.theme.colors.green[400] : _theme.theme.colors.orange[500],
73
- size: _theme.theme.fontSizes.sm,
73
+ size: _theme.theme.fontSizes.xs,
74
74
  fontFamily: _theme.theme.fonts.inter_semi_bold_600,
75
75
  fontWeight: "600",
76
76
  lineHeight: _theme.theme.fontSizes.lg
@@ -1 +1 @@
1
- {"version":3,"names":["_react","_interopRequireDefault","require","_box","_typography","_iconsSvg","_theme","_getIconByProperty","e","__esModule","default","ActivitiesProgress","data_inicio_horario","duracao","data_inicio","titleLabel","criado_offline","tipo_atividade","referencia","createElement","Box","width","height","backgroundColor","theme","colors","neutral","borderStyled","borderRadius","borderWidths","thick_medium","blue","borderTopLeftRadius","thin_bold","borderTopRightRadius","borderColor","flexStyle","justifyContent","flexDirection","alignItems","Typography","text","color","size","fontSizes","sm","fontFamily","fonts","inter_medium_500","fontWeight","lineHeight","lg","marginLeft","margins","green","orange","inter_semi_bold_600","style","marginRight","marginTop","Icons","icon","paddingStyle","padding","paddings","getIconByProperty","black","xs","inter_bold_700","marginStyle","inter_bold","md","gray","exports"],"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":";;;;;;AAGA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AAGA,IAAAC,IAAA,GAAAD,OAAA;AACA,IAAAE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AEG,UAAU,EAAE;IAAS,CAAE;IACpC8B,WAAW,EAAE;MAAEX,WAAW,EAAElC,YAAK,CAAC6B,OAAO,CAAC,KAAK;IAAE;EAAE,gBAEnDrD,MAAA,CAAAU,OAAA,CAAAS,aAAA,CAACf,WAAA,CAAAoC,UAAU;IACTC,IAAI,EAAE5B,OAAQ;IACd6B,KAAK,EAAElB,YAAK,CAACC,MAAM,CAACM,IAAI,CAAC,GAAG,CAAE;IAC9BY,IAAI,EAAEnB,YAAK,CAACoB,SAAS,CAACC,EAAG;IACzBC,UAAU,EAAEtB,YAAK,CAACuB,KAAK,CAACuB,UAAW;IACnCrB,UAAU,EAAE,KAAM;IAClBC,UAAU,EAAE1B,YAAK,CAACoB,SAAS,CAAC2B;EAAG,CAChC,CAAC,eACFvE,MAAA,CAAAU,OAAA,CAAAS,aAAA,CAACf,WAAA,CAAAoC,UAAU;IACTC,IAAI,EAAE,SAAU;IAChBC,KAAK,EAAElB,YAAK,CAACC,MAAM,CAAC+C,IAAI,CAAC,GAAG,CAAE;IAC9B7B,IAAI,EAAEnB,YAAK,CAACoB,SAAS,CAAC,KAAK,CAAE;IAC7BE,UAAU,EAAEtB,YAAK,CAACuB,KAAK,CAACC,gBAAiB;IACzCC,UAAU,EAAE,KAAM;IAClBC,UAAU,EAAE1B,YAAK,CAACoB,SAAS,CAACuB,EAAG;IAC/BR,SAAS,EAAE;EAAE,CACd,CACE,CACF,CACF,CACF,CAAC;AAEV,CAAC;;AAED;AACA;AACA;AAFAc,OAAA,CAAA9D,kBAAA,GAAAA,kBAAA","ignoreList":[]}
1
+ {"version":3,"names":["_react","_interopRequireDefault","require","_box","_typography","_iconsSvg","_theme","_getIconByProperty","e","__esModule","default","ActivitiesProgress","data_inicio_horario","duracao","data_inicio","titleLabel","criado_offline","tipo_atividade","referencia","createElement","Box","width","height","backgroundColor","theme","colors","neutral","borderStyled","borderRadius","borderWidths","thick_medium","blue","borderTopLeftRadius","thin_bold","borderTopRightRadius","borderColor","flexStyle","justifyContent","flexDirection","alignItems","Typography","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","Icons","icon","paddingStyle","padding","paddings","getIconByProperty","black","inter_bold_700","marginStyle","inter_bold","md","gray","exports"],"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":";;;;;;AAGA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AAGA,IAAAC,IAAA,GAAAD,OAAA;AACA,IAAAE,WAAA,GAAAF,OAAA;AAGA,IAAAG,SAAA,GAAAH,OAAA;AAGA,IAAAI,MAAA,GAAAJ,OAAA;AAMA,IAAAK,kBAAA,GAAAL,OAAA;AAAqE,SAAAD,uBAAAO,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAnBrE;AACA;AACA;;AAGA;;AAIA;;AAGA;;AAGA;;AAGA;;AAGA,MAAMG,kBAAiD,GAAGA,CAAC;EACzDC,mBAAmB,GAAG,YAAY;EAClCC,OAAO,GAAG,OAAO;EACjBC,WAAW,GAAG,OAAO;EACrBC,UAAU,GAAG,UAAU;EACvBC,cAAc,GA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AK,CAACoB,SAAS,CAAC2B;EAAG,CAChC,CAAC,eACFvE,MAAA,CAAAU,OAAA,CAAAS,aAAA,CAACf,WAAA,CAAAoC,UAAU;IACTC,IAAI,EAAE,SAAU;IAChBC,KAAK,EAAElB,YAAK,CAACC,MAAM,CAAC+C,IAAI,CAAC,GAAG,CAAE;IAC9B7B,IAAI,EAAEnB,YAAK,CAACoB,SAAS,CAAC,KAAK,CAAE;IAC7BE,UAAU,EAAEtB,YAAK,CAACuB,KAAK,CAACC,gBAAiB;IACzCC,UAAU,EAAE,KAAM;IAClBC,UAAU,EAAE1B,YAAK,CAACoB,SAAS,CAACY,EAAG;IAC/BI,SAAS,EAAE;EAAE,CACd,CACE,CACF,CACF,CACF,CAAC;AAEV,CAAC;;AAED;AACA;AACA;AAFAa,OAAA,CAAA9D,kBAAA,GAAAA,kBAAA","ignoreList":[]}
@@ -10,8 +10,8 @@ var _button = require("../button");
10
10
  var _typography = require("../typography");
11
11
  var _theme = require("../../styles/theme/theme");
12
12
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
13
- /**
14
- * IMPORTS
13
+ /**
14
+ * IMPORTS
15
15
  */
16
16
 
17
17
  // components
@@ -26,6 +26,7 @@ const LoadingDetails = ({
26
26
  date = "24/03/2025",
27
27
  duracao = "00:00",
28
28
  isLoadingStart = false,
29
+ disabled,
29
30
  handleClickGoback,
30
31
  handleClickStart
31
32
  }) => {
@@ -108,12 +109,13 @@ const LoadingDetails = ({
108
109
  padding: _theme.theme.paddings.md
109
110
  }
110
111
  }, /*#__PURE__*/_react.default.createElement(_button.Button, {
112
+ testID: "iniciar-button",
111
113
  title: "INICIAR",
112
114
  onPress: handleClickStart,
113
115
  height: 40,
114
116
  isLoading: isLoadingStart,
115
- disabled: isLoadingStart,
116
- backgroundColor: _theme.theme.colors.green[250],
117
+ disabled: disabled,
118
+ backgroundColor: disabled ? _theme.theme.colors.green[100] : _theme.theme.colors.green[250],
117
119
  flexStyle: {
118
120
  flex: 1,
119
121
  alignItems: "center",
@@ -127,9 +129,9 @@ const LoadingDetails = ({
127
129
  textAlign: "center"
128
130
  },
129
131
  borderStyled: {
130
- borderWidth: 1,
131
- borderColor: _theme.theme.colors.green[250],
132
- borderRadius: 24
132
+ borderWidth: _theme.theme.borderWidths.thin,
133
+ borderColor: disabled ? _theme.theme.colors.green[100] : _theme.theme.colors.green[250],
134
+ borderRadius: _theme.theme.fontSizes["2xl"]
133
135
  }
134
136
  }), /*#__PURE__*/_react.default.createElement(_button.Button, {
135
137
  title: "VOLTAR",
@@ -151,15 +153,15 @@ const LoadingDetails = ({
151
153
  textAlign: "center"
152
154
  },
153
155
  borderStyled: {
154
- borderWidth: 1,
156
+ borderWidth: _theme.theme.borderWidths.thin,
155
157
  borderColor: _theme.theme.colors.yellow[75],
156
- borderRadius: 24
158
+ borderRadius: _theme.theme.fontSizes["2xl"]
157
159
  }
158
160
  })));
159
161
  };
160
162
 
161
- /**
162
- * EXPORTS
163
+ /**
164
+ * EXPORTS
163
165
  */
164
166
  exports.LoadingDetails = LoadingDetails;
165
167
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["_react","_interopRequireDefault","require","_box","_button","_typography","_theme","e","__esModule","default","LoadingDetails","numero","local","date","duracao","isLoadingStart","handleClickGoback","handleClickStart","createElement","Box","width","borderStyled","borderRadius","style","shadowColor","theme","colors","black","shadowOpacity","shadowOffset","height","shadowRadius","elevation","backgroundColor","blue","flexStyle","flexDirection","alignItems","justifyContent","paddingStyle","padding","paddings","md","Typography","text","size","fontSizes","sm","fontFamily","fonts","inter_bold","fontWeight","color","neutral","lineHeight","letterSpacing","xs","numberOfLines","align","gray","marginStyle","marginTop","margins","marginBottom","gap","Button","title","onPress","isLoading","disabled","green","flex","buttonTextStyle","inter_semi_bold_600","fontSize","textAlign","borderWidth","borderColor","yellow","exports"],"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":";;;;;;AAGA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AAGA,IAAAC,IAAA,GAAAD,OAAA;AACA,IAAAE,OAAA,GAAAF,OAAA;AACA,IAAAG,WAAA,GAAAH,OAAA;AAMA,IAAAI,MAAA,GAAAJ,OAAA;AAAiD,SAAAD,uBAAAM,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAdjD;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QAAQ,EAAEjD,YAAK,CAACqB,SAAS,CAACJ,EAAE;MAC5BS,UAAU,EAAE,KAAK;MACjBwB,SAAS,EAAE;IACb,CAAE;IACFtD,YAAY,EAAE;MACZuD,WAAW,EAAE,CAAC;MACdC,WAAW,EAAEpD,YAAK,CAACC,MAAM,CAAC4C,KAAK,CAAC,GAAG,CAAC;MACpChD,YAAY,EAAE;IAChB;EAAE,CACH,CAAC,eAEFtB,MAAA,CAAAS,OAAA,CAAAS,aAAA,CAACd,OAAA,CAAA6D,MAAM;IACLC,KAAK,EAAC,QAAQ;IACdC,OAAO,EAAEnD,iBAAkB;IAC3Bc,MAAM,EAAE,EAAG;IACXsC,SAAS,EAAE,KAAM;IACjBC,QAAQ,EAAEtD,cAAe;IACzBkB,eAAe,EAAER,YAAK,CAACC,MAAM,CAACoD,MAAM,CAAC,EAAE,CAAE;IACzC3C,SAAS,EAAE;MAAEoC,IAAI,EAAE,CAAC;MAAElC,UAAU,EAAE,QAAQ;MAAEC,cAAc,EAAE;IAAS,CAAE;IACvEkC,eAAe,EAAE;MACfpB,KAAK,EAAE3B,YAAK,CAACC,MAAM,CAAC2B,OAAO,CAAC,EAAE,CAAC;MAC/BL,UAAU,EAAEvB,YAAK,CAACwB,KAAK,CAACwB,mBAAmB;MAC3CC,QAAQ,EAAEjD,YAAK,CAACqB,SAAS,CAACJ,EAAE;MAC5BS,UAAU,EAAE,KAAK;MACjBwB,SAAS,EAAE;IACb,CAAE;IACFtD,YAAY,EAAE;MACZuD,WAAW,EAAE,CAAC;MACdC,WAAW,EAAEpD,YAAK,CAACC,MAAM,CAACoD,MAAM,CAAC,EAAE,CAAC;MACpCxD,YAAY,EAAE;IAChB;EAAE,CACH,CACE,CACF,CAAC;AAEV,CAAC;;AAED;AACA;AACA;AAFAyD,OAAA,CAAArE,cAAA,GAAAA,cAAA","ignoreList":[]}
1
+ {"version":3,"names":["_react","_interopRequireDefault","require","_box","_button","_typography","_theme","e","__esModule","default","LoadingDetails","numero","local","date","duracao","isLoadingStart","disabled","handleClickGoback","handleClickStart","createElement","Box","width","borderStyled","borderRadius","style","shadowColor","theme","colors","black","shadowOpacity","shadowOffset","height","shadowRadius","elevation","backgroundColor","blue","flexStyle","flexDirection","alignItems","justifyContent","paddingStyle","padding","paddings","md","Typography","text","size","fontSizes","sm","fontFamily","fonts","inter_bold","fontWeight","color","neutral","lineHeight","letterSpacing","xs","numberOfLines","align","gray","marginStyle","marginTop","margins","marginBottom","gap","Button","testID","title","onPress","isLoading","green","flex","buttonTextStyle","inter_semi_bold_600","fontSize","textAlign","borderWidth","borderWidths","thin","borderColor","yellow","exports"],"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":";;;;;;AAGA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AAGA,IAAAC,IAAA,GAAAD,OAAA;AACA,IAAAE,OAAA,GAAAF,OAAA;AACA,IAAAG,WAAA,GAAAH,OAAA;AAMA,IAAAI,MAAA,GAAAJ,OAAA;AAAiD,SAAAD,uBAAAM,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAdjD;AACA;AACA;;AAGA;;AAKA;;AAGA;;AAGA,MAAMG,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,oBACElB,MAAA,CAA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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":[]}
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.default = exports.Profile = void 0;
6
+ exports.default = exports.ProfileDisabled = exports.Profile = void 0;
7
7
  var _loadingDetails = require("../../components/loading-details");
8
8
  const meta = {
9
9
  title: "componente/LoadingDetails",
@@ -12,7 +12,8 @@ const meta = {
12
12
  numero: "01",
13
13
  local: "Doca 1, Pátio 02 - Ultrimais (Ipatinga)",
14
14
  date: "24/03/2025",
15
- duracao: "00:00"
15
+ duracao: "00:00",
16
+ disabled: false
16
17
  },
17
18
  parameters: {
18
19
  notes: `
@@ -29,6 +30,7 @@ Você usa assim:
29
30
  handleClickGoback={() => {}}
30
31
  isLoadingStart={false}
31
32
  handleClickStart={() => {}}
33
+ disabled={true}
32
34
  />
33
35
  \`\`\`
34
36
  `
@@ -44,4 +46,14 @@ const Profile = exports.Profile = {
44
46
  duracao: "00:00"
45
47
  }
46
48
  };
49
+ const ProfileDisabled = exports.ProfileDisabled = {
50
+ name: "loading-details-disabled",
51
+ args: {
52
+ numero: "01",
53
+ local: "Doca 1, Pátio 02 - Ultrimais (Ipatinga)",
54
+ date: "24/03/2025",
55
+ duracao: "00:00",
56
+ disabled: true
57
+ }
58
+ };
47
59
  //# sourceMappingURL=loading-details.stories.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["_loadingDetails","require","meta","title","component","LoadingDetails","args","numero","local","date","duracao","parameters","notes","_default","exports","default","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,IAAAA,eAAA,GAAAC,OAAA;AAEA,MAAMC,IAAiC,GAAG;EACxCC,KAAK,EAAE,2BAA2B;EAClCC,SAAS,EAAEC,8BAA0B;EACrCC,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;AAAC,IAAAC,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAEab,IAAI;AAIZ,MAAMc,OAAc,GAAAF,OAAA,CAAAE,OAAA,GAAG;EAC5BC,IAAI,EAAE,iBAAiB;EACvBX,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","require","meta","title","component","LoadingDetails","args","numero","local","date","duracao","disabled","parameters","notes","_default","exports","default","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,IAAAA,eAAA,GAAAC,OAAA;AAEA,MAAMC,IAAiC,GAAG;EACxCC,KAAK,EAAE,2BAA2B;EAClCC,SAAS,EAAEC,8BAA0B;EACrCC,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;AAAC,IAAAC,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAEad,IAAI;AAIZ,MAAMe,OAAc,GAAAF,OAAA,CAAAE,OAAA,GAAG;EAC5BC,IAAI,EAAE,iBAAiB;EACvBZ,IAAI,EAAE;IACJC,MAAM,EAAE,IAAI;IACZC,KAAK,EAAE,yCAAyC;IAChDC,IAAI,EAAE,YAAY;IAClBC,OAAO,EAAE;EACX;AACF,CAAC;AACM,MAAMS,eAAsB,GAAAJ,OAAA,CAAAI,eAAA,GAAG;EACpCD,IAAI,EAAE,0BAA0B;EAChCZ,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":[]}
@@ -4,8 +4,8 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.theme = void 0;
7
- /**
8
- * IMPORTS
7
+ /**
8
+ * IMPORTS
9
9
  */
10
10
 
11
11
  const borderWidths = {
@@ -67,6 +67,7 @@ const colors = {
67
67
  950: "#94a3b8"
68
68
  },
69
69
  green: {
70
+ 100: "#20AD4880",
70
71
  200: "#25BA76",
71
72
  250: "#20AD48",
72
73
  400: "#49C63E",
@@ -155,8 +156,8 @@ const letterSpacing = {
155
156
  strong: 1
156
157
  };
157
158
 
158
- /**
159
- * EXPORTSS
159
+ /**
160
+ * EXPORTSS
160
161
  */
161
162
  const theme = exports.theme = {
162
163
  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","exports"],"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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ACT,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;AACO,MAAMC,KAAK,GAAAC,OAAA,CAAAD,KAAA,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","exports"],"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,OAA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EAAE,EAAE,EAAE;EACN,KAAK,EAAE,EAAE;EACT,KAAK,EAAE,EAAE;EACT,KAAK,EAAE,EAAE;EACT,KAAK,EAAE,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;AACO,MAAMC,KAAK,GAAAC,OAAA,CAAAD,KAAA,GAAG;EACnB5C,YAAY;EACZS,MAAM;EACNS,KAAK;EACLU,SAAS;EACTM,OAAO;EACPE,OAAO;EACPD,QAAQ;EACRI;AACF,CAAC","ignoreList":[]}
@@ -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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E,CACd,CACE,CAAC,eAENnD,KAAA,CAAAc,aAAA,CAACb,GAAG;IACF4B,SAAS,EAAE;MAAEG,UAAU,EAAE;IAAS,CAAE;IACpC2B,WAAW,EAAE;MAAET,WAAW,EAAE9C,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,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,KA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;IACzCC,UAAU,EAAE,KAAM;IAClBC,UAAU,EAAEtC,KAAK,CAACgC,SAAS,CAACY,EAAG;IAC/BI,SAAS,EAAE;EAAE,CACd,CACE,CAAC,eAENpD,KAAA,CAAAc,aAAA,CAACb,GAAG;IACF4B,SAAS,EAAE;MAAEG,UAAU,EAAE;IAAS,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 { LoadingDet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K;MACjBuB,SAAS,EAAE;IACb,CAAE;IACFnD,YAAY,EAAE;MACZoD,WAAW,EAAE,CAAC;MACdC,WAAW,EAAEhE,KAAK,CAACe,MAAM,CAAC0C,KAAK,CAAC,GAAG,CAAC;MACpC7C,YAAY,EAAE;IAChB;EAAE,CACH,CAAC,eAEFhB,KAAA,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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AU,EAAE,QAAQ;MAAEC,cAAc,EAAE;IAAS,CAAE;IACvEgC,eAAe,EAAE;MACfnB,KAAK,EAAEzC,KAAK,CAACgB,MAAM,CAAC0B,OAAO,CAAC,EAAE,CAAC;MAC/BL,UAAU,EAAErC,KAAK,CAACsC,KAAK,CAACuB,mBAAmB;MAC3CC,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,