l-min-components 1.0.147 → 1.0.150

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": "l-min-components",
3
- "version": "1.0.147",
3
+ "version": "1.0.150",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "src/assets",
@@ -1,14 +1,15 @@
1
- export const AddIcon = ({ width, height, fill }) => (
1
+ import React from "react";
2
+ const AddIcon = ({ width, height, fill }) => (
2
3
  <svg
3
4
  width={width || "21"}
4
5
  height={height || "20"}
5
6
  viewBox="0 0 21 20"
6
7
  fill="none"
7
- xmlns="http://www.w3.org/2000/svg"
8
- >
8
+ xmlns="http://www.w3.org/2000/svg">
9
9
  <path
10
10
  d="M11.5 5H9.5V9H5.5V11H9.5V15H11.5V11H15.5V9H11.5V5ZM10.5 0C4.98 0 0.5 4.48 0.5 10C0.5 15.52 4.98 20 10.5 20C16.02 20 20.5 15.52 20.5 10C20.5 4.48 16.02 0 10.5 0ZM10.5 18C6.09 18 2.5 14.41 2.5 10C2.5 5.59 6.09 2 10.5 2C14.91 2 18.5 5.59 18.5 10C18.5 14.41 14.91 18 10.5 18Z"
11
11
  fill="#FEBF10"
12
12
  />
13
13
  </svg>
14
14
  );
15
+ export default { AddIcon };
@@ -1,3 +1,4 @@
1
+ import React from "react";
1
2
  export const ArrowDownIcon = ({ width, height, fill }) => (
2
3
  <svg
3
4
  width={width || "10"}
@@ -1,3 +1,4 @@
1
+ import React from "react";
1
2
  export const BookIcon = ({ width, height, fill }) => (
2
3
  <svg
3
4
  width={width || "23"}
@@ -1,3 +1,4 @@
1
+ import React from "react";
1
2
  export const CalendarIcon = ({ width, height, fill, onClick }) => (
2
3
  <svg
3
4
  onClick={onClick}
@@ -1,15 +1,16 @@
1
- export const CloseIcon = ({ width, height, fill, onClick }) => (
1
+ import React from "react";
2
+ const CloseIcon = ({ width, height, fill, onClick }) => (
2
3
  <svg
3
4
  onClick={onClick}
4
5
  width={width || "12"}
5
6
  height={height || "12"}
6
7
  viewBox="0 0 12 12"
7
8
  fill="none"
8
- xmlns="http://www.w3.org/2000/svg"
9
- >
9
+ xmlns="http://www.w3.org/2000/svg">
10
10
  <path
11
11
  d="M11.8307 1.3415L10.6557 0.166504L5.9974 4.82484L1.33906 0.166504L0.164062 1.3415L4.8224 5.99984L0.164062 10.6582L1.33906 11.8332L5.9974 7.17484L10.6557 11.8332L11.8307 10.6582L7.1724 5.99984L11.8307 1.3415Z"
12
12
  fill="#323232"
13
13
  />
14
14
  </svg>
15
15
  );
16
+ export default { CloseIcon };
@@ -1,3 +1,4 @@
1
+ import React from "react";
1
2
  export const DownloadIcon = ({ width, height, fill, onClick }) => (
2
3
  <svg
3
4
  onClick={onClick}
@@ -1,3 +1,4 @@
1
+ import React from "react";
1
2
  const Learn = () => {
2
3
  return (
3
4
 
@@ -1,3 +1,4 @@
1
+ import React from "react";
1
2
  export const MessageIcon = ({ width, height, fill }) => (
2
3
  <svg
3
4
  width={width || "22"}
@@ -1,3 +1,4 @@
1
+ import React from "react";
1
2
  export const NotificationIcon = ({ width, height, fill }) => (
2
3
  <svg
3
4
  width={width || "23"}
@@ -1,3 +1,4 @@
1
+ import React from "react";
1
2
  export const PeopleIcon = ({ width, height, fill }) => (
2
3
  <svg
3
4
  width={width || "19"}
@@ -1,3 +1,4 @@
1
+ import React from "react";
1
2
  export const SearchIcon = ({ width, height, fill }) => (
2
3
  <svg
3
4
  width={width || "22"}
@@ -1,3 +1,4 @@
1
+ import React from "react";
1
2
  export const SettingIcon = ({ width, height, fill }) => (
2
3
  <svg
3
4
  width={width || "17"}
@@ -1,4 +1,4 @@
1
- import { useState, useEffect } from "react";
1
+ import React, { useState, useEffect } from "react";
2
2
  import { useLocation } from "react-router-dom";
3
3
  import {
4
4
  Layout,
@@ -1,3 +1,5 @@
1
+ import React from "react";
2
+
1
3
  const Arrow = () => {
2
4
  return (
3
5
  <svg width="24" height="24" fill="none" xmlns="http://www.w3.org/2000/svg">
@@ -1,4 +1,4 @@
1
- import { useState } from "react";
1
+ import React, { useState } from "react";
2
2
  import {
3
3
  CardContainer,
4
4
  CardRightSection,
@@ -1,4 +1,4 @@
1
- import { useState, CSSProperties, useEffect } from "react";
1
+ import React, { useState, CSSProperties, useEffect } from "react";
2
2
  import {
3
3
  ControlInput,
4
4
  DropDownContainer,
@@ -1,5 +1,5 @@
1
- import PropTypes from "prop-types";
2
1
  import React from "react";
2
+ import PropTypes from "prop-types";
3
3
  import {
4
4
  AcceptButton,
5
5
  ButtonContainer,
@@ -1,3 +1,4 @@
1
+ import React from "react";
1
2
  import { Line } from "react-chartjs-2";
2
3
  import { Chart as ChartJS } from "chart.js/auto";
3
4
 
@@ -1,4 +1,4 @@
1
- import { useState } from "react";
1
+ import React, { useState } from "react";
2
2
  import {
3
3
  GraphCard,
4
4
  GraphCardBody,
@@ -1,4 +1,4 @@
1
- import { useState } from "react";
1
+ import React, { useState } from "react";
2
2
  import {
3
3
  CardContainer,
4
4
  CardBody,
@@ -1,4 +1,4 @@
1
- import { useState } from "react";
1
+ import React, { useState } from "react";
2
2
  import PropTypes from "prop-types";
3
3
  import {
4
4
  SelectWrapper,
@@ -1,4 +1,4 @@
1
- import { useEffect, useState, CSSProperties } from "react";
1
+ import React, { useEffect, useState, CSSProperties } from "react";
2
2
  import { ToggleBob, ToggleContainer } from "./styles";
3
3
  /**
4
4
  * @param {{