Socket
Socket
Sign inDemoInstall

@uxf/ui

Package Overview
Dependencies
28
Maintainers
1
Versions
258
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 10.0.0-beta.77 to 10.0.0-beta.79

avatar-file-input/README.md

2

avatar/avatar.stories.js

@@ -15,3 +15,3 @@ "use strict";

const testAvatars = (react_1.default.createElement(react_1.default.Fragment, null,
react_1.default.createElement(avatar_1.Avatar, { src: "https://i.picsum.photos/id/1062/5092/3395.jpg?hmac=o9m7qeU51uOLfXvepXcTrk2ZPiSBJEkiiOp-Qvxja-k" }),
react_1.default.createElement(avatar_1.Avatar, { src: "https://images.pexels.com/photos/14934612/pexels-photo-14934612.jpeg?auto=compress&cs=tinysrgb&w=100&h=100&dpr=1" }),
react_1.default.createElement(avatar_1.Avatar, null)));

@@ -18,0 +18,0 @@ return (react_1.default.createElement(react_1.default.Fragment, null,

@@ -31,3 +31,2 @@ "use strict";

const react_1 = __importStar(require("react"));
// import Docs from "./button.docs.mdx";
exports.default = {

@@ -34,0 +33,0 @@ title: "UI/Button",

@@ -1,2 +0,2 @@

export declare const ICONS_VERSION = "1687765245583";
export declare const ICONS_VERSION = "1696711976722";
export declare const ICON_SPRITE = "/.storybook/static-assets/icons-generated/_icon-sprite.svg";
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ICON_SPRITE = exports.ICONS_VERSION = void 0;
exports.ICONS_VERSION = "1687765245583";
exports.ICONS_VERSION = "1696711976722";
exports.ICON_SPRITE = "/.storybook/static-assets/icons-generated/_icon-sprite.svg";

@@ -46,3 +46,3 @@ "use strict";

react_1.default.createElement(index_1.Dropzone, { helperText: "Disabled drag 'n' drop", label: "Use drag and drop or click to upload", noDrag: true, onChange: onChange, onUploadFile: uploadFIle_mock_1.uploadFile, value: files }),
react_1.default.createElement(index_1.Dropzone, { helperText: "Disabled onClick upload", label: react_1.default.createElement("span", { className: "rounded-lg bg-primary-600 px-4 py-2 font-bold text-white" }, "JSX label"), noClick: true, onChange: onChange, onUploadFile: uploadFIle_mock_1.uploadFile, value: files }),
react_1.default.createElement(index_1.Dropzone, { helperText: "Disabled onClick upload", label: react_1.default.createElement("span", { className: "bg-primary-600 rounded-lg px-4 py-2 font-bold text-white" }, "JSX label"), noClick: true, onChange: onChange, onUploadFile: uploadFIle_mock_1.uploadFile, value: files }),
react_1.default.createElement(index_1.Dropzone, { accept: { "image/*": [] }, label: "Only images upload", onChange: onChange, onUploadFile: uploadFIle_mock_1.uploadFile, value: files }),

@@ -49,0 +49,0 @@ react_1.default.createElement(index_1.Dropzone, { label: "Single file upload", maxFilesCount: 1, onChange: onChange, onUploadFile: uploadFIle_mock_1.uploadFile, value: files }),

@@ -6,3 +6,3 @@ /// <reference types="react" />

strategy: Strategy;
middlewareData: import("@floating-ui/react").MiddlewareData;
middlewareData: import("@floating-ui/core").MiddlewareData;
x: number;

@@ -16,3 +16,3 @@ y: number;

placement: Placement;
middlewareData: import("@floating-ui/react").MiddlewareData;
middlewareData: import("@floating-ui/core").MiddlewareData;
update: () => void;

@@ -19,0 +19,0 @@ isPositioned: boolean;

{
"name": "@uxf/ui",
"version": "10.0.0-beta.77",
"version": "10.0.0-beta.79",
"description": "",

@@ -5,0 +5,0 @@ "publishConfig": {

@@ -11,4 +11,4 @@ import { MutableRefObject } from "react";

placement: Placement;
strategy: import("@floating-ui/react").Strategy;
middlewareData: import("@floating-ui/react").MiddlewareData;
strategy: import("@floating-ui/utils").Strategy;
middlewareData: import("@floating-ui/core").MiddlewareData;
x: number;

@@ -20,5 +20,5 @@ y: number;

y: number;
strategy: import("@floating-ui/react").Strategy;
strategy: import("@floating-ui/utils").Strategy;
placement: Placement;
middlewareData: import("@floating-ui/react").MiddlewareData;
middlewareData: import("@floating-ui/core").MiddlewareData;
update: () => void;

@@ -25,0 +25,0 @@ isPositioned: boolean;

@@ -1,2 +0,3 @@

import { HandlerFunction } from "@storybook/addon-actions";
type HandlerFunction = (...args: any[]) => void;
export declare function action(name: string, handler: HandlerFunction): HandlerFunction;
export {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.action = void 0;
const addon_actions_1 = require("@storybook/addon-actions");
function action(name, handler) {
return function (...args) {
(0, addon_actions_1.action)(name)(...args);
// eslint-disable-next-line no-console
console.log(name, ...args);
handler(...args);

@@ -9,0 +9,0 @@ };

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

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

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

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc