elbe-ui 0.4.2 → 0.4.3

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/dist/elbe.css CHANGED
@@ -381,7 +381,7 @@ body,
381
381
  .elbe .borderless {
382
382
  border: none;
383
383
  }
384
- .elbe .bordered.bordered.bordered {
384
+ .elbe .bordered.bordered.bordered.bordered.bordered {
385
385
  border: var(--g-border-width) solid var(--c-context-border);
386
386
  }
387
387
  .elbe .no-scrollbar {
@@ -13,6 +13,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "preact/jsx-runtime";
13
13
  import React from "preact/compat";
14
14
  import { KindAlertIcon, Text } from "../../../..";
15
15
  import { randomAlphaNum } from "../../../util/util";
16
+ import { applyProps } from "../../base/box";
16
17
  import { Card } from "../../base/card";
17
18
  import { Row } from "../../layout/flex";
18
19
  import { _MultiLineField } from "./multi_line";
@@ -56,7 +57,7 @@ export class Field extends React.Component {
56
57
  border: "none",
57
58
  }, kind: msg === null || msg === void 0 ? void 0 : msg.kind, padding: 0, manner: msg ? "major" : "plain", children: [_jsx(Card, { padding: 0, style: {
58
59
  border: "none",
59
- }, kind: "plain", children: _jsx(Card, { kind: msg === null || msg === void 0 ? void 0 : msg.kind, manner: msg ? "minor" : "plain", class: "text_field_base", overflow: "hidden", padding: 0, bordered: true, children: type === "area" ? (_jsx(_MultiLineField, { props: this.props, id: id })) : (_jsx(_SingleLineField, { props: this.props, msg: msg, type: type !== null && type !== void 0 ? type : "text", id: id })) }) }), msg && (_jsxs(Row, { gap: 0.5, style: {
60
+ }, kind: "plain", children: _jsx(Card, Object.assign({ kind: msg === null || msg === void 0 ? void 0 : msg.kind, manner: msg ? "minor" : "plain", overflow: "hidden", padding: 0, bordered: true }, applyProps("text-field", elbe, ["text_field_base"], this.props.style), { children: type === "area" ? (_jsx(_MultiLineField, { props: this.props, id: id })) : (_jsx(_SingleLineField, { props: this.props, msg: msg, type: type !== null && type !== void 0 ? type : "text", id: id })) })) }), msg && (_jsxs(Row, { gap: 0.5, style: {
60
61
  padding: "0.25rem 0.5rem",
61
62
  }, children: [_jsx(KindAlertIcon, { kind: msg.kind, size: "body-s" }), _jsx(Text.s, { bold: true, v: msg.msg, flex: true })] }))] })] }));
62
63
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "elbe-ui",
3
- "version": "0.4.2",
3
+ "version": "0.4.3",
4
4
  "author": "Robin Naumann",
5
5
  "license": "MIT",
6
6
  "repository": {