@gisce/ooui 2.37.0 → 2.38.0-alpha.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gisce/ooui",
3
- "version": "2.37.0",
3
+ "version": "2.38.0-alpha.1",
4
4
  "engines": {
5
5
  "node": "20.5.0"
6
6
  },
@@ -0,0 +1,5 @@
1
+ import Field from "./Field";
2
+
3
+ class ActionButtons extends Field {}
4
+
5
+ export default ActionButtons;
package/src/Label.ts CHANGED
@@ -83,6 +83,9 @@ class Label extends Field {
83
83
  this.labelSize = this.parsedWidgetProps.label_size;
84
84
  }
85
85
  }
86
+ if (props?.align) {
87
+ this.align = props.align;
88
+ }
86
89
  }
87
90
  }
88
91
 
@@ -3,6 +3,7 @@ import Page from "./Page";
3
3
  import Group from "./Group";
4
4
  import Button from "./Button";
5
5
  import ButtonGroup from "./ButtonGroup";
6
+ import ActionButtons from "./ActionButtons";
6
7
  import Label from "./Label";
7
8
  import Char from "./Char";
8
9
  import Text from "./Text";
@@ -77,6 +78,9 @@ class WidgetFactory {
77
78
  case "buttonGroup":
78
79
  this._widgetClass = ButtonGroup;
79
80
  break;
81
+ case "action_buttons":
82
+ this._widgetClass = ActionButtons;
83
+ break;
80
84
  case "selection":
81
85
  this._widgetClass = Selection;
82
86
  break;
package/src/index.ts CHANGED
@@ -27,6 +27,7 @@ import Page from "./Page";
27
27
  import Separator from "./Separator";
28
28
  import Button from "./Button";
29
29
  import ButtonGroup from "./ButtonGroup";
30
+ import ActionButtons from "./ActionButtons";
30
31
  import Reference from "./Reference";
31
32
  import Binary from "./Binary";
32
33
  import Image from "./Image";
@@ -105,6 +106,7 @@ export {
105
106
  Separator,
106
107
  Button,
107
108
  ButtonGroup,
109
+ ActionButtons,
108
110
  Reference,
109
111
  Binary,
110
112
  Image,