@gisce/ooui 2.37.0-alpha.2 → 2.37.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-alpha.2",
3
+ "version": "2.37.1",
4
4
  "engines": {
5
5
  "node": "20.5.0"
6
6
  },
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,7 +3,6 @@ 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";
7
6
  import Label from "./Label";
8
7
  import Char from "./Char";
9
8
  import Text from "./Text";
@@ -78,9 +77,6 @@ class WidgetFactory {
78
77
  case "buttonGroup":
79
78
  this._widgetClass = ButtonGroup;
80
79
  break;
81
- case "action_buttons":
82
- this._widgetClass = ActionButtons;
83
- break;
84
80
  case "selection":
85
81
  this._widgetClass = Selection;
86
82
  break;
package/src/index.ts CHANGED
@@ -27,7 +27,6 @@ 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";
31
30
  import Reference from "./Reference";
32
31
  import Binary from "./Binary";
33
32
  import Image from "./Image";
@@ -106,7 +105,6 @@ export {
106
105
  Separator,
107
106
  Button,
108
107
  ButtonGroup,
109
- ActionButtons,
110
108
  Reference,
111
109
  Binary,
112
110
  Image,
@@ -1,5 +0,0 @@
1
- import Field from "./Field";
2
- declare class ActionButtons extends Field {
3
- }
4
- export default ActionButtons;
5
- //# sourceMappingURL=ActionButtons.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ActionButtons.d.ts","sourceRoot":"","sources":["../src/ActionButtons.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,SAAS,CAAC;AAE5B,cAAM,aAAc,SAAQ,KAAK;CAAG;AAEpC,eAAe,aAAa,CAAC"}
@@ -1,5 +0,0 @@
1
- import Field from "./Field";
2
-
3
- class ActionButtons extends Field {}
4
-
5
- export default ActionButtons;