@flywire/react-headlessui
Advanced tools
Comparing version 0.2.1 to 0.3.0
@@ -6,3 +6,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.Textarea = exports.Label = exports.Input = exports.Hint = exports.Group = exports.File = exports.Error = void 0; | ||
exports.CheckboxIndicator = exports.Checkbox = exports.Textarea = exports.Label = exports.Input = exports.Hint = exports.Group = exports.File = exports.Error = void 0; | ||
var Error_1 = require("./Error"); | ||
@@ -22,1 +22,5 @@ Object.defineProperty(exports, "Error", { enumerable: true, get: function () { return __importDefault(Error_1).default; } }); | ||
Object.defineProperty(exports, "Textarea", { enumerable: true, get: function () { return __importDefault(Textarea_1).default; } }); | ||
var Checkbox_1 = require("./Checkbox"); | ||
Object.defineProperty(exports, "Checkbox", { enumerable: true, get: function () { return Checkbox_1.Checkbox; } }); | ||
var Checkbox_2 = require("./Checkbox"); | ||
Object.defineProperty(exports, "CheckboxIndicator", { enumerable: true, get: function () { return Checkbox_2.CheckboxIndicator; } }); |
@@ -17,2 +17,4 @@ "use strict"; | ||
Field.Textarea = components_1.Textarea; | ||
Field.Checkbox = components_1.Checkbox; | ||
Field.CheckboxIndicator = components_1.CheckboxIndicator; | ||
exports.default = Field; |
@@ -8,2 +8,4 @@ export { default as Error } from './Error'; | ||
export { default as Textarea } from './Textarea'; | ||
export { Checkbox } from './Checkbox'; | ||
export { CheckboxIndicator } from './Checkbox'; | ||
//# sourceMappingURL=index.d.ts.map |
import { FC } from 'react'; | ||
import { ProviderProps } from './Context'; | ||
import { Error, File, Group, Hint, Input, Label, Textarea } from './components'; | ||
import { Error, File, Group, Hint, Input, Label, Textarea, Checkbox, CheckboxIndicator } from './components'; | ||
interface FieldComposition { | ||
@@ -12,2 +12,4 @@ Error: typeof Error; | ||
Textarea: typeof Textarea; | ||
Checkbox: typeof Checkbox; | ||
CheckboxIndicator: typeof CheckboxIndicator; | ||
} | ||
@@ -14,0 +16,0 @@ declare const Field: FC<ProviderProps> & FieldComposition; |
@@ -8,1 +8,3 @@ export { default as Error } from './Error'; | ||
export { default as Textarea } from './Textarea'; | ||
export { Checkbox } from './Checkbox'; | ||
export { CheckboxIndicator } from './Checkbox'; |
import { jsx as _jsx } from "react/jsx-runtime"; | ||
import { Provider } from './Context'; | ||
import { Error, File, Group, Hint, Input, Label, Textarea } from './components'; | ||
import { Error, File, Group, Hint, Input, Label, Textarea, Checkbox, CheckboxIndicator, } from './components'; | ||
const Field = ({ as: Element = 'div', className, id, ...rest }) => { | ||
@@ -15,2 +15,4 @@ return (_jsx(Element, { className: className, children: _jsx(Provider, { id: id, ...rest }) })); | ||
Field.Textarea = Textarea; | ||
Field.Checkbox = Checkbox; | ||
Field.CheckboxIndicator = CheckboxIndicator; | ||
export default Field; |
@@ -8,2 +8,4 @@ export { default as Error } from './Error'; | ||
export { default as Textarea } from './Textarea'; | ||
export { Checkbox } from './Checkbox'; | ||
export { CheckboxIndicator } from './Checkbox'; | ||
//# sourceMappingURL=index.d.ts.map |
import { FC } from 'react'; | ||
import { ProviderProps } from './Context'; | ||
import { Error, File, Group, Hint, Input, Label, Textarea } from './components'; | ||
import { Error, File, Group, Hint, Input, Label, Textarea, Checkbox, CheckboxIndicator } from './components'; | ||
interface FieldComposition { | ||
@@ -12,2 +12,4 @@ Error: typeof Error; | ||
Textarea: typeof Textarea; | ||
Checkbox: typeof Checkbox; | ||
CheckboxIndicator: typeof CheckboxIndicator; | ||
} | ||
@@ -14,0 +16,0 @@ declare const Field: FC<ProviderProps> & FieldComposition; |
@@ -10,3 +10,3 @@ var __importDefault = (this && this.__importDefault) || function (mod) { | ||
else if (typeof define === "function" && define.amd) { | ||
define(["require", "exports", "./Error", "./File", "./Group", "./Hint", "./Input", "./Label", "./Textarea"], factory); | ||
define(["require", "exports", "./Error", "./File", "./Group", "./Hint", "./Input", "./Label", "./Textarea", "./Checkbox", "./Checkbox"], factory); | ||
} | ||
@@ -16,3 +16,3 @@ })(function (require, exports) { | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.Textarea = exports.Label = exports.Input = exports.Hint = exports.Group = exports.File = exports.Error = void 0; | ||
exports.CheckboxIndicator = exports.Checkbox = exports.Textarea = exports.Label = exports.Input = exports.Hint = exports.Group = exports.File = exports.Error = void 0; | ||
var Error_1 = require("./Error"); | ||
@@ -32,2 +32,6 @@ Object.defineProperty(exports, "Error", { enumerable: true, get: function () { return __importDefault(Error_1).default; } }); | ||
Object.defineProperty(exports, "Textarea", { enumerable: true, get: function () { return __importDefault(Textarea_1).default; } }); | ||
var Checkbox_1 = require("./Checkbox"); | ||
Object.defineProperty(exports, "Checkbox", { enumerable: true, get: function () { return Checkbox_1.Checkbox; } }); | ||
var Checkbox_2 = require("./Checkbox"); | ||
Object.defineProperty(exports, "CheckboxIndicator", { enumerable: true, get: function () { return Checkbox_2.CheckboxIndicator; } }); | ||
}); |
@@ -26,3 +26,5 @@ (function (factory) { | ||
Field.Textarea = components_1.Textarea; | ||
Field.Checkbox = components_1.Checkbox; | ||
Field.CheckboxIndicator = components_1.CheckboxIndicator; | ||
exports.default = Field; | ||
}); |
@@ -8,2 +8,4 @@ export { default as Error } from './Error'; | ||
export { default as Textarea } from './Textarea'; | ||
export { Checkbox } from './Checkbox'; | ||
export { CheckboxIndicator } from './Checkbox'; | ||
//# sourceMappingURL=index.d.ts.map |
import { FC } from 'react'; | ||
import { ProviderProps } from './Context'; | ||
import { Error, File, Group, Hint, Input, Label, Textarea } from './components'; | ||
import { Error, File, Group, Hint, Input, Label, Textarea, Checkbox, CheckboxIndicator } from './components'; | ||
interface FieldComposition { | ||
@@ -12,2 +12,4 @@ Error: typeof Error; | ||
Textarea: typeof Textarea; | ||
Checkbox: typeof Checkbox; | ||
CheckboxIndicator: typeof CheckboxIndicator; | ||
} | ||
@@ -14,0 +16,0 @@ declare const Field: FC<ProviderProps> & FieldComposition; |
{ | ||
"name": "@flywire/react-headlessui", | ||
"version": "0.2.1", | ||
"version": "0.3.0", | ||
"description": "Headless UI components", | ||
@@ -5,0 +5,0 @@ "main": "./dist/umd/index.js", |
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
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
301711
434
5055
1