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

@postenbring/hedwig-react

Package Overview
Dependencies
Maintainers
3
Versions
509
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@postenbring/hedwig-react - npm Package Compare versions

Comparing version 0.0.0-try-to-fix-pesky-errors-20231116163132 to 0.0.0-update-build-config-20231121202251

dist/chunk-4M56UIIY.mjs

2

dist/badge/badge.d.ts

@@ -28,2 +28,2 @@ import * as react_jsx_runtime from 'react/jsx-runtime';

export { Badge, BadgeProps, DarkBadge, WarningBadge, WhiteBadge };
export { Badge, type BadgeProps, DarkBadge, WarningBadge, WhiteBadge };

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

warnForStyleOverrides(rest);
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: (0, import_clsx.clsx)((0, import_typed_classname.t)("hds-badge"), (0, import_typed_classname.t)(`hds-badge--${size}`), (0, import_typed_classname.t)(`hds-badge--${variant}`)), children });
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
"span",
__spreadProps(__spreadValues({
className: (0, import_clsx.clsx)((0, import_typed_classname.t)("hds-badge"), (0, import_typed_classname.t)(`hds-badge--${size}`), (0, import_typed_classname.t)(`hds-badge--${variant}`))
}, rest), {
children
})
);
}

@@ -87,0 +94,0 @@ BaseBadge.displayName = "BaseBadge";

@@ -58,2 +58,3 @@ "use strict";

module.exports = __toCommonJS(badge_exports);
var import_fonts = require("@postenbring/hedwig-tokens/tokens-output/css/fonts.css");
var import_tokens = require("@postenbring/hedwig-tokens/tokens-output/css/tokens.css");

@@ -90,3 +91,10 @@ var import_base = require("@postenbring/hedwig-css/dist/base.css");

warnForStyleOverrides(rest);
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: (0, import_clsx.clsx)((0, import_typed_classname.t)("hds-badge"), (0, import_typed_classname.t)(`hds-badge--${size}`), (0, import_typed_classname.t)(`hds-badge--${variant}`)), children });
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
"span",
__spreadProps(__spreadValues({
className: (0, import_clsx.clsx)((0, import_typed_classname.t)("hds-badge"), (0, import_typed_classname.t)(`hds-badge--${size}`), (0, import_typed_classname.t)(`hds-badge--${variant}`))
}, rest), {
children
})
);
}

@@ -93,0 +101,0 @@ BaseBadge.displayName = "BaseBadge";

@@ -37,2 +37,2 @@ import * as react_jsx_runtime from 'react/jsx-runtime';

export { ButtonProps, PrimaryButton, SecondaryButton };
export { type ButtonProps, PrimaryButton, SecondaryButton };

@@ -56,2 +56,3 @@ "use strict";

module.exports = __toCommonJS(button_exports);
var import_fonts = require("@postenbring/hedwig-tokens/tokens-output/css/fonts.css");
var import_tokens = require("@postenbring/hedwig-tokens/tokens-output/css/tokens.css");

@@ -58,0 +59,0 @@ var import_base = require("@postenbring/hedwig-css/dist/base.css");

export { ButtonProps, PrimaryButton, SecondaryButton } from './button/button.js';
export { Link, LinkProps } from './link/link.js';
export { Badge, BadgeProps, DarkBadge, WarningBadge, WhiteBadge } from './badge/badge.js';
export { DescriptionDetails, DescriptionDetailsProps, default as DescriptionList, DescriptionListProps, DescriptionTerm, DescriptionTermProps } from './list/description-list.js';
export { ListItem, ListItemProps, ListProps, OrderedList, UnorderedList } from './list/list.js';
import 'react/jsx-runtime';
import 'react';

@@ -54,5 +54,11 @@ "use strict";

DarkBadge: () => DarkBadge,
DescriptionDetails: () => DescriptionDetails,
DescriptionList: () => DescriptionList,
DescriptionTerm: () => DescriptionTerm,
Link: () => Link,
ListItem: () => ListItem,
OrderedList: () => OrderedList,
PrimaryButton: () => PrimaryButton,
SecondaryButton: () => SecondaryButton,
UnorderedList: () => UnorderedList,
WarningBadge: () => WarningBadge,

@@ -169,3 +175,10 @@ WhiteBadge: () => WhiteBadge

warnForStyleOverrides(rest);
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { className: (0, import_clsx3.clsx)((0, import_typed_classname3.t)("hds-badge"), (0, import_typed_classname3.t)(`hds-badge--${size}`), (0, import_typed_classname3.t)(`hds-badge--${variant}`)), children });
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
"span",
__spreadProps(__spreadValues({
className: (0, import_clsx3.clsx)((0, import_typed_classname3.t)("hds-badge"), (0, import_typed_classname3.t)(`hds-badge--${size}`), (0, import_typed_classname3.t)(`hds-badge--${variant}`))
}, rest), {
children
})
);
}

