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

@rmwc/icon-button

Package Overview
Dependencies
Maintainers
1
Versions
174
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rmwc/icon-button - npm Package Compare versions

Comparing version 6.1.4 to 7.0.0

3

dist/foundation.js

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

var icon_button_1 = require("@material/icon-button");
exports.useIconButtonFoundation = function (props) {
var useIconButtonFoundation = function (props) {
var _a = base_1.useFoundation({

@@ -41,1 +41,2 @@ props: props,

};
exports.useIconButtonFoundation = useIconButtonFoundation;
/// <reference types="react" />
export default function (): JSX.Element;
export default function Readme(): JSX.Element;
export declare const galleryExample: JSX.Element;

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

var _1 = require(".");
function default_1() {
function Readme() {
return (react_1.default.createElement(_doc_utils_1.Docs, { title: "Icon Buttons", lead: "Icon buttons allow users to take actions, and make choices, with a single tap.", module: "@rmwc/icon-button", styles: [

@@ -49,3 +49,3 @@ '@material/icon-button/dist/mdc.icon-button.css',

}
exports.default = default_1;
exports.default = Readme;
exports.galleryExample = react_1.default.createElement(_1.IconButton, { icon: "favorite_outlined" });
/// <reference types="react" />
export default function (): JSX.Element;
export default function Readme(): JSX.Element;
export declare const galleryExample: JSX.Element;

@@ -7,3 +7,3 @@ import { __read } from "tslib";

import { IconButton } from '.';
export default function () {
export default function Readme() {
return (React.createElement(Docs, { title: "Icon Buttons", lead: "Icon buttons allow users to take actions, and make choices, with a single tap.", module: "@rmwc/icon-button", styles: [

@@ -10,0 +10,0 @@ '@material/icon-button/dist/mdc.icon-button.css',

{
"name": "@rmwc/icon-button",
"version": "6.1.4",
"version": "7.0.0",
"description": "RMWC IconButton component",

@@ -35,13 +35,13 @@ "main": "dist/index.js",

"peerDependencies": {
"react": "^16.3.x",
"react-dom": "^16.3.x"
"react": ">=16.8.x",
"react-dom": ">=16.8.x"
},
"dependencies": {
"@material/icon-button": "^5.1.0",
"@rmwc/base": "^6.1.4",
"@rmwc/icon": "^6.1.4",
"@rmwc/ripple": "^6.1.4",
"@rmwc/types": "^6.0.5"
"@rmwc/base": "^7.0.0",
"@rmwc/icon": "^7.0.0",
"@rmwc/ripple": "^7.0.0",
"@rmwc/types": "^7.0.0"
},
"gitHead": "c33a09f349373930ac817c89f21b3246f9e332c2"
"gitHead": "4c1d2d84d146b1baa5f764be95b1a3ed73e11424"
}

@@ -109,4 +109,3 @@ # Icon Buttons

| `onIcon` | `RMWC.IconPropT` | If specified, renders a toggle with this icon as the on state. |
| `ripple` | `RipplePropT` | Adds a ripple effect to the component |

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