umwd-components 0.1.56 → 0.1.57

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.
@@ -7,6 +7,7 @@
7
7
  'use strict';
8
8
 
9
9
  var _rollupPluginBabelHelpers = require('../../_virtual/_rollupPluginBabelHelpers.js');
10
+ var React = require('react');
10
11
 
11
12
  function getIcon(name) {
12
13
  switch (name) {
@@ -6,6 +6,7 @@
6
6
 
7
7
  'use strict';
8
8
 
9
+ var React = require('react');
9
10
  var Link = require('next/link');
10
11
  var StrapiImage = require('./StrapiImage.js');
11
12
 
@@ -6,6 +6,7 @@
6
6
 
7
7
  'use strict';
8
8
 
9
+ var React = require('react');
9
10
  var Image = require('next/image');
10
11
  var utils = require('../../lib/utils.js');
11
12
 
@@ -5,6 +5,7 @@
5
5
  */
6
6
 
7
7
  import { extends as _extends } from '../../_virtual/_rollupPluginBabelHelpers.js';
8
+ import React from 'react';
8
9
 
9
10
  function getIcon(name) {
10
11
  switch (name) {
@@ -4,6 +4,7 @@
4
4
  * @license MIT
5
5
  */
6
6
 
7
+ import React from 'react';
7
8
  import Link from 'next/link';
8
9
  import { StrapiImage } from './StrapiImage.js';
9
10
 
@@ -4,6 +4,7 @@
4
4
  * @license MIT
5
5
  */
6
6
 
7
+ import React from 'react';
7
8
  import Image from 'next/image';
8
9
  import { getStrapiMedia } from '../../lib/utils.js';
9
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "umwd-components",
3
- "version": "0.1.56",
3
+ "version": "0.1.57",
4
4
  "description": "UMWD Component library",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -1,3 +1,5 @@
1
+ import React from "react";
2
+
1
3
  function getIcon(name: string) {
2
4
  switch (name) {
3
5
  case "CLOCK_ICON":
@@ -1,3 +1,4 @@
1
+ import React from "react";
1
2
  import Link from "next/link";
2
3
  import { Logo } from "@/components/custom/Logo";
3
4
 
@@ -1,3 +1,4 @@
1
+ import React from "react";
1
2
  import Link from "next/link";
2
3
  import { Logo } from "@/components/custom/Logo";
3
4
  import { Button } from "@mui/material";
@@ -1,3 +1,4 @@
1
+ import React from "react";
1
2
  import Link from "next/link";
2
3
  import { StrapiImage } from "./StrapiImage.tsx";
3
4
 
@@ -1,3 +1,4 @@
1
+ import React from "react";
1
2
  import Link from "next/link";
2
3
 
3
4
  function MountainIcon(props: any) {
@@ -1,3 +1,4 @@
1
+ import React from "react";
1
2
  import Image from "next/image";
2
3
  import { getStrapiMedia } from "../../lib/utils.ts";
3
4