@postenbring/hedwig-react
Advanced tools
Comparing version 0.0.0-beck0KtY-link-lists-20231123104324 to 0.0.0-beck0KtY-link-lists-20231123113155
@@ -5,4 +5,4 @@ export { ButtonProps, PrimaryButton, SecondaryButton } from './button/button.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'; | ||
export { LinkList, LinkListItem, LinkListItemProps, LinkListProps } from './list/link-list.js'; | ||
export { ListProps, OrderedList, UnorderedList } from './list/list.js'; | ||
export { LinkList, LinkListProps } from './list/link-list.js'; | ||
export { a as Box, c as BoxCloseButton, b as BoxCloseButtonProps, B as BoxProps } from './index-OpbVH1tp.js'; | ||
@@ -9,0 +9,0 @@ export { Message, MessageProps } from './message/message.js'; |
@@ -61,4 +61,2 @@ "use strict"; | ||
LinkList: () => LinkList, | ||
LinkListItem: () => LinkListItem, | ||
ListItem: () => ListItem, | ||
Message: () => Message, | ||
@@ -286,6 +284,2 @@ OrderedList: () => OrderedList, | ||
} | ||
function ListItem(_a) { | ||
var _b = _a, { children } = _b, rest = __objRest(_b, ["children"]); | ||
return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("li", __spreadProps(__spreadValues({}, rest), { children })); | ||
} | ||
function UnorderedList(props) { | ||
@@ -297,3 +291,2 @@ return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(BaseList, __spreadProps(__spreadValues({ as: "ul" }, props), { children: props.children })); | ||
} | ||
ListItem.displayName = "ListItem"; | ||
BaseList.displayName = "BaseList"; | ||
@@ -305,6 +298,2 @@ OrderedList.displayName = "UnorderedList"; | ||
var import_jsx_runtime6 = require("react/jsx-runtime"); | ||
function LinkListItem(_a) { | ||
var _b = _a, { children } = _b, rest = __objRest(_b, ["children"]); | ||
return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("li", __spreadProps(__spreadValues({}, rest), { children })); | ||
} | ||
function LinkList(props) { | ||
@@ -314,3 +303,2 @@ return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(UnorderedList, __spreadProps(__spreadValues({ listStyle: "no-bullets" }, props), { children: props.children })); | ||
LinkList.displayName = "LinkList"; | ||
LinkListItem.displayName = "LinkListItem"; | ||
@@ -438,4 +426,2 @@ // src/box/index.tsx | ||
LinkList, | ||
LinkListItem, | ||
ListItem, | ||
Message, | ||
@@ -442,0 +428,0 @@ OrderedList, |
export { DescriptionDetails, DescriptionDetailsProps, default as DescriptionList, DescriptionListProps, DescriptionTerm, DescriptionTermProps } from './description-list.js'; | ||
export { ListItem, ListItemProps, ListProps, OrderedList, UnorderedList } from './list.js'; | ||
export { LinkList, LinkListItem, LinkListItemProps, LinkListProps } from './link-list.js'; | ||
export { ListProps, OrderedList, UnorderedList } from './list.js'; | ||
export { LinkList, LinkListProps } from './link-list.js'; | ||
import 'react/jsx-runtime'; | ||
import 'react'; | ||
import '../link/link.js'; |
@@ -56,4 +56,2 @@ "use strict"; | ||
LinkList: () => LinkList, | ||
LinkListItem: () => LinkListItem, | ||
ListItem: () => ListItem, | ||
OrderedList: () => OrderedList, | ||
@@ -123,6 +121,2 @@ UnorderedList: () => UnorderedList | ||
} | ||
function ListItem(_a) { | ||
var _b = _a, { children } = _b, rest = __objRest(_b, ["children"]); | ||
return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("li", __spreadProps(__spreadValues({}, rest), { children })); | ||
} | ||
function UnorderedList(props) { | ||
@@ -134,3 +128,2 @@ return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(BaseList, __spreadProps(__spreadValues({ as: "ul" }, props), { children: props.children })); | ||
} | ||
ListItem.displayName = "ListItem"; | ||
BaseList.displayName = "BaseList"; | ||
@@ -142,6 +135,2 @@ OrderedList.displayName = "UnorderedList"; | ||
var import_jsx_runtime3 = require("react/jsx-runtime"); | ||
function LinkListItem(_a) { | ||
var _b = _a, { children } = _b, rest = __objRest(_b, ["children"]); | ||
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("li", __spreadProps(__spreadValues({}, rest), { children })); | ||
} | ||
function LinkList(props) { | ||
@@ -151,3 +140,2 @@ return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(UnorderedList, __spreadProps(__spreadValues({ listStyle: "no-bullets" }, props), { children: props.children })); | ||
LinkList.displayName = "LinkList"; | ||
LinkListItem.displayName = "LinkListItem"; | ||
// Annotate the CommonJS export names for ESM import in node: | ||
@@ -159,6 +147,4 @@ 0 && (module.exports = { | ||
LinkList, | ||
LinkListItem, | ||
ListItem, | ||
OrderedList, | ||
UnorderedList | ||
}); |
import * as react_jsx_runtime from 'react/jsx-runtime'; | ||
import * as React from 'react'; | ||
import { LinkProps } from '../link/link.js'; | ||
import { ListProps, ListItemProps } from './list.js'; | ||
import { ListProps } from './list.js'; | ||
interface LinkListItemProps extends React.HTMLAttributes<HTMLLIElement> { | ||
/** | ||
* Can contain Link-elements | ||
*/ | ||
children: React.ReactElement<LinkProps>; | ||
} | ||
interface LinkListProps extends Omit<ListProps, "listStyle"> { | ||
children: React.ReactElement<LinkListItemProps> | React.ReactElement<LinkListItemProps>[]; | ||
children: React.ReactElement<HTMLLIElement> | React.ReactElement<HTMLLIElement>[]; | ||
} | ||
declare function LinkListItem({ children, ...rest }: ListItemProps): react_jsx_runtime.JSX.Element; | ||
declare namespace LinkListItem { | ||
var displayName: string; | ||
} | ||
declare function LinkList(props: LinkListProps): react_jsx_runtime.JSX.Element; | ||
@@ -24,2 +13,2 @@ declare namespace LinkList { | ||
export { LinkList, LinkListItem, type LinkListItemProps, type LinkListProps }; | ||
export { LinkList, type LinkListProps }; |
@@ -52,4 +52,3 @@ "use strict"; | ||
__export(link_list_exports, { | ||
LinkList: () => LinkList, | ||
LinkListItem: () => LinkListItem | ||
LinkList: () => LinkList | ||
}); | ||
@@ -85,6 +84,2 @@ module.exports = __toCommonJS(link_list_exports); | ||
} | ||
function ListItem(_a) { | ||
var _b = _a, { children } = _b, rest = __objRest(_b, ["children"]); | ||
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("li", __spreadProps(__spreadValues({}, rest), { children })); | ||
} | ||
function UnorderedList(props) { | ||
@@ -96,3 +91,2 @@ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(BaseList, __spreadProps(__spreadValues({ as: "ul" }, props), { children: props.children })); | ||
} | ||
ListItem.displayName = "ListItem"; | ||
BaseList.displayName = "BaseList"; | ||
@@ -104,6 +98,2 @@ OrderedList.displayName = "UnorderedList"; | ||
var import_jsx_runtime2 = require("react/jsx-runtime"); | ||
function LinkListItem(_a) { | ||
var _b = _a, { children } = _b, rest = __objRest(_b, ["children"]); | ||
return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("li", __spreadProps(__spreadValues({}, rest), { children })); | ||
} | ||
function LinkList(props) { | ||
@@ -113,7 +103,5 @@ return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(UnorderedList, __spreadProps(__spreadValues({ listStyle: "no-bullets" }, props), { children: props.children })); | ||
LinkList.displayName = "LinkList"; | ||
LinkListItem.displayName = "LinkListItem"; | ||
// Annotate the CommonJS export names for ESM import in node: | ||
0 && (module.exports = { | ||
LinkList, | ||
LinkListItem | ||
LinkList | ||
}); |
@@ -5,7 +5,4 @@ import * as react_jsx_runtime from 'react/jsx-runtime'; | ||
interface ListItemProps extends React.HTMLAttributes<HTMLLIElement> { | ||
children: React.ReactNode; | ||
} | ||
interface ListProps extends HTMLAttributes<HTMLOListElement | HTMLUListElement> { | ||
children: React.ReactElement<ListItemProps> | React.ReactElement<ListItemProps>[]; | ||
children: React.ReactElement<HTMLLIElement> | React.ReactElement<HTMLLIElement>[]; | ||
/** | ||
@@ -20,6 +17,2 @@ * Inherit list styles or do not show these | ||
} | ||
declare function ListItem({ children, ...rest }: ListItemProps): react_jsx_runtime.JSX.Element; | ||
declare namespace ListItem { | ||
var displayName: string; | ||
} | ||
declare function UnorderedList(props: ListProps): react_jsx_runtime.JSX.Element; | ||
@@ -34,2 +27,2 @@ declare namespace UnorderedList { | ||
export { ListItem, type ListItemProps, type ListProps, OrderedList, UnorderedList }; | ||
export { type ListProps, OrderedList, UnorderedList }; |
@@ -52,3 +52,2 @@ "use strict"; | ||
__export(list_exports, { | ||
ListItem: () => ListItem, | ||
OrderedList: () => OrderedList, | ||
@@ -84,6 +83,2 @@ UnorderedList: () => UnorderedList | ||
} | ||
function ListItem(_a) { | ||
var _b = _a, { children } = _b, rest = __objRest(_b, ["children"]); | ||
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("li", __spreadProps(__spreadValues({}, rest), { children })); | ||
} | ||
function UnorderedList(props) { | ||
@@ -95,3 +90,2 @@ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(BaseList, __spreadProps(__spreadValues({ as: "ul" }, props), { children: props.children })); | ||
} | ||
ListItem.displayName = "ListItem"; | ||
BaseList.displayName = "BaseList"; | ||
@@ -102,5 +96,4 @@ OrderedList.displayName = "UnorderedList"; | ||
0 && (module.exports = { | ||
ListItem, | ||
OrderedList, | ||
UnorderedList | ||
}); |
{ | ||
"name": "@postenbring/hedwig-react", | ||
"version": "0.0.0-beck0KtY-link-lists-20231123104324", | ||
"version": "0.0.0-beck0KtY-link-lists-20231123113155", | ||
"main": "./dist/index.js", | ||
@@ -29,4 +29,4 @@ "module": "./dist/index.mjs", | ||
"dependencies": { | ||
"@postenbring/hedwig-css": "0.0.0-beck0KtY-link-lists-20231123104324", | ||
"@postenbring/hedwig-tokens": "0.0.0-beck0KtY-link-lists-20231123104324", | ||
"@postenbring/hedwig-css": "0.0.0-beck0KtY-link-lists-20231123113155", | ||
"@postenbring/hedwig-tokens": "0.0.0-beck0KtY-link-lists-20231123113155", | ||
"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
113854
2974
+ Added@postenbring/hedwig-css@0.0.0-beck0KtY-link-lists-20231123113155(transitive)
+ Added@postenbring/hedwig-tokens@0.0.0-beck0KtY-link-lists-20231123113155(transitive)
- Removed@postenbring/hedwig-css@0.0.0-beck0KtY-link-lists-20231123104324(transitive)
- Removed@postenbring/hedwig-tokens@0.0.0-beck0KtY-link-lists-20231123104324(transitive)
Updated@postenbring/hedwig-css@0.0.0-beck0KtY-link-lists-20231123113155
Updated@postenbring/hedwig-tokens@0.0.0-beck0KtY-link-lists-20231123113155