ywana-core8 0.0.238 → 0.0.239

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.
@@ -1,14 +1,23 @@
1
1
  import React from "react";
2
2
 
3
3
  // You can import global CSS files here.
4
- import '../src/css/html.css'
5
- import '../src/css/theme.css'
6
- import 'material-design-icons-iconfont/dist/material-design-icons.css'
7
-
4
+ import "../src/css/html.css";
5
+ import "../src/css/theme.css";
6
+ import "material-design-icons-iconfont/dist/material-design-icons.css";
8
7
 
9
8
  // No-op wrapper.
10
9
  export const Wrapper: React.FC = ({ children }) => {
11
-
12
-
13
- return <div style={{ padding: "2rem" }}>{children}</div>;
10
+ return (
11
+ <div
12
+ style={{
13
+ width: "100vw",
14
+ height: "100vh",
15
+ padding: "2rem",
16
+ display: "flex",
17
+ flexDirection: "column",
18
+ }}
19
+ >
20
+ {children}
21
+ </div>
22
+ );
14
23
  };
package/dist/index.cjs CHANGED
@@ -899,7 +899,7 @@ var TextField = function TextField(props) {
899
899
 
900
900
  var borderStyle = outlined ? "textfield-outlined" : "textfield";
901
901
  var labelStyle = label ? "" : "no-label";
902
- var style = labelStyle + " " + borderStyle;
902
+ var style = labelStyle + " " + borderStyle + " textfield-" + type;
903
903
  var labelTxt = /*#__PURE__*/React__default["default"].createElement(Text$1, null, label);
904
904
  return /*#__PURE__*/React__default["default"].createElement("div", {
905
905
  className: "" + style,
@@ -968,7 +968,7 @@ var DropDown = function DropDown(props) {
968
968
  }
969
969
 
970
970
  function toggle() {
971
- if (site) {
971
+ if (site && site.changeFocus) {
972
972
  site.changeFocus({
973
973
  lose: function lose() {
974
974
  setOpen(false);