@dsexample/core
Advanced tools
Comparing version 2.0.5 to 2.0.6
@@ -23,4 +23,3 @@ "use strict"; | ||
__export(src_exports, { | ||
Button: () => Button, | ||
Input: () => Input | ||
Button: () => Button | ||
}); | ||
@@ -32,26 +31,10 @@ module.exports = __toCommonJS(src_exports); | ||
function Button(props) { | ||
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("button", { | ||
children: [ | ||
props.children, | ||
"foo" | ||
] | ||
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("button", { | ||
children: props.children | ||
}); | ||
} | ||
Button.displayName = "Button"; | ||
// src/Input.tsx | ||
var import_jsx_runtime = require("react/jsx-runtime"); | ||
function Input(props) { | ||
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("button", { | ||
children: [ | ||
props.children, | ||
"bar" | ||
] | ||
}); | ||
} | ||
Input.displayName = "Input"; | ||
// Annotate the CommonJS export names for ESM import in node: | ||
0 && (module.exports = { | ||
Button, | ||
Input | ||
Button | ||
}); |
@@ -11,10 +11,2 @@ import * as React from 'react'; | ||
interface InputProps { | ||
children: React.ReactNode; | ||
} | ||
declare function Input(props: InputProps): JSX.Element; | ||
declare namespace Input { | ||
var displayName: string; | ||
} | ||
export { Button, ButtonProps, Input, InputProps }; | ||
export { Button, ButtonProps }; |
@@ -23,4 +23,3 @@ "use strict"; | ||
__export(src_exports, { | ||
Button: () => Button, | ||
Input: () => Input | ||
Button: () => Button | ||
}); | ||
@@ -32,26 +31,10 @@ module.exports = __toCommonJS(src_exports); | ||
function Button(props) { | ||
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("button", { | ||
children: [ | ||
props.children, | ||
"foo" | ||
] | ||
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("button", { | ||
children: props.children | ||
}); | ||
} | ||
Button.displayName = "Button"; | ||
// src/Input.tsx | ||
var import_jsx_runtime = require("react/jsx-runtime"); | ||
function Input(props) { | ||
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("button", { | ||
children: [ | ||
props.children, | ||
"bar" | ||
] | ||
}); | ||
} | ||
Input.displayName = "Input"; | ||
// Annotate the CommonJS export names for ESM import in node: | ||
0 && (module.exports = { | ||
Button, | ||
Input | ||
Button | ||
}); |
{ | ||
"name": "@dsexample/core", | ||
"private": false, | ||
"version": "2.0.5", | ||
"version": "2.0.6", | ||
"main": "./dist/index.js", | ||
@@ -20,4 +20,4 @@ "module": "./dist/index.mjs", | ||
"typescript": "^4.5.3", | ||
"@dsexample/tsconfig": "1.0.1", | ||
"@dsexample/eslint-config-acme": "1.0.0" | ||
"@dsexample/eslint-config-acme": "1.0.0", | ||
"@dsexample/tsconfig": "1.0.1" | ||
}, | ||
@@ -24,0 +24,0 @@ "publishConfig": { |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3833
92