@postenbring/hedwig-react 0.0.10 → 0.0.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/box/box.d.mts +1 -1
- package/dist/box/box.d.ts +1 -1
- package/dist/{chunk-DQ2OO6EW.mjs → chunk-BRBGRJ2I.mjs} +1 -1
- package/dist/{chunk-STKOYB5H.mjs → chunk-RY53CJI7.mjs} +2 -2
- package/dist/index.js +2 -2
- package/dist/index.mjs +2 -2
- package/dist/list/description-list.d.mts +2 -2
- package/dist/list/description-list.d.ts +2 -2
- package/dist/list/index.js +2 -2
- package/dist/list/index.mjs +2 -2
- package/dist/list/link-list.d.mts +1 -1
- package/dist/list/link-list.d.ts +1 -1
- package/dist/list/link-list.js +2 -2
- package/dist/list/link-list.mjs +2 -2
- package/dist/list/list.d.mts +1 -1
- package/dist/list/list.d.ts +1 -1
- package/dist/list/list.js +2 -2
- package/dist/list/list.mjs +1 -1
- package/package.json +4 -4
package/dist/box/box.d.mts
CHANGED
|
@@ -3,7 +3,7 @@ import { O as OverridableComponent } from '../utils-BfZsjuFH.mjs';
|
|
|
3
3
|
|
|
4
4
|
interface BoxProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
5
5
|
variant?: "light-grey" | "lighter" | "white" | "warning";
|
|
6
|
-
children
|
|
6
|
+
children?: React.ReactNode;
|
|
7
7
|
/**
|
|
8
8
|
* If `true`, a close button will be shown.
|
|
9
9
|
* Use when you want to control the close button using the BoxCloseButton component.
|
package/dist/box/box.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { O as OverridableComponent } from '../utils-BfZsjuFH.js';
|
|
|
3
3
|
|
|
4
4
|
interface BoxProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
5
5
|
variant?: "light-grey" | "lighter" | "white" | "warning";
|
|
6
|
-
children
|
|
6
|
+
children?: React.ReactNode;
|
|
7
7
|
/**
|
|
8
8
|
* If `true`, a close button will be shown.
|
|
9
9
|
* Use when you want to control the close button using the BoxCloseButton component.
|
|
@@ -28,7 +28,7 @@ function BaseList(_a) {
|
|
|
28
28
|
"hds-list",
|
|
29
29
|
`hds-list--${size}`,
|
|
30
30
|
{
|
|
31
|
-
"hds-list--
|
|
31
|
+
"hds-list--no-bullets": listStyle === "no-bullets"
|
|
32
32
|
},
|
|
33
33
|
className
|
|
34
34
|
)
|
|
@@ -44,7 +44,7 @@ function OrderedList(props) {
|
|
|
44
44
|
return /* @__PURE__ */ jsx(BaseList, __spreadProps(__spreadValues({ as: "ol" }, props), { children: props.children }));
|
|
45
45
|
}
|
|
46
46
|
BaseList.displayName = "BaseList";
|
|
47
|
-
OrderedList.displayName = "
|
|
47
|
+
OrderedList.displayName = "OrderedList";
|
|
48
48
|
UnorderedList.displayName = "UnorderedList";
|
|
49
49
|
|
|
50
50
|
export {
|
package/dist/index.js
CHANGED
|
@@ -296,7 +296,7 @@ function BaseList(_a) {
|
|
|
296
296
|
"hds-list",
|
|
297
297
|
`hds-list--${size}`,
|
|
298
298
|
{
|
|
299
|
-
"hds-list--
|
|
299
|
+
"hds-list--no-bullets": listStyle === "no-bullets"
|
|
300
300
|
},
|
|
301
301
|
className
|
|
302
302
|
)
|
|
@@ -312,7 +312,7 @@ function OrderedList(props) {
|
|
|
312
312
|
return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(BaseList, __spreadProps(__spreadValues({ as: "ol" }, props), { children: props.children }));
|
|
313
313
|
}
|
|
314
314
|
BaseList.displayName = "BaseList";
|
|
315
|
-
OrderedList.displayName = "
|
|
315
|
+
OrderedList.displayName = "OrderedList";
|
|
316
316
|
UnorderedList.displayName = "UnorderedList";
|
|
317
317
|
|
|
318
318
|
// src/list/link-list.tsx
|
package/dist/index.mjs
CHANGED
|
@@ -6,11 +6,11 @@ import {
|
|
|
6
6
|
} from "./chunk-6XSKLHN6.mjs";
|
|
7
7
|
import {
|
|
8
8
|
LinkList
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-BRBGRJ2I.mjs";
|
|
10
10
|
import {
|
|
11
11
|
OrderedList,
|
|
12
12
|
UnorderedList
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-RY53CJI7.mjs";
|
|
14
14
|
import {
|
|
15
15
|
MessageComponent
|
|
16
16
|
} from "./chunk-6AW5BEDP.mjs";
|
|
@@ -4,13 +4,13 @@ import { HTMLAttributes, ReactNode } from 'react';
|
|
|
4
4
|
type DescriptionDetailsProps = DLDTProps;
|
|
5
5
|
type DescriptionTermProps = DLDTProps;
|
|
6
6
|
interface DLDTProps extends HTMLAttributes<HTMLBaseElement> {
|
|
7
|
-
children
|
|
7
|
+
children?: ReactNode;
|
|
8
8
|
}
|
|
9
9
|
interface DescriptionListProps extends HTMLAttributes<HTMLDListElement> {
|
|
10
10
|
/**
|
|
11
11
|
* Either `DescriptionDetails` or `DescriptionTerm` elements
|
|
12
12
|
*/
|
|
13
|
-
children
|
|
13
|
+
children?: ReactNode;
|
|
14
14
|
/**
|
|
15
15
|
* Direction of the description list
|
|
16
16
|
*/
|
|
@@ -4,13 +4,13 @@ import { HTMLAttributes, ReactNode } from 'react';
|
|
|
4
4
|
type DescriptionDetailsProps = DLDTProps;
|
|
5
5
|
type DescriptionTermProps = DLDTProps;
|
|
6
6
|
interface DLDTProps extends HTMLAttributes<HTMLBaseElement> {
|
|
7
|
-
children
|
|
7
|
+
children?: ReactNode;
|
|
8
8
|
}
|
|
9
9
|
interface DescriptionListProps extends HTMLAttributes<HTMLDListElement> {
|
|
10
10
|
/**
|
|
11
11
|
* Either `DescriptionDetails` or `DescriptionTerm` elements
|
|
12
12
|
*/
|
|
13
|
-
children
|
|
13
|
+
children?: ReactNode;
|
|
14
14
|
/**
|
|
15
15
|
* Direction of the description list
|
|
16
16
|
*/
|
package/dist/list/index.js
CHANGED
|
@@ -123,7 +123,7 @@ function BaseList(_a) {
|
|
|
123
123
|
"hds-list",
|
|
124
124
|
`hds-list--${size}`,
|
|
125
125
|
{
|
|
126
|
-
"hds-list--
|
|
126
|
+
"hds-list--no-bullets": listStyle === "no-bullets"
|
|
127
127
|
},
|
|
128
128
|
className
|
|
129
129
|
)
|
|
@@ -139,7 +139,7 @@ function OrderedList(props) {
|
|
|
139
139
|
return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(BaseList, __spreadProps(__spreadValues({ as: "ol" }, props), { children: props.children }));
|
|
140
140
|
}
|
|
141
141
|
BaseList.displayName = "BaseList";
|
|
142
|
-
OrderedList.displayName = "
|
|
142
|
+
OrderedList.displayName = "OrderedList";
|
|
143
143
|
UnorderedList.displayName = "UnorderedList";
|
|
144
144
|
|
|
145
145
|
// src/list/link-list.tsx
|
package/dist/list/index.mjs
CHANGED
|
@@ -6,11 +6,11 @@ import {
|
|
|
6
6
|
} from "../chunk-6XSKLHN6.mjs";
|
|
7
7
|
import {
|
|
8
8
|
LinkList
|
|
9
|
-
} from "../chunk-
|
|
9
|
+
} from "../chunk-BRBGRJ2I.mjs";
|
|
10
10
|
import {
|
|
11
11
|
OrderedList,
|
|
12
12
|
UnorderedList
|
|
13
|
-
} from "../chunk-
|
|
13
|
+
} from "../chunk-RY53CJI7.mjs";
|
|
14
14
|
import "../chunk-FUJQIYOF.mjs";
|
|
15
15
|
export {
|
|
16
16
|
DescriptionDetails,
|
|
@@ -3,7 +3,7 @@ import * as React from 'react';
|
|
|
3
3
|
import { ListProps } from './list.mjs';
|
|
4
4
|
|
|
5
5
|
interface LinkListProps extends Omit<ListProps, "listStyle"> {
|
|
6
|
-
children
|
|
6
|
+
children?: React.ReactElement<HTMLLIElement> | React.ReactElement<HTMLLIElement>[];
|
|
7
7
|
}
|
|
8
8
|
declare function LinkList(props: LinkListProps): react_jsx_runtime.JSX.Element;
|
|
9
9
|
declare namespace LinkList {
|
package/dist/list/link-list.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import * as React from 'react';
|
|
|
3
3
|
import { ListProps } from './list.js';
|
|
4
4
|
|
|
5
5
|
interface LinkListProps extends Omit<ListProps, "listStyle"> {
|
|
6
|
-
children
|
|
6
|
+
children?: React.ReactElement<HTMLLIElement> | React.ReactElement<HTMLLIElement>[];
|
|
7
7
|
}
|
|
8
8
|
declare function LinkList(props: LinkListProps): react_jsx_runtime.JSX.Element;
|
|
9
9
|
declare namespace LinkList {
|
package/dist/list/link-list.js
CHANGED
|
@@ -77,7 +77,7 @@ function BaseList(_a) {
|
|
|
77
77
|
"hds-list",
|
|
78
78
|
`hds-list--${size}`,
|
|
79
79
|
{
|
|
80
|
-
"hds-list--
|
|
80
|
+
"hds-list--no-bullets": listStyle === "no-bullets"
|
|
81
81
|
},
|
|
82
82
|
className
|
|
83
83
|
)
|
|
@@ -93,7 +93,7 @@ function OrderedList(props) {
|
|
|
93
93
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(BaseList, __spreadProps(__spreadValues({ as: "ol" }, props), { children: props.children }));
|
|
94
94
|
}
|
|
95
95
|
BaseList.displayName = "BaseList";
|
|
96
|
-
OrderedList.displayName = "
|
|
96
|
+
OrderedList.displayName = "OrderedList";
|
|
97
97
|
UnorderedList.displayName = "UnorderedList";
|
|
98
98
|
|
|
99
99
|
// src/list/link-list.tsx
|
package/dist/list/link-list.mjs
CHANGED
package/dist/list/list.d.mts
CHANGED
|
@@ -3,7 +3,7 @@ import * as React from 'react';
|
|
|
3
3
|
import { HTMLAttributes } from 'react';
|
|
4
4
|
|
|
5
5
|
interface ListProps extends HTMLAttributes<HTMLOListElement | HTMLUListElement> {
|
|
6
|
-
children
|
|
6
|
+
children?: React.ReactElement<HTMLLIElement> | React.ReactElement<HTMLLIElement>[];
|
|
7
7
|
/**
|
|
8
8
|
* Inherit list styles or do not show these
|
|
9
9
|
*/
|
package/dist/list/list.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import * as React from 'react';
|
|
|
3
3
|
import { HTMLAttributes } from 'react';
|
|
4
4
|
|
|
5
5
|
interface ListProps extends HTMLAttributes<HTMLOListElement | HTMLUListElement> {
|
|
6
|
-
children
|
|
6
|
+
children?: React.ReactElement<HTMLLIElement> | React.ReactElement<HTMLLIElement>[];
|
|
7
7
|
/**
|
|
8
8
|
* Inherit list styles or do not show these
|
|
9
9
|
*/
|
package/dist/list/list.js
CHANGED
|
@@ -76,7 +76,7 @@ function BaseList(_a) {
|
|
|
76
76
|
"hds-list",
|
|
77
77
|
`hds-list--${size}`,
|
|
78
78
|
{
|
|
79
|
-
"hds-list--
|
|
79
|
+
"hds-list--no-bullets": listStyle === "no-bullets"
|
|
80
80
|
},
|
|
81
81
|
className
|
|
82
82
|
)
|
|
@@ -92,7 +92,7 @@ function OrderedList(props) {
|
|
|
92
92
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(BaseList, __spreadProps(__spreadValues({ as: "ol" }, props), { children: props.children }));
|
|
93
93
|
}
|
|
94
94
|
BaseList.displayName = "BaseList";
|
|
95
|
-
OrderedList.displayName = "
|
|
95
|
+
OrderedList.displayName = "OrderedList";
|
|
96
96
|
UnorderedList.displayName = "UnorderedList";
|
|
97
97
|
// Annotate the CommonJS export names for ESM import in node:
|
|
98
98
|
0 && (module.exports = {
|
package/dist/list/list.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@postenbring/hedwig-react",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.12",
|
|
4
4
|
"main": "./dist/index.js",
|
|
5
5
|
"module": "./dist/index.mjs",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"dist/**"
|
|
11
11
|
],
|
|
12
12
|
"devDependencies": {
|
|
13
|
-
"@types/react": "^18.2.
|
|
13
|
+
"@types/react": "^18.2.41",
|
|
14
14
|
"@types/react-dom": "^18.2.15",
|
|
15
15
|
"react": "^18.2.0",
|
|
16
16
|
"tsup": "^8.0.1",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"hedwig-tsconfig": "0.0.0"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@postenbring/hedwig-css": "0.0.
|
|
22
|
+
"@postenbring/hedwig-css": "0.0.11"
|
|
23
23
|
},
|
|
24
24
|
"publishConfig": {
|
|
25
25
|
"access": "public"
|
|
@@ -29,6 +29,6 @@
|
|
|
29
29
|
"dev": "tsup --format esm,cjs --watch --dts --external react",
|
|
30
30
|
"lint": "eslint src/",
|
|
31
31
|
"typecheck": "tsc --noEmit",
|
|
32
|
-
"clean": "rm -rf .turbo
|
|
32
|
+
"clean": "rm -rf .turbo node_modules dist"
|
|
33
33
|
}
|
|
34
34
|
}
|