Skip to content

Commit

Permalink
chore: [TECH-1685] Upgrade DHIS2/ui to v9 (#3499)
Browse files Browse the repository at this point in the history
  • Loading branch information
eirikhaugstulen authored Jan 22, 2024
1 parent 32c1ca1 commit 3254686
Show file tree
Hide file tree
Showing 4 changed files with 493 additions and 481 deletions.
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-07T14:04:56.420Z\n"
"PO-Revision-Date: 2024-01-07T14:04:56.420Z\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
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"@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
Loading

0 comments on commit 3254686

Please sign in to comment.