@rmwc/icon-button
Advanced tools
Comparing version 6.1.4 to 7.0.0
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
30592
504
111
+ Added@rmwc/base@7.0.3(transitive)
+ Added@rmwc/icon@7.0.3(transitive)
+ Added@rmwc/provider@7.0.3(transitive)
+ Added@rmwc/ripple@7.0.3(transitive)
+ Added@rmwc/types@7.0.3(transitive)
+ Addedreact@18.3.1(transitive)
+ Addedreact-dom@18.3.1(transitive)
+ Addedscheduler@0.23.2(transitive)
+ Addedtslib@2.8.1(transitive)
- Removed@rmwc/base@6.1.4(transitive)
- Removed@rmwc/icon@6.1.4(transitive)
- Removed@rmwc/provider@6.1.4(transitive)
- Removed@rmwc/ripple@6.1.4(transitive)
- Removed@rmwc/types@6.0.5(transitive)
- Removedobject-assign@4.1.1(transitive)
- Removedprop-types@15.8.1(transitive)
- Removedreact@16.14.0(transitive)
- Removedreact-dom@16.14.0(transitive)
- Removedreact-is@16.13.1(transitive)
- Removedscheduler@0.19.1(transitive)
Updated@rmwc/base@^7.0.0
Updated@rmwc/icon@^7.0.0
Updated@rmwc/ripple@^7.0.0
Updated@rmwc/types@^7.0.0