@@ -189,2 +202,76 @@ BaseBadge.displayName = "BaseBadge";

WarningBadge.displayName = "WarningBadge";
// src/list/description-list.tsx
var import_clsx4 = require("clsx");
var import_typed_classname4 = require("@postenbring/hedwig-css/typed-classname/index.mjs");
var import_jsx_runtime4 = require("react/jsx-runtime");
function DescriptionDetails(_a) {
var _b = _a, { children } = _b, rest = __objRest(_b, ["children"]);
warnForStyleOverrides(rest);
return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("dd", __spreadProps(__spreadValues({}, rest), { children }));
}
function DescriptionTerm(_a) {
var _b = _a, { children } = _b, rest = __objRest(_b, ["children"]);
warnForStyleOverrides(rest);
return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("dt", __spreadProps(__spreadValues({}, rest), { children }));
}
function DescriptionList(_a) {
var _b = _a, { variant = "vertical" } = _b, rest = __objRest(_b, ["variant"]);
warnForStyleOverrides(rest);
return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
"dl",
__spreadValues({
className: (0, import_clsx4.clsx)((0, import_typed_classname4.t)("hds-description-list"), {
[(0, import_typed_classname4.t)("hds-description-list--horizontal")]: variant === "horizontal"
})
}, rest)
);
}
DescriptionList.displayName = "DescriptionList";
DescriptionTerm.displayName = "DescriptionTerm";
DescriptionDetails.displayName = "DescriptionDetails";
// src/list/list.tsx
var import_clsx5 = require("clsx");
var import_typed_classname5 = require("@postenbring/hedwig-css/typed-classname/index.mjs");
var import_jsx_runtime5 = require("react/jsx-runtime");
function BaseList(_a) {
var _b = _a, {
as: ListTag = "ul",
children,
listStyle = "inherit",
size = "medium"
} = _b, rest = __objRest(_b, [
"as",
"children",
"listStyle",
"size"
]);
warnForStyleOverrides(rest);
return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
ListTag,
__spreadProps(__spreadValues({
className: (0, import_clsx5.clsx)((0, import_typed_classname5.t)("hds-list"), (0, import_typed_classname5.t)(`hds-list--${size}`), {
[(0, import_typed_classname5.t)(`hds-list--style-hidden`)]: listStyle === "no-bullets"
})
}, rest), {
children
})
);
}
function ListItem(_a) {
var _b = _a, { children } = _b, rest = __objRest(_b, ["children"]);
warnForStyleOverrides(rest);
return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("li", __spreadProps(__spreadValues({}, rest), { children }));
}
function UnorderedList(props) {
return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(BaseList, __spreadProps(__spreadValues({ as: "ul" }, props), { children: props.children }));
}
function OrderedList(props) {
return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(BaseList, __spreadProps(__spreadValues({ as: "ol" }, props), { children: props.children }));
}
ListItem.displayName = "ListItem";
BaseList.displayName = "BaseList";
OrderedList.displayName = "UnorderedList";
UnorderedList.displayName = "UnorderedList";
// Annotate the CommonJS export names for ESM import in node:

@@ -194,7 +281,13 @@ 0 && (module.exports = {

DarkBadge,
DescriptionDetails,
DescriptionList,
DescriptionTerm,
Link,
ListItem,
OrderedList,
PrimaryButton,
SecondaryButton,
UnorderedList,
WarningBadge,
WhiteBadge
});

@@ -55,2 +55,3 @@ "use strict";

module.exports = __toCommonJS(link_exports);
var import_fonts = require("@postenbring/hedwig-tokens/tokens-output/css/fonts.css");
var import_tokens = require("@postenbring/hedwig-tokens/tokens-output/css/tokens.css");

@@ -57,0 +58,0 @@ var import_base = require("@postenbring/hedwig-css/dist/base.css");

@@ -26,2 +26,2 @@ import * as react_jsx_runtime from 'react/jsx-runtime';

export { Link, LinkProps };
export { Link, type LinkProps };
{
"name": "@postenbring/hedwig-react",
"version": "0.0.0-try-to-fix-pesky-errors-20231116163132",
"version": "0.0.0-update-build-config-20231121202251",
"main": "./dist/index.js",

@@ -25,8 +25,8 @@ "module": "./dist/index.mjs",

"react": "^18.2.0",
"tsup": "^7.2.0",
"tsup": "^7.3.0",
"typescript": "^5.2.2"
},
"dependencies": {
"@postenbring/hedwig-css": "0.0.0-try-to-fix-pesky-errors-20231116163132",
"@postenbring/hedwig-tokens": "0.0.0-try-to-fix-pesky-errors-20231116163132",
"@postenbring/hedwig-css": "0.0.0-update-build-config-20231121202251",
"@postenbring/hedwig-tokens": "0.0.0-update-build-config-20231121202251",
"clsx": "^2.0.0"

@@ -33,0 +33,0 @@ },

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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