@flywire/react-headlessui
Advanced tools
Comparing version 0.0.3-0 to 0.0.3-1
"use strict"; | ||
var __importDefault = (this && this.__importDefault) || function (mod) { | ||
return (mod && mod.__esModule) ? mod : { "default": mod }; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const jsx_runtime_1 = require("react/jsx-runtime"); | ||
const prop_types_1 = __importDefault(require("prop-types")); | ||
const Context_1 = require("./Context"); | ||
@@ -21,7 +17,2 @@ const components_1 = require("./components"); | ||
Field.Textarea = components_1.Textarea; | ||
Field.propTypes = { | ||
as: prop_types_1.default.oneOfType([prop_types_1.default.string, prop_types_1.default.elementType]), | ||
className: prop_types_1.default.string, | ||
id: prop_types_1.default.string, | ||
}; | ||
exports.default = Field; |
import { jsx as _jsx } from "react/jsx-runtime"; | ||
import PropTypes from 'prop-types'; | ||
import { Provider } from './Context'; | ||
@@ -16,7 +15,2 @@ import { Error, File, Group, Hint, Input, Label, Textarea } from './components'; | ||
Field.Textarea = Textarea; | ||
Field.propTypes = { | ||
as: PropTypes.oneOfType([PropTypes.string, PropTypes.elementType]), | ||
className: PropTypes.string, | ||
id: PropTypes.string, | ||
}; | ||
export default Field; |
@@ -1,4 +0,1 @@ | ||
var __importDefault = (this && this.__importDefault) || function (mod) { | ||
return (mod && mod.__esModule) ? mod : { "default": mod }; | ||
}; | ||
(function (factory) { | ||
@@ -10,3 +7,3 @@ if (typeof module === "object" && typeof module.exports === "object") { | ||
else if (typeof define === "function" && define.amd) { | ||
define(["require", "exports", "react/jsx-runtime", "prop-types", "./Context", "./components"], factory); | ||
define(["require", "exports", "react/jsx-runtime", "./Context", "./components"], factory); | ||
} | ||
@@ -17,3 +14,2 @@ })(function (require, exports) { | ||
const jsx_runtime_1 = require("react/jsx-runtime"); | ||
const prop_types_1 = __importDefault(require("prop-types")); | ||
const Context_1 = require("./Context"); | ||
@@ -32,8 +28,3 @@ const components_1 = require("./components"); | ||
Field.Textarea = components_1.Textarea; | ||
Field.propTypes = { | ||
as: prop_types_1.default.oneOfType([prop_types_1.default.string, prop_types_1.default.elementType]), | ||
className: prop_types_1.default.string, | ||
id: prop_types_1.default.string, | ||
}; | ||
exports.default = Field; | ||
}); |
{ | ||
"name": "@flywire/react-headlessui", | ||
"version": "0.0.3-0", | ||
"version": "0.0.3-1", | ||
"description": "Headless UI components", | ||
@@ -74,3 +74,2 @@ "exports": { | ||
"prettier": "^2.7.1", | ||
"prop-types": "^15.8.1", | ||
"react": ">=17.0.2", | ||
@@ -86,3 +85,2 @@ "react-dom": ">=17.0.2", | ||
"peerDependencies": { | ||
"prop-types": ">=15.8.1", | ||
"react": ">=17.0.2", | ||
@@ -89,0 +87,0 @@ "react-dom": ">=17.0.2" |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
3
29
297602
4807