@sikka/hawa 0.0.53 → 0.0.54

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": "@sikka/hawa",
3
- "version": "0.0.53",
3
+ "version": "0.0.54",
4
4
  "description": "UI Kit",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.es.js",
@@ -1,6 +1,5 @@
1
1
  import React, { useEffect, useState } from "react";
2
2
  import { useDropzone } from "react-dropzone";
3
- import { useTheme } from "@mui/system";
4
3
  import { HawaAlert } from "./HawaAlert";
5
4
  import { HawaButton } from "./HawaButton";
6
5
 
@@ -30,7 +29,6 @@ export const DragDropImages = ({
30
29
  const [cmp, setCmp] = useState(0);
31
30
  const [max, setMax] = useState(0);
32
31
  //const [thumbs, setThumbs] = useState("");
33
- const theme = useTheme();
34
32
  const {
35
33
  getRootProps,
36
34
  getInputProps,
@@ -1,4 +1,3 @@
1
- import { useTheme } from "@mui/system";
2
1
  import React from "react";
3
2
  import styled from "@emotion/styled";
4
3
  import PropTypes from "prop-types";
@@ -36,13 +35,13 @@ const ColorText = styled.input`
36
35
  }
37
36
  `;
38
37
  export const HawaColorPicker = (props) => {
39
- const theme = useTheme();
38
+ // const theme = useTheme();
40
39
  return (
41
40
  <div style={{ display: "flex", flexDirection: "row" }}>
42
41
  <ColorText
43
42
  type={"text"}
44
43
  value={props.color}
45
- borderRadius={theme.allBorderRadius}
44
+ // borderRadius={theme.allBorderRadius}
46
45
  onChange={props.handleChange}
47
46
  />
48
47
  <div style={{ width: 10 }} />
@@ -50,7 +49,7 @@ export const HawaColorPicker = (props) => {
50
49
  type={"color"}
51
50
  value={props.color}
52
51
  onChange={props.handleChange}
53
- borderRadius={theme.allBorderRadius}
52
+ // borderRadius={theme.allBorderRadius}
54
53
  />
55
54
  </div>
56
55
  );
@@ -361,4 +361,4 @@
361
361
 
362
362
 
363
363
 
364
- window['STORIES'] = [{"titlePrefix":"","directory":"./src","files":"**/*.stories.mdx","importPathMatcher":"^\\.[\\\\/](?:src(?:\\/(?!\\.)(?:(?:(?!(?:^|\\/)\\.).)*?)\\/|\\/|$)(?!\\.)(?=.)[^/]*?\\.stories\\.mdx)$"},{"titlePrefix":"","directory":"./src","files":"**/*.stories.@(js|jsx|ts|tsx)","importPathMatcher":"^\\.[\\\\/](?:src(?:\\/(?!\\.)(?:(?:(?!(?:^|\\/)\\.).)*?)\\/|\\/|$)(?!\\.)(?=.)[^/]*?\\.stories\\.(js|jsx|ts|tsx))$"}];</script><script src="runtime~main.e7e3ab5b.iframe.bundle.js"></script><script src="vendors~main.f32ea22a.iframe.bundle.js"></script><script src="main.d1517396.iframe.bundle.js"></script></body></html>
364
+ window['STORIES'] = [{"titlePrefix":"","directory":"./src","files":"**/*.stories.mdx","importPathMatcher":"^\\.[\\\\/](?:src(?:\\/(?!\\.)(?:(?:(?!(?:^|\\/)\\.).)*?)\\/|\\/|$)(?!\\.)(?=.)[^/]*?\\.stories\\.mdx)$"},{"titlePrefix":"","directory":"./src","files":"**/*.stories.@(js|jsx|ts|tsx)","importPathMatcher":"^\\.[\\\\/](?:src(?:\\/(?!\\.)(?:(?:(?!(?:^|\\/)\\.).)*?)\\/|\\/|$)(?!\\.)(?=.)[^/]*?\\.stories\\.(js|jsx|ts|tsx))$"}];</script><script src="runtime~main.e7e3ab5b.iframe.bundle.js"></script><script src="vendors~main.f32ea22a.iframe.bundle.js"></script><script src="main.e8596a39.iframe.bundle.js"></script></body></html>