revdev-components 0.261.0 → 0.263.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.
package/build/index.js CHANGED
@@ -6223,13 +6223,14 @@ var ActionTag = function (_a) {
6223
6223
  return (React.createElement("div", { className: classNames(s$1.root, (_b = {}, _b[s$1.root__selected] = selected, _b), className), onClick: onClick }, children));
6224
6224
  };
6225
6225
 
6226
- var s = {"root":"index-module_root__BZ01K","root__title":"index-module_root__title__vA1ml","title":"index-module_title__RD9nj","content":"index-module_content__HEc4l","content__loading":"index-module_content__loading__g8vh6","loading":"index-module_loading__q8vhz"};
6226
+ var s = {"root":"index-module_root__BZ01K","root__title":"index-module_root__title__vA1ml","title":"index-module_title__RD9nj","description":"index-module_description__YM5BZ","content":"index-module_content__HEc4l","content__loading":"index-module_content__loading__g8vh6","loading":"index-module_loading__q8vhz"};
6227
6227
 
6228
6228
  var ActionCloud = function (_a) {
6229
6229
  var _b, _c;
6230
- var children = _a.children, className = _a.className, contentClassName = _a.contentClassName, title = _a.title, loading = _a.loading;
6230
+ var children = _a.children, className = _a.className, contentClassName = _a.contentClassName, titleClassName = _a.titleClassName, descriptionClassName = _a.descriptionClassName, title = _a.title, description = _a.description, loading = _a.loading;
6231
6231
  return (React.createElement("div", { className: classNames(s.root, (_b = {}, _b[s.root__loading] = loading, _b[s.root__title] = title, _b), className) },
6232
- React.createElement("div", { className: s.title }, title),
6232
+ title && React.createElement("div", { className: classNames(s.title, titleClassName) }, title),
6233
+ description && React.createElement("div", { className: classNames(s.description, descriptionClassName) }, description),
6233
6234
  React.createElement("div", { className: classNames(s.content, (_c = {}, _c[s.content__loading] = loading, _c), contentClassName) }, children),
6234
6235
  loading && (React.createElement("div", { className: s.loading },
6235
6236
  React.createElement(antd.Spin, null)))));
package/build/styles.css CHANGED
@@ -853,28 +853,35 @@ body {
853
853
  display: flex;
854
854
  flex-flow: column nowrap;
855
855
  padding: 0.5em;
856
- border-radius: 1em;
856
+ border-radius: 5px;
857
857
  border: 1px solid var(--borderColor);
858
+ box-shadow: 0 0 5px var(--borderColor);
858
859
  position: relative;
860
+ gap: 1em;
859
861
  }
860
862
  .index-module_root__title__vA1ml {
861
- padding-top: 1.5em;
863
+ padding-top: 1.2em;
862
864
  }
863
865
 
864
866
  .index-module_title__RD9nj {
865
867
  position: absolute;
866
- top: -0.5em;
868
+ top: -0.6em;
867
869
  left: 1em;
868
870
  background: var(--backgroundColor);
869
871
  padding: 0 0.5em;
870
- font-size: 1.2em;
872
+ line-height: 1.2em;
873
+ }
874
+
875
+ .index-module_description__YM5BZ {
876
+ font-size: 0.8em;
877
+ color: var(--passiveColor);
871
878
  }
872
879
 
873
880
  .index-module_content__HEc4l {
874
881
  display: inline-flex;
875
882
  flex-flow: row wrap;
876
883
  place-items: center;
877
- gap: 1em;
884
+ gap: 0.8em 1em;
878
885
  overflow: auto;
879
886
  }
880
887
  .index-module_content__loading__g8vh6 {
@@ -4,7 +4,10 @@ export interface ActionCloudProps {
4
4
  children: React.ReactElement<ActionTagProps, typeof ActionTag> | React.ReactElement<ActionTagProps, typeof ActionTag>[];
5
5
  className?: string;
6
6
  contentClassName?: string;
7
+ titleClassName?: string;
8
+ descriptionClassName?: string;
7
9
  title?: string;
10
+ description?: string;
8
11
  loading?: boolean;
9
12
  }
10
13
  export declare const ActionCloud: React.FC<ActionCloudProps>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "revdev-components",
3
- "version": "0.261.0",
3
+ "version": "0.263.0",
4
4
  "main": "build/index.js",
5
5
  "module": "build/index.esm.js",
6
6
  "scripts": {