sesame-components-testing 2.0.3 → 2.0.5

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,4 +1,5 @@
1
1
  "use strict";
2
+ 'use client';
2
3
  var __importDefault = (this && this.__importDefault) || function (mod) {
3
4
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
5
  };
@@ -1,4 +1,5 @@
1
1
  "use strict";
2
+ 'use client';
2
3
  var __importDefault = (this && this.__importDefault) || function (mod) {
3
4
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
5
  };
@@ -0,0 +1,7 @@
1
+ export interface SesameComponentProps {
2
+ message?: string;
3
+ }
4
+ export declare const StyledDiv: import("@emotion/styled").StyledComponent<{
5
+ theme?: import("@emotion/react").Theme;
6
+ as?: React.ElementType;
7
+ }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ 'use client';
3
+ var __importDefault = (this && this.__importDefault) || function (mod) {
4
+ return (mod && mod.__esModule) ? mod : { "default": mod };
5
+ };
6
+ Object.defineProperty(exports, "__esModule", { value: true });
7
+ exports.StyledDiv = void 0;
8
+ const styled_1 = __importDefault(require("@emotion/styled"));
9
+ exports.StyledDiv = styled_1.default.div `
10
+ background-color: red;
11
+ font-weight: bold;
12
+ font-size: 33px;
13
+ `;
@@ -0,0 +1,4 @@
1
+ export interface SesameComponentProps {
2
+ message?: string;
3
+ }
4
+ export declare const SesameComponent: React.FC<SesameComponentProps>;
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SesameComponent = void 0;
4
+ const jsx_runtime_1 = require("react/jsx-runtime");
5
+ const SesameComponent_styles_1 = require("./SesameComponent.styles");
6
+ const SesameComponent = ({ message = "Hello, Sesame!", }) => {
7
+ return (0, jsx_runtime_1.jsx)(SesameComponent_styles_1.StyledDiv, { children: message });
8
+ };
9
+ exports.SesameComponent = SesameComponent;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sesame-components-testing",
3
- "version": "2.0.3",
3
+ "version": "2.0.5",
4
4
  "description": "A reusable npm component package.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",