diff --git a/CHANGELOG.md b/CHANGELOG.md
index 716d57366..542465181 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,10 @@
+# [9.14.0](https://github.com/dhis2/ui/compare/v9.13.0...v9.14.0) (2024-11-13)
+
+
+### Features
+
+* add data sharing to sharing dialog [LIBS-677] ([#1629](https://github.com/dhis2/ui/issues/1629)) ([7e15c7f](https://github.com/dhis2/ui/commit/7e15c7f19becf6fc6657270a3f1ef94d8a48f048))
+
# [9.13.0](https://github.com/dhis2/ui/compare/v9.12.0...v9.13.0) (2024-11-05)
diff --git a/collections/forms/package.json b/collections/forms/package.json
index 7977f4c00..fcd86908f 100644
--- a/collections/forms/package.json
+++ b/collections/forms/package.json
@@ -1,6 +1,6 @@
{
"name": "@dhis2/ui-forms",
- "version": "9.13.0",
+ "version": "9.14.0",
"main": "./build/cjs/index.js",
"module": "./build/es/index.js",
"sideEffects": [
@@ -35,15 +35,15 @@
},
"dependencies": {
"@dhis2/prop-types": "^3.1.2",
- "@dhis2-ui/button": "9.13.0",
- "@dhis2-ui/checkbox": "9.13.0",
- "@dhis2-ui/field": "9.13.0",
- "@dhis2-ui/file-input": "9.13.0",
- "@dhis2-ui/input": "9.13.0",
- "@dhis2-ui/radio": "9.13.0",
- "@dhis2-ui/select": "9.13.0",
- "@dhis2-ui/switch": "9.13.0",
- "@dhis2-ui/text-area": "9.13.0",
+ "@dhis2-ui/button": "9.14.0",
+ "@dhis2-ui/checkbox": "9.14.0",
+ "@dhis2-ui/field": "9.14.0",
+ "@dhis2-ui/file-input": "9.14.0",
+ "@dhis2-ui/input": "9.14.0",
+ "@dhis2-ui/radio": "9.14.0",
+ "@dhis2-ui/select": "9.14.0",
+ "@dhis2-ui/switch": "9.14.0",
+ "@dhis2-ui/text-area": "9.14.0",
"classnames": "^2.3.1",
"final-form": "^4.20.2",
"prop-types": "^15.7.2",
diff --git a/collections/ui/API.md b/collections/ui/API.md
index e1167a3c0..960c8291f 100644
--- a/collections/ui/API.md
+++ b/collections/ui/API.md
@@ -1982,13 +1982,14 @@ import { SharingDialog } from '@dhis2/ui'
|---|---|---|---|---|
|id|string||*|The id of the object to share|
|type|DIALOG_TYPES_LIST||*|The type of object to share|
+|dataSharing|boolean|`false`||Whether to expose the ability to set data sharing (in addition to metadata sharing)|
|dataTest|string|`'dhis2-uicore-sharingdialog'`|||
-|initialSharingSettings|{
"allowPublic": "boolean",
"groups": "objectOf",
"name": "string",
"public": "import {\n ACCESS_NONE,\n ACCESS_VIEW_ONLY,\n ACCESS_VIEW_AND_EDIT,\n DIALOG_TYPES_LIST,\n} from './constants.js' │ import {\n ACCESS_NONE,\n ACCESS_VIEW_ONLY,\n ACCESS_VIEW_AND_EDIT,\n DIALOG_TYPES_LIST,\n} from './constants.js' │ import {\n ACCESS_NONE,\n ACCESS_VIEW_ONLY,\n ACCESS_VIEW_AND_EDIT,\n DIALOG_TYPES_LIST,\n} from './constants.js'",
"users": "objectOf"
}|`{
+|initialSharingSettings|{
"allowPublic": "boolean",
"groups": "objectOf",
"name": "string",
"public": "{
\"data\": \"import {\\n ACCESS_NONE,\\n ACCESS_VIEW_ONLY,\\n ACCESS_VIEW_AND_EDIT,\\n DIALOG_TYPES_LIST,\\n} from './constants.js' │ import {\\n ACCESS_NONE,\\n ACCESS_VIEW_ONLY,\\n ACCESS_VIEW_AND_EDIT,\\n DIALOG_TYPES_LIST,\\n} from './constants.js' │ import {\\n ACCESS_NONE,\\n ACCESS_VIEW_ONLY,\\n ACCESS_VIEW_AND_EDIT,\\n DIALOG_TYPES_LIST,\\n} from './constants.js'\",
\"metadata\": \"import {\\n ACCESS_NONE,\\n ACCESS_VIEW_ONLY,\\n ACCESS_VIEW_AND_EDIT,\\n DIALOG_TYPES_LIST,\\n} from './constants.js' │ import {\\n ACCESS_NONE,\\n ACCESS_VIEW_ONLY,\\n ACCESS_VIEW_AND_EDIT,\\n DIALOG_TYPES_LIST,\\n} from './constants.js' │ import {\\n ACCESS_NONE,\\n ACCESS_VIEW_ONLY,\\n ACCESS_VIEW_AND_EDIT,\\n DIALOG_TYPES_LIST,\\n} from './constants.js'\"
} │ import {\n ACCESS_NONE,\n ACCESS_VIEW_ONLY,\n ACCESS_VIEW_AND_EDIT,\n DIALOG_TYPES_LIST,\n} from './constants.js' │ import {\n ACCESS_NONE,\n ACCESS_VIEW_ONLY,\n ACCESS_VIEW_AND_EDIT,\n DIALOG_TYPES_LIST,\n} from './constants.js' │ import {\n ACCESS_NONE,\n ACCESS_VIEW_ONLY,\n ACCESS_VIEW_AND_EDIT,\n DIALOG_TYPES_LIST,\n} from './constants.js'",
"users": "objectOf"
}|`{
name: '',
allowPublic: true,
- public: ACCESS_NONE,
- groups: {},
- users: {},
+ public: { data: ACCESS_NONE, metadata: ACCESS_NONE },
+ groups: [],
+ users: [],
}`||Used to seed the component with data to show whilst loading|
|onClose|function|`() => {}`|||
|onError|function|`() => {}`|||
diff --git a/collections/ui/package.json b/collections/ui/package.json
index cc0a8f99c..5634019be 100644
--- a/collections/ui/package.json
+++ b/collections/ui/package.json
@@ -1,6 +1,6 @@
{
"name": "@dhis2/ui",
- "version": "9.13.0",
+ "version": "9.14.0",
"main": "./build/cjs/index.js",
"module": "./build/es/index.js",
"exports": {
@@ -21,54 +21,54 @@
"build": "d2-app-scripts build"
},
"dependencies": {
- "@dhis2-ui/alert": "9.13.0",
- "@dhis2-ui/box": "9.13.0",
- "@dhis2-ui/button": "9.13.0",
- "@dhis2-ui/calendar": "9.13.0",
- "@dhis2-ui/card": "9.13.0",
- "@dhis2-ui/center": "9.13.0",
- "@dhis2-ui/checkbox": "9.13.0",
- "@dhis2-ui/chip": "9.13.0",
- "@dhis2-ui/cover": "9.13.0",
- "@dhis2-ui/css": "9.13.0",
- "@dhis2-ui/divider": "9.13.0",
- "@dhis2-ui/field": "9.13.0",
- "@dhis2-ui/file-input": "9.13.0",
- "@dhis2-ui/header-bar": "9.13.0",
- "@dhis2-ui/help": "9.13.0",
- "@dhis2-ui/input": "9.13.0",
- "@dhis2-ui/intersection-detector": "9.13.0",
- "@dhis2-ui/label": "9.13.0",
- "@dhis2-ui/layer": "9.13.0",
- "@dhis2-ui/legend": "9.13.0",
- "@dhis2-ui/loader": "9.13.0",
- "@dhis2-ui/logo": "9.13.0",
- "@dhis2-ui/menu": "9.13.0",
- "@dhis2-ui/modal": "9.13.0",
- "@dhis2-ui/node": "9.13.0",
- "@dhis2-ui/notice-box": "9.13.0",
- "@dhis2-ui/organisation-unit-tree": "9.13.0",
- "@dhis2-ui/pagination": "9.13.0",
- "@dhis2-ui/popover": "9.13.0",
- "@dhis2-ui/popper": "9.13.0",
- "@dhis2-ui/portal": "9.13.0",
- "@dhis2-ui/radio": "9.13.0",
- "@dhis2-ui/required": "9.13.0",
- "@dhis2-ui/segmented-control": "9.13.0",
- "@dhis2-ui/select": "9.13.0",
- "@dhis2-ui/selector-bar": "9.13.0",
- "@dhis2-ui/sharing-dialog": "9.13.0",
- "@dhis2-ui/switch": "9.13.0",
- "@dhis2-ui/tab": "9.13.0",
- "@dhis2-ui/table": "9.13.0",
- "@dhis2-ui/tag": "9.13.0",
- "@dhis2-ui/text-area": "9.13.0",
- "@dhis2-ui/tooltip": "9.13.0",
- "@dhis2-ui/transfer": "9.13.0",
- "@dhis2-ui/user-avatar": "9.13.0",
- "@dhis2/ui-constants": "9.13.0",
- "@dhis2/ui-forms": "9.13.0",
- "@dhis2/ui-icons": "9.13.0",
+ "@dhis2-ui/alert": "9.14.0",
+ "@dhis2-ui/box": "9.14.0",
+ "@dhis2-ui/button": "9.14.0",
+ "@dhis2-ui/calendar": "9.14.0",
+ "@dhis2-ui/card": "9.14.0",
+ "@dhis2-ui/center": "9.14.0",
+ "@dhis2-ui/checkbox": "9.14.0",
+ "@dhis2-ui/chip": "9.14.0",
+ "@dhis2-ui/cover": "9.14.0",
+ "@dhis2-ui/css": "9.14.0",
+ "@dhis2-ui/divider": "9.14.0",
+ "@dhis2-ui/field": "9.14.0",
+ "@dhis2-ui/file-input": "9.14.0",
+ "@dhis2-ui/header-bar": "9.14.0",
+ "@dhis2-ui/help": "9.14.0",
+ "@dhis2-ui/input": "9.14.0",
+ "@dhis2-ui/intersection-detector": "9.14.0",
+ "@dhis2-ui/label": "9.14.0",
+ "@dhis2-ui/layer": "9.14.0",
+ "@dhis2-ui/legend": "9.14.0",
+ "@dhis2-ui/loader": "9.14.0",
+ "@dhis2-ui/logo": "9.14.0",
+ "@dhis2-ui/menu": "9.14.0",
+ "@dhis2-ui/modal": "9.14.0",
+ "@dhis2-ui/node": "9.14.0",
+ "@dhis2-ui/notice-box": "9.14.0",
+ "@dhis2-ui/organisation-unit-tree": "9.14.0",
+ "@dhis2-ui/pagination": "9.14.0",
+ "@dhis2-ui/popover": "9.14.0",
+ "@dhis2-ui/popper": "9.14.0",
+ "@dhis2-ui/portal": "9.14.0",
+ "@dhis2-ui/radio": "9.14.0",
+ "@dhis2-ui/required": "9.14.0",
+ "@dhis2-ui/segmented-control": "9.14.0",
+ "@dhis2-ui/select": "9.14.0",
+ "@dhis2-ui/selector-bar": "9.14.0",
+ "@dhis2-ui/sharing-dialog": "9.14.0",
+ "@dhis2-ui/switch": "9.14.0",
+ "@dhis2-ui/tab": "9.14.0",
+ "@dhis2-ui/table": "9.14.0",
+ "@dhis2-ui/tag": "9.14.0",
+ "@dhis2-ui/text-area": "9.14.0",
+ "@dhis2-ui/tooltip": "9.14.0",
+ "@dhis2-ui/transfer": "9.14.0",
+ "@dhis2-ui/user-avatar": "9.14.0",
+ "@dhis2/ui-constants": "9.14.0",
+ "@dhis2/ui-forms": "9.14.0",
+ "@dhis2/ui-icons": "9.14.0",
"prop-types": "^15.7.2"
},
"peerDependencies": {
diff --git a/components/alert/package.json b/components/alert/package.json
index 0ac679294..762f2930a 100644
--- a/components/alert/package.json
+++ b/components/alert/package.json
@@ -1,6 +1,6 @@
{
"name": "@dhis2-ui/alert",
- "version": "9.13.0",
+ "version": "9.14.0",
"description": "UI Alert",
"repository": {
"type": "git",
@@ -33,9 +33,9 @@
},
"dependencies": {
"@dhis2/prop-types": "^3.1.2",
- "@dhis2-ui/portal": "9.13.0",
- "@dhis2/ui-constants": "9.13.0",
- "@dhis2/ui-icons": "9.13.0",
+ "@dhis2-ui/portal": "9.14.0",
+ "@dhis2/ui-constants": "9.14.0",
+ "@dhis2/ui-icons": "9.14.0",
"classnames": "^2.3.1",
"prop-types": "^15.7.2"
},
diff --git a/components/box/package.json b/components/box/package.json
index 3445cb04c..48618866a 100644
--- a/components/box/package.json
+++ b/components/box/package.json
@@ -1,6 +1,6 @@
{
"name": "@dhis2-ui/box",
- "version": "9.13.0",
+ "version": "9.14.0",
"description": "UI Box",
"repository": {
"type": "git",
@@ -33,7 +33,7 @@
},
"dependencies": {
"@dhis2/prop-types": "^3.1.2",
- "@dhis2/ui-constants": "9.13.0",
+ "@dhis2/ui-constants": "9.14.0",
"classnames": "^2.3.1",
"prop-types": "^15.7.2"
},
diff --git a/components/button/package.json b/components/button/package.json
index 55f088f43..39964986a 100644
--- a/components/button/package.json
+++ b/components/button/package.json
@@ -1,6 +1,6 @@
{
"name": "@dhis2-ui/button",
- "version": "9.13.0",
+ "version": "9.14.0",
"description": "UI Button",
"repository": {
"type": "git",
@@ -33,11 +33,11 @@
},
"dependencies": {
"@dhis2/prop-types": "^3.1.2",
- "@dhis2-ui/layer": "9.13.0",
- "@dhis2-ui/loader": "9.13.0",
- "@dhis2-ui/popper": "9.13.0",
- "@dhis2/ui-constants": "9.13.0",
- "@dhis2/ui-icons": "9.13.0",
+ "@dhis2-ui/layer": "9.14.0",
+ "@dhis2-ui/loader": "9.14.0",
+ "@dhis2-ui/popper": "9.14.0",
+ "@dhis2/ui-constants": "9.14.0",
+ "@dhis2/ui-icons": "9.14.0",
"classnames": "^2.3.1",
"prop-types": "^15.7.2"
},
diff --git a/components/calendar/package.json b/components/calendar/package.json
index dac0359bd..128319ae7 100644
--- a/components/calendar/package.json
+++ b/components/calendar/package.json
@@ -1,6 +1,6 @@
{
"name": "@dhis2-ui/calendar",
- "version": "9.13.0",
+ "version": "9.14.0",
"description": "UI Calendar",
"repository": {
"type": "git",
@@ -33,15 +33,15 @@
"styled-jsx": "^4"
},
"dependencies": {
- "@dhis2-ui/button": "9.13.0",
- "@dhis2-ui/card": "9.13.0",
- "@dhis2-ui/input": "9.13.0",
- "@dhis2-ui/layer": "9.13.0",
- "@dhis2-ui/popper": "9.13.0",
+ "@dhis2-ui/button": "9.14.0",
+ "@dhis2-ui/card": "9.14.0",
+ "@dhis2-ui/input": "9.14.0",
+ "@dhis2-ui/layer": "9.14.0",
+ "@dhis2-ui/popper": "9.14.0",
"@dhis2/multi-calendar-dates": "^1.2.3",
"@dhis2/prop-types": "^3.1.2",
- "@dhis2/ui-constants": "9.13.0",
- "@dhis2/ui-icons": "9.13.0",
+ "@dhis2/ui-constants": "9.14.0",
+ "@dhis2/ui-icons": "9.14.0",
"classnames": "^2.3.1",
"prop-types": "^15.7.2"
},
diff --git a/components/card/package.json b/components/card/package.json
index 53b190b82..7a20fde82 100644
--- a/components/card/package.json
+++ b/components/card/package.json
@@ -1,6 +1,6 @@
{
"name": "@dhis2-ui/card",
- "version": "9.13.0",
+ "version": "9.14.0",
"description": "UI Card",
"repository": {
"type": "git",
@@ -33,7 +33,7 @@
},
"dependencies": {
"@dhis2/prop-types": "^3.1.2",
- "@dhis2/ui-constants": "9.13.0",
+ "@dhis2/ui-constants": "9.14.0",
"classnames": "^2.3.1",
"prop-types": "^15.7.2"
},
diff --git a/components/center/package.json b/components/center/package.json
index e31568e1d..1d2c5393b 100644
--- a/components/center/package.json
+++ b/components/center/package.json
@@ -1,6 +1,6 @@
{
"name": "@dhis2-ui/center",
- "version": "9.13.0",
+ "version": "9.14.0",
"description": "UI Center",
"repository": {
"type": "git",
@@ -33,7 +33,7 @@
},
"dependencies": {
"@dhis2/prop-types": "^3.1.2",
- "@dhis2/ui-constants": "9.13.0",
+ "@dhis2/ui-constants": "9.14.0",
"classnames": "^2.3.1",
"prop-types": "^15.7.2"
},
diff --git a/components/checkbox/package.json b/components/checkbox/package.json
index aef7a2369..bee9a7b8c 100644
--- a/components/checkbox/package.json
+++ b/components/checkbox/package.json
@@ -1,6 +1,6 @@
{
"name": "@dhis2-ui/checkbox",
- "version": "9.13.0",
+ "version": "9.14.0",
"description": "UI Checkbox",
"repository": {
"type": "git",
@@ -33,9 +33,9 @@
},
"dependencies": {
"@dhis2/prop-types": "^3.1.2",
- "@dhis2-ui/field": "9.13.0",
- "@dhis2-ui/required": "9.13.0",
- "@dhis2/ui-constants": "9.13.0",
+ "@dhis2-ui/field": "9.14.0",
+ "@dhis2-ui/required": "9.14.0",
+ "@dhis2/ui-constants": "9.14.0",
"classnames": "^2.3.1",
"prop-types": "^15.7.2"
},
diff --git a/components/chip/package.json b/components/chip/package.json
index b6dba8979..bdf6ae3d7 100644
--- a/components/chip/package.json
+++ b/components/chip/package.json
@@ -1,6 +1,6 @@
{
"name": "@dhis2-ui/chip",
- "version": "9.13.0",
+ "version": "9.14.0",
"description": "UI Chip",
"repository": {
"type": "git",
@@ -33,7 +33,7 @@
},
"dependencies": {
"@dhis2/prop-types": "^3.1.2",
- "@dhis2/ui-constants": "9.13.0",
+ "@dhis2/ui-constants": "9.14.0",
"classnames": "^2.3.1",
"prop-types": "^15.7.2"
},
diff --git a/components/cover/package.json b/components/cover/package.json
index 10aae323d..aca61108a 100644
--- a/components/cover/package.json
+++ b/components/cover/package.json
@@ -1,6 +1,6 @@
{
"name": "@dhis2-ui/cover",
- "version": "9.13.0",
+ "version": "9.14.0",
"description": "UI Cover",
"repository": {
"type": "git",
@@ -33,7 +33,7 @@
},
"dependencies": {
"@dhis2/prop-types": "^3.1.2",
- "@dhis2/ui-constants": "9.13.0",
+ "@dhis2/ui-constants": "9.14.0",
"classnames": "^2.3.1",
"prop-types": "^15.7.2"
},
diff --git a/components/css/package.json b/components/css/package.json
index a62026d9c..696ce2cbc 100644
--- a/components/css/package.json
+++ b/components/css/package.json
@@ -1,6 +1,6 @@
{
"name": "@dhis2-ui/css",
- "version": "9.13.0",
+ "version": "9.14.0",
"description": "UI CSS",
"repository": {
"type": "git",
@@ -33,7 +33,7 @@
},
"dependencies": {
"@dhis2/prop-types": "^3.1.2",
- "@dhis2/ui-constants": "9.13.0",
+ "@dhis2/ui-constants": "9.14.0",
"classnames": "^2.3.1",
"prop-types": "^15.7.2"
},
diff --git a/components/divider/package.json b/components/divider/package.json
index a39605d6f..eed96c159 100644
--- a/components/divider/package.json
+++ b/components/divider/package.json
@@ -1,6 +1,6 @@
{
"name": "@dhis2-ui/divider",
- "version": "9.13.0",
+ "version": "9.14.0",
"description": "UI Divider",
"repository": {
"type": "git",
@@ -33,7 +33,7 @@
},
"dependencies": {
"@dhis2/prop-types": "^3.1.2",
- "@dhis2/ui-constants": "9.13.0",
+ "@dhis2/ui-constants": "9.14.0",
"classnames": "^2.3.1",
"prop-types": "^15.7.2"
},
diff --git a/components/field/package.json b/components/field/package.json
index df64d182a..c218f318d 100644
--- a/components/field/package.json
+++ b/components/field/package.json
@@ -1,6 +1,6 @@
{
"name": "@dhis2-ui/field",
- "version": "9.13.0",
+ "version": "9.14.0",
"description": "UI Field",
"repository": {
"type": "git",
@@ -33,10 +33,10 @@
},
"dependencies": {
"@dhis2/prop-types": "^3.1.2",
- "@dhis2-ui/box": "9.13.0",
- "@dhis2-ui/help": "9.13.0",
- "@dhis2-ui/label": "9.13.0",
- "@dhis2/ui-constants": "9.13.0",
+ "@dhis2-ui/box": "9.14.0",
+ "@dhis2-ui/help": "9.14.0",
+ "@dhis2-ui/label": "9.14.0",
+ "@dhis2/ui-constants": "9.14.0",
"classnames": "^2.3.1",
"prop-types": "^15.7.2"
},
diff --git a/components/file-input/package.json b/components/file-input/package.json
index 77e8ea2e4..69bd0fe2f 100644
--- a/components/file-input/package.json
+++ b/components/file-input/package.json
@@ -1,6 +1,6 @@
{
"name": "@dhis2-ui/file-input",
- "version": "9.13.0",
+ "version": "9.14.0",
"description": "UI FileInput",
"repository": {
"type": "git",
@@ -34,13 +34,13 @@
},
"dependencies": {
"@dhis2/prop-types": "^3.1.2",
- "@dhis2-ui/button": "9.13.0",
- "@dhis2-ui/field": "9.13.0",
- "@dhis2-ui/label": "9.13.0",
- "@dhis2-ui/loader": "9.13.0",
- "@dhis2-ui/status-icon": "9.13.0",
- "@dhis2/ui-constants": "9.13.0",
- "@dhis2/ui-icons": "9.13.0",
+ "@dhis2-ui/button": "9.14.0",
+ "@dhis2-ui/field": "9.14.0",
+ "@dhis2-ui/label": "9.14.0",
+ "@dhis2-ui/loader": "9.14.0",
+ "@dhis2-ui/status-icon": "9.14.0",
+ "@dhis2/ui-constants": "9.14.0",
+ "@dhis2/ui-icons": "9.14.0",
"classnames": "^2.3.1",
"prop-types": "^15.7.2"
},
diff --git a/components/header-bar/package.json b/components/header-bar/package.json
index f5fcd2b45..95f69f5df 100644
--- a/components/header-bar/package.json
+++ b/components/header-bar/package.json
@@ -1,6 +1,6 @@
{
"name": "@dhis2-ui/header-bar",
- "version": "9.13.0",
+ "version": "9.14.0",
"description": "UI HeaderBar",
"repository": {
"type": "git",
@@ -34,21 +34,21 @@
"styled-jsx": "^4"
},
"dependencies": {
- "@dhis2-ui/box": "9.13.0",
- "@dhis2-ui/button": "9.13.0",
- "@dhis2-ui/card": "9.13.0",
- "@dhis2-ui/center": "9.13.0",
- "@dhis2-ui/divider": "9.13.0",
- "@dhis2-ui/input": "9.13.0",
- "@dhis2-ui/layer": "9.13.0",
- "@dhis2-ui/loader": "9.13.0",
- "@dhis2-ui/logo": "9.13.0",
- "@dhis2-ui/menu": "9.13.0",
- "@dhis2-ui/modal": "9.13.0",
- "@dhis2-ui/user-avatar": "9.13.0",
+ "@dhis2-ui/box": "9.14.0",
+ "@dhis2-ui/button": "9.14.0",
+ "@dhis2-ui/card": "9.14.0",
+ "@dhis2-ui/center": "9.14.0",
+ "@dhis2-ui/divider": "9.14.0",
+ "@dhis2-ui/input": "9.14.0",
+ "@dhis2-ui/layer": "9.14.0",
+ "@dhis2-ui/loader": "9.14.0",
+ "@dhis2-ui/logo": "9.14.0",
+ "@dhis2-ui/menu": "9.14.0",
+ "@dhis2-ui/modal": "9.14.0",
+ "@dhis2-ui/user-avatar": "9.14.0",
"@dhis2/prop-types": "^3.1.2",
- "@dhis2/ui-constants": "9.13.0",
- "@dhis2/ui-icons": "9.13.0",
+ "@dhis2/ui-constants": "9.14.0",
+ "@dhis2/ui-icons": "9.14.0",
"classnames": "^2.3.1",
"moment": "^2.29.1",
"prop-types": "^15.7.2"
diff --git a/components/help/package.json b/components/help/package.json
index ad07948ea..9d3cf7817 100644
--- a/components/help/package.json
+++ b/components/help/package.json
@@ -1,6 +1,6 @@
{
"name": "@dhis2-ui/help",
- "version": "9.13.0",
+ "version": "9.14.0",
"description": "UI Help",
"repository": {
"type": "git",
@@ -33,7 +33,7 @@
},
"dependencies": {
"@dhis2/prop-types": "^3.1.2",
- "@dhis2/ui-constants": "9.13.0",
+ "@dhis2/ui-constants": "9.14.0",
"classnames": "^2.3.1",
"prop-types": "^15.7.2"
},
diff --git a/components/input/package.json b/components/input/package.json
index 8f80187db..19b4cc4bb 100644
--- a/components/input/package.json
+++ b/components/input/package.json
@@ -1,6 +1,6 @@
{
"name": "@dhis2-ui/input",
- "version": "9.13.0",
+ "version": "9.14.0",
"description": "UI Input",
"repository": {
"type": "git",
@@ -33,13 +33,13 @@
},
"dependencies": {
"@dhis2/prop-types": "^3.1.2",
- "@dhis2-ui/box": "9.13.0",
- "@dhis2-ui/field": "9.13.0",
- "@dhis2-ui/input": "9.13.0",
- "@dhis2-ui/loader": "9.13.0",
- "@dhis2-ui/status-icon": "9.13.0",
- "@dhis2/ui-constants": "9.13.0",
- "@dhis2/ui-icons": "9.13.0",
+ "@dhis2-ui/box": "9.14.0",
+ "@dhis2-ui/field": "9.14.0",
+ "@dhis2-ui/input": "9.14.0",
+ "@dhis2-ui/loader": "9.14.0",
+ "@dhis2-ui/status-icon": "9.14.0",
+ "@dhis2/ui-constants": "9.14.0",
+ "@dhis2/ui-icons": "9.14.0",
"classnames": "^2.3.1",
"prop-types": "^15.7.2"
},
diff --git a/components/intersection-detector/package.json b/components/intersection-detector/package.json
index 15e1340f9..6c6bcdbe1 100644
--- a/components/intersection-detector/package.json
+++ b/components/intersection-detector/package.json
@@ -1,6 +1,6 @@
{
"name": "@dhis2-ui/intersection-detector",
- "version": "9.13.0",
+ "version": "9.14.0",
"description": "UI IntersectionDetector",
"repository": {
"type": "git",
@@ -33,7 +33,7 @@
},
"dependencies": {
"@dhis2/prop-types": "^3.1.2",
- "@dhis2/ui-constants": "9.13.0",
+ "@dhis2/ui-constants": "9.14.0",
"classnames": "^2.3.1",
"prop-types": "^15.7.2"
},
diff --git a/components/label/package.json b/components/label/package.json
index 0563ac0a0..7d89c391b 100644
--- a/components/label/package.json
+++ b/components/label/package.json
@@ -1,6 +1,6 @@
{
"name": "@dhis2-ui/label",
- "version": "9.13.0",
+ "version": "9.14.0",
"description": "UI Label",
"repository": {
"type": "git",
@@ -33,8 +33,8 @@
},
"dependencies": {
"@dhis2/prop-types": "^3.1.2",
- "@dhis2-ui/required": "9.13.0",
- "@dhis2/ui-constants": "9.13.0",
+ "@dhis2-ui/required": "9.14.0",
+ "@dhis2/ui-constants": "9.14.0",
"classnames": "^2.3.1",
"prop-types": "^15.7.2"
},
diff --git a/components/layer/package.json b/components/layer/package.json
index 404d6690f..5750f496d 100644
--- a/components/layer/package.json
+++ b/components/layer/package.json
@@ -1,6 +1,6 @@
{
"name": "@dhis2-ui/layer",
- "version": "9.13.0",
+ "version": "9.14.0",
"description": "UI Layer",
"repository": {
"type": "git",
@@ -33,8 +33,8 @@
},
"dependencies": {
"@dhis2/prop-types": "^3.1.2",
- "@dhis2-ui/portal": "9.13.0",
- "@dhis2/ui-constants": "9.13.0",
+ "@dhis2-ui/portal": "9.14.0",
+ "@dhis2/ui-constants": "9.14.0",
"classnames": "^2.3.1",
"prop-types": "^15.7.2"
},
diff --git a/components/legend/package.json b/components/legend/package.json
index 91ca94801..05a3f2bf8 100644
--- a/components/legend/package.json
+++ b/components/legend/package.json
@@ -1,6 +1,6 @@
{
"name": "@dhis2-ui/legend",
- "version": "9.13.0",
+ "version": "9.14.0",
"description": "UI Legend",
"repository": {
"type": "git",
@@ -33,8 +33,8 @@
},
"dependencies": {
"@dhis2/prop-types": "^3.1.2",
- "@dhis2-ui/required": "9.13.0",
- "@dhis2/ui-constants": "9.13.0",
+ "@dhis2-ui/required": "9.14.0",
+ "@dhis2/ui-constants": "9.14.0",
"classnames": "^2.3.1",
"prop-types": "^15.7.2"
},
diff --git a/components/loader/package.json b/components/loader/package.json
index 4810acfda..5bf43d4b5 100644
--- a/components/loader/package.json
+++ b/components/loader/package.json
@@ -1,6 +1,6 @@
{
"name": "@dhis2-ui/loader",
- "version": "9.13.0",
+ "version": "9.14.0",
"description": "UI Loaders",
"repository": {
"type": "git",
@@ -33,7 +33,7 @@
},
"dependencies": {
"@dhis2/prop-types": "^3.1.2",
- "@dhis2/ui-constants": "9.13.0",
+ "@dhis2/ui-constants": "9.14.0",
"classnames": "^2.3.1",
"prop-types": "^15.7.2"
},
diff --git a/components/logo/package.json b/components/logo/package.json
index 30d8bdc92..e6e39382f 100644
--- a/components/logo/package.json
+++ b/components/logo/package.json
@@ -1,6 +1,6 @@
{
"name": "@dhis2-ui/logo",
- "version": "9.13.0",
+ "version": "9.14.0",
"description": "UI Logo",
"repository": {
"type": "git",
@@ -33,7 +33,7 @@
},
"dependencies": {
"@dhis2/prop-types": "^3.1.2",
- "@dhis2/ui-constants": "9.13.0",
+ "@dhis2/ui-constants": "9.14.0",
"classnames": "^2.3.1",
"prop-types": "^15.7.2"
},
diff --git a/components/menu/package.json b/components/menu/package.json
index 52f86085c..0544fcd5c 100644
--- a/components/menu/package.json
+++ b/components/menu/package.json
@@ -1,6 +1,6 @@
{
"name": "@dhis2-ui/menu",
- "version": "9.13.0",
+ "version": "9.14.0",
"description": "UI Menu",
"repository": {
"type": "git",
@@ -33,13 +33,13 @@
},
"dependencies": {
"@dhis2/prop-types": "^3.1.2",
- "@dhis2-ui/card": "9.13.0",
- "@dhis2-ui/divider": "9.13.0",
- "@dhis2-ui/layer": "9.13.0",
- "@dhis2-ui/popper": "9.13.0",
- "@dhis2-ui/portal": "9.13.0",
- "@dhis2/ui-constants": "9.13.0",
- "@dhis2/ui-icons": "9.13.0",
+ "@dhis2-ui/card": "9.14.0",
+ "@dhis2-ui/divider": "9.14.0",
+ "@dhis2-ui/layer": "9.14.0",
+ "@dhis2-ui/popper": "9.14.0",
+ "@dhis2-ui/portal": "9.14.0",
+ "@dhis2/ui-constants": "9.14.0",
+ "@dhis2/ui-icons": "9.14.0",
"classnames": "^2.3.1",
"prop-types": "^15.7.2"
},
diff --git a/components/modal/package.json b/components/modal/package.json
index 240527eba..622a9a582 100644
--- a/components/modal/package.json
+++ b/components/modal/package.json
@@ -1,6 +1,6 @@
{
"name": "@dhis2-ui/modal",
- "version": "9.13.0",
+ "version": "9.14.0",
"description": "UI Modal",
"repository": {
"type": "git",
@@ -33,12 +33,12 @@
},
"dependencies": {
"@dhis2/prop-types": "^3.1.2",
- "@dhis2-ui/card": "9.13.0",
- "@dhis2-ui/center": "9.13.0",
- "@dhis2-ui/layer": "9.13.0",
- "@dhis2-ui/portal": "9.13.0",
- "@dhis2/ui-constants": "9.13.0",
- "@dhis2/ui-icons": "9.13.0",
+ "@dhis2-ui/card": "9.14.0",
+ "@dhis2-ui/center": "9.14.0",
+ "@dhis2-ui/layer": "9.14.0",
+ "@dhis2-ui/portal": "9.14.0",
+ "@dhis2/ui-constants": "9.14.0",
+ "@dhis2/ui-icons": "9.14.0",
"classnames": "^2.3.1",
"prop-types": "^15.7.2"
},
diff --git a/components/node/package.json b/components/node/package.json
index d27423b54..36b42012c 100644
--- a/components/node/package.json
+++ b/components/node/package.json
@@ -1,6 +1,6 @@
{
"name": "@dhis2-ui/node",
- "version": "9.13.0",
+ "version": "9.14.0",
"description": "UI Node",
"repository": {
"type": "git",
@@ -33,8 +33,8 @@
},
"dependencies": {
"@dhis2/prop-types": "^3.1.2",
- "@dhis2-ui/loader": "9.13.0",
- "@dhis2/ui-constants": "9.13.0",
+ "@dhis2-ui/loader": "9.14.0",
+ "@dhis2/ui-constants": "9.14.0",
"classnames": "^2.3.1",
"prop-types": "^15.7.2"
},
diff --git a/components/notice-box/package.json b/components/notice-box/package.json
index 43df159d4..e5668357c 100644
--- a/components/notice-box/package.json
+++ b/components/notice-box/package.json
@@ -1,6 +1,6 @@
{
"name": "@dhis2-ui/notice-box",
- "version": "9.13.0",
+ "version": "9.14.0",
"description": "UI NoticeBox",
"repository": {
"type": "git",
@@ -33,8 +33,8 @@
},
"dependencies": {
"@dhis2/prop-types": "^3.1.2",
- "@dhis2/ui-constants": "9.13.0",
- "@dhis2/ui-icons": "9.13.0",
+ "@dhis2/ui-constants": "9.14.0",
+ "@dhis2/ui-icons": "9.14.0",
"classnames": "^2.3.1",
"prop-types": "^15.7.2"
},
diff --git a/components/organisation-unit-tree/package.json b/components/organisation-unit-tree/package.json
index e8ac72a88..7c7e0b1ed 100644
--- a/components/organisation-unit-tree/package.json
+++ b/components/organisation-unit-tree/package.json
@@ -1,6 +1,6 @@
{
"name": "@dhis2-ui/organisation-unit-tree",
- "version": "9.13.0",
+ "version": "9.14.0",
"description": "UI OrganisationUnitTree",
"repository": {
"type": "git",
@@ -35,11 +35,11 @@
},
"dependencies": {
"@dhis2/prop-types": "^3.1.2",
- "@dhis2-ui/button": "9.13.0",
- "@dhis2-ui/checkbox": "9.13.0",
- "@dhis2-ui/loader": "9.13.0",
- "@dhis2-ui/node": "9.13.0",
- "@dhis2/ui-constants": "9.13.0",
+ "@dhis2-ui/button": "9.14.0",
+ "@dhis2-ui/checkbox": "9.14.0",
+ "@dhis2-ui/loader": "9.14.0",
+ "@dhis2-ui/node": "9.14.0",
+ "@dhis2/ui-constants": "9.14.0",
"classnames": "^2.3.1",
"prop-types": "^15.7.2"
},
diff --git a/components/pagination/package.json b/components/pagination/package.json
index 564371e1c..6f6c849fc 100644
--- a/components/pagination/package.json
+++ b/components/pagination/package.json
@@ -1,6 +1,6 @@
{
"name": "@dhis2-ui/pagination",
- "version": "9.13.0",
+ "version": "9.14.0",
"description": "UI Pagination",
"repository": {
"type": "git",
@@ -34,10 +34,10 @@
},
"dependencies": {
"@dhis2/prop-types": "^3.1.2",
- "@dhis2-ui/button": "9.13.0",
- "@dhis2-ui/select": "9.13.0",
- "@dhis2/ui-constants": "9.13.0",
- "@dhis2/ui-icons": "9.13.0",
+ "@dhis2-ui/button": "9.14.0",
+ "@dhis2-ui/select": "9.14.0",
+ "@dhis2/ui-constants": "9.14.0",
+ "@dhis2/ui-icons": "9.14.0",
"classnames": "^2.3.1",
"prop-types": "^15.7.2"
},
diff --git a/components/popover/package.json b/components/popover/package.json
index da328a899..a2869d436 100644
--- a/components/popover/package.json
+++ b/components/popover/package.json
@@ -1,6 +1,6 @@
{
"name": "@dhis2-ui/popover",
- "version": "9.13.0",
+ "version": "9.14.0",
"description": "UI Popover",
"repository": {
"type": "git",
@@ -33,9 +33,9 @@
},
"dependencies": {
"@dhis2/prop-types": "^3.1.2",
- "@dhis2-ui/layer": "9.13.0",
- "@dhis2-ui/popper": "9.13.0",
- "@dhis2/ui-constants": "9.13.0",
+ "@dhis2-ui/layer": "9.14.0",
+ "@dhis2-ui/popper": "9.14.0",
+ "@dhis2/ui-constants": "9.14.0",
"classnames": "^2.3.1",
"prop-types": "^15.7.2"
},
diff --git a/components/popper/package.json b/components/popper/package.json
index 1a761afc6..d52e7fa40 100644
--- a/components/popper/package.json
+++ b/components/popper/package.json
@@ -1,6 +1,6 @@
{
"name": "@dhis2-ui/popper",
- "version": "9.13.0",
+ "version": "9.14.0",
"description": "UI Popper",
"repository": {
"type": "git",
@@ -33,7 +33,7 @@
},
"dependencies": {
"@dhis2/prop-types": "^3.1.2",
- "@dhis2/ui-constants": "9.13.0",
+ "@dhis2/ui-constants": "9.14.0",
"@popperjs/core": "^2.10.1",
"classnames": "^2.3.1",
"prop-types": "^15.7.2",
diff --git a/components/portal/package.json b/components/portal/package.json
index 1640ca432..66f4598f2 100644
--- a/components/portal/package.json
+++ b/components/portal/package.json
@@ -1,6 +1,6 @@
{
"name": "@dhis2-ui/portal",
- "version": "9.13.0",
+ "version": "9.14.0",
"description": "UI Portal",
"repository": {
"type": "git",
diff --git a/components/radio/package.json b/components/radio/package.json
index 6fccd6f9e..30410ab3f 100644
--- a/components/radio/package.json
+++ b/components/radio/package.json
@@ -1,6 +1,6 @@
{
"name": "@dhis2-ui/radio",
- "version": "9.13.0",
+ "version": "9.14.0",
"description": "UI Radio",
"repository": {
"type": "git",
@@ -33,7 +33,7 @@
},
"dependencies": {
"@dhis2/prop-types": "^3.1.2",
- "@dhis2/ui-constants": "9.13.0",
+ "@dhis2/ui-constants": "9.14.0",
"classnames": "^2.3.1",
"prop-types": "^15.7.2"
},
diff --git a/components/required/package.json b/components/required/package.json
index bf063e602..5f0b91c13 100644
--- a/components/required/package.json
+++ b/components/required/package.json
@@ -1,6 +1,6 @@
{
"name": "@dhis2-ui/required",
- "version": "9.13.0",
+ "version": "9.14.0",
"description": "UI Required",
"repository": {
"type": "git",
@@ -33,7 +33,7 @@
},
"dependencies": {
"@dhis2/prop-types": "^3.1.2",
- "@dhis2/ui-constants": "9.13.0",
+ "@dhis2/ui-constants": "9.14.0",
"classnames": "^2.3.1",
"prop-types": "^15.7.2"
},
diff --git a/components/segmented-control/package.json b/components/segmented-control/package.json
index 7d05b2670..6659af89d 100644
--- a/components/segmented-control/package.json
+++ b/components/segmented-control/package.json
@@ -1,6 +1,6 @@
{
"name": "@dhis2-ui/segmented-control",
- "version": "9.13.0",
+ "version": "9.14.0",
"description": "UI Segmented Control",
"repository": {
"type": "git",
@@ -33,7 +33,7 @@
},
"dependencies": {
"@dhis2/prop-types": "^3.1.2",
- "@dhis2/ui-constants": "9.13.0",
+ "@dhis2/ui-constants": "9.14.0",
"classnames": "^2.3.1",
"prop-types": "^15.7.2"
},
diff --git a/components/select/package.json b/components/select/package.json
index 6323c005c..a4e1f2390 100644
--- a/components/select/package.json
+++ b/components/select/package.json
@@ -1,6 +1,6 @@
{
"name": "@dhis2-ui/select",
- "version": "9.13.0",
+ "version": "9.14.0",
"description": "UI Select",
"repository": {
"type": "git",
@@ -33,21 +33,21 @@
"styled-jsx": "^4"
},
"dependencies": {
- "@dhis2-ui/box": "9.13.0",
- "@dhis2-ui/button": "9.13.0",
- "@dhis2-ui/card": "9.13.0",
- "@dhis2-ui/checkbox": "9.13.0",
- "@dhis2-ui/chip": "9.13.0",
- "@dhis2-ui/field": "9.13.0",
- "@dhis2-ui/input": "9.13.0",
- "@dhis2-ui/layer": "9.13.0",
- "@dhis2-ui/loader": "9.13.0",
- "@dhis2-ui/popper": "9.13.0",
- "@dhis2-ui/status-icon": "9.13.0",
- "@dhis2-ui/tooltip": "9.13.0",
+ "@dhis2-ui/box": "9.14.0",
+ "@dhis2-ui/button": "9.14.0",
+ "@dhis2-ui/card": "9.14.0",
+ "@dhis2-ui/checkbox": "9.14.0",
+ "@dhis2-ui/chip": "9.14.0",
+ "@dhis2-ui/field": "9.14.0",
+ "@dhis2-ui/input": "9.14.0",
+ "@dhis2-ui/layer": "9.14.0",
+ "@dhis2-ui/loader": "9.14.0",
+ "@dhis2-ui/popper": "9.14.0",
+ "@dhis2-ui/status-icon": "9.14.0",
+ "@dhis2-ui/tooltip": "9.14.0",
"@dhis2/prop-types": "^3.1.2",
- "@dhis2/ui-constants": "9.13.0",
- "@dhis2/ui-icons": "9.13.0",
+ "@dhis2/ui-constants": "9.14.0",
+ "@dhis2/ui-icons": "9.14.0",
"classnames": "^2.3.1",
"prop-types": "^15.7.2"
},
diff --git a/components/selector-bar/package.json b/components/selector-bar/package.json
index e26cba6f2..b3e86f529 100644
--- a/components/selector-bar/package.json
+++ b/components/selector-bar/package.json
@@ -1,6 +1,6 @@
{
"name": "@dhis2-ui/selector-bar",
- "version": "9.13.0",
+ "version": "9.14.0",
"description": "UI Select",
"repository": {
"type": "git",
@@ -33,20 +33,20 @@
"styled-jsx": "^4"
},
"dependencies": {
- "@dhis2-ui/button": "9.13.0",
- "@dhis2-ui/card": "9.13.0",
- "@dhis2-ui/popper": "9.13.0",
- "@dhis2-ui/layer": "9.13.0",
- "@dhis2/ui-constants": "9.13.0",
- "@dhis2/ui-icons": "9.13.0",
+ "@dhis2-ui/button": "9.14.0",
+ "@dhis2-ui/card": "9.14.0",
+ "@dhis2-ui/popper": "9.14.0",
+ "@dhis2-ui/layer": "9.14.0",
+ "@dhis2/ui-constants": "9.14.0",
+ "@dhis2/ui-icons": "9.14.0",
"classnames": "^2.3.1",
"prop-types": "^15.7.2"
},
"devDependencies": {
- "@dhis2-ui/css": "9.13.0",
- "@dhis2-ui/menu": "9.13.0",
- "@dhis2-ui/organisation-unit-tree": "9.13.0",
- "@dhis2-ui/select": "9.13.0",
+ "@dhis2-ui/css": "9.14.0",
+ "@dhis2-ui/menu": "9.14.0",
+ "@dhis2-ui/organisation-unit-tree": "9.14.0",
+ "@dhis2-ui/select": "9.14.0",
"@dhis2/d2-i18n": "^1.1.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
diff --git a/components/sharing-dialog/API.md b/components/sharing-dialog/API.md
index 03071fedc..8ff5a334c 100644
--- a/components/sharing-dialog/API.md
+++ b/components/sharing-dialog/API.md
@@ -18,7 +18,13 @@ import { SharingDialog } from '@dhis2/ui'
|type|DIALOG_TYPES_LIST||*|The type of object to share|
|dataSharing|boolean|`false`||Whether to expose the ability to set data sharing (in addition to metadata sharing)|
|dataTest|string|`'dhis2-uicore-sharingdialog'`|||
-|initialSharingSettings|object|{
"allowPublic": "boolean",
"name": "string",
"public": {"data": 'ACCESS_NONE' \| 'ACCESS_VIEW_ONLY' \| 'ACCESS_VIEW_AND_EDIT',"metadata": 'ACCESS_NONE' \| 'ACCESS_VIEW_ONLY' \| 'ACCESS_VIEW_AND_EDIT'},
"groups": "objectOf (see below)",
"users": "objectOf (see below)",
}
users and group objects have format of:
{"name": "string",
"id": "string",
"access": {"data": 'ACCESS_NONE' \| 'ACCESS_VIEW_ONLY' \| 'ACCESS_VIEW_AND_EDIT',"metadata": 'ACCESS_NONE' \| 'ACCESS_VIEW_ONLY' \| 'ACCESS_VIEW_AND_EDIT'}}||Used to seed the component with data to show whilst loading|
+|initialSharingSettings|{
"allowPublic": "boolean",
"groups": "objectOf",
"name": "string",
"public": "{
\"data\": \"import {\\n ACCESS_NONE,\\n ACCESS_VIEW_ONLY,\\n ACCESS_VIEW_AND_EDIT,\\n DIALOG_TYPES_LIST,\\n} from './constants.js' │ import {\\n ACCESS_NONE,\\n ACCESS_VIEW_ONLY,\\n ACCESS_VIEW_AND_EDIT,\\n DIALOG_TYPES_LIST,\\n} from './constants.js' │ import {\\n ACCESS_NONE,\\n ACCESS_VIEW_ONLY,\\n ACCESS_VIEW_AND_EDIT,\\n DIALOG_TYPES_LIST,\\n} from './constants.js'\",
\"metadata\": \"import {\\n ACCESS_NONE,\\n ACCESS_VIEW_ONLY,\\n ACCESS_VIEW_AND_EDIT,\\n DIALOG_TYPES_LIST,\\n} from './constants.js' │ import {\\n ACCESS_NONE,\\n ACCESS_VIEW_ONLY,\\n ACCESS_VIEW_AND_EDIT,\\n DIALOG_TYPES_LIST,\\n} from './constants.js' │ import {\\n ACCESS_NONE,\\n ACCESS_VIEW_ONLY,\\n ACCESS_VIEW_AND_EDIT,\\n DIALOG_TYPES_LIST,\\n} from './constants.js'\"
} │ import {\n ACCESS_NONE,\n ACCESS_VIEW_ONLY,\n ACCESS_VIEW_AND_EDIT,\n DIALOG_TYPES_LIST,\n} from './constants.js' │ import {\n ACCESS_NONE,\n ACCESS_VIEW_ONLY,\n ACCESS_VIEW_AND_EDIT,\n DIALOG_TYPES_LIST,\n} from './constants.js' │ import {\n ACCESS_NONE,\n ACCESS_VIEW_ONLY,\n ACCESS_VIEW_AND_EDIT,\n DIALOG_TYPES_LIST,\n} from './constants.js'",
"users": "objectOf"
}|`{
+ name: '',
+ allowPublic: true,
+ public: { data: ACCESS_NONE, metadata: ACCESS_NONE },
+ groups: [],
+ users: [],
+}`||Used to seed the component with data to show whilst loading|
|onClose|function|`() => {}`|||
|onError|function|`() => {}`|||
|onSave|function|`() => {}`|||
diff --git a/components/sharing-dialog/package.json b/components/sharing-dialog/package.json
index 0895a7982..cc26526ef 100644
--- a/components/sharing-dialog/package.json
+++ b/components/sharing-dialog/package.json
@@ -1,6 +1,6 @@
{
"name": "@dhis2-ui/sharing-dialog",
- "version": "9.13.0",
+ "version": "9.14.0",
"description": "UI SharingDialog",
"repository": {
"type": "git",
@@ -35,22 +35,22 @@
},
"dependencies": {
"@dhis2/prop-types": "^3.1.2",
- "@dhis2-ui/box": "9.13.0",
- "@dhis2-ui/button": "9.13.0",
- "@dhis2-ui/card": "9.13.0",
- "@dhis2-ui/divider": "9.13.0",
- "@dhis2-ui/input": "9.13.0",
- "@dhis2-ui/layer": "9.13.0",
- "@dhis2-ui/menu": "9.13.0",
- "@dhis2-ui/modal": "9.13.0",
- "@dhis2-ui/notice-box": "9.13.0",
- "@dhis2-ui/popper": "9.13.0",
- "@dhis2-ui/select": "9.13.0",
- "@dhis2-ui/tab": "9.13.0",
- "@dhis2-ui/tooltip": "9.13.0",
- "@dhis2-ui/user-avatar": "9.13.0",
- "@dhis2/ui-constants": "9.13.0",
- "@dhis2/ui-icons": "9.13.0",
+ "@dhis2-ui/box": "9.14.0",
+ "@dhis2-ui/button": "9.14.0",
+ "@dhis2-ui/card": "9.14.0",
+ "@dhis2-ui/divider": "9.14.0",
+ "@dhis2-ui/input": "9.14.0",
+ "@dhis2-ui/layer": "9.14.0",
+ "@dhis2-ui/menu": "9.14.0",
+ "@dhis2-ui/modal": "9.14.0",
+ "@dhis2-ui/notice-box": "9.14.0",
+ "@dhis2-ui/popper": "9.14.0",
+ "@dhis2-ui/select": "9.14.0",
+ "@dhis2-ui/tab": "9.14.0",
+ "@dhis2-ui/tooltip": "9.14.0",
+ "@dhis2-ui/user-avatar": "9.14.0",
+ "@dhis2/ui-constants": "9.14.0",
+ "@dhis2/ui-icons": "9.14.0",
"@react-hook/size": "^2.1.2",
"classnames": "^2.3.1",
"prop-types": "^15.7.2"
diff --git a/components/status-icon/package.json b/components/status-icon/package.json
index 40de5df24..ac71a88cf 100644
--- a/components/status-icon/package.json
+++ b/components/status-icon/package.json
@@ -1,6 +1,6 @@
{
"name": "@dhis2-ui/status-icon",
- "version": "9.13.0",
+ "version": "9.14.0",
"description": "UI StatusIcon",
"repository": {
"type": "git",
@@ -33,9 +33,9 @@
},
"dependencies": {
"@dhis2/prop-types": "^3.1.2",
- "@dhis2-ui/loader": "9.13.0",
- "@dhis2/ui-constants": "9.13.0",
- "@dhis2/ui-icons": "9.13.0",
+ "@dhis2-ui/loader": "9.14.0",
+ "@dhis2/ui-constants": "9.14.0",
+ "@dhis2/ui-icons": "9.14.0",
"classnames": "^2.3.1",
"prop-types": "^15.7.2"
},
diff --git a/components/switch/package.json b/components/switch/package.json
index e34d0175b..7866dad4e 100644
--- a/components/switch/package.json
+++ b/components/switch/package.json
@@ -1,6 +1,6 @@
{
"name": "@dhis2-ui/switch",
- "version": "9.13.0",
+ "version": "9.14.0",
"description": "UI Switch",
"repository": {
"type": "git",
@@ -33,9 +33,9 @@
},
"dependencies": {
"@dhis2/prop-types": "^3.1.2",
- "@dhis2-ui/field": "9.13.0",
- "@dhis2-ui/required": "9.13.0",
- "@dhis2/ui-constants": "9.13.0",
+ "@dhis2-ui/field": "9.14.0",
+ "@dhis2-ui/required": "9.14.0",
+ "@dhis2/ui-constants": "9.14.0",
"classnames": "^2.3.1",
"prop-types": "^15.7.2"
},
diff --git a/components/tab/package.json b/components/tab/package.json
index d7c6588ef..beefa1f60 100644
--- a/components/tab/package.json
+++ b/components/tab/package.json
@@ -1,6 +1,6 @@
{
"name": "@dhis2-ui/tab",
- "version": "9.13.0",
+ "version": "9.14.0",
"description": "UI Tabs",
"repository": {
"type": "git",
@@ -32,10 +32,10 @@
"styled-jsx": "^4"
},
"dependencies": {
- "@dhis2-ui/tooltip": "9.13.0",
+ "@dhis2-ui/tooltip": "9.14.0",
"@dhis2/prop-types": "^3.1.2",
- "@dhis2/ui-constants": "9.13.0",
- "@dhis2/ui-icons": "9.13.0",
+ "@dhis2/ui-constants": "9.14.0",
+ "@dhis2/ui-icons": "9.14.0",
"classnames": "^2.3.1",
"prop-types": "^15.7.2"
},
diff --git a/components/table/package.json b/components/table/package.json
index 04e0c6ca1..2a4167686 100644
--- a/components/table/package.json
+++ b/components/table/package.json
@@ -1,6 +1,6 @@
{
"name": "@dhis2-ui/table",
- "version": "9.13.0",
+ "version": "9.14.0",
"description": "UI Table",
"repository": {
"type": "git",
@@ -34,8 +34,8 @@
},
"dependencies": {
"@dhis2/prop-types": "^3.1.2",
- "@dhis2/ui-constants": "9.13.0",
- "@dhis2/ui-icons": "9.13.0",
+ "@dhis2/ui-constants": "9.14.0",
+ "@dhis2/ui-icons": "9.14.0",
"classnames": "^2.3.1",
"prop-types": "^15.7.2"
},
diff --git a/components/tag/package.json b/components/tag/package.json
index 59b44a7e7..0181c4aea 100644
--- a/components/tag/package.json
+++ b/components/tag/package.json
@@ -1,6 +1,6 @@
{
"name": "@dhis2-ui/tag",
- "version": "9.13.0",
+ "version": "9.14.0",
"description": "UI Tag",
"repository": {
"type": "git",
@@ -33,7 +33,7 @@
},
"dependencies": {
"@dhis2/prop-types": "^3.1.2",
- "@dhis2/ui-constants": "9.13.0",
+ "@dhis2/ui-constants": "9.14.0",
"classnames": "^2.3.1",
"prop-types": "^15.7.2"
},
diff --git a/components/text-area/package.json b/components/text-area/package.json
index bf7a9f9dd..4be43eccf 100644
--- a/components/text-area/package.json
+++ b/components/text-area/package.json
@@ -1,6 +1,6 @@
{
"name": "@dhis2-ui/text-area",
- "version": "9.13.0",
+ "version": "9.14.0",
"description": "UI TextArea",
"repository": {
"type": "git",
@@ -33,12 +33,12 @@
},
"dependencies": {
"@dhis2/prop-types": "^3.1.2",
- "@dhis2-ui/box": "9.13.0",
- "@dhis2-ui/field": "9.13.0",
- "@dhis2-ui/loader": "9.13.0",
- "@dhis2-ui/status-icon": "9.13.0",
- "@dhis2/ui-constants": "9.13.0",
- "@dhis2/ui-icons": "9.13.0",
+ "@dhis2-ui/box": "9.14.0",
+ "@dhis2-ui/field": "9.14.0",
+ "@dhis2-ui/loader": "9.14.0",
+ "@dhis2-ui/status-icon": "9.14.0",
+ "@dhis2/ui-constants": "9.14.0",
+ "@dhis2/ui-icons": "9.14.0",
"classnames": "^2.3.1",
"prop-types": "^15.7.2"
},
diff --git a/components/tooltip/package.json b/components/tooltip/package.json
index 7e3516a9c..237509d28 100644
--- a/components/tooltip/package.json
+++ b/components/tooltip/package.json
@@ -1,6 +1,6 @@
{
"name": "@dhis2-ui/tooltip",
- "version": "9.13.0",
+ "version": "9.14.0",
"description": "UI Tooltip",
"repository": {
"type": "git",
@@ -33,9 +33,9 @@
},
"dependencies": {
"@dhis2/prop-types": "^3.1.2",
- "@dhis2-ui/popper": "9.13.0",
- "@dhis2-ui/portal": "9.13.0",
- "@dhis2/ui-constants": "9.13.0",
+ "@dhis2-ui/popper": "9.14.0",
+ "@dhis2-ui/portal": "9.14.0",
+ "@dhis2/ui-constants": "9.14.0",
"classnames": "^2.3.1",
"prop-types": "^15.7.2"
},
diff --git a/components/transfer/package.json b/components/transfer/package.json
index 81cd3b6e0..99e1e4eb9 100644
--- a/components/transfer/package.json
+++ b/components/transfer/package.json
@@ -1,6 +1,6 @@
{
"name": "@dhis2-ui/transfer",
- "version": "9.13.0",
+ "version": "9.14.0",
"description": "UI Transfer",
"repository": {
"type": "git",
@@ -33,12 +33,12 @@
},
"dependencies": {
"@dhis2/prop-types": "^3.1.2",
- "@dhis2-ui/button": "9.13.0",
- "@dhis2-ui/field": "9.13.0",
- "@dhis2-ui/input": "9.13.0",
- "@dhis2-ui/intersection-detector": "9.13.0",
- "@dhis2-ui/loader": "9.13.0",
- "@dhis2/ui-constants": "9.13.0",
+ "@dhis2-ui/button": "9.14.0",
+ "@dhis2-ui/field": "9.14.0",
+ "@dhis2-ui/input": "9.14.0",
+ "@dhis2-ui/intersection-detector": "9.14.0",
+ "@dhis2-ui/loader": "9.14.0",
+ "@dhis2/ui-constants": "9.14.0",
"classnames": "^2.3.1",
"prop-types": "^15.7.2"
},
diff --git a/components/user-avatar/package.json b/components/user-avatar/package.json
index 19c3f53de..7e360d04a 100644
--- a/components/user-avatar/package.json
+++ b/components/user-avatar/package.json
@@ -1,6 +1,6 @@
{
"name": "@dhis2-ui/user-avatar",
- "version": "9.13.0",
+ "version": "9.14.0",
"description": "UI User Avatar",
"repository": {
"type": "git",
@@ -34,7 +34,7 @@
},
"dependencies": {
"@dhis2/prop-types": "^3.1.2",
- "@dhis2/ui-constants": "9.13.0",
+ "@dhis2/ui-constants": "9.14.0",
"classnames": "^2.3.1",
"prop-types": "^15.7.2"
},
diff --git a/constants/package.json b/constants/package.json
index c64886462..f5c341276 100644
--- a/constants/package.json
+++ b/constants/package.json
@@ -1,6 +1,6 @@
{
"name": "@dhis2/ui-constants",
- "version": "9.13.0",
+ "version": "9.14.0",
"description": "Constants used in the UI libs",
"main": "./build/cjs/index.js",
"module": "./build/es/index.js",
diff --git a/docs/package.json b/docs/package.json
index 9ba4c82a6..e472e318f 100644
--- a/docs/package.json
+++ b/docs/package.json
@@ -1,6 +1,6 @@
{
"name": "ui-docusaurus",
- "version": "9.13.0",
+ "version": "9.14.0",
"private": true,
"description": "UI Docusaurus",
"repository": {
diff --git a/icons/package.json b/icons/package.json
index 9601b04c8..31c4cc74b 100644
--- a/icons/package.json
+++ b/icons/package.json
@@ -1,6 +1,6 @@
{
"name": "@dhis2/ui-icons",
- "version": "9.13.0",
+ "version": "9.14.0",
"description": "Icons used in the UI libs",
"main": "./build/cjs/react/index.js",
"module": "./build/es/react/index.js",
diff --git a/package.json b/package.json
index 6827067f2..763d4d32c 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "@dhis2/ui-root",
- "version": "9.13.0",
+ "version": "9.14.0",
"repository": {
"type": "git",
"url": "https://github.com/dhis2/ui.git"
diff --git a/storybook/package.json b/storybook/package.json
index 6f09a5441..1c60f0df3 100644
--- a/storybook/package.json
+++ b/storybook/package.json
@@ -1,6 +1,6 @@
{
"name": "ui-storybook",
- "version": "9.13.0",
+ "version": "9.14.0",
"description": "UI Storybook",
"repository": {
"type": "git",
@@ -22,8 +22,8 @@
"@babel/plugin-proposal-class-properties": "^7.13.0",
"@babel/plugin-proposal-private-methods": "^7.13.0",
"@babel/plugin-proposal-private-property-in-object": "^7.14.0",
- "@dhis2-ui/css": "9.13.0",
- "@dhis2/ui-constants": "9.13.0",
+ "@dhis2-ui/css": "9.14.0",
+ "@dhis2/ui-constants": "9.14.0",
"@fontsource/roboto": "^4.5.0",
"@storybook/addon-a11y": "^8.3.3",
"@storybook/addon-console": "^3.0.0",