@viamedici-spc/configurator-framer 0.1.0

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/dist/index.cjs ADDED
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react/jsx-runtime"),e=require("framer");function r(o){return t.jsxs("div",{children:["Hello World from ",o.name.toUpperCase()]})}e.addPropertyControls(r,{name:{title:"Name",type:e.ControlType.String}});exports.HelloWorld=r;
@@ -0,0 +1,7 @@
1
+ import { JSX as JSX_2 } from 'react/jsx-runtime';
2
+
3
+ export declare function HelloWorld(props: {
4
+ name: string;
5
+ }): JSX_2.Element;
6
+
7
+ export { }
package/dist/index.js ADDED
@@ -0,0 +1,17 @@
1
+ import { jsxs as r } from "react/jsx-runtime";
2
+ import { addPropertyControls as e, ControlType as t } from "framer";
3
+ function l(o) {
4
+ return /* @__PURE__ */ r("div", { children: [
5
+ "Hello World from ",
6
+ o.name.toUpperCase()
7
+ ] });
8
+ }
9
+ e(l, {
10
+ name: {
11
+ title: "Name",
12
+ type: t.String
13
+ }
14
+ });
15
+ export {
16
+ l as HelloWorld
17
+ };
package/package.json ADDED
@@ -0,0 +1,61 @@
1
+ {
2
+ "name": "@viamedici-spc/configurator-framer",
3
+ "version": "0.1.0",
4
+ "description": "Component library to build configurator apps with Framer based on Viamedici SPC.",
5
+ "sideEffects": false,
6
+ "files": [
7
+ "dist"
8
+ ],
9
+ "main": "dist/index.cjs",
10
+ "module": "dist/index.js",
11
+ "types": "dist/index.d.ts",
12
+ "exports": {
13
+ ".": {
14
+ "types": "./dist/index.d.ts",
15
+ "import": "./dist/index.js",
16
+ "require": "./dist/index.cjs"
17
+ }
18
+ },
19
+ "scripts": {
20
+ "build": "vite build",
21
+ "dev": "vite build --watch --mode development & vite preview",
22
+ "typecheck": "tsc --noEmit",
23
+ "postinstall": "npm-sort"
24
+ },
25
+ "keywords": [
26
+ "viamedici",
27
+ "product",
28
+ "configuration",
29
+ "configurator",
30
+ "spc",
31
+ "hca",
32
+ "csp",
33
+ "constraint",
34
+ "satisfaction",
35
+ "problem",
36
+ "solver",
37
+ "framer"
38
+ ],
39
+ "author": "Viamedici Software GmbH",
40
+ "license": "MIT",
41
+ "devDependencies": {
42
+ "@types/react": "^18.2.42",
43
+ "@types/react-dom": "^18.2.17",
44
+ "framer": "^2.4.1",
45
+ "npm-sort": "^0.0.4",
46
+ "react": "^18.2.0",
47
+ "react-dom": "^18.2.0",
48
+ "typescript": "^5.1.6",
49
+ "vite": "^4.4.8",
50
+ "vite-plugin-checker": "^0.6.1",
51
+ "vite-plugin-dts": "^3.5.0"
52
+ },
53
+ "dependencies": {
54
+ "@viamedici-spc/configurator-react": "0.1.0-alpha0018",
55
+ "ts-pattern": "^4.2.0"
56
+ },
57
+ "peerDependencies": {
58
+ "react": ">=16.8",
59
+ "framer": ">=2.4.1"
60
+ }
61
+ }