@plusscommunities/pluss-core-web 1.7.5-beta.0 → 1.7.6-beta.0

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.
@@ -434,7 +434,7 @@ var getPluralOptions = (count, singular, plural) => {
434
434
 
435
435
  function ownKeys$j(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
436
436
  function _objectSpread$j(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$j(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$j(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
437
- class Text$1 extends Component {
437
+ class Text extends Component {
438
438
  getClassName() {
439
439
  if (this.props.className) {
440
440
  return " ".concat(this.props.className);
@@ -472,7 +472,7 @@ class ProfilePicComponent extends Component {
472
472
  if (this.props.hoverText) {
473
473
  return /*#__PURE__*/jsxs("div", {
474
474
  className: "profilePicHover ".concat(this.props.containerClass),
475
- children: [this.renderPic(), /*#__PURE__*/jsx(Text$1, {
475
+ children: [this.renderPic(), /*#__PURE__*/jsx(Text, {
476
476
  type: "h5",
477
477
  className: "profilePicHover_text",
478
478
  children: this.props.hoverText
@@ -578,7 +578,7 @@ class CommentSection extends Component {
578
578
  if (_.isEmpty(threadComments)) {
579
579
  return /*#__PURE__*/jsx("div", {
580
580
  className: "comment_reply",
581
- children: /*#__PURE__*/jsx(Text$1, {
581
+ children: /*#__PURE__*/jsx(Text, {
582
582
  className: "comment_reply_button",
583
583
  type: "button",
584
584
  onClick: () => {
@@ -597,7 +597,7 @@ class CommentSection extends Component {
597
597
  size: 20,
598
598
  image: c.User.profilePic
599
599
  });
600
- }), /*#__PURE__*/jsx(Text$1, {
600
+ }), /*#__PURE__*/jsx(Text, {
601
601
  className: "comment_reply_button",
602
602
  type: "button",
603
603
  onClick: () => {
@@ -613,7 +613,7 @@ class CommentSection extends Component {
613
613
  }
614
614
  render() {
615
615
  return /*#__PURE__*/jsxs("div", {
616
- children: [this.props.includeTitle && /*#__PURE__*/jsx(Text$1, {
616
+ children: [this.props.includeTitle && /*#__PURE__*/jsx(Text, {
617
617
  type: "formTitleSmall",
618
618
  className: "marginBottom-16",
619
619
  children: "Comments"
@@ -949,7 +949,7 @@ function DurationInput(_ref) {
949
949
  };
950
950
  return /*#__PURE__*/jsxs("div", {
951
951
  className: "flex flex-center ".concat(className ? className : ""),
952
- children: [label && /*#__PURE__*/jsx(Text$1, {
952
+ children: [label && /*#__PURE__*/jsx(Text, {
953
953
  type: "formTitleSmall",
954
954
  style: {
955
955
  marginRight: "10px",
@@ -967,7 +967,7 @@ function DurationInput(_ref) {
967
967
  width: 50,
968
968
  marginRight: 5
969
969
  }
970
- }), /*#__PURE__*/jsx(Text$1, {
970
+ }), /*#__PURE__*/jsx(Text, {
971
971
  type: "formTitleSmall",
972
972
  style: {
973
973
  marginRight: 10
@@ -984,7 +984,7 @@ function DurationInput(_ref) {
984
984
  width: 50,
985
985
  marginRight: 5
986
986
  }
987
- }), /*#__PURE__*/jsx(Text$1, {
987
+ }), /*#__PURE__*/jsx(Text, {
988
988
  type: "formTitleSmall",
989
989
  children: "Minute(s)"
990
990
  })]
@@ -2898,7 +2898,7 @@ class HubSidebar extends PureComponent {
2898
2898
  renderSection(section, index) {
2899
2899
  return /*#__PURE__*/jsxs("div", {
2900
2900
  className: "hubSidebar_section",
2901
- children: [/*#__PURE__*/jsx(Text$1, {
2901
+ children: [/*#__PURE__*/jsx(Text, {
2902
2902
  type: "h3",
2903
2903
  className: "hubSidebar_sectionTitle",
2904
2904
  children: section.title
@@ -4602,7 +4602,7 @@ class Reactions extends Component {
4602
4602
  });
4603
4603
  }
4604
4604
  return /*#__PURE__*/jsxs("div", {
4605
- children: [/*#__PURE__*/jsx(Text$1, {
4605
+ children: [/*#__PURE__*/jsx(Text, {
4606
4606
  type: "formTitleSmall",
4607
4607
  className: "marginBottom-16",
4608
4608
  children: "Reactions"
@@ -4836,7 +4836,7 @@ class UserListing extends Component {
4836
4836
  style: {
4837
4837
  height: this.getSize()
4838
4838
  },
4839
- children: [/*#__PURE__*/jsx(Text$1, {
4839
+ children: [/*#__PURE__*/jsx(Text, {
4840
4840
  type: "name",
4841
4841
  style: this.props.whiteText ? {
4842
4842
  color: "#fff"
@@ -5161,7 +5161,7 @@ class AudienceIncluder extends Component {
5161
5161
  style: {
5162
5162
  marginTop: 16
5163
5163
  },
5164
- children: [/*#__PURE__*/jsx(Text$1, {
5164
+ children: [/*#__PURE__*/jsx(Text, {
5165
5165
  type: "formLabel",
5166
5166
  className: "marginBottom-8",
5167
5167
  children: "Selected Users"
@@ -5864,7 +5864,7 @@ class AudienceSelector extends Component {
5864
5864
  },
5865
5865
  children: [/*#__PURE__*/jsx("div", {
5866
5866
  className: "flex",
5867
- children: /*#__PURE__*/jsxs(Text$1, {
5867
+ children: /*#__PURE__*/jsxs(Text, {
5868
5868
  type: "formTitleSmall",
5869
5869
  className: "marginBottom-16",
5870
5870
  children: ["Exclude Users From Selection", " ", "(".concat(this.state.excludeList.length, ")")]
@@ -5899,7 +5899,7 @@ class AudienceSelector extends Component {
5899
5899
  },
5900
5900
  children: [/*#__PURE__*/jsx("div", {
5901
5901
  className: "flex",
5902
- children: /*#__PURE__*/jsxs(Text$1, {
5902
+ children: /*#__PURE__*/jsxs(Text, {
5903
5903
  type: "formTitleSmall",
5904
5904
  className: "marginBottom-16",
5905
5905
  children: [this.state.AudienceType !== "User" ? "Add Other" : "Select", " ", "Users ", "(".concat(this.state.includeList.length, ")")]
@@ -5931,7 +5931,7 @@ class AudienceSelector extends Component {
5931
5931
  style: {
5932
5932
  maxWidth
5933
5933
  },
5934
- children: [_.isEmpty(AudienceTagList) && /*#__PURE__*/jsx(Text$1, {
5934
+ children: [_.isEmpty(AudienceTagList) && /*#__PURE__*/jsx(Text, {
5935
5935
  type: "body",
5936
5936
  className: "text-italic",
5937
5937
  children: "No audiences selected"
@@ -5968,10 +5968,10 @@ class AudienceSelector extends Component {
5968
5968
  if (this.state.AudienceType !== "Custom") return null;
5969
5969
  return /*#__PURE__*/jsxs("div", {
5970
5970
  className: "optionsContent_bottom",
5971
- children: [/*#__PURE__*/jsx(Text$1, {
5971
+ children: [/*#__PURE__*/jsx(Text, {
5972
5972
  type: "formLabel",
5973
5973
  children: "Selected Audience"
5974
- }), this.renderAssignedAudiences(), /*#__PURE__*/jsx(Text$1, {
5974
+ }), this.renderAssignedAudiences(), /*#__PURE__*/jsx(Text, {
5975
5975
  type: "formLabel",
5976
5976
  className: "marginTop-32",
5977
5977
  children: "Select Audience"
@@ -5980,7 +5980,7 @@ class AudienceSelector extends Component {
5980
5980
  }
5981
5981
  render() {
5982
5982
  return /*#__PURE__*/jsxs("div", {
5983
- children: [/*#__PURE__*/jsx(Text$1, {
5983
+ children: [/*#__PURE__*/jsx(Text, {
5984
5984
  type: "formTitleSmall",
5985
5985
  className: "marginBottom-16",
5986
5986
  children: this.props.title || "Target Audience"
@@ -6427,10 +6427,10 @@ class MakerPopup extends Component {
6427
6427
  if (input.type === "array") {
6428
6428
  return /*#__PURE__*/jsxs("div", {
6429
6429
  className: "marginTop-16",
6430
- children: [/*#__PURE__*/jsx(Text$1, {
6430
+ children: [/*#__PURE__*/jsx(Text, {
6431
6431
  type: "formLabel",
6432
6432
  children: input.title
6433
- }), /*#__PURE__*/jsxs(Text$1, {
6433
+ }), /*#__PURE__*/jsxs(Text, {
6434
6434
  type: "body",
6435
6435
  children: [this.state[input.key].length, " ", getPluralOptions(this.state[input.key].length, "entry", "entries")]
6436
6436
  })]
@@ -6458,7 +6458,7 @@ class MakerPopup extends Component {
6458
6458
  width: 260,
6459
6459
  options: this.state.lottieConfig,
6460
6460
  isClickToPauseDisabled: true
6461
- }, "lottie-layout"), /*#__PURE__*/jsx(Text$1, {
6461
+ }, "lottie-layout"), /*#__PURE__*/jsx(Text, {
6462
6462
  type: "h3",
6463
6463
  className: "marginTop-16",
6464
6464
  children: "Generating"
@@ -6467,7 +6467,7 @@ class MakerPopup extends Component {
6467
6467
  }
6468
6468
  if (this.state.asset) {
6469
6469
  return /*#__PURE__*/jsxs("div", {
6470
- children: [/*#__PURE__*/jsx(Text$1, {
6470
+ children: [/*#__PURE__*/jsx(Text, {
6471
6471
  type: "h4",
6472
6472
  children: "Your file is ready"
6473
6473
  }), /*#__PURE__*/jsx(Button, {
@@ -6746,7 +6746,7 @@ class ExportCsvPopup extends Component {
6746
6746
  hasPadding: true,
6747
6747
  onClose: this.onClose,
6748
6748
  buttons: buttons,
6749
- children: [this.renderTimestampFilter(), /*#__PURE__*/jsx(Text$1, {
6749
+ children: [this.renderTimestampFilter(), /*#__PURE__*/jsx(Text, {
6750
6750
  type: "bodyLarge",
6751
6751
  children: "Select which columns to include in the export"
6752
6752
  }), this.renderContent()]
@@ -7302,7 +7302,7 @@ var StatBox = _ref => {
7302
7302
  className: "dashboardBox dashboardBox-stats dashboardBox-inline".concat(change > 0 ? " dashboardBox-stats-positive" : "").concat(change < 0 ? " dashboardBox-stats-negative" : ""),
7303
7303
  children: [/*#__PURE__*/jsx("div", {
7304
7304
  className: "dashboardBox-stats_title",
7305
- children: /*#__PURE__*/jsx(Text$1, {
7305
+ children: /*#__PURE__*/jsx(Text, {
7306
7306
  type: "h6",
7307
7307
  children: title
7308
7308
  })
@@ -7314,7 +7314,7 @@ var StatBox = _ref => {
7314
7314
  children: [/*#__PURE__*/jsx(Icon, {
7315
7315
  className: "dashboardBox-stats_icon",
7316
7316
  icon: icon
7317
- }), /*#__PURE__*/jsx(Text$1, {
7317
+ }), /*#__PURE__*/jsx(Text, {
7318
7318
  type: "h2",
7319
7319
  className: "dashboardBox-stats_count",
7320
7320
  children: value
@@ -7322,7 +7322,7 @@ var StatBox = _ref => {
7322
7322
  className: "dashboardBox-stats_change",
7323
7323
  children: change === 0 ? "No change" : "".concat(change, "% ").concat(change < 0 ? "↓" : "↑")
7324
7324
  })]
7325
- }), /*#__PURE__*/jsxs(Text$1, {
7325
+ }), /*#__PURE__*/jsxs(Text, {
7326
7326
  type: "help",
7327
7327
  style: {
7328
7328
  opacity
@@ -7330,7 +7330,7 @@ var StatBox = _ref => {
7330
7330
  children: ["Compared to ", prevText]
7331
7331
  }), viewGraphLink && /*#__PURE__*/jsx(Link, {
7332
7332
  to: "".concat(viewGraphLink, "&title=").concat(title),
7333
- children: /*#__PURE__*/jsxs(Text$1, {
7333
+ children: /*#__PURE__*/jsxs(Text, {
7334
7334
  type: "h5-noUpper",
7335
7335
  className: "text-link marginTop-10",
7336
7336
  children: [/*#__PURE__*/jsx(Icon, {
@@ -7344,5 +7344,5 @@ var StatBox = _ref => {
7344
7344
  });
7345
7345
  };
7346
7346
 
7347
- export { AddButton, AnalyticsFilter, Attachment, toExport as AudienceSelector, Button, CheckBox, ColourOptions, ColourPicker, Comment, CommentSection, DatePicker, DropdownInput, DurationInput, ExportCsvPopup, FileInput, GenericInput, exportObj$4 as Header, exportObj$2 as HubSidebar, ImageInput, InputGroup, exportObj as MakerPopup, MoreMenu, OptionsSection, OverlayPage, OverlayPageBottomButtons, OverlayPageContents, OverlayPageSection, PageTitle, Popup, ProfilePic, RadioButton, Reactions, exportObj$3 as SideNavItem, StatBox, StatusButton, SuccessPopup, Tabs, Tag, Text$1 as Text, TextFormatPopup, TimePicker, UserListing };
7347
+ export { AddButton, AnalyticsFilter, Attachment, toExport as AudienceSelector, Button, CheckBox, ColourOptions, ColourPicker, Comment, CommentSection, DatePicker, DropdownInput, DurationInput, ExportCsvPopup, FileInput, GenericInput, exportObj$4 as Header, exportObj$2 as HubSidebar, ImageInput, InputGroup, exportObj as MakerPopup, MoreMenu, OptionsSection, OverlayPage, OverlayPageBottomButtons, OverlayPageContents, OverlayPageSection, PageTitle, Popup, ProfilePic, RadioButton, Reactions, exportObj$3 as SideNavItem, StatBox, StatusButton, SuccessPopup, Tabs, Tag, Text, TextFormatPopup, TimePicker, UserListing };
7348
7348
  //# sourceMappingURL=components.js.map