@postenbring/hedwig-react 4.1.0 → 4.1.1
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/{chunk-F7MLQ6JI.mjs → chunk-WNYCOHSD.mjs} +11 -2
- package/dist/{chunk-F7MLQ6JI.mjs.map → chunk-WNYCOHSD.mjs.map} +1 -1
- package/dist/form/error-summary/error-summary.d.ts.map +1 -1
- package/dist/form/error-summary/error-summary.js +10 -1
- package/dist/form/error-summary/error-summary.js.map +1 -1
- package/dist/form/error-summary/error-summary.mjs +1 -1
- package/dist/form/error-summary/index.js +10 -1
- package/dist/form/error-summary/index.js.map +1 -1
- package/dist/form/error-summary/index.mjs +1 -1
- package/dist/form/index.js +10 -1
- package/dist/form/index.js.map +1 -1
- package/dist/form/index.mjs +5 -5
- package/dist/index.js +10 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +9 -9
- package/package.json +4 -4
- package/src/accordion/accordion.stories.tsx +1 -1
- package/src/alert/alert.stories.tsx +1 -1
- package/src/badge/badge.stories.tsx +1 -1
- package/src/blockquote/blockquote.stories.tsx +1 -1
- package/src/box/box.stories.tsx +1 -1
- package/src/breadcrumbs/breadcrumbs.stories.tsx +1 -1
- package/src/button/button.stories.tsx +1 -1
- package/src/button-list/button-list.stories.tsx +1 -1
- package/src/card/card.stories.tsx +10 -9
- package/src/description-list/description-list.stories.tsx +1 -1
- package/src/figure/figure.stories.tsx +1 -1
- package/src/form/checkbox/checkbox.stories.tsx +1 -1
- package/src/form/date-picker/date-picker.stories.tsx +1 -1
- package/src/form/error-message/error-message.stories.tsx +1 -1
- package/src/form/error-summary/error-summary.stories.tsx +1 -1
- package/src/form/error-summary/error-summary.tsx +6 -1
- package/src/form/fieldset/fieldset.stories.tsx +1 -1
- package/src/form/input/input.stories.tsx +1 -1
- package/src/form/radio-button/radio-button.stories.tsx +1 -1
- package/src/form/radio-button/radio-group.stories.tsx +1 -1
- package/src/form/search-wrapper/search-wrapper.stories.tsx +1 -1
- package/src/form/select/select.stories.tsx +1 -1
- package/src/form/textarea/textarea.stories.tsx +1 -1
- package/src/help-text/help-text.stories.tsx +1 -1
- package/src/layout/container/container.stories.tsx +1 -1
- package/src/layout/grid/grid.stories.tsx +1 -1
- package/src/layout/stack/stack.stories.tsx +1 -1
- package/src/link/link.stories.tsx +1 -1
- package/src/list/link-list.stories.tsx +1 -1
- package/src/list/list.stories.tsx +1 -1
- package/src/message/message.stories.tsx +1 -1
- package/src/modal/modal.stories.tsx +1 -1
- package/src/navbar/navbar.stories.tsx +1 -1
- package/src/show-more/show-more.stories.tsx +1 -1
- package/src/skeleton/skeleton.stories.tsx +1 -1
- package/src/spinner/spinner.stories.tsx +1 -1
- package/src/step-indicator/step-indicator.stories.tsx +1 -1
- package/src/styled-html/styled-html.stories.tsx +1 -1
- package/src/table/table.stories.tsx +1 -1
- package/src/tabs/tabs.stories.tsx +1 -1
- package/src/text/text.stories.tsx +1 -1
- package/src/warning-banner/warning-banner.stories.tsx +1 -1
package/dist/index.mjs
CHANGED
|
@@ -35,14 +35,14 @@ import "./chunk-JTZPQHKD.mjs";
|
|
|
35
35
|
import {
|
|
36
36
|
Skeleton
|
|
37
37
|
} from "./chunk-B6T36QDV.mjs";
|
|
38
|
-
import "./chunk-AJFQHFQT.mjs";
|
|
39
|
-
import {
|
|
40
|
-
Spinner
|
|
41
|
-
} from "./chunk-ZTZAPNZB.mjs";
|
|
42
38
|
import "./chunk-TJH5QJMS.mjs";
|
|
43
39
|
import {
|
|
44
40
|
StepIndicator
|
|
45
41
|
} from "./chunk-XQBJ75VD.mjs";
|
|
42
|
+
import "./chunk-AJFQHFQT.mjs";
|
|
43
|
+
import {
|
|
44
|
+
Spinner
|
|
45
|
+
} from "./chunk-ZTZAPNZB.mjs";
|
|
46
46
|
import "./chunk-RC76SXBP.mjs";
|
|
47
47
|
import {
|
|
48
48
|
Message,
|
|
@@ -109,6 +109,10 @@ import "./chunk-CAIGPMDS.mjs";
|
|
|
109
109
|
import {
|
|
110
110
|
SearchWrapper
|
|
111
111
|
} from "./chunk-ZIVURWHY.mjs";
|
|
112
|
+
import "./chunk-7LPYJC6S.mjs";
|
|
113
|
+
import {
|
|
114
|
+
Input
|
|
115
|
+
} from "./chunk-6BDVJ3J2.mjs";
|
|
112
116
|
import "./chunk-BYEJZSG5.mjs";
|
|
113
117
|
import {
|
|
114
118
|
Select
|
|
@@ -118,10 +122,6 @@ import {
|
|
|
118
122
|
Textarea
|
|
119
123
|
} from "./chunk-7T2GDVFS.mjs";
|
|
120
124
|
import "./chunk-KPPLVGZ3.mjs";
|
|
121
|
-
import "./chunk-7LPYJC6S.mjs";
|
|
122
|
-
import {
|
|
123
|
-
Input
|
|
124
|
-
} from "./chunk-6BDVJ3J2.mjs";
|
|
125
125
|
import "./chunk-XAFNJELJ.mjs";
|
|
126
126
|
import {
|
|
127
127
|
RadioButton
|
|
@@ -151,7 +151,7 @@ import {
|
|
|
151
151
|
} from "./chunk-LHIG6RW7.mjs";
|
|
152
152
|
import {
|
|
153
153
|
ErrorSummary
|
|
154
|
-
} from "./chunk-
|
|
154
|
+
} from "./chunk-WNYCOHSD.mjs";
|
|
155
155
|
import "./chunk-CKAL5ZJZ.mjs";
|
|
156
156
|
import "./chunk-XLLYMQLW.mjs";
|
|
157
157
|
import {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@postenbring/hedwig-react",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.1",
|
|
4
4
|
"main": "./dist/index.js",
|
|
5
5
|
"module": "./dist/index.mjs",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -19,8 +19,8 @@
|
|
|
19
19
|
"react-dom": "18.3.1",
|
|
20
20
|
"tsup": "^8.5.0",
|
|
21
21
|
"typescript": "^5.8.3",
|
|
22
|
-
"
|
|
23
|
-
"
|
|
22
|
+
"eslint-config-custom": "0.0.1",
|
|
23
|
+
"hedwig-tsconfig": "0.0.0"
|
|
24
24
|
},
|
|
25
25
|
"peerDependencies": {
|
|
26
26
|
"@types/react": "^17.0.0 || ^18.0.0 || ^19.0.0",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"@radix-ui/react-popover": "1.1.14",
|
|
33
33
|
"@radix-ui/react-slot": "1.2.3",
|
|
34
|
-
"@postenbring/hedwig-css": "4.1.
|
|
34
|
+
"@postenbring/hedwig-css": "4.1.1"
|
|
35
35
|
},
|
|
36
36
|
"publishConfig": {
|
|
37
37
|
"access": "public"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* eslint-disable import/no-extraneous-dependencies -- storybook story */
|
|
2
|
-
import type { Meta, StoryObj } from "@storybook/react";
|
|
2
|
+
import type { Meta, StoryObj } from "@storybook/react-vite";
|
|
3
3
|
import { Accordion } from ".";
|
|
4
4
|
|
|
5
5
|
const meta: Meta<typeof Accordion> = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* eslint-disable import/no-extraneous-dependencies -- storybook story */
|
|
2
|
-
import type { Meta, StoryObj } from "@storybook/react";
|
|
2
|
+
import type { Meta, StoryObj } from "@storybook/react-vite";
|
|
3
3
|
import { Blockquote } from ".";
|
|
4
4
|
|
|
5
5
|
const meta: Meta<typeof Blockquote> = {
|
package/src/box/box.stories.tsx
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* eslint-disable import/no-extraneous-dependencies -- storybook story */
|
|
2
|
-
import type { Meta, StoryObj } from "@storybook/react";
|
|
2
|
+
import type { Meta, StoryObj } from "@storybook/react-vite";
|
|
3
3
|
import { Text } from "../text";
|
|
4
4
|
import { Link } from "../link";
|
|
5
5
|
import { Box } from ".";
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
/* eslint-disable import/no-extraneous-dependencies -- storybook story */
|
|
2
|
-
import type { Meta, StoryObj } from "@storybook/react";
|
|
2
|
+
import type { Meta, StoryObj } from "@storybook/react-vite";
|
|
3
|
+
import { Link } from "../link";
|
|
3
4
|
import { Card } from ".";
|
|
4
5
|
|
|
5
6
|
const meta: Meta<typeof Card> = {
|
|
@@ -25,17 +26,17 @@ export const Preview: Story = {
|
|
|
25
26
|
<Card.Body>
|
|
26
27
|
<Card.BodyHeader as="h2">
|
|
27
28
|
<Card.BodyHeaderOverline>Theme</Card.BodyHeaderOverline>
|
|
28
|
-
<Card.BodyHeaderTitle
|
|
29
|
-
<a href="#article">Cool article</a>
|
|
30
|
-
</Card.BodyHeaderTitle>
|
|
29
|
+
<Card.BodyHeaderTitle>Cool article</Card.BodyHeaderTitle>
|
|
31
30
|
</Card.BodyHeader>
|
|
32
31
|
<Card.BodyDescription>
|
|
33
|
-
This is a card
|
|
34
|
-
<code>Link</code> component, or a link component from your routing library. The link
|
|
35
|
-
component of your choice should be set with the <code>as</code> property on the body
|
|
36
|
-
header title. The card component provides a lot of flexibility.
|
|
32
|
+
This is a card The card component provides a lot of flexibility.
|
|
37
33
|
</Card.BodyDescription>
|
|
38
|
-
<Card.
|
|
34
|
+
<Card.BodyAction asChild>
|
|
35
|
+
<Link href="#article-1" variant="solid">
|
|
36
|
+
<Card.BodyActionArrow />
|
|
37
|
+
Go to this article
|
|
38
|
+
</Link>
|
|
39
|
+
</Card.BodyAction>
|
|
39
40
|
</Card.Body>
|
|
40
41
|
</Card>
|
|
41
42
|
),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* eslint-disable import/no-extraneous-dependencies -- storybook story */
|
|
2
|
-
import type { Meta, StoryObj } from "@storybook/react";
|
|
2
|
+
import type { Meta, StoryObj } from "@storybook/react-vite";
|
|
3
3
|
import { DescriptionList } from ".";
|
|
4
4
|
|
|
5
5
|
type Story = StoryObj<typeof DescriptionList>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* eslint-disable import/no-extraneous-dependencies -- storybook story */
|
|
2
|
-
import type { Meta, StoryObj } from "@storybook/react";
|
|
2
|
+
import type { Meta, StoryObj } from "@storybook/react-vite";
|
|
3
3
|
import { Checkbox } from "./index";
|
|
4
4
|
|
|
5
5
|
const meta: Meta<typeof Checkbox> = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* eslint-disable import/no-extraneous-dependencies -- storybook story */
|
|
2
|
-
import type { Meta, StoryObj } from "@storybook/react";
|
|
2
|
+
import type { Meta, StoryObj } from "@storybook/react-vite";
|
|
3
3
|
import { DatePicker } from ".";
|
|
4
4
|
|
|
5
5
|
const meta: Meta<typeof DatePicker> = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* eslint-disable import/no-extraneous-dependencies -- storybook story */
|
|
2
|
-
import type { Meta, StoryObj } from "@storybook/react";
|
|
2
|
+
import type { Meta, StoryObj } from "@storybook/react-vite";
|
|
3
3
|
import { ErrorMessage } from ".";
|
|
4
4
|
|
|
5
5
|
const meta: Meta<typeof ErrorMessage> = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* eslint-disable import/no-extraneous-dependencies -- storybook story */
|
|
2
|
-
import type { Meta, StoryObj } from "@storybook/react";
|
|
2
|
+
import type { Meta, StoryObj } from "@storybook/react-vite";
|
|
3
3
|
import { ErrorSummary } from ".";
|
|
4
4
|
|
|
5
5
|
const meta: Meta<typeof ErrorSummary> = {
|
|
@@ -129,7 +129,12 @@ export type ErrorSummaryProps = Omit<
|
|
|
129
129
|
|
|
130
130
|
export const ErrorSummary = forwardRef<HTMLDivElement, ErrorSummaryProps>(
|
|
131
131
|
({ children, className, ...rest }, ref) => (
|
|
132
|
-
<Box
|
|
132
|
+
<Box
|
|
133
|
+
data-color="error"
|
|
134
|
+
ref={ref}
|
|
135
|
+
{...rest}
|
|
136
|
+
className={clsx(`hds-error-summary`, className as undefined)}
|
|
137
|
+
>
|
|
133
138
|
{children}
|
|
134
139
|
</Box>
|
|
135
140
|
),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* eslint-disable import/no-extraneous-dependencies -- storybook story */
|
|
2
|
-
import type { Meta, StoryObj } from "@storybook/react";
|
|
2
|
+
import type { Meta, StoryObj } from "@storybook/react-vite";
|
|
3
3
|
import { Checkbox } from "../checkbox";
|
|
4
4
|
import { Fieldset } from ".";
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* eslint-disable import/no-extraneous-dependencies -- storybook story */
|
|
2
|
-
import type { Meta, StoryObj } from "@storybook/react";
|
|
2
|
+
import type { Meta, StoryObj } from "@storybook/react-vite";
|
|
3
3
|
import { RadioButton } from "./index";
|
|
4
4
|
|
|
5
5
|
const meta: Meta<typeof RadioButton> = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* eslint-disable import/no-extraneous-dependencies -- storybook story */
|
|
2
|
-
import type { Meta, StoryObj } from "@storybook/react";
|
|
2
|
+
import type { Meta, StoryObj } from "@storybook/react-vite";
|
|
3
3
|
import { RadioGroup } from "./radio-group";
|
|
4
4
|
import { RadioButton } from "./index";
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* eslint-disable import/no-extraneous-dependencies -- storybook story */
|
|
2
|
-
import type { Meta, StoryObj } from "@storybook/react";
|
|
2
|
+
import type { Meta, StoryObj } from "@storybook/react-vite";
|
|
3
3
|
import { Input } from "../input";
|
|
4
4
|
import { Button } from "../../button";
|
|
5
5
|
import { SearchWrapper } from ".";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* eslint-disable import/no-extraneous-dependencies -- storybook story */
|
|
2
|
-
import type { Meta, StoryObj } from "@storybook/react";
|
|
2
|
+
import type { Meta, StoryObj } from "@storybook/react-vite";
|
|
3
3
|
import { HelpText } from ".";
|
|
4
4
|
|
|
5
5
|
type Story = StoryObj<typeof HelpText>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* eslint-disable import/no-extraneous-dependencies -- storybook story */
|
|
2
|
-
import type { Meta, StoryObj } from "@storybook/react";
|
|
2
|
+
import type { Meta, StoryObj } from "@storybook/react-vite";
|
|
3
3
|
import { useState, useEffect, useRef, useId } from "react";
|
|
4
4
|
import { Container, Grid } from "..";
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* eslint-disable import/no-extraneous-dependencies -- storybook story */
|
|
2
|
-
import type { Meta, StoryObj } from "@storybook/react";
|
|
2
|
+
import type { Meta, StoryObj } from "@storybook/react-vite";
|
|
3
3
|
import { Link } from "../link";
|
|
4
4
|
import { LinkList } from "./link-list";
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* eslint-disable import/no-extraneous-dependencies -- storybook story */
|
|
2
|
-
import type { StoryObj, Meta } from "@storybook/react";
|
|
2
|
+
import type { StoryObj, Meta } from "@storybook/react-vite";
|
|
3
3
|
import { HStack } from "../layout";
|
|
4
4
|
import { UnorderedList } from ".";
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* eslint-disable import/no-extraneous-dependencies -- storybook story */
|
|
2
|
-
import type { Meta, StoryObj } from "@storybook/react";
|
|
2
|
+
import type { Meta, StoryObj } from "@storybook/react-vite";
|
|
3
3
|
import { useRef } from "react";
|
|
4
4
|
import { Button } from "../button";
|
|
5
5
|
import { HStack } from "../layout";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* eslint-disable import/no-extraneous-dependencies -- storybook story */
|
|
2
2
|
|
|
3
|
-
import type { Meta, StoryObj } from "@storybook/react";
|
|
3
|
+
import type { Meta, StoryObj } from "@storybook/react-vite";
|
|
4
4
|
import { ShowMoreButton } from ".";
|
|
5
5
|
|
|
6
6
|
const meta: Meta<typeof ShowMoreButton> = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* eslint-disable import/no-extraneous-dependencies -- storybook story */
|
|
2
|
-
import type { Meta, StoryObj } from "@storybook/react";
|
|
2
|
+
import type { Meta, StoryObj } from "@storybook/react-vite";
|
|
3
3
|
import { StepIndicator } from ".";
|
|
4
4
|
|
|
5
5
|
const meta: Meta<typeof StepIndicator> = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* eslint-disable import/no-extraneous-dependencies -- storybook story */
|
|
2
|
-
import type { Meta, StoryObj } from "@storybook/react";
|
|
2
|
+
import type { Meta, StoryObj } from "@storybook/react-vite";
|
|
3
3
|
import { StyledHtml } from ".";
|
|
4
4
|
|
|
5
5
|
const meta: Meta<typeof StyledHtml> = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* eslint-disable import/no-extraneous-dependencies -- storybook story */
|
|
2
2
|
|
|
3
|
-
import type { Meta, StoryObj } from "@storybook/react";
|
|
3
|
+
import type { Meta, StoryObj } from "@storybook/react-vite";
|
|
4
4
|
import { WarningBanner } from ".";
|
|
5
5
|
|
|
6
6
|
const meta: Meta<typeof WarningBanner> = {
|