Socket
Socket
Sign inDemoInstall

@rmwc/card

Package Overview
Dependencies
Maintainers
1
Versions
176
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rmwc/card - npm Package Compare versions

Comparing version 6.0.13 to 6.0.14

2

dist/index.d.ts
import * as RMWC from '@rmwc/types';
import * as React from 'react';
import React from 'react';
import { ButtonProps } from '@rmwc/button';

@@ -4,0 +4,0 @@ import { IconButtonProps } from '@rmwc/icon-button';

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var tslib_1 = require("tslib");
var React = tslib_1.__importStar(require("react"));
var react_1 = tslib_1.__importDefault(require("react"));
var ripple_1 = require("@rmwc/ripple");

@@ -18,3 +18,3 @@ var button_1 = require("@rmwc/button");

]);
return React.createElement(base_1.Tag, tslib_1.__assign({}, rest, { ref: ref, className: className }));
return react_1.default.createElement(base_1.Tag, tslib_1.__assign({}, rest, { ref: ref, className: className }));
});

@@ -31,3 +31,3 @@ /** Media area that displays a custom background-image with background-size: cover */

]);
return React.createElement(base_1.Tag, tslib_1.__assign({ tag: "section" }, rest, { ref: ref, className: className }));
return react_1.default.createElement(base_1.Tag, tslib_1.__assign({ tag: "section" }, rest, { ref: ref, className: className }));
});

@@ -37,3 +37,3 @@ /** An absolutely-positioned box the same size as the media area, for displaying a title or icon on top of the background-image */

var className = base_1.useClassNames(props, ['mdc-card__media-content']);
return React.createElement(base_1.Tag, tslib_1.__assign({}, props, { ref: ref, className: className }));
return react_1.default.createElement(base_1.Tag, tslib_1.__assign({}, props, { ref: ref, className: className }));
});

@@ -45,3 +45,3 @@ /** The main clickable area for the primary content of the card */

var className = base_1.useClassNames(props, ['mdc-card__primary-action']);
return React.createElement(base_1.Tag, tslib_1.__assign({}, props, { ref: ref, className: className }));
return react_1.default.createElement(base_1.Tag, tslib_1.__assign({}, props, { ref: ref, className: className }));
}));

@@ -55,3 +55,3 @@ /** Row containing action buttons and/or icons */

]);
return React.createElement(base_1.Tag, tslib_1.__assign({ tag: "section" }, rest, { ref: ref, className: className }));
return react_1.default.createElement(base_1.Tag, tslib_1.__assign({ tag: "section" }, rest, { ref: ref, className: className }));
});

@@ -61,3 +61,3 @@ /** A group of action buttons, displayed on the left side of the card (in LTR), adjacent to CardActionIcons */

var className = base_1.useClassNames(props, ['mdc-card__action-buttons']);
return React.createElement(base_1.Tag, tslib_1.__assign({}, props, { ref: ref, className: className }));
return react_1.default.createElement(base_1.Tag, tslib_1.__assign({}, props, { ref: ref, className: className }));
});

@@ -67,3 +67,3 @@ /** A group of supplemental action icons, displayed on the right side of the card (in LTR), adjacent to CardActionButtons */

var className = base_1.useClassNames(props, ['mdc-card__action-icons']);
return React.createElement(base_1.Tag, tslib_1.__assign({}, props, { ref: ref, className: className }));
return react_1.default.createElement(base_1.Tag, tslib_1.__assign({}, props, { ref: ref, className: className }));
});

@@ -76,3 +76,3 @@ /** A card action Icon */

]);
return React.createElement(icon_button_1.IconButton, tslib_1.__assign({}, props, { ref: ref, className: className }));
return react_1.default.createElement(icon_button_1.IconButton, tslib_1.__assign({}, props, { ref: ref, className: className }));
});

@@ -85,3 +85,3 @@ /** A card action Button */

]);
return React.createElement(button_1.Button, tslib_1.__assign({}, props, { ref: ref, className: className }));
return react_1.default.createElement(button_1.Button, tslib_1.__assign({}, props, { ref: ref, className: className }));
});
import * as RMWC from '@rmwc/types';
import * as React from 'react';
import React from 'react';
import { ButtonProps } from '@rmwc/button';

@@ -4,0 +4,0 @@ import { IconButtonProps } from '@rmwc/icon-button';

import { __assign, __rest } from "tslib";
import * as React from 'react';
import React from 'react';
import { withRipple } from '@rmwc/ripple';

@@ -4,0 +4,0 @@ import { Button } from '@rmwc/button';

{
"name": "@rmwc/card",
"version": "6.0.13",
"version": "6.0.14",
"description": "RMWC Card component",

@@ -40,9 +40,9 @@ "main": "dist/index.js",

"@material/card": "^5.1.0",
"@rmwc/base": "^6.0.13",
"@rmwc/button": "^6.0.13",
"@rmwc/icon-button": "^6.0.13",
"@rmwc/ripple": "^6.0.13",
"@rmwc/base": "^6.0.14",
"@rmwc/button": "^6.0.14",
"@rmwc/icon-button": "^6.0.14",
"@rmwc/ripple": "^6.0.14",
"@rmwc/types": "^6.0.5"
},
"gitHead": "0d3b30c73eb07958144efef0fb0759fa014a546a"
"gitHead": "4ee07fdccaec6eae22a6adf9c3232d809492bafd"
}
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