@postenbring/hedwig-react 0.0.0-validation-message-2-20260629122018 → 0.0.0-validation-message-2-20260629124635
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-NY5ULEJH.mjs → chunk-54HLJVAF.mjs} +2 -2
- package/dist/{chunk-CP67DUK7.mjs → chunk-OHPDYPZ5.mjs} +2 -4
- package/dist/chunk-OHPDYPZ5.mjs.map +1 -0
- package/dist/form/index.js +1 -3
- package/dist/form/index.js.map +1 -1
- package/dist/form/index.mjs +19 -19
- package/dist/form/radio-button/index.js +1 -3
- package/dist/form/radio-button/index.js.map +1 -1
- package/dist/form/radio-button/index.mjs +2 -2
- package/dist/form/radio-button/radio-button.js +1 -3
- package/dist/form/radio-button/radio-button.js.map +1 -1
- package/dist/form/radio-button/radio-button.mjs +2 -2
- package/dist/form/radio-button/radio-group.d.ts.map +1 -1
- package/dist/form/radio-button/radio-group.js +1 -3
- package/dist/form/radio-button/radio-group.js.map +1 -1
- package/dist/form/radio-button/radio-group.mjs +1 -1
- package/dist/index.js +1 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +26 -26
- package/dist/layout/index.mjs +3 -3
- package/package.json +2 -2
- package/src/form/radio-button/radio-group.tsx +1 -3
- package/dist/chunk-CP67DUK7.mjs.map +0 -1
- /package/dist/{chunk-NY5ULEJH.mjs.map → chunk-54HLJVAF.mjs.map} +0 -0
package/dist/index.mjs
CHANGED
|
@@ -75,14 +75,14 @@ import {
|
|
|
75
75
|
} from "./chunk-HOLFVKXQ.mjs";
|
|
76
76
|
import "./chunk-XMDDGSCF.mjs";
|
|
77
77
|
import "./chunk-BVG5VSZK.mjs";
|
|
78
|
-
import {
|
|
79
|
-
Container
|
|
80
|
-
} from "./chunk-4QZR2H72.mjs";
|
|
81
78
|
import "./chunk-G65EYZFQ.mjs";
|
|
82
79
|
import {
|
|
83
80
|
Grid,
|
|
84
81
|
GridItem
|
|
85
82
|
} from "./chunk-TC5PD4TA.mjs";
|
|
83
|
+
import {
|
|
84
|
+
Container
|
|
85
|
+
} from "./chunk-4QZR2H72.mjs";
|
|
86
86
|
import "./chunk-ZQHLYAJU.mjs";
|
|
87
87
|
import {
|
|
88
88
|
HStack,
|
|
@@ -105,6 +105,18 @@ import {
|
|
|
105
105
|
FooterLogo
|
|
106
106
|
} from "./chunk-QDG2QLFV.mjs";
|
|
107
107
|
import "./chunk-CVE23PMJ.mjs";
|
|
108
|
+
import "./chunk-AGZHQDCQ.mjs";
|
|
109
|
+
import {
|
|
110
|
+
Textarea
|
|
111
|
+
} from "./chunk-NMW3IWZ4.mjs";
|
|
112
|
+
import "./chunk-CAIGPMDS.mjs";
|
|
113
|
+
import {
|
|
114
|
+
SearchWrapper
|
|
115
|
+
} from "./chunk-ZIVURWHY.mjs";
|
|
116
|
+
import "./chunk-7LPYJC6S.mjs";
|
|
117
|
+
import {
|
|
118
|
+
Input
|
|
119
|
+
} from "./chunk-J2DJ6ELO.mjs";
|
|
108
120
|
import "./chunk-BYEJZSG5.mjs";
|
|
109
121
|
import {
|
|
110
122
|
Select
|
|
@@ -112,24 +124,11 @@ import {
|
|
|
112
124
|
import "./chunk-XAFNJELJ.mjs";
|
|
113
125
|
import {
|
|
114
126
|
RadioButton
|
|
115
|
-
} from "./chunk-
|
|
127
|
+
} from "./chunk-54HLJVAF.mjs";
|
|
116
128
|
import {
|
|
117
129
|
RadioGroup,
|
|
118
130
|
useRadioGroupContext
|
|
119
|
-
} from "./chunk-
|
|
120
|
-
import "./chunk-CAIGPMDS.mjs";
|
|
121
|
-
import {
|
|
122
|
-
SearchWrapper
|
|
123
|
-
} from "./chunk-ZIVURWHY.mjs";
|
|
124
|
-
import "./chunk-AGZHQDCQ.mjs";
|
|
125
|
-
import {
|
|
126
|
-
Textarea
|
|
127
|
-
} from "./chunk-NMW3IWZ4.mjs";
|
|
128
|
-
import "./chunk-KPPLVGZ3.mjs";
|
|
129
|
-
import "./chunk-7LPYJC6S.mjs";
|
|
130
|
-
import {
|
|
131
|
-
Input
|
|
132
|
-
} from "./chunk-J2DJ6ELO.mjs";
|
|
131
|
+
} from "./chunk-OHPDYPZ5.mjs";
|
|
133
132
|
import "./chunk-YJOOSTJC.mjs";
|
|
134
133
|
import {
|
|
135
134
|
Checkbox
|
|
@@ -152,6 +151,11 @@ import {
|
|
|
152
151
|
import "./chunk-Y5SUMFYJ.mjs";
|
|
153
152
|
import "./chunk-GIFDGUFW.mjs";
|
|
154
153
|
import "./chunk-NSLSA7F7.mjs";
|
|
154
|
+
import "./chunk-KPPLVGZ3.mjs";
|
|
155
|
+
import {
|
|
156
|
+
ErrorSummary
|
|
157
|
+
} from "./chunk-NAXSP4VU.mjs";
|
|
158
|
+
import "./chunk-CKAL5ZJZ.mjs";
|
|
155
159
|
import {
|
|
156
160
|
ErrorMessage
|
|
157
161
|
} from "./chunk-77UAHNU6.mjs";
|
|
@@ -159,10 +163,6 @@ import "./chunk-5M6MEYM7.mjs";
|
|
|
159
163
|
import {
|
|
160
164
|
ValidationMessage
|
|
161
165
|
} from "./chunk-7REW23LO.mjs";
|
|
162
|
-
import {
|
|
163
|
-
ErrorSummary
|
|
164
|
-
} from "./chunk-NAXSP4VU.mjs";
|
|
165
|
-
import "./chunk-CKAL5ZJZ.mjs";
|
|
166
166
|
import "./chunk-XLLYMQLW.mjs";
|
|
167
167
|
import {
|
|
168
168
|
Link
|
|
@@ -180,14 +180,14 @@ import {
|
|
|
180
180
|
HelpText
|
|
181
181
|
} from "./chunk-INDTHGWZ.mjs";
|
|
182
182
|
import "./chunk-ISAHCU7C.mjs";
|
|
183
|
-
import "./chunk-Y6NOEN7R.mjs";
|
|
184
|
-
import {
|
|
185
|
-
ButtonList
|
|
186
|
-
} from "./chunk-ME746XCZ.mjs";
|
|
187
183
|
import "./chunk-HT2EIJAD.mjs";
|
|
188
184
|
import {
|
|
189
185
|
Button
|
|
190
186
|
} from "./chunk-45Q2TCH6.mjs";
|
|
187
|
+
import "./chunk-Y6NOEN7R.mjs";
|
|
188
|
+
import {
|
|
189
|
+
ButtonList
|
|
190
|
+
} from "./chunk-ME746XCZ.mjs";
|
|
191
191
|
import "./chunk-ARHJZUZG.mjs";
|
|
192
192
|
import {
|
|
193
193
|
Card,
|
package/dist/layout/index.mjs
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import "../chunk-BVG5VSZK.mjs";
|
|
2
|
-
import {
|
|
3
|
-
Container
|
|
4
|
-
} from "../chunk-4QZR2H72.mjs";
|
|
5
2
|
import "../chunk-G65EYZFQ.mjs";
|
|
6
3
|
import {
|
|
7
4
|
Grid,
|
|
8
5
|
GridItem
|
|
9
6
|
} from "../chunk-TC5PD4TA.mjs";
|
|
7
|
+
import {
|
|
8
|
+
Container
|
|
9
|
+
} from "../chunk-4QZR2H72.mjs";
|
|
10
10
|
import "../chunk-ZQHLYAJU.mjs";
|
|
11
11
|
import {
|
|
12
12
|
HStack,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@postenbring/hedwig-react",
|
|
3
|
-
"version": "0.0.0-validation-message-2-
|
|
3
|
+
"version": "0.0.0-validation-message-2-20260629124635",
|
|
4
4
|
"main": "./dist/index.js",
|
|
5
5
|
"module": "./dist/index.mjs",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -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": "0.0.0-validation-message-2-
|
|
34
|
+
"@postenbring/hedwig-css": "0.0.0-validation-message-2-20260629124635"
|
|
35
35
|
},
|
|
36
36
|
"publishConfig": {
|
|
37
37
|
"access": "public"
|
|
@@ -24,9 +24,7 @@ type RadioGroupContextProps = Pick<RadioGroupProps, "name" | "value" | "onChange
|
|
|
24
24
|
|
|
25
25
|
const RadioGroupContext = createContext<RadioGroupContextProps>({
|
|
26
26
|
name: undefined,
|
|
27
|
-
onChange: () =>
|
|
28
|
-
return undefined;
|
|
29
|
-
},
|
|
27
|
+
onChange: () => undefined,
|
|
30
28
|
size: undefined,
|
|
31
29
|
});
|
|
32
30
|
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/form/radio-button/radio-group.tsx"],"sourcesContent":["import {\n type ChangeEventHandler,\n createContext,\n forwardRef,\n type InputHTMLAttributes,\n type ReactNode,\n useContext,\n} from \"react\";\nimport { FieldsetDescription } from \"../fieldset/fieldset-description\";\nimport { Fieldset, type FieldsetProps } from \"../fieldset\";\nimport { FieldsetLegend } from \"../fieldset/fieldset-legend\";\n\nexport interface RadioGroupProps extends Omit<FieldsetProps, \"onChange\"> {\n children: ReactNode;\n /** Will be passed to all Radio buttons within the radio group */\n name?: InputHTMLAttributes<HTMLInputElement>[\"name\"];\n /** If you want the group to be controlled, you can pass the selected value here */\n value?: InputHTMLAttributes<HTMLInputElement>[\"value\"];\n /** Will be passed to all Radio buttons within the radio group */\n onChange?: ChangeEventHandler<HTMLInputElement> | undefined;\n}\n\ntype RadioGroupContextProps = Pick<RadioGroupProps, \"name\" | \"value\" | \"onChange\" | \"size\">;\n\nconst RadioGroupContext = createContext<RadioGroupContextProps>({\n name: undefined,\n onChange: () => {\n return undefined;\n },\n size: undefined,\n});\n\nexport const useRadioGroupContext = () => useContext(RadioGroupContext);\n\nexport const RadioGroup = forwardRef<HTMLFieldSetElement, RadioGroupProps>(function RadioGroup(\n { name, value, onChange, children, size, ...rest },\n ref,\n) {\n return (\n <RadioGroupContext.Provider value={{ name, value, onChange, size }}>\n <Fieldset size={size} {...rest} ref={ref}>\n {children}\n </Fieldset>\n </RadioGroupContext.Provider>\n );\n}) as RadioGroupType;\n\ntype RadioGroupType = ReturnType<typeof forwardRef<HTMLFieldSetElement, RadioGroupProps>> & {\n Description: typeof FieldsetDescription;\n Legend: typeof FieldsetLegend;\n};\n\nRadioGroup.Description = FieldsetDescription;\nRadioGroup.Legend = FieldsetLegend;\n\nRadioGroup.displayName = \"RadioGroup\";\n"],"mappings":";;;;;;;;;;;;;;;;AAAA;AAAA,EAEE;AAAA,EACA;AAAA,EAGA;AAAA,OACK;AAiCD;AAhBN,IAAM,oBAAoB,cAAsC;AAAA,EAC9D,MAAM;AAAA,EACN,UAAU,MAAM;AACd,WAAO;AAAA,EACT;AAAA,EACA,MAAM;AACR,CAAC;AAEM,IAAM,uBAAuB,MAAM,WAAW,iBAAiB;AAE/D,IAAM,aAAa,WAAiD,SAASA,YAClF,IACA,KACA;AAFA,eAAE,QAAM,OAAO,UAAU,UAAU,KAnCrC,IAmCE,IAA4C,iBAA5C,IAA4C,CAA1C,QAAM,SAAO,YAAU,YAAU;AAGnC,SACE,oBAAC,kBAAkB,UAAlB,EAA2B,OAAO,EAAE,MAAM,OAAO,UAAU,KAAK,GAC/D,8BAAC,yCAAS,QAAgB,OAAzB,EAA+B,KAC7B,WACH,GACF;AAEJ,CAAC;AAOD,WAAW,cAAc;AACzB,WAAW,SAAS;AAEpB,WAAW,cAAc;","names":["RadioGroup"]}
|
|
File without changes
|