@dhis2/analytics 26.6.2 → 26.6.3

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.
@@ -156,6 +156,7 @@ const AboutAOUnit = /*#__PURE__*/(0, _react.forwardRef)((_ref3, ref) => {
156
156
  className: `jsx-${_AboutAOUnitStyle.default.__hash}` + " " + "content"
157
157
  }, /*#__PURE__*/_react.default.createElement("p", {
158
158
  className: `jsx-${_AboutAOUnitStyle.default.__hash}` + " " + ((0, _classnames.default)('detailLine', {
159
+ description: true,
159
160
  noDescription: !data.ao.displayDescription
160
161
  }) || "")
161
162
  }, data.ao.displayDescription ? /*#__PURE__*/_react.default.createElement(_d2UiRichText.Parser, null, data.ao.displayDescription) : _d2I18n.default.t('No description')), /*#__PURE__*/_react.default.createElement("div", {
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.default = void 0;
7
7
  var _ui = require("@dhis2/ui");
8
- const _defaultExport = [`.container.jsx-1596217846{position:relative;padding:${_ui.spacers.dp16};border-bottom:1px solid ${_ui.colors.grey400};background-color:${_ui.colors.white};}`, `.expanded.jsx-1596217846{padding-bottom:${_ui.spacers.dp32};}`, ".loader.jsx-1596217846{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;}", ".header.jsx-1596217846{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;cursor:pointer;}", `.title.jsx-1596217846{font-size:16px;font-weight:500;line-height:21px;color:${_ui.colors.grey900};}`, `.content.jsx-1596217846{font-size:14px;line-height:18px;color:${_ui.colors.grey900};}`, `.detailLine.jsx-1596217846{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;margin:0;padding:${_ui.spacers.dp12} 0 0 0;gap:${_ui.spacers.dp8};}`, ".detailLine.jsx-1596217846 svg.jsx-1596217846{-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;}", `.noDescription.jsx-1596217846{color:${_ui.colors.grey600};}`, `.subsection.jsx-1596217846{margin-top:${_ui.spacers.dp24};}`, `.subsectionTitle.jsx-1596217846{color:${_ui.colors.grey700};font-weight:500;}`, `.subscriptionLabel.jsx-1596217846{margin:${_ui.spacers.dp12} 0 ${_ui.spacers.dp8} 0;}`, `.subsection.jsx-1596217846 button.jsx-1596217846{margin-top:${_ui.spacers.dp8};}`];
9
- _defaultExport.__hash = "1596217846";
8
+ const _defaultExport = [`.container.jsx-3095370592{position:relative;padding:${_ui.spacers.dp16};border-bottom:1px solid ${_ui.colors.grey400};background-color:${_ui.colors.white};}`, `.expanded.jsx-3095370592{padding-bottom:${_ui.spacers.dp32};}`, ".loader.jsx-3095370592{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;}", ".header.jsx-3095370592{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;cursor:pointer;}", `.title.jsx-3095370592{font-size:16px;font-weight:500;line-height:21px;color:${_ui.colors.grey900};}`, `.content.jsx-3095370592{font-size:14px;line-height:18px;color:${_ui.colors.grey900};}`, `.detailLine.jsx-3095370592{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;margin:0;padding:${_ui.spacers.dp12} 0 0 0;gap:${_ui.spacers.dp8};}`, ".detailLine.jsx-3095370592 svg.jsx-3095370592{-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;}", ".description.jsx-3095370592{white-space:pre-line;}", `.noDescription.jsx-3095370592{color:${_ui.colors.grey600};}`, `.subsection.jsx-3095370592{margin-top:${_ui.spacers.dp24};}`, `.subsectionTitle.jsx-3095370592{color:${_ui.colors.grey700};font-weight:500;}`, `.subscriptionLabel.jsx-3095370592{margin:${_ui.spacers.dp12} 0 ${_ui.spacers.dp8} 0;}`, `.subsection.jsx-3095370592 button.jsx-3095370592{margin-top:${_ui.spacers.dp8};}`];
9
+ _defaultExport.__hash = "3095370592";
10
10
  var _default = _defaultExport;
11
11
  exports.default = _default;
@@ -147,6 +147,7 @@ const AboutAOUnit = /*#__PURE__*/forwardRef((_ref3, ref) => {
147
147
  className: `jsx-${styles.__hash}` + " " + "content"
148
148
  }, /*#__PURE__*/React.createElement("p", {
149
149
  className: `jsx-${styles.__hash}` + " " + (cx('detailLine', {
150
+ description: true,
150
151
  noDescription: !data.ao.displayDescription
151
152
  }) || "")
152
153
  }, data.ao.displayDescription ? /*#__PURE__*/React.createElement(RichTextParser, null, data.ao.displayDescription) : i18n.t('No description')), /*#__PURE__*/React.createElement("div", {
@@ -1,4 +1,4 @@
1
1
  import { colors, spacers } from '@dhis2/ui';
2
- const _defaultExport = [`.container.jsx-1596217846{position:relative;padding:${spacers.dp16};border-bottom:1px solid ${colors.grey400};background-color:${colors.white};}`, `.expanded.jsx-1596217846{padding-bottom:${spacers.dp32};}`, ".loader.jsx-1596217846{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;}", ".header.jsx-1596217846{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;cursor:pointer;}", `.title.jsx-1596217846{font-size:16px;font-weight:500;line-height:21px;color:${colors.grey900};}`, `.content.jsx-1596217846{font-size:14px;line-height:18px;color:${colors.grey900};}`, `.detailLine.jsx-1596217846{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;margin:0;padding:${spacers.dp12} 0 0 0;gap:${spacers.dp8};}`, ".detailLine.jsx-1596217846 svg.jsx-1596217846{-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;}", `.noDescription.jsx-1596217846{color:${colors.grey600};}`, `.subsection.jsx-1596217846{margin-top:${spacers.dp24};}`, `.subsectionTitle.jsx-1596217846{color:${colors.grey700};font-weight:500;}`, `.subscriptionLabel.jsx-1596217846{margin:${spacers.dp12} 0 ${spacers.dp8} 0;}`, `.subsection.jsx-1596217846 button.jsx-1596217846{margin-top:${spacers.dp8};}`];
3
- _defaultExport.__hash = "1596217846";
2
+ const _defaultExport = [`.container.jsx-3095370592{position:relative;padding:${spacers.dp16};border-bottom:1px solid ${colors.grey400};background-color:${colors.white};}`, `.expanded.jsx-3095370592{padding-bottom:${spacers.dp32};}`, ".loader.jsx-3095370592{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;}", ".header.jsx-3095370592{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;cursor:pointer;}", `.title.jsx-3095370592{font-size:16px;font-weight:500;line-height:21px;color:${colors.grey900};}`, `.content.jsx-3095370592{font-size:14px;line-height:18px;color:${colors.grey900};}`, `.detailLine.jsx-3095370592{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;margin:0;padding:${spacers.dp12} 0 0 0;gap:${spacers.dp8};}`, ".detailLine.jsx-3095370592 svg.jsx-3095370592{-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;}", ".description.jsx-3095370592{white-space:pre-line;}", `.noDescription.jsx-3095370592{color:${colors.grey600};}`, `.subsection.jsx-3095370592{margin-top:${spacers.dp24};}`, `.subsectionTitle.jsx-3095370592{color:${colors.grey700};font-weight:500;}`, `.subscriptionLabel.jsx-3095370592{margin:${spacers.dp12} 0 ${spacers.dp8} 0;}`, `.subsection.jsx-3095370592 button.jsx-3095370592{margin-top:${spacers.dp8};}`];
3
+ _defaultExport.__hash = "3095370592";
4
4
  export default _defaultExport;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dhis2/analytics",
3
- "version": "26.6.2",
3
+ "version": "26.6.3",
4
4
  "main": "./build/cjs/index.js",
5
5
  "module": "./build/es/index.js",
6
6
  "exports": {