l-min-components 1.0.145 → 1.0.149

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.145",
3
+ "version": "1.0.149",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "src/assets",
@@ -1,3 +1,4 @@
1
+ import React from "react";
1
2
  export const AddIcon = ({ width, height, fill }) => (
2
3
  <svg
3
4
  width={width || "21"}
@@ -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,3 +1,4 @@
1
+ import React from "react";
1
2
  export const CloseIcon = ({ width, height, fill, onClick }) => (
2
3
  <svg
3
4
  onClick={onClick}
@@ -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,
@@ -11,19 +11,17 @@ export { default as RequestList } from "./friendRequest/friendRequestList";
11
11
  export { default as CourseList } from "./course/courseList";
12
12
  export { default as ApiProgressBar } from "./ApiProgress/ApiProgressBar";
13
13
  export { default as ApiConsumption } from "./ApiProgress/ApiConsumption";
14
- export { default as Calender } from "./calender/input";
15
14
  export { default as Loader } from "./loader";
16
- export { default as SearchComponent } from "./searchBar";
15
+ export { default as SearchComponent } from "./searchBar";
17
16
  export { default as ButtonComponent } from "./button";
18
- export { default as ButtonComponent } from './toggle button';
19
- export { default as DropDownComponent } from "./dropdown component";
17
+ export { default as ToggleButtonComponent } from "./toggle button";
20
18
  export { default as InputComponent } from "./input";
21
19
  export { default as MainLayout } from "./authentication/mainLayout";
22
20
  export { default as SocialBtn } from "./button/socialBtn";
23
21
  export { default as SuccessCard } from "./successCard/index";
24
22
  export { default as DropDownComponent } from "./dropdown component";
25
23
  export { default as SelectDropdown } from "./select";
26
- export { default as SelectDropdown } from "./graph";
24
+ export { default as SelectDropdownGraph } from "./graph";
27
25
  export { default as NotificationThresholdComponent } from "./notificationThreshold";
28
26
  export { default as DevAPIdocs } from "./developerAPIdocs";
29
- export {default as Calender } from "./calender/input";
27
+ export { default as Calender } from "./calender/input";
@@ -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 {{