New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@code-hike/mini-frame

Package Overview
Dependencies
Maintainers
1
Versions
134
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@code-hike/mini-frame - npm Package Compare versions

Comparing version 0.3.0-next.9 to 1.0.0--canary.67.ea5ba8b.0

9

dist/index.cjs.js

@@ -50,4 +50,4 @@ 'use strict';

function MiniFrame(_a) {
var title = _a.title, children = _a.children, titleBar = _a.titleBar, classes = _a.classes, _b = _a.zoom, zoom = _b === void 0 ? 1 : _b, props = __rest(_a, ["title", "children", "titleBar", "classes", "zoom"]);
var MiniFrame = React__default['default'].forwardRef(function (_a, ref) {
var title = _a.title, children = _a.children, titleBar = _a.titleBar, classes = _a.classes, _b = _a.zoom, zoom = _b === void 0 ? 1 : _b, overflow = _a.overflow, props = __rest(_a, ["title", "children", "titleBar", "classes", "zoom", "overflow"]);
var c = classer.useClasser("ch-frame", classes);

@@ -57,5 +57,6 @@ var bar = titleBar || React__default['default'].createElement(DefaultTitleBar, { title: title });

"--ch-frame-zoom": zoom,
overflow: overflow,
};
return (React__default['default'].createElement(classer.ClasserProvider, { classes: classes },
React__default['default'].createElement("div", __assign({}, props),
React__default['default'].createElement("div", __assign({}, props, { ref: ref }),
React__default['default'].createElement("div", { className: c("") },

@@ -65,3 +66,3 @@ React__default['default'].createElement("div", { className: c("title-bar") }, bar),

React__default['default'].createElement("div", { className: c("zoom"), style: zoomStyle }, children))))));
}
});
function DefaultTitleBar(_a) {

@@ -68,0 +69,0 @@ var title = _a.title;

@@ -42,4 +42,4 @@ import React from 'react';

function MiniFrame(_a) {
var title = _a.title, children = _a.children, titleBar = _a.titleBar, classes = _a.classes, _b = _a.zoom, zoom = _b === void 0 ? 1 : _b, props = __rest(_a, ["title", "children", "titleBar", "classes", "zoom"]);
var MiniFrame = React.forwardRef(function (_a, ref) {
var title = _a.title, children = _a.children, titleBar = _a.titleBar, classes = _a.classes, _b = _a.zoom, zoom = _b === void 0 ? 1 : _b, overflow = _a.overflow, props = __rest(_a, ["title", "children", "titleBar", "classes", "zoom", "overflow"]);
var c = useClasser("ch-frame", classes);

@@ -49,5 +49,6 @@ var bar = titleBar || React.createElement(DefaultTitleBar, { title: title });

"--ch-frame-zoom": zoom,
overflow: overflow,
};
return (React.createElement(ClasserProvider, { classes: classes },
React.createElement("div", __assign({}, props),
React.createElement("div", __assign({}, props, { ref: ref }),
React.createElement("div", { className: c("") },

@@ -57,3 +58,3 @@ React.createElement("div", { className: c("title-bar") }, bar),

React.createElement("div", { className: c("zoom"), style: zoomStyle }, children))))));
}
});
function DefaultTitleBar(_a) {

@@ -60,0 +61,0 @@ var title = _a.title;

import React from "react";
import { Classes } from "@code-hike/classer";
declare type MiniFrameProps = {
title?: string;
export declare const MiniFrame: React.ForwardRefExoticComponent<{
title?: string | undefined;
titleBar?: React.ReactNode;
zoom?: number;
classes?: Classes;
} & React.PropsWithoutRef<JSX.IntrinsicElements["div"]>;
export declare function MiniFrame({ title, children, titleBar, classes, zoom, ...props }: MiniFrameProps): JSX.Element;
zoom?: number | undefined;
classes?: Record<string, string> | undefined;
overflow?: string | undefined;
} & Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture"> & React.RefAttributes<HTMLDivElement>>;
export declare function FrameButtons(): JSX.Element;
export {};
{
"name": "@code-hike/mini-frame",
"version": "0.3.0-next.9",
"version": "1.0.0--canary.67.ea5ba8b.0",
"main": "dist/index.cjs.js",

@@ -15,3 +15,3 @@ "typings": "dist/index.d.ts",

"devDependencies": {
"@code-hike/script": "0.3.0-next.9",
"@code-hike/script": "1.0.0--canary.67.ea5ba8b.0",
"@types/react": "^16.9.38",

@@ -35,5 +35,5 @@ "react": "^16.13.1"

"dependencies": {
"@code-hike/classer": "0.3.0-next.9"
"@code-hike/classer": "1.0.0--canary.67.ea5ba8b.0"
},
"gitHead": "dd7a8e686fe040b3948672539a5e7ebda7789681"
"gitHead": "ea5ba8b8c9f41c09ac4d24999e0814a20f8a4b22"
}

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc