Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@scaleflex/ui

Package Overview
Dependencies
Maintainers
3
Versions
256
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@scaleflex/ui - npm Package Compare versions

Comparing version 1.0.0-beta.9 to 1.0.0-beta.10

core/popper/popper.component.d.ts

0

core/button/button.props.d.ts

@@ -0,0 +0,0 @@ import type { PropsWithChildren } from 'react';

@@ -0,0 +0,0 @@ import type { Values } from '../../utils/types';

2

core/menu/menu.styles.js

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

})(function () {
return (0, _styledComponents.css)(["position:relative;padding-top:8px;padding-bottom:8px;margin:0;padding:0;outline:0;display:flex;flex-direction:column;"]);
return (0, _styledComponents.css)(["position:relative;padding-top:8px;padding-bottom:8px;margin:0;padding:0;outline:0;display:flex;flex-direction:column;max-height:300px;overflow-y:scroll;overflow-x:hidden;::-webkit-scrollbar{width:6px;}::-webkit-scrollbar-track{background:#f1f1f1;}::-webkit-scrollbar-thumb{background:rgba(0,0,0,0.35);border-radius:2px;}::-webkit-scrollbar-thumb:hover{background:rgba(0,0,0,0.5);}"]);
});

@@ -57,0 +57,0 @@

@@ -17,3 +17,3 @@ import React from 'react';

fullWidth: PT.Requireable<boolean>;
children: PT.Validator<PT.ReactElementLike | (PT.ReactElementLike | null | undefined)[]>;
children: PT.Requireable<PT.ReactElementLike | (PT.ReactElementLike | null | undefined)[]>;
value: PT.Validator<string | number | (string | number | null | undefined)[] | null | undefined>;

@@ -20,0 +20,0 @@ onChange: PT.Requireable<(...args: any[]) => any>;

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

fullWidth: _propTypes["default"].bool,
children: _propTypes["default"].oneOfType([_propTypes["default"].element, _propTypes["default"].arrayOf(_propTypes["default"].element)]).isRequired,
children: _propTypes["default"].oneOfType([_propTypes["default"].element, _propTypes["default"].arrayOf(_propTypes["default"].element)]),
value: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].number, _propTypes["default"].oneOf([null]), _propTypes["default"].arrayOf(simpleValuePropTypes)]),

@@ -112,0 +112,0 @@ onChange: _propTypes["default"].func

@@ -11,3 +11,3 @@ import type { Values } from '../../utils/types';

fullWidth?: boolean;
children: React.ReactElementLike;
children?: React.ReactElementLike;
multiple?: boolean;

@@ -29,3 +29,3 @@ value?: SelectSimpleValueType | SelectSimpleValueType[];

multiple?: boolean;
children: React.ReactElementLike;
children?: React.ReactElementLike;
}

@@ -0,0 +0,0 @@ export interface TabPanelProps extends React.HTMLAttributes<HTMLDivElement> {

@@ -0,0 +0,0 @@ import type { Values } from '../../utils/types';

@@ -0,0 +0,0 @@ export interface TabsProps extends React.HTMLAttributes<HTMLDivElement> {

@@ -18,6 +18,6 @@ "use strict";

var _cross = _interopRequireDefault(require("@scaleflex/icons/cross"));
var _functions = require("../../utils/functions");
var _cross = _interopRequireDefault(require("@scaleflex/icons/cross"));
var _types = require("./types");

@@ -31,4 +31,5 @@

size = _ref.size,
tagIndex = _ref.tagIndex,
onRemove = _ref.onRemove,
rest = (0, _objectWithoutProperties2["default"])(_ref, ["children", "type", "size", "onRemove"]);
rest = (0, _objectWithoutProperties2["default"])(_ref, ["children", "type", "size", "tagIndex", "onRemove"]);
return /*#__PURE__*/_react["default"].createElement(_tag["default"].Tag, (0, _extends2["default"])({

@@ -42,3 +43,3 @@ ref: ref,

if (typeof rest.onSelect === 'function') {
rest.onSelect();
rest.onSelect(event);
}

@@ -54,3 +55,4 @@

if (typeof onRemove === 'function') {
onRemove();
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
onRemove(tagIndex);
}

@@ -68,5 +70,6 @@ }

onRemove: _propTypes["default"].func,
onSelect: _propTypes["default"].func
onSelect: _propTypes["default"].func,
tagIndex: _propTypes["default"].number
};
var _default = Tag;
exports["default"] = _default;

@@ -10,4 +10,5 @@ import type { Values } from '../../utils/types';

type?: TagTypesType;
onRemove?: () => void;
onSelect?: () => void;
onRemove?: (index:number) => void;
onSelect?: (event) => void;
tagIndex?: number;
}

@@ -12,2 +12,3 @@ import type { Values } from '../../utils/types';

children: ReactElement;
parent?: string;
}
{
"name": "@scaleflex/ui",
"version": "1.0.0-beta.9",
"version": "1.0.0-beta.10",
"author": "scaleflex",

@@ -5,0 +5,0 @@ "repository": "github:scaleflex/ui",

@@ -68,3 +68,4 @@ "use strict";

return {};
}, [JSON.stringify(theme)]);
}, [JSON.stringify(theme)]); // console.log(finalTheme);
return /*#__PURE__*/_react["default"].createElement(_styledComponents.ThemeProvider, {

@@ -71,0 +72,0 @@ theme: finalTheme

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ /**

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