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

@ltht-react/description-list

Package Overview
Dependencies
Maintainers
6
Versions
364
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ltht-react/description-list - npm Package Compare versions

Comparing version 0.2.1 to 1.0.0

lib/atoms/description.d.ts

12

CHANGELOG.md

@@ -6,14 +6,18 @@ # Change Log

## [0.2.1](https://github.com/ltht-epr/ltht-react/compare/@ltht-react/description-list@0.1.25...@ltht-react/description-list@0.2.1) (2021-01-22)
## [0.1.25](https://github.com/ltht-epr/ltht-react/compare/@ltht-react/description-list@0.1.23...@ltht-react/description-list@0.1.25) (2020-11-19)
**Note:** Version bump only for package @ltht-react/description-list
### Reverts
* Revert "refactor components and fix styles" ([b0c5fd8](https://github.com/ltht-epr/ltht-react/commit/b0c5fd89836aa7c47afe96aeccefd955a06dd50b))
* Revert "Publish" ([833cdd7](https://github.com/ltht-epr/ltht-react/commit/833cdd729f74c9fee22fa55530a6ec5552f438ea))
## [0.1.24](https://github.com/ltht-epr/ltht-react/compare/@ltht-react/description-list@0.1.23...@ltht-react/description-list@0.1.24) (2020-10-29)
**Note:** Version bump only for package @ltht-react/description-list
## [0.1.23](https://github.com/ltht-epr/ltht-react/compare/@ltht-react/description-list@0.1.22...@ltht-react/description-list@0.1.23) (2020-09-10)

@@ -20,0 +24,0 @@

@@ -1,1 +0,12 @@

export * from './atoms';
import React, { HTMLAttributes } from 'react';
import { Props as TermProps } from './atoms/term';
import { Props as DescriptionProps } from './atoms/description';
declare const DescriptionList: React.FC<DescriptionListProps> & DescriptionListComposition;
interface DescriptionListComposition {
Term: React.FC<TermProps>;
Description: React.FC<DescriptionProps>;
}
export interface DescriptionListProps extends HTMLAttributes<HTMLDListElement> {
classes?: string;
}
export default DescriptionList;
"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p);
var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
return cooked;
};
var __assign = (this && this.__assign) || function () {
__assign = Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
return t;
};
return __assign.apply(this, arguments);
};
var __rest = (this && this.__rest) || function (s, e) {
var t = {};
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
t[p] = s[p];
if (s != null && typeof Object.getOwnPropertySymbols === "function")
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
t[p[i]] = s[p[i]];
}
return t;
};
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
__exportStar(require("./atoms"), exports);
var react_1 = __importDefault(require("react"));
var classnames_1 = __importDefault(require("classnames"));
var styled_1 = __importDefault(require("@emotion/styled"));
var term_1 = __importDefault(require("./atoms/term"));
var description_1 = __importDefault(require("./atoms/description"));
var StyledDescriptionList = styled_1.default.dl(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n list-style: none;\n margin-top: 1rem;\n margin-bottom: 0;\n"], ["\n list-style: none;\n margin-top: 1rem;\n margin-bottom: 0;\n"])));
var DescriptionList = function (_a) {
var classes = _a.classes, children = _a.children, rest = __rest(_a, ["classes", "children"]);
return (react_1.default.createElement(StyledDescriptionList, __assign({ className: classnames_1.default('description-list', classes) }, rest), children));
};
DescriptionList.Term = term_1.default;
DescriptionList.Description = description_1.default;
exports.default = DescriptionList;
var templateObject_1;
//# sourceMappingURL=index.js.map
{
"name": "@ltht-react/description-list",
"version": "0.2.1",
"version": "1.0.0",
"description": "ltht-react DescriptionList component.",

@@ -30,9 +30,10 @@ "author": "LTHT",

"@emotion/styled": "^10.0.27",
"@ltht-react/styles": "^0.2.1",
"@ltht-react/types": "^0.1.1",
"@ltht-react/utils": "^0.2.1",
"@ltht-react/styles": "^1.0.0",
"@ltht-react/types": "^0.0.27",
"@ltht-react/utils": "^1.0.0",
"classnames": "^2.2.6",
"emotion": "^10.0.27",
"react": "^16.12.0"
},
"gitHead": "8ed606fa5eb29a987434481dce1c2fed87966fc7"
"gitHead": "ce395cbe99477a620c639ce01b401654510f7f81"
}

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