Skip to content

Commit

Permalink
Merge branch 'master' into DHIS2-15480
Browse files Browse the repository at this point in the history
  • Loading branch information
simonadomnisoru committed Jan 22, 2024
2 parents 97588ac + 3254686 commit 6ee56dd
Show file tree
Hide file tree
Showing 10 changed files with 536 additions and 499 deletions.
21 changes: 21 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,24 @@
## [100.50.6](https://github.com/dhis2/capture-app/compare/v100.50.5...v100.50.6) (2024-01-21)


### Bug Fixes

* [DHIS2-16352] Add spacing between event overview cards ([#3500](https://github.com/dhis2/capture-app/issues/3500)) ([2041d60](https://github.com/dhis2/capture-app/commit/2041d605454529b3bcd77fa3b53a4655ae1495cf))

## [100.50.5](https://github.com/dhis2/capture-app/compare/v100.50.4...v100.50.5) (2024-01-21)


### Bug Fixes

* **translations:** sync translations from transifex (master) ([eca1ba4](https://github.com/dhis2/capture-app/commit/eca1ba418e672a58df08785b74430c60e8eb9bcb))

## [100.50.4](https://github.com/dhis2/capture-app/compare/v100.50.3...v100.50.4) (2024-01-14)


### Bug Fixes

* **translations:** sync translations from transifex (master) ([ad60c3a](https://github.com/dhis2/capture-app/commit/ad60c3a4500176c8db08ceb05e074eedfcf5e2b3))

## [100.50.3](https://github.com/dhis2/capture-app/compare/v100.50.2...v100.50.3) (2023-12-24)


Expand Down
117 changes: 64 additions & 53 deletions flow-typed/npm/@dhis2/ui_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -1,56 +1,67 @@
// flow-typed signature: c6feccb0af432a25a3ab1270f8309035
// flow-typed version: <<STUB>>/@dhis2/ui_v^6.1/flow_v0.132.0

/**
* This is an autogenerated libdef stub for:
*
* '@dhis2/ui'
*
* Fill this stub out by replacing all the `any` types.
*
* Once filled out, we encourage you to share your work with the
* community by sending a pull request to:
* https://github.com/flowtype/flow-typed
*/

declare module '@dhis2/ui' {
declare module.exports: any;
}

/**
* We include stubs for each file inside this npm package in case you need to
* require those files directly. Feel free to delete any files that aren't
* needed.
* Flowtype definitions for index
* Generated by Flowgen from a Typescript Definition
* Flowgen v1.21.0
*/
declare module '@dhis2/ui/build/cjs/lib' {
declare module.exports: any;
}

declare module '@dhis2/ui/build/es/lib' {
declare module.exports: any;
}

declare module '@dhis2/ui/d2.config' {
declare module.exports: any;
}

declare module '@dhis2/ui/src' {
declare module.exports: any;
}

// Filename aliases
declare module '@dhis2/ui/build/cjs/lib.js' {
declare module.exports: $Exports<'@dhis2/ui/build/cjs/lib'>;
}
declare module '@dhis2/ui/build/es/lib.js' {
declare module.exports: $Exports<'@dhis2/ui/build/es/lib'>;
}
declare module '@dhis2/ui/d2.config.js' {
declare module.exports: $Exports<'@dhis2/ui/d2.config'>;
}
declare module '@dhis2/ui/src/index' {
declare module.exports: $Exports<'@dhis2/ui/src'>;
}
declare module '@dhis2/ui/src/index.js' {
declare module.exports: $Exports<'@dhis2/ui/src'>;
}
declare export * from "@dhis2/ui-constants";
declare export * from "@dhis2/ui-icons";
declare export * from "@dhis2/ui-forms";
declare export * from "@dhis2-ui/alert";
declare export * from "@dhis2-ui/button";
declare export * from "@dhis2-ui/box";
declare export * from "@dhis2-ui/calendar";
declare export * from "@dhis2-ui/card";
declare export * from "@dhis2-ui/center";
declare export * from "@dhis2-ui/checkbox";
declare export * from "@dhis2-ui/chip";
declare export * from "@dhis2-ui/cover";
declare export * from "@dhis2-ui/css";
declare export * from "@dhis2-ui/divider";
declare export * from "@dhis2-ui/field";
declare export * from "@dhis2-ui/file-input";
declare export * from "@dhis2-ui/header-bar";
declare export * from "@dhis2-ui/help";
declare export * from "@dhis2-ui/input";
declare export * from "@dhis2-ui/intersection-detector";
declare export * from "@dhis2-ui/label";
declare export * from "@dhis2-ui/layer";
declare export * from "@dhis2-ui/legend";
declare export * from "@dhis2-ui/loader";
declare export * from "@dhis2-ui/logo";
declare export * from "@dhis2-ui/menu";
declare export * from "@dhis2-ui/modal";
declare export * from "@dhis2-ui/node";
declare export * from "@dhis2-ui/notice-box";
declare export * from "@dhis2-ui/organisation-unit-tree";
declare export * from "@dhis2-ui/popover";
declare export { Popper, PopperProps } from "@dhis2-ui/popper";
declare export * from "@dhis2-ui/portal";
declare export * from "@dhis2-ui/radio";
declare export * from "@dhis2-ui/required";
declare export { Pagination, PaginationProps } from "@dhis2-ui/pagination";
declare export * from "@dhis2-ui/sharing-dialog";
declare export {
SingleSelect,
SingleSelectField,
SingleSelectOption,
MultiSelect,
MultiSelectField,
MultiSelectOption,
SingleSelectProps,
SingleSelectFieldProps,
SingleSelectOptionProps,
MultiSelectProps,
MultiSelectFieldProps,
MultiSelectOptionProps,
} from "@dhis2-ui/select";
declare export * from "@dhis2-ui/selector-bar";
declare export * from "@dhis2-ui/switch";
declare export * from "@dhis2-ui/table";
declare export * from "@dhis2-ui/tab";
declare export * from "@dhis2-ui/tag";
declare export * from "@dhis2-ui/text-area";
declare export * from "@dhis2-ui/tooltip";
declare export * from "@dhis2-ui/transfer";
declare export * from "@dhis2-ui/user-avatar";
declare export * from "@dhis2-ui/segmented-control";
4 changes: 2 additions & 2 deletions i18n/en.pot
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ msgstr ""
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1)\n"
"POT-Creation-Date: 2024-01-08T09:33:21.779Z\n"
"PO-Revision-Date: 2024-01-08T09:33:21.779Z\n"
"POT-Creation-Date: 2024-01-05T14:09:35.742Z\n"
"PO-Revision-Date: 2024-01-05T14:09:35.742Z\n"

msgid "Choose one or more dates..."
msgstr "Choose one or more dates..."
Expand Down
6 changes: 3 additions & 3 deletions i18n/es.po
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,16 @@
# Janeth Cruz, 2023
# Prabhjot Singh, 2023
# Christian Atavillos, 2023
# Enzo Nicolas Rossi <[email protected]>, 2023
# Gabriela Rodriguez <[email protected]>, 2023
# Viktor Varland <[email protected]>, 2023
# Enzo Nicolas Rossi <[email protected]>, 2024
#
msgid ""
msgstr ""
"Project-Id-Version: i18next-conv\n"
"POT-Creation-Date: 2023-09-12T06:24:49.265Z\n"
"PO-Revision-Date: 2019-06-27 07:31+0000\n"
"Last-Translator: Viktor Varland <viktor@dhis2.org>, 2023\n"
"Last-Translator: Enzo Nicolas Rossi <enzo@dhis2.org>, 2024\n"
"Language-Team: Spanish (https://app.transifex.com/hisp-uio/teams/100509/es/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
Expand Down Expand Up @@ -176,7 +176,7 @@ msgid "Complete event"
msgstr "Completar el evento"

msgid "{{ stageName }} - Basic info"
msgstr ""
msgstr "{{ stageName }} - Información básica"

msgid "{{ stageName }} - Status"
msgstr ""
Expand Down
10 changes: 5 additions & 5 deletions i18n/es_419.po
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
#
# Translators:
# Enzo Nicolas Rossi <[email protected]>, 2023
# Jaime Bosque <[email protected]>, 2023
# Enzo Nicolas Rossi <[email protected]>, 2024
#
msgid ""
msgstr ""
"Project-Id-Version: i18next-conv\n"
"POT-Creation-Date: 2023-09-12T06:24:49.265Z\n"
"PO-Revision-Date: 2019-06-27 07:31+0000\n"
"Last-Translator: Jaime Bosque <jaime.bosque@dhis2.org>, 2023\n"
"Last-Translator: Enzo Nicolas Rossi <enzo@dhis2.org>, 2024\n"
"Language-Team: Spanish (Latin America) (https://app.transifex.com/hisp-uio/teams/100509/es_419/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
Expand Down Expand Up @@ -1281,7 +1281,7 @@ msgid "Scheduled date cannot be changed for {{ eventStatus }} events"
msgstr ""

msgid "Event completed"
msgstr ""
msgstr "Evento completado"

msgid "Back to all stages and events"
msgstr "Volver a todas las etapas y eventos"
Expand Down Expand Up @@ -1431,7 +1431,7 @@ msgid "Working list could not be loaded"
msgstr ""

msgid "Download as JSON"
msgstr ""
msgstr "Descargar como JSON"

msgid "Download as CSV"
msgstr ""
Expand Down Expand Up @@ -1512,7 +1512,7 @@ msgid "Show All"
msgstr ""

msgid "An error has occured. See log for details"
msgstr ""
msgstr " Ha ocurrido un error. Ver el registro para más detalles."

msgid "Scheduled{{ escape }} due {{ time }}"
msgstr ""
Expand Down
8 changes: 4 additions & 4 deletions i18n/nb.po
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
#
# Translators:
# Caroline Hesthagen Holen <[email protected]>, 2023
# Karoline Tufte Lien <[email protected]>, 2023
# Karoline Tufte Lien <[email protected]>, 2024
#
msgid ""
msgstr ""
"Project-Id-Version: i18next-conv\n"
"POT-Creation-Date: 2023-09-12T06:24:49.265Z\n"
"PO-Revision-Date: 2019-06-27 07:31+0000\n"
"Last-Translator: Karoline Tufte Lien <[email protected]>, 2023\n"
"Last-Translator: Karoline Tufte Lien <[email protected]>, 2024\n"
"Language-Team: Norwegian Bokmål (https://app.transifex.com/hisp-uio/teams/100509/nb/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
Expand Down Expand Up @@ -756,7 +756,7 @@ msgstr ""
"{{tetName}}."

msgid "Enroll a new {{selectedTetName}} in this program."
msgstr "Registrer en ny {{teiDisplayName}} i dette programmet"
msgstr "Registrer en ny {{selectedTetName}} i dette programmet"

msgid "{{programName}} is an event program and does not have enrollments."
msgstr "{{programName}} er et hendelsesprogram og har ikke registreringer."
Expand Down Expand Up @@ -837,7 +837,7 @@ msgid "Registered events"
msgstr "Registrerte hendelser"

msgid "Please select {{category}}."
msgstr "Velg {{kategori}}."
msgstr "Velg {{category}}."

msgid "Or see all records accessible to you in {{program}} "
msgstr "Eller se alle opptegnelser som er tilgjengelige for deg i {{program}}"
Expand Down
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "capture-app",
"homepage": ".",
"version": "100.50.3",
"version": "100.50.6",
"cacheVersion": "7",
"serverVersion": "38",
"license": "BSD-3-Clause",
Expand All @@ -10,15 +10,15 @@
"packages/rules-engine"
],
"dependencies": {
"@dhis2/rules-engine-javascript": "100.50.3",
"@dhis2/rules-engine-javascript": "100.50.6",
"@dhis2/app-runtime": "^3.9.3",
"@dhis2/d2-i18n": "^1.1.0",
"@dhis2/d2-icons": "^1.0.1",
"@dhis2/d2-ui-app": "^2.0.0",
"@dhis2/d2-ui-org-unit-tree": "^7.3.3",
"@dhis2/d2-ui-rich-text": "^7.4.0",
"@dhis2/d2-ui-sharing-dialog": "^7.3.3",
"@dhis2/ui": "^8.13.8",
"@dhis2/ui": "^9.1.1",
"@joakim_sm/react-infinite-calendar": "^2.4.2",
"@material-ui/core": "3.9.4",
"@material-ui/icons": "3",
Expand Down Expand Up @@ -133,6 +133,7 @@
},
"resolutions": {
"@babel/preset-react": "7.16.7",
"@dhis2/ui": "^9.1.1",
"@js-temporal/polyfill": "0.4.3",
"core-js": "2.5.7"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/rules-engine/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dhis2/rules-engine-javascript",
"version": "100.50.3",
"version": "100.50.6",
"license": "BSD-3-Clause",
"main": "./build/cjs/index.js",
"scripts": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@

// @flow
import * as React from 'react';
import { spacers } from '@dhis2/ui';
import { withStyles } from '@material-ui/core/styles';
import { ErrorsSection } from './ErrorsSection/ErrorsSection.container';
import { WarningsSection } from './WarningsSection/WarningsSection.container';
Expand All @@ -18,9 +19,12 @@ type Props = {

const getStyles = (theme: Theme) => ({
container: {
display: 'flex',
flexDirection: 'column',
flexBasis: theme.typography.pxToRem(0),
flexGrow: 1,
minWidth: theme.typography.pxToRem(300),
gap: spacers.dp16,
},
});

Expand Down
Loading

0 comments on commit 6ee56dd

Please sign in to comment.