revdev-components 0.239.0 → 0.241.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.
@@ -0,0 +1,5 @@
1
+ import React from "react";
2
+ export interface HelpTipAltProps {
3
+ title?: React.ReactNode;
4
+ }
5
+ export declare const HelpTipAlt: React.FC<HelpTipAltProps>;
package/build/index.d.ts CHANGED
@@ -36,3 +36,4 @@ export * from "./badges";
36
36
  export * from "./contentDivision";
37
37
  export * from "./rowContent";
38
38
  export * from "./rowContentAlt";
39
+ export * from "./helpTipAlt";
package/build/index.js CHANGED
@@ -6108,7 +6108,7 @@ var s$3 = {"root":"index-module_root__FWp-7","prefix":"index-module_prefix__c71y
6108
6108
 
6109
6109
  var s$2 = {"label":"index-module_label__vCWmS"};
6110
6110
 
6111
- var RowContentSub$1 = function (_a) {
6111
+ var RowContentSub = function (_a) {
6112
6112
  var label = _a.label, content = _a.content, contentClassName = _a.contentClassName;
6113
6113
  if (!content) {
6114
6114
  return null;
@@ -6126,36 +6126,23 @@ var RowContent = function (_a) {
6126
6126
  React.createElement("div", { className: s$3.title },
6127
6127
  prefix && React.createElement("div", { className: s$3.prefix }, prefix),
6128
6128
  href ? (React.createElement(AppLink, { href: href, target: target, rel: "noreferrer" }, title !== null && title !== void 0 ? title : children)) : ((title !== null && title !== void 0 ? title : children))),
6129
- React.createElement(RowContentSub$1, { label: subLabel, content: subContent }),
6130
- React.createElement(RowContentSub$1, { label: subLabel2, content: subContent2 }),
6131
- errorText && React.createElement(RowContentSub$1, { label: "Error", content: errorText, contentClassName: s$3.error })));
6129
+ React.createElement(RowContentSub, { label: subLabel, content: subContent }),
6130
+ React.createElement(RowContentSub, { label: subLabel2, content: subContent2 }),
6131
+ errorText && React.createElement(RowContentSub, { label: "Error", content: errorText, contentClassName: s$3.error })));
6132
6132
  };
6133
6133
 
6134
6134
  var s$1 = {"root":"index-module_root__7d9Xj","prefix":"index-module_prefix__qKeOc","title":"index-module_title__Y51pd","error":"index-module_error__oMtB9"};
6135
6135
 
6136
- var s = {"label":"index-module_label__OPe-4"};
6137
-
6138
- var RowContentSub = function (_a) {
6139
- var label = _a.label, content = _a.content, contentClassName = _a.contentClassName;
6140
- if (!content) {
6141
- return null;
6142
- }
6143
- return (React.createElement("div", { className: s.root },
6144
- label && React.createElement("span", { className: s.label },
6145
- label,
6146
- ": "),
6147
- React.createElement("span", { className: contentClassName }, content)));
6136
+ var RowContentAlt = function (_a) {
6137
+ var title = _a.title;
6138
+ return React.createElement("div", { className: s$1.root }, title);
6148
6139
  };
6149
6140
 
6150
- var RowContentAlt = function (_a) {
6151
- var prefix = _a.prefix, title = _a.title, subLabel = _a.subLabel, subContent = _a.subContent, subLabel2 = _a.subLabel2, subContent2 = _a.subContent2, children = _a.children, errorText = _a.errorText, href = _a.href, _b = _a.target, target = _b === void 0 ? "_blank" : _b;
6152
- return (React.createElement("div", { className: s$1.root },
6153
- React.createElement("div", { className: s$1.title },
6154
- prefix && React.createElement("div", { className: s$1.prefix }, prefix),
6155
- href ? (React.createElement(AppLink, { href: href, target: target, rel: "noreferrer" }, title !== null && title !== void 0 ? title : children)) : ((title !== null && title !== void 0 ? title : children))),
6156
- React.createElement(RowContentSub, { label: subLabel, content: subContent }),
6157
- React.createElement(RowContentSub, { label: subLabel2, content: subContent2 }),
6158
- errorText && React.createElement(RowContentSub, { label: "Error", content: errorText, contentClassName: s$1.error })));
6141
+ var s = {"link":"index-module_link__xpeJ8","icon":"index-module_icon__grRls"};
6142
+
6143
+ var HelpTipAlt = function (_a) {
6144
+ var title = _a.title;
6145
+ return React.createElement("div", { className: s.link }, title);
6159
6146
  };
6160
6147
 
6161
6148
  exports.AlfaAttributor = AlfaAttributor;
@@ -6189,6 +6176,7 @@ exports.FrontHeader = FrontHeader;
6189
6176
  exports.FrontLayout = FrontLayout;
6190
6177
  exports.HeaderActionPanel = HeaderActionPanel;
6191
6178
  exports.HelpTip = HelpTip;
6179
+ exports.HelpTipAlt = HelpTipAlt;
6192
6180
  exports.HiddenField = HiddenField;
6193
6181
  exports.IconDivision = IconDivision;
6194
6182
  exports.InfoDialog = InfoDialog;
@@ -1,14 +1,5 @@
1
1
  import React from "react";
2
2
  export interface RowContentAltProps {
3
- prefix?: React.ReactNode;
4
3
  title?: React.ReactNode;
5
- subLabel?: string;
6
- subContent?: React.ReactNode;
7
- subLabel2?: string;
8
- subContent2?: React.ReactNode;
9
- children?: React.ReactNode;
10
- errorText?: string;
11
- href?: string;
12
- target?: React.HTMLAttributeAnchorTarget;
13
4
  }
14
5
  export declare const RowContentAlt: React.FC<RowContentAltProps>;
package/build/styles.css CHANGED
@@ -831,6 +831,12 @@ body {
831
831
  .index-module_error__oMtB9 {
832
832
  color: var(--errorColor);
833
833
  }
834
- .index-module_label__OPe-4 {
835
- color: var(--passiveColor);
834
+ .index-module_link__xpeJ8 {
835
+ display: flex;
836
+ place-items: center;
837
+ }
838
+
839
+ .index-module_icon__grRls {
840
+ font-size: var(--helpTipFontSize);
841
+ margin: var(--helpTipMargin);
836
842
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "revdev-components",
3
- "version": "0.239.0",
3
+ "version": "0.241.0",
4
4
  "main": "build/index.js",
5
5
  "module": "build/index.esm.js",
6
6
  "scripts": {