@gunkin/uiify 0.0.20-alpha → 0.0.22-alpha
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/agents/components.md +13 -0
- package/agents/index.md +31 -1
- package/agents/reference/components/alert.md +44 -0
- package/agents/reference/components/aspect-ratio.md +26 -0
- package/agents/reference/components/avatar.md +32 -0
- package/agents/reference/components/badge.md +31 -0
- package/agents/reference/components/card.md +24 -0
- package/agents/reference/components/checkbox.md +2 -0
- package/agents/reference/components/date-picker.md +23 -0
- package/agents/reference/components/description-list.md +38 -0
- package/agents/reference/components/empty.md +45 -0
- package/agents/reference/components/fieldset.md +31 -0
- package/agents/reference/components/form-error-summary.md +33 -0
- package/agents/reference/components/input-group.md +33 -0
- package/agents/reference/components/item.md +52 -0
- package/agents/reference/components/progress.md +16 -0
- package/dist/components/alert/Alert.d.ts +15 -0
- package/dist/components/alert/Alert.d.ts.map +1 -0
- package/dist/components/alert/Alert.js +61 -0
- package/dist/components/alert/Alert.js.map +1 -0
- package/dist/components/alert/index.d.ts +3 -0
- package/dist/components/alert/index.d.ts.map +1 -0
- package/dist/components/alert/index.js +7 -0
- package/dist/components/alert/index.js.map +1 -0
- package/dist/components/alert/types.d.ts +20 -0
- package/dist/components/alert/types.d.ts.map +1 -0
- package/dist/components/alert/types.js +1 -0
- package/dist/components/alert/types.js.map +1 -0
- package/dist/components/alert.d.ts +1 -0
- package/dist/components/alert.js +1 -0
- package/dist/components/aspect-ratio/AspectRatio.d.ts +7 -0
- package/dist/components/aspect-ratio/AspectRatio.d.ts.map +1 -0
- package/dist/components/aspect-ratio/AspectRatio.js +26 -0
- package/dist/components/aspect-ratio/AspectRatio.js.map +1 -0
- package/dist/components/aspect-ratio/index.d.ts +3 -0
- package/dist/components/aspect-ratio/index.d.ts.map +1 -0
- package/dist/components/aspect-ratio/index.js +5 -0
- package/dist/components/aspect-ratio/index.js.map +1 -0
- package/dist/components/aspect-ratio/types.d.ts +9 -0
- package/dist/components/aspect-ratio/types.d.ts.map +1 -0
- package/dist/components/aspect-ratio/types.js +1 -0
- package/dist/components/aspect-ratio/types.js.map +1 -0
- package/dist/components/aspect-ratio.d.ts +1 -0
- package/dist/components/aspect-ratio.js +1 -0
- package/dist/components/avatar/Avatar.d.ts +7 -0
- package/dist/components/avatar/Avatar.d.ts.map +1 -0
- package/dist/components/avatar/Avatar.js +24 -0
- package/dist/components/avatar/Avatar.js.map +1 -0
- package/dist/components/avatar/index.d.ts +3 -0
- package/dist/components/avatar/index.d.ts.map +1 -0
- package/dist/components/avatar/index.js +5 -0
- package/dist/components/avatar/index.js.map +1 -0
- package/dist/components/avatar/types.d.ts +12 -0
- package/dist/components/avatar/types.d.ts.map +1 -0
- package/dist/components/avatar/types.js +1 -0
- package/dist/components/avatar/types.js.map +1 -0
- package/dist/components/avatar.d.ts +1 -0
- package/dist/components/avatar.js +1 -0
- package/dist/components/badge/Badge.d.ts +7 -0
- package/dist/components/badge/Badge.d.ts.map +1 -0
- package/dist/components/badge/Badge.js +21 -0
- package/dist/components/badge/Badge.js.map +1 -0
- package/dist/components/badge/index.d.ts +3 -0
- package/dist/components/badge/index.d.ts.map +1 -0
- package/dist/components/badge/index.js +5 -0
- package/dist/components/badge/index.js.map +1 -0
- package/dist/components/badge/types.d.ts +11 -0
- package/dist/components/badge/types.d.ts.map +1 -0
- package/dist/components/badge/types.js +1 -0
- package/dist/components/badge/types.js.map +1 -0
- package/dist/components/badge.d.ts +1 -0
- package/dist/components/badge.js +1 -0
- package/dist/components/behavior.css +12 -0
- package/dist/components/behavior.css.map +1 -1
- package/dist/components/card/Card.d.ts +7 -0
- package/dist/components/card/Card.d.ts.map +1 -0
- package/dist/components/card/Card.js +16 -0
- package/dist/components/card/Card.js.map +1 -0
- package/dist/components/card/index.d.ts +3 -0
- package/dist/components/card/index.d.ts.map +1 -0
- package/dist/components/card/index.js +5 -0
- package/dist/components/card/index.js.map +1 -0
- package/dist/components/card/types.d.ts +7 -0
- package/dist/components/card/types.d.ts.map +1 -0
- package/dist/components/card/types.js +1 -0
- package/dist/components/card/types.js.map +1 -0
- package/dist/components/card.d.ts +1 -0
- package/dist/components/card.js +1 -0
- package/dist/components/checkbox/types.d.ts +2 -0
- package/dist/components/checkbox/types.d.ts.map +1 -1
- package/dist/components/date-picker/DatePicker.d.ts +7 -0
- package/dist/components/date-picker/DatePicker.d.ts.map +1 -0
- package/dist/components/date-picker/DatePicker.js +19 -0
- package/dist/components/date-picker/DatePicker.js.map +1 -0
- package/dist/components/date-picker/index.d.ts +3 -0
- package/dist/components/date-picker/index.d.ts.map +1 -0
- package/dist/components/date-picker/index.js +5 -0
- package/dist/components/date-picker/index.js.map +1 -0
- package/dist/components/date-picker/types.d.ts +5 -0
- package/dist/components/date-picker/types.d.ts.map +1 -0
- package/dist/components/date-picker/types.js +1 -0
- package/dist/components/date-picker/types.js.map +1 -0
- package/dist/components/date-picker.d.ts +1 -0
- package/dist/components/date-picker.js +1 -0
- package/dist/components/description-list/DescriptionList.d.ts +15 -0
- package/dist/components/description-list/DescriptionList.d.ts.map +1 -0
- package/dist/components/description-list/DescriptionList.js +48 -0
- package/dist/components/description-list/DescriptionList.js.map +1 -0
- package/dist/components/description-list/index.d.ts +3 -0
- package/dist/components/description-list/index.d.ts.map +1 -0
- package/dist/components/description-list/index.js +7 -0
- package/dist/components/description-list/index.js.map +1 -0
- package/dist/components/description-list/types.d.ts +15 -0
- package/dist/components/description-list/types.d.ts.map +1 -0
- package/dist/components/description-list/types.js +1 -0
- package/dist/components/description-list/types.js.map +1 -0
- package/dist/components/description-list.d.ts +1 -0
- package/dist/components/description-list.js +1 -0
- package/dist/components/empty/Empty.d.ts +19 -0
- package/dist/components/empty/Empty.d.ts.map +1 -0
- package/dist/components/empty/Empty.js +56 -0
- package/dist/components/empty/Empty.js.map +1 -0
- package/dist/components/empty/index.d.ts +3 -0
- package/dist/components/empty/index.d.ts.map +1 -0
- package/dist/components/empty/index.js +8 -0
- package/dist/components/empty/index.js.map +1 -0
- package/dist/components/empty/types.d.ts +19 -0
- package/dist/components/empty/types.d.ts.map +1 -0
- package/dist/components/empty/types.js +1 -0
- package/dist/components/empty/types.js.map +1 -0
- package/dist/components/empty.d.ts +1 -0
- package/dist/components/empty.js +1 -0
- package/dist/components/fieldset/Fieldset.d.ts +11 -0
- package/dist/components/fieldset/Fieldset.d.ts.map +1 -0
- package/dist/components/fieldset/Fieldset.js +38 -0
- package/dist/components/fieldset/Fieldset.js.map +1 -0
- package/dist/components/fieldset/index.d.ts +3 -0
- package/dist/components/fieldset/index.d.ts.map +1 -0
- package/dist/components/fieldset/index.js +6 -0
- package/dist/components/fieldset/index.js.map +1 -0
- package/dist/components/fieldset/types.d.ts +11 -0
- package/dist/components/fieldset/types.d.ts.map +1 -0
- package/dist/components/fieldset/types.js +1 -0
- package/dist/components/fieldset/types.js.map +1 -0
- package/dist/components/fieldset.d.ts +1 -0
- package/dist/components/fieldset.js +1 -0
- package/dist/components/form-error-summary/FormErrorSummary.d.ts +7 -0
- package/dist/components/form-error-summary/FormErrorSummary.d.ts.map +1 -0
- package/dist/components/form-error-summary/FormErrorSummary.js +25 -0
- package/dist/components/form-error-summary/FormErrorSummary.js.map +1 -0
- package/dist/components/form-error-summary/index.d.ts +3 -0
- package/dist/components/form-error-summary/index.d.ts.map +1 -0
- package/dist/components/form-error-summary/index.js +5 -0
- package/dist/components/form-error-summary/index.js.map +1 -0
- package/dist/components/form-error-summary/types.d.ts +12 -0
- package/dist/components/form-error-summary/types.d.ts.map +1 -0
- package/dist/components/form-error-summary/types.js +1 -0
- package/dist/components/form-error-summary/types.js.map +1 -0
- package/dist/components/form-error-summary.d.ts +1 -0
- package/dist/components/form-error-summary.js +1 -0
- package/dist/components/index.d.ts +13 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +13 -0
- package/dist/components/index.js.map +1 -1
- package/dist/components/input-group/InputGroup.d.ts +5 -0
- package/dist/components/input-group/InputGroup.d.ts.map +1 -0
- package/dist/components/input-group/InputGroup.js +37 -0
- package/dist/components/input-group/InputGroup.js.map +1 -0
- package/dist/components/input-group/index.d.ts +3 -0
- package/dist/components/input-group/index.d.ts.map +1 -0
- package/dist/components/input-group/index.js +6 -0
- package/dist/components/input-group/index.js.map +1 -0
- package/dist/components/input-group/types.d.ts +12 -0
- package/dist/components/input-group/types.d.ts.map +1 -0
- package/dist/components/input-group/types.js +1 -0
- package/dist/components/input-group/types.js.map +1 -0
- package/dist/components/input-group.d.ts +1 -0
- package/dist/components/input-group.js +1 -0
- package/dist/components/internal/native-check-control/NativeCheckControl.d.ts.map +1 -1
- package/dist/components/internal/native-check-control/NativeCheckControl.js +4 -0
- package/dist/components/internal/native-check-control/NativeCheckControl.js.map +1 -1
- package/dist/components/internal/native-check-control/types.d.ts +2 -0
- package/dist/components/internal/native-check-control/types.d.ts.map +1 -1
- package/dist/components/item/Item.d.ts +23 -0
- package/dist/components/item/Item.d.ts.map +1 -0
- package/dist/components/item/Item.js +64 -0
- package/dist/components/item/Item.js.map +1 -0
- package/dist/components/item/index.d.ts +3 -0
- package/dist/components/item/index.d.ts.map +1 -0
- package/dist/components/item/index.js +9 -0
- package/dist/components/item/index.js.map +1 -0
- package/dist/components/item/types.d.ts +23 -0
- package/dist/components/item/types.d.ts.map +1 -0
- package/dist/components/item/types.js +1 -0
- package/dist/components/item/types.js.map +1 -0
- package/dist/components/item.d.ts +1 -0
- package/dist/components/item.js +1 -0
- package/dist/components/progress/Progress.d.ts +7 -0
- package/dist/components/progress/Progress.d.ts.map +1 -0
- package/dist/components/progress/Progress.js +9 -0
- package/dist/components/progress/Progress.js.map +1 -0
- package/dist/components/progress/index.d.ts +3 -0
- package/dist/components/progress/index.d.ts.map +1 -0
- package/dist/components/progress/index.js +5 -0
- package/dist/components/progress/index.js.map +1 -0
- package/dist/components/progress/types.d.ts +3 -0
- package/dist/components/progress/types.d.ts.map +1 -0
- package/dist/components/progress/types.js +1 -0
- package/dist/components/progress/types.js.map +1 -0
- package/dist/components/progress.d.ts +1 -0
- package/dist/components/progress.js +1 -0
- package/dist/styles/index.css +1 -1
- package/package.json +1 -1
- package/skills/uiify/SKILL.md +42 -36
- package/skills/uiify/references/elements/alert-modal.md +5 -5
- package/skills/uiify/references/elements/aspect-ratio.md +59 -0
- package/skills/uiify/references/elements/avatar.md +10 -19
- package/skills/uiify/references/elements/badge.md +11 -19
- package/skills/uiify/references/elements/card.md +10 -21
- package/skills/uiify/references/elements/checkbox.md +1 -1
- package/skills/uiify/references/elements/date-picker.md +11 -15
- package/skills/uiify/references/elements/description-list.md +38 -0
- package/skills/uiify/references/elements/empty-state.md +12 -23
- package/skills/uiify/references/elements/field.md +2 -2
- package/skills/uiify/references/elements/fieldset.md +39 -0
- package/skills/uiify/references/elements/form-error-summary.md +39 -0
- package/skills/uiify/references/elements/inline-alert.md +11 -19
- package/skills/uiify/references/elements/input-group.md +39 -0
- package/skills/uiify/references/elements/item.md +39 -0
- package/skills/uiify/references/elements/modal.md +1 -1
- package/skills/uiify/references/elements/progress-bar.md +11 -20
- package/skills/uiify/references/elements/select.md +1 -1
- package/skills/uiify/references/examples/alert-confirmation.md +21 -9
- package/skills/uiify/references/examples/field-validation.md +2 -2
- package/skills/uiify/references/examples/select-basic.md +1 -1
- package/skills/uiify/references/examples/table-controls.md +3 -2
- package/skills/uiify/references/guides/verification.md +9 -0
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { ElementType, ReactElement } from "react";
|
|
2
|
+
import type { DescriptionDetailsProps, DescriptionListProps, DescriptionTermProps } from "./types.js";
|
|
3
|
+
export declare function DescriptionList<TAs extends ElementType = "dl">(props: DescriptionListProps<TAs>): ReactElement | null;
|
|
4
|
+
export declare namespace DescriptionList {
|
|
5
|
+
var displayName: string;
|
|
6
|
+
}
|
|
7
|
+
export declare function DescriptionTerm<TAs extends ElementType = "dt">(props: DescriptionTermProps<TAs>): ReactElement | null;
|
|
8
|
+
export declare namespace DescriptionTerm {
|
|
9
|
+
var displayName: string;
|
|
10
|
+
}
|
|
11
|
+
export declare function DescriptionDetails<TAs extends ElementType = "dd">(props: DescriptionDetailsProps<TAs>): ReactElement | null;
|
|
12
|
+
export declare namespace DescriptionDetails {
|
|
13
|
+
var displayName: string;
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=DescriptionList.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DescriptionList.d.ts","sourceRoot":"","sources":["../../../src/components/description-list/DescriptionList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAEvD,OAAO,KAAK,EACV,uBAAuB,EACvB,oBAAoB,EACpB,oBAAoB,EACrB,MAAM,YAAY,CAAC;AAEpB,wBAAgB,eAAe,CAAC,GAAG,SAAS,WAAW,GAAG,IAAI,EAC5D,KAAK,EAAE,oBAAoB,CAAC,GAAG,CAAC,GAC/B,YAAY,GAAG,IAAI,CASrB;yBAXe,eAAe;;;AAa/B,wBAAgB,eAAe,CAAC,GAAG,SAAS,WAAW,GAAG,IAAI,EAC5D,KAAK,EAAE,oBAAoB,CAAC,GAAG,CAAC,GAC/B,YAAY,GAAG,IAAI,CAarB;yBAfe,eAAe;;;AAiB/B,wBAAgB,kBAAkB,CAAC,GAAG,SAAS,WAAW,GAAG,IAAI,EAC/D,KAAK,EAAE,uBAAuB,CAAC,GAAG,CAAC,GAClC,YAAY,GAAG,IAAI,CAarB;yBAfe,kBAAkB"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { useRenderElement } from "@gunkin/uiify/core/render";
|
|
2
|
+
function DescriptionList(props) {
|
|
3
|
+
const { as, render, ...consumerProps } = props;
|
|
4
|
+
return useRenderElement({
|
|
5
|
+
as,
|
|
6
|
+
defaultTag: "dl",
|
|
7
|
+
props: { ...consumerProps, "data-uiify-description-list": "" },
|
|
8
|
+
render,
|
|
9
|
+
state: {}
|
|
10
|
+
});
|
|
11
|
+
}
|
|
12
|
+
function DescriptionTerm(props) {
|
|
13
|
+
const { as, render, ...consumerProps } = props;
|
|
14
|
+
return useRenderElement({
|
|
15
|
+
as,
|
|
16
|
+
defaultTag: "dt",
|
|
17
|
+
props: {
|
|
18
|
+
...consumerProps,
|
|
19
|
+
"data-uiify-description-term": "",
|
|
20
|
+
"data-part": "term"
|
|
21
|
+
},
|
|
22
|
+
render,
|
|
23
|
+
state: {}
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
function DescriptionDetails(props) {
|
|
27
|
+
const { as, render, ...consumerProps } = props;
|
|
28
|
+
return useRenderElement({
|
|
29
|
+
as,
|
|
30
|
+
defaultTag: "dd",
|
|
31
|
+
props: {
|
|
32
|
+
...consumerProps,
|
|
33
|
+
"data-uiify-description-details": "",
|
|
34
|
+
"data-part": "details"
|
|
35
|
+
},
|
|
36
|
+
render,
|
|
37
|
+
state: {}
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
DescriptionList.displayName = "DescriptionList";
|
|
41
|
+
DescriptionTerm.displayName = "DescriptionTerm";
|
|
42
|
+
DescriptionDetails.displayName = "DescriptionDetails";
|
|
43
|
+
export {
|
|
44
|
+
DescriptionDetails,
|
|
45
|
+
DescriptionList,
|
|
46
|
+
DescriptionTerm
|
|
47
|
+
};
|
|
48
|
+
//# sourceMappingURL=DescriptionList.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/components/description-list/DescriptionList.tsx"],"sourcesContent":["import type { ElementType, ReactElement } from \"react\";\nimport { useRenderElement } from \"@gunkin/uiify/core/render\";\nimport type {\n DescriptionDetailsProps,\n DescriptionListProps,\n DescriptionTermProps,\n} from \"./types.js\";\n\nexport function DescriptionList<TAs extends ElementType = \"dl\">(\n props: DescriptionListProps<TAs>,\n): ReactElement | null {\n const { as, render, ...consumerProps } = props as DescriptionListProps<\"dl\">;\n return useRenderElement({\n as,\n defaultTag: \"dl\",\n props: { ...consumerProps, \"data-uiify-description-list\": \"\" },\n render,\n state: {},\n });\n}\n\nexport function DescriptionTerm<TAs extends ElementType = \"dt\">(\n props: DescriptionTermProps<TAs>,\n): ReactElement | null {\n const { as, render, ...consumerProps } = props as DescriptionTermProps<\"dt\">;\n return useRenderElement({\n as,\n defaultTag: \"dt\",\n props: {\n ...consumerProps,\n \"data-uiify-description-term\": \"\",\n \"data-part\": \"term\",\n },\n render,\n state: {},\n });\n}\n\nexport function DescriptionDetails<TAs extends ElementType = \"dd\">(\n props: DescriptionDetailsProps<TAs>,\n): ReactElement | null {\n const { as, render, ...consumerProps } = props as DescriptionDetailsProps<\"dd\">;\n return useRenderElement({\n as,\n defaultTag: \"dd\",\n props: {\n ...consumerProps,\n \"data-uiify-description-details\": \"\",\n \"data-part\": \"details\",\n },\n render,\n state: {},\n });\n}\n\nDescriptionList.displayName = \"DescriptionList\";\nDescriptionTerm.displayName = \"DescriptionTerm\";\nDescriptionDetails.displayName = \"DescriptionDetails\";\n"],"mappings":"AACA,SAAS,wBAAwB;AAO1B,SAAS,gBACd,OACqB;AACrB,QAAM,EAAE,IAAI,QAAQ,GAAG,cAAc,IAAI;AACzC,SAAO,iBAAiB;AAAA,IACtB;AAAA,IACA,YAAY;AAAA,IACZ,OAAO,EAAE,GAAG,eAAe,+BAA+B,GAAG;AAAA,IAC7D;AAAA,IACA,OAAO,CAAC;AAAA,EACV,CAAC;AACH;AAEO,SAAS,gBACd,OACqB;AACrB,QAAM,EAAE,IAAI,QAAQ,GAAG,cAAc,IAAI;AACzC,SAAO,iBAAiB;AAAA,IACtB;AAAA,IACA,YAAY;AAAA,IACZ,OAAO;AAAA,MACL,GAAG;AAAA,MACH,+BAA+B;AAAA,MAC/B,aAAa;AAAA,IACf;AAAA,IACA;AAAA,IACA,OAAO,CAAC;AAAA,EACV,CAAC;AACH;AAEO,SAAS,mBACd,OACqB;AACrB,QAAM,EAAE,IAAI,QAAQ,GAAG,cAAc,IAAI;AACzC,SAAO,iBAAiB;AAAA,IACtB;AAAA,IACA,YAAY;AAAA,IACZ,OAAO;AAAA,MACL,GAAG;AAAA,MACH,kCAAkC;AAAA,MAClC,aAAa;AAAA,IACf;AAAA,IACA;AAAA,IACA,OAAO,CAAC;AAAA,EACV,CAAC;AACH;AAEA,gBAAgB,cAAc;AAC9B,gBAAgB,cAAc;AAC9B,mBAAmB,cAAc;","names":[]}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { DescriptionDetails, DescriptionList, DescriptionTerm } from "./DescriptionList.js";
|
|
2
|
+
export type { DescriptionDetailsOwnProps, DescriptionDetailsProps, DescriptionListOwnProps, DescriptionListProps, DescriptionTermOwnProps, DescriptionTermProps, } from "./types.js";
|
|
3
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/description-list/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAC5F,YAAY,EACV,0BAA0B,EAC1B,uBAAuB,EACvB,uBAAuB,EACvB,oBAAoB,EACpB,uBAAuB,EACvB,oBAAoB,GACrB,MAAM,YAAY,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/components/description-list/index.ts"],"sourcesContent":["export { DescriptionDetails, DescriptionList, DescriptionTerm } from \"./DescriptionList.js\";\nexport type {\n DescriptionDetailsOwnProps,\n DescriptionDetailsProps,\n DescriptionListOwnProps,\n DescriptionListProps,\n DescriptionTermOwnProps,\n DescriptionTermProps,\n} from \"./types.js\";\n"],"mappings":"AAAA,SAAS,oBAAoB,iBAAiB,uBAAuB;","names":[]}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { ElementType, ReactNode } from "react";
|
|
2
|
+
import type { RenderableProps } from "@gunkin/uiify/core/render";
|
|
3
|
+
export interface DescriptionListOwnProps {
|
|
4
|
+
readonly children?: ReactNode;
|
|
5
|
+
}
|
|
6
|
+
export type DescriptionListProps<TAs extends ElementType = "dl"> = RenderableProps<TAs, DescriptionListOwnProps, Record<string, never>, HTMLElement>;
|
|
7
|
+
export interface DescriptionTermOwnProps {
|
|
8
|
+
readonly children?: ReactNode;
|
|
9
|
+
}
|
|
10
|
+
export type DescriptionTermProps<TAs extends ElementType = "dt"> = RenderableProps<TAs, DescriptionTermOwnProps, Record<string, never>, HTMLElement>;
|
|
11
|
+
export interface DescriptionDetailsOwnProps {
|
|
12
|
+
readonly children?: ReactNode;
|
|
13
|
+
}
|
|
14
|
+
export type DescriptionDetailsProps<TAs extends ElementType = "dd"> = RenderableProps<TAs, DescriptionDetailsOwnProps, Record<string, never>, HTMLElement>;
|
|
15
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/description-list/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACpD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAEjE,MAAM,WAAW,uBAAuB;IACtC,QAAQ,CAAC,QAAQ,CAAC,EAAE,SAAS,CAAC;CAC/B;AAED,MAAM,MAAM,oBAAoB,CAAC,GAAG,SAAS,WAAW,GAAG,IAAI,IAAI,eAAe,CAChF,GAAG,EACH,uBAAuB,EACvB,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,EACrB,WAAW,CACZ,CAAC;AAEF,MAAM,WAAW,uBAAuB;IACtC,QAAQ,CAAC,QAAQ,CAAC,EAAE,SAAS,CAAC;CAC/B;AAED,MAAM,MAAM,oBAAoB,CAAC,GAAG,SAAS,WAAW,GAAG,IAAI,IAAI,eAAe,CAChF,GAAG,EACH,uBAAuB,EACvB,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,EACrB,WAAW,CACZ,CAAC;AAEF,MAAM,WAAW,0BAA0B;IACzC,QAAQ,CAAC,QAAQ,CAAC,EAAE,SAAS,CAAC;CAC/B;AAED,MAAM,MAAM,uBAAuB,CAAC,GAAG,SAAS,WAAW,GAAG,IAAI,IAAI,eAAe,CACnF,GAAG,EACH,0BAA0B,EAC1B,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,EACrB,WAAW,CACZ,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./description-list/index.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./description-list/index.js";
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { ElementType, ReactElement } from "react";
|
|
2
|
+
import type { EmptyContentProps, EmptyDescriptionProps, EmptyProps, EmptyTitleProps } from "./types.js";
|
|
3
|
+
export declare function Empty<TAs extends ElementType = "section">(props: EmptyProps<TAs>): ReactElement | null;
|
|
4
|
+
export declare namespace Empty {
|
|
5
|
+
var displayName: string;
|
|
6
|
+
}
|
|
7
|
+
export declare function EmptyTitle<TAs extends ElementType = "h2">(props: EmptyTitleProps<TAs>): ReactElement | null;
|
|
8
|
+
export declare namespace EmptyTitle {
|
|
9
|
+
var displayName: string;
|
|
10
|
+
}
|
|
11
|
+
export declare function EmptyDescription<TAs extends ElementType = "p">(props: EmptyDescriptionProps<TAs>): ReactElement | null;
|
|
12
|
+
export declare namespace EmptyDescription {
|
|
13
|
+
var displayName: string;
|
|
14
|
+
}
|
|
15
|
+
export declare function EmptyContent<TAs extends ElementType = "div">(props: EmptyContentProps<TAs>): ReactElement | null;
|
|
16
|
+
export declare namespace EmptyContent {
|
|
17
|
+
var displayName: string;
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=Empty.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Empty.d.ts","sourceRoot":"","sources":["../../../src/components/empty/Empty.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAEvD,OAAO,KAAK,EACV,iBAAiB,EACjB,qBAAqB,EACrB,UAAU,EACV,eAAe,EAChB,MAAM,YAAY,CAAC;AAEpB,wBAAgB,KAAK,CAAC,GAAG,SAAS,WAAW,GAAG,SAAS,EACvD,KAAK,EAAE,UAAU,CAAC,GAAG,CAAC,GACrB,YAAY,GAAG,IAAI,CASrB;yBAXe,KAAK;;;AAarB,wBAAgB,UAAU,CAAC,GAAG,SAAS,WAAW,GAAG,IAAI,EACvD,KAAK,EAAE,eAAe,CAAC,GAAG,CAAC,GAC1B,YAAY,GAAG,IAAI,CASrB;yBAXe,UAAU;;;AAa1B,wBAAgB,gBAAgB,CAAC,GAAG,SAAS,WAAW,GAAG,GAAG,EAC5D,KAAK,EAAE,qBAAqB,CAAC,GAAG,CAAC,GAChC,YAAY,GAAG,IAAI,CAarB;yBAfe,gBAAgB;;;AAiBhC,wBAAgB,YAAY,CAAC,GAAG,SAAS,WAAW,GAAG,KAAK,EAC1D,KAAK,EAAE,iBAAiB,CAAC,GAAG,CAAC,GAC5B,YAAY,GAAG,IAAI,CASrB;yBAXe,YAAY"}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { useRenderElement } from "@gunkin/uiify/core/render";
|
|
2
|
+
function Empty(props) {
|
|
3
|
+
const { as, render, ...consumerProps } = props;
|
|
4
|
+
return useRenderElement({
|
|
5
|
+
as,
|
|
6
|
+
defaultTag: "section",
|
|
7
|
+
props: { ...consumerProps, "data-uiify-empty": "" },
|
|
8
|
+
render,
|
|
9
|
+
state: {}
|
|
10
|
+
});
|
|
11
|
+
}
|
|
12
|
+
function EmptyTitle(props) {
|
|
13
|
+
const { as, render, ...consumerProps } = props;
|
|
14
|
+
return useRenderElement({
|
|
15
|
+
as,
|
|
16
|
+
defaultTag: "h2",
|
|
17
|
+
props: { ...consumerProps, "data-uiify-empty-title": "", "data-part": "title" },
|
|
18
|
+
render,
|
|
19
|
+
state: {}
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
function EmptyDescription(props) {
|
|
23
|
+
const { as, render, ...consumerProps } = props;
|
|
24
|
+
return useRenderElement({
|
|
25
|
+
as,
|
|
26
|
+
defaultTag: "p",
|
|
27
|
+
props: {
|
|
28
|
+
...consumerProps,
|
|
29
|
+
"data-uiify-empty-description": "",
|
|
30
|
+
"data-part": "description"
|
|
31
|
+
},
|
|
32
|
+
render,
|
|
33
|
+
state: {}
|
|
34
|
+
});
|
|
35
|
+
}
|
|
36
|
+
function EmptyContent(props) {
|
|
37
|
+
const { as, render, ...consumerProps } = props;
|
|
38
|
+
return useRenderElement({
|
|
39
|
+
as,
|
|
40
|
+
defaultTag: "div",
|
|
41
|
+
props: { ...consumerProps, "data-uiify-empty-content": "", "data-part": "content" },
|
|
42
|
+
render,
|
|
43
|
+
state: {}
|
|
44
|
+
});
|
|
45
|
+
}
|
|
46
|
+
Empty.displayName = "Empty";
|
|
47
|
+
EmptyTitle.displayName = "EmptyTitle";
|
|
48
|
+
EmptyDescription.displayName = "EmptyDescription";
|
|
49
|
+
EmptyContent.displayName = "EmptyContent";
|
|
50
|
+
export {
|
|
51
|
+
Empty,
|
|
52
|
+
EmptyContent,
|
|
53
|
+
EmptyDescription,
|
|
54
|
+
EmptyTitle
|
|
55
|
+
};
|
|
56
|
+
//# sourceMappingURL=Empty.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/components/empty/Empty.tsx"],"sourcesContent":["import type { ElementType, ReactElement } from \"react\";\nimport { useRenderElement } from \"@gunkin/uiify/core/render\";\nimport type {\n EmptyContentProps,\n EmptyDescriptionProps,\n EmptyProps,\n EmptyTitleProps,\n} from \"./types.js\";\n\nexport function Empty<TAs extends ElementType = \"section\">(\n props: EmptyProps<TAs>,\n): ReactElement | null {\n const { as, render, ...consumerProps } = props as EmptyProps<\"section\">;\n return useRenderElement({\n as,\n defaultTag: \"section\",\n props: { ...consumerProps, \"data-uiify-empty\": \"\" },\n render,\n state: {},\n });\n}\n\nexport function EmptyTitle<TAs extends ElementType = \"h2\">(\n props: EmptyTitleProps<TAs>,\n): ReactElement | null {\n const { as, render, ...consumerProps } = props as EmptyTitleProps<\"h2\">;\n return useRenderElement({\n as,\n defaultTag: \"h2\",\n props: { ...consumerProps, \"data-uiify-empty-title\": \"\", \"data-part\": \"title\" },\n render,\n state: {},\n });\n}\n\nexport function EmptyDescription<TAs extends ElementType = \"p\">(\n props: EmptyDescriptionProps<TAs>,\n): ReactElement | null {\n const { as, render, ...consumerProps } = props as EmptyDescriptionProps<\"p\">;\n return useRenderElement({\n as,\n defaultTag: \"p\",\n props: {\n ...consumerProps,\n \"data-uiify-empty-description\": \"\",\n \"data-part\": \"description\",\n },\n render,\n state: {},\n });\n}\n\nexport function EmptyContent<TAs extends ElementType = \"div\">(\n props: EmptyContentProps<TAs>,\n): ReactElement | null {\n const { as, render, ...consumerProps } = props as EmptyContentProps<\"div\">;\n return useRenderElement({\n as,\n defaultTag: \"div\",\n props: { ...consumerProps, \"data-uiify-empty-content\": \"\", \"data-part\": \"content\" },\n render,\n state: {},\n });\n}\n\nEmpty.displayName = \"Empty\";\nEmptyTitle.displayName = \"EmptyTitle\";\nEmptyDescription.displayName = \"EmptyDescription\";\nEmptyContent.displayName = \"EmptyContent\";\n"],"mappings":"AACA,SAAS,wBAAwB;AAQ1B,SAAS,MACd,OACqB;AACrB,QAAM,EAAE,IAAI,QAAQ,GAAG,cAAc,IAAI;AACzC,SAAO,iBAAiB;AAAA,IACtB;AAAA,IACA,YAAY;AAAA,IACZ,OAAO,EAAE,GAAG,eAAe,oBAAoB,GAAG;AAAA,IAClD;AAAA,IACA,OAAO,CAAC;AAAA,EACV,CAAC;AACH;AAEO,SAAS,WACd,OACqB;AACrB,QAAM,EAAE,IAAI,QAAQ,GAAG,cAAc,IAAI;AACzC,SAAO,iBAAiB;AAAA,IACtB;AAAA,IACA,YAAY;AAAA,IACZ,OAAO,EAAE,GAAG,eAAe,0BAA0B,IAAI,aAAa,QAAQ;AAAA,IAC9E;AAAA,IACA,OAAO,CAAC;AAAA,EACV,CAAC;AACH;AAEO,SAAS,iBACd,OACqB;AACrB,QAAM,EAAE,IAAI,QAAQ,GAAG,cAAc,IAAI;AACzC,SAAO,iBAAiB;AAAA,IACtB;AAAA,IACA,YAAY;AAAA,IACZ,OAAO;AAAA,MACL,GAAG;AAAA,MACH,gCAAgC;AAAA,MAChC,aAAa;AAAA,IACf;AAAA,IACA;AAAA,IACA,OAAO,CAAC;AAAA,EACV,CAAC;AACH;AAEO,SAAS,aACd,OACqB;AACrB,QAAM,EAAE,IAAI,QAAQ,GAAG,cAAc,IAAI;AACzC,SAAO,iBAAiB;AAAA,IACtB;AAAA,IACA,YAAY;AAAA,IACZ,OAAO,EAAE,GAAG,eAAe,4BAA4B,IAAI,aAAa,UAAU;AAAA,IAClF;AAAA,IACA,OAAO,CAAC;AAAA,EACV,CAAC;AACH;AAEA,MAAM,cAAc;AACpB,WAAW,cAAc;AACzB,iBAAiB,cAAc;AAC/B,aAAa,cAAc;","names":[]}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { Empty, EmptyContent, EmptyDescription, EmptyTitle } from "./Empty.js";
|
|
2
|
+
export type { EmptyContentOwnProps, EmptyContentProps, EmptyDescriptionOwnProps, EmptyDescriptionProps, EmptyOwnProps, EmptyProps, EmptyTitleOwnProps, EmptyTitleProps, } from "./types.js";
|
|
3
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/empty/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,YAAY,EAAE,gBAAgB,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAC/E,YAAY,EACV,oBAAoB,EACpB,iBAAiB,EACjB,wBAAwB,EACxB,qBAAqB,EACrB,aAAa,EACb,UAAU,EACV,kBAAkB,EAClB,eAAe,GAChB,MAAM,YAAY,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/components/empty/index.ts"],"sourcesContent":["export { Empty, EmptyContent, EmptyDescription, EmptyTitle } from \"./Empty.js\";\nexport type {\n EmptyContentOwnProps,\n EmptyContentProps,\n EmptyDescriptionOwnProps,\n EmptyDescriptionProps,\n EmptyOwnProps,\n EmptyProps,\n EmptyTitleOwnProps,\n EmptyTitleProps,\n} from \"./types.js\";\n"],"mappings":"AAAA,SAAS,OAAO,cAAc,kBAAkB,kBAAkB;","names":[]}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { ElementType, ReactNode } from "react";
|
|
2
|
+
import type { RenderableProps } from "@gunkin/uiify/core/render";
|
|
3
|
+
export interface EmptyOwnProps {
|
|
4
|
+
readonly children?: ReactNode;
|
|
5
|
+
}
|
|
6
|
+
export type EmptyProps<TAs extends ElementType = "section"> = RenderableProps<TAs, EmptyOwnProps, Record<string, never>, HTMLElement>;
|
|
7
|
+
export interface EmptyTitleOwnProps {
|
|
8
|
+
readonly children?: ReactNode;
|
|
9
|
+
}
|
|
10
|
+
export type EmptyTitleProps<TAs extends ElementType = "h2"> = RenderableProps<TAs, EmptyTitleOwnProps, Record<string, never>, HTMLElement>;
|
|
11
|
+
export interface EmptyDescriptionOwnProps {
|
|
12
|
+
readonly children?: ReactNode;
|
|
13
|
+
}
|
|
14
|
+
export type EmptyDescriptionProps<TAs extends ElementType = "p"> = RenderableProps<TAs, EmptyDescriptionOwnProps, Record<string, never>, HTMLElement>;
|
|
15
|
+
export interface EmptyContentOwnProps {
|
|
16
|
+
readonly children?: ReactNode;
|
|
17
|
+
}
|
|
18
|
+
export type EmptyContentProps<TAs extends ElementType = "div"> = RenderableProps<TAs, EmptyContentOwnProps, Record<string, never>, HTMLElement>;
|
|
19
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/empty/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACpD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAEjE,MAAM,WAAW,aAAa;IAC5B,QAAQ,CAAC,QAAQ,CAAC,EAAE,SAAS,CAAC;CAC/B;AAED,MAAM,MAAM,UAAU,CAAC,GAAG,SAAS,WAAW,GAAG,SAAS,IAAI,eAAe,CAC3E,GAAG,EACH,aAAa,EACb,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,EACrB,WAAW,CACZ,CAAC;AAEF,MAAM,WAAW,kBAAkB;IACjC,QAAQ,CAAC,QAAQ,CAAC,EAAE,SAAS,CAAC;CAC/B;AAED,MAAM,MAAM,eAAe,CAAC,GAAG,SAAS,WAAW,GAAG,IAAI,IAAI,eAAe,CAC3E,GAAG,EACH,kBAAkB,EAClB,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,EACrB,WAAW,CACZ,CAAC;AAEF,MAAM,WAAW,wBAAwB;IACvC,QAAQ,CAAC,QAAQ,CAAC,EAAE,SAAS,CAAC;CAC/B;AAED,MAAM,MAAM,qBAAqB,CAAC,GAAG,SAAS,WAAW,GAAG,GAAG,IAAI,eAAe,CAChF,GAAG,EACH,wBAAwB,EACxB,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,EACrB,WAAW,CACZ,CAAC;AAEF,MAAM,WAAW,oBAAoB;IACnC,QAAQ,CAAC,QAAQ,CAAC,EAAE,SAAS,CAAC;CAC/B;AAED,MAAM,MAAM,iBAAiB,CAAC,GAAG,SAAS,WAAW,GAAG,KAAK,IAAI,eAAe,CAC9E,GAAG,EACH,oBAAoB,EACpB,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,EACrB,WAAW,CACZ,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./empty/index.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./empty/index.js";
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { ElementType, ReactElement } from "react";
|
|
2
|
+
import type { FieldsetLegendProps, FieldsetRootProps } from "./types.js";
|
|
3
|
+
export declare function Fieldset<TAs extends ElementType = "fieldset">(props: FieldsetRootProps<TAs>): ReactElement | null;
|
|
4
|
+
export declare namespace Fieldset {
|
|
5
|
+
var displayName: string;
|
|
6
|
+
}
|
|
7
|
+
export declare function FieldsetLegend<TAs extends ElementType = "legend">(props: FieldsetLegendProps<TAs>): ReactElement | null;
|
|
8
|
+
export declare namespace FieldsetLegend {
|
|
9
|
+
var displayName: string;
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=Fieldset.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Fieldset.d.ts","sourceRoot":"","sources":["../../../src/components/fieldset/Fieldset.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAEvD,OAAO,KAAK,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAEzE,wBAAgB,QAAQ,CAAC,GAAG,SAAS,WAAW,GAAG,UAAU,EAC3D,KAAK,EAAE,iBAAiB,CAAC,GAAG,CAAC,GAC5B,YAAY,GAAG,IAAI,CAerB;yBAjBe,QAAQ;;;AAqBxB,wBAAgB,cAAc,CAAC,GAAG,SAAS,WAAW,GAAG,QAAQ,EAC/D,KAAK,EAAE,mBAAmB,CAAC,GAAG,CAAC,GAC9B,YAAY,GAAG,IAAI,CAerB;yBAjBe,cAAc"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { useRenderElement } from "@gunkin/uiify/core/render";
|
|
2
|
+
function Fieldset(props) {
|
|
3
|
+
const { as, render, children, ...consumerProps } = props;
|
|
4
|
+
return useRenderElement({
|
|
5
|
+
as,
|
|
6
|
+
defaultTag: "fieldset",
|
|
7
|
+
props: {
|
|
8
|
+
...consumerProps,
|
|
9
|
+
children,
|
|
10
|
+
"data-uiify-fieldset": "",
|
|
11
|
+
"data-part": "root"
|
|
12
|
+
},
|
|
13
|
+
render,
|
|
14
|
+
state: {}
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
Fieldset.displayName = "Fieldset";
|
|
18
|
+
function FieldsetLegend(props) {
|
|
19
|
+
const { as, render, children, ...consumerProps } = props;
|
|
20
|
+
return useRenderElement({
|
|
21
|
+
as,
|
|
22
|
+
defaultTag: "legend",
|
|
23
|
+
props: {
|
|
24
|
+
...consumerProps,
|
|
25
|
+
children,
|
|
26
|
+
"data-uiify-fieldset-legend": "",
|
|
27
|
+
"data-part": "legend"
|
|
28
|
+
},
|
|
29
|
+
render,
|
|
30
|
+
state: {}
|
|
31
|
+
});
|
|
32
|
+
}
|
|
33
|
+
FieldsetLegend.displayName = "FieldsetLegend";
|
|
34
|
+
export {
|
|
35
|
+
Fieldset,
|
|
36
|
+
FieldsetLegend
|
|
37
|
+
};
|
|
38
|
+
//# sourceMappingURL=Fieldset.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/components/fieldset/Fieldset.tsx"],"sourcesContent":["import type { ElementType, ReactElement } from \"react\";\nimport { useRenderElement } from \"@gunkin/uiify/core/render\";\nimport type { FieldsetLegendProps, FieldsetRootProps } from \"./types.js\";\n\nexport function Fieldset<TAs extends ElementType = \"fieldset\">(\n props: FieldsetRootProps<TAs>,\n): ReactElement | null {\n const { as, render, children, ...consumerProps } = props as FieldsetRootProps<\"fieldset\">;\n\n return useRenderElement({\n as,\n defaultTag: \"fieldset\",\n props: {\n ...consumerProps,\n children,\n \"data-uiify-fieldset\": \"\",\n \"data-part\": \"root\",\n },\n render,\n state: {},\n });\n}\n\nFieldset.displayName = \"Fieldset\";\n\nexport function FieldsetLegend<TAs extends ElementType = \"legend\">(\n props: FieldsetLegendProps<TAs>,\n): ReactElement | null {\n const { as, render, children, ...consumerProps } = props as FieldsetLegendProps<\"legend\">;\n\n return useRenderElement({\n as,\n defaultTag: \"legend\",\n props: {\n ...consumerProps,\n children,\n \"data-uiify-fieldset-legend\": \"\",\n \"data-part\": \"legend\",\n },\n render,\n state: {},\n });\n}\n\nFieldsetLegend.displayName = \"FieldsetLegend\";\n"],"mappings":"AACA,SAAS,wBAAwB;AAG1B,SAAS,SACd,OACqB;AACrB,QAAM,EAAE,IAAI,QAAQ,UAAU,GAAG,cAAc,IAAI;AAEnD,SAAO,iBAAiB;AAAA,IACtB;AAAA,IACA,YAAY;AAAA,IACZ,OAAO;AAAA,MACL,GAAG;AAAA,MACH;AAAA,MACA,uBAAuB;AAAA,MACvB,aAAa;AAAA,IACf;AAAA,IACA;AAAA,IACA,OAAO,CAAC;AAAA,EACV,CAAC;AACH;AAEA,SAAS,cAAc;AAEhB,SAAS,eACd,OACqB;AACrB,QAAM,EAAE,IAAI,QAAQ,UAAU,GAAG,cAAc,IAAI;AAEnD,SAAO,iBAAiB;AAAA,IACtB;AAAA,IACA,YAAY;AAAA,IACZ,OAAO;AAAA,MACL,GAAG;AAAA,MACH;AAAA,MACA,8BAA8B;AAAA,MAC9B,aAAa;AAAA,IACf;AAAA,IACA;AAAA,IACA,OAAO,CAAC;AAAA,EACV,CAAC;AACH;AAEA,eAAe,cAAc;","names":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/fieldset/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AACzD,YAAY,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/components/fieldset/index.ts"],"sourcesContent":["export { Fieldset, FieldsetLegend } from \"./Fieldset.js\";\nexport type { FieldsetLegendProps, FieldsetRootProps } from \"./types.js\";\n"],"mappings":"AAAA,SAAS,UAAU,sBAAsB;","names":[]}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { ElementType, ReactNode } from "react";
|
|
2
|
+
import type { RenderableProps } from "@gunkin/uiify/core/render";
|
|
3
|
+
export interface FieldsetRootOwnProps {
|
|
4
|
+
readonly children?: ReactNode;
|
|
5
|
+
}
|
|
6
|
+
export type FieldsetRootProps<TAs extends ElementType = "fieldset"> = RenderableProps<TAs, FieldsetRootOwnProps, Record<string, never>, HTMLFieldSetElement>;
|
|
7
|
+
export interface FieldsetLegendOwnProps {
|
|
8
|
+
readonly children?: ReactNode;
|
|
9
|
+
}
|
|
10
|
+
export type FieldsetLegendProps<TAs extends ElementType = "legend"> = RenderableProps<TAs, FieldsetLegendOwnProps, Record<string, never>, HTMLLegendElement>;
|
|
11
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/fieldset/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACpD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAEjE,MAAM,WAAW,oBAAoB;IACnC,QAAQ,CAAC,QAAQ,CAAC,EAAE,SAAS,CAAC;CAC/B;AAED,MAAM,MAAM,iBAAiB,CAAC,GAAG,SAAS,WAAW,GAAG,UAAU,IAAI,eAAe,CACnF,GAAG,EACH,oBAAoB,EACpB,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,EACrB,mBAAmB,CACpB,CAAC;AAEF,MAAM,WAAW,sBAAsB;IACrC,QAAQ,CAAC,QAAQ,CAAC,EAAE,SAAS,CAAC;CAC/B;AAED,MAAM,MAAM,mBAAmB,CAAC,GAAG,SAAS,WAAW,GAAG,QAAQ,IAAI,eAAe,CACnF,GAAG,EACH,sBAAsB,EACtB,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,EACrB,iBAAiB,CAClB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./fieldset/index.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./fieldset/index.js";
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { ElementType, ReactElement } from "react";
|
|
2
|
+
import type { FormErrorSummaryProps } from "./types.js";
|
|
3
|
+
export declare function FormErrorSummary<TAs extends ElementType = "section">(props: FormErrorSummaryProps<TAs>): ReactElement | null;
|
|
4
|
+
export declare namespace FormErrorSummary {
|
|
5
|
+
var displayName: string;
|
|
6
|
+
}
|
|
7
|
+
//# sourceMappingURL=FormErrorSummary.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FormErrorSummary.d.ts","sourceRoot":"","sources":["../../../src/components/form-error-summary/FormErrorSummary.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAEvD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;AAExD,wBAAgB,gBAAgB,CAAC,GAAG,SAAS,WAAW,GAAG,SAAS,EAClE,KAAK,EAAE,qBAAqB,CAAC,GAAG,CAAC,GAChC,YAAY,GAAG,IAAI,CA6BrB;yBA/Be,gBAAgB"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { useRenderElement } from "@gunkin/uiify/core/render";
|
|
3
|
+
function FormErrorSummary(props) {
|
|
4
|
+
const { as, render, title, errors, ...consumerProps } = props;
|
|
5
|
+
const element = useRenderElement({
|
|
6
|
+
as,
|
|
7
|
+
defaultTag: "section",
|
|
8
|
+
props: {
|
|
9
|
+
...consumerProps,
|
|
10
|
+
children: /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
11
|
+
/* @__PURE__ */ jsx("h2", { "data-part": "title", children: title }),
|
|
12
|
+
/* @__PURE__ */ jsx("ul", { "data-part": "list", children: errors.map((error, index) => /* @__PURE__ */ jsx("li", { "data-part": "item", children: /* @__PURE__ */ jsx("a", { "data-part": "link", href: error.href, children: error.message }) }, `${error.href}-${index}`)) })
|
|
13
|
+
] }),
|
|
14
|
+
"data-uiify-form-error-summary": ""
|
|
15
|
+
},
|
|
16
|
+
render,
|
|
17
|
+
state: {}
|
|
18
|
+
});
|
|
19
|
+
return errors.length === 0 ? null : element;
|
|
20
|
+
}
|
|
21
|
+
FormErrorSummary.displayName = "FormErrorSummary";
|
|
22
|
+
export {
|
|
23
|
+
FormErrorSummary
|
|
24
|
+
};
|
|
25
|
+
//# sourceMappingURL=FormErrorSummary.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/components/form-error-summary/FormErrorSummary.tsx"],"sourcesContent":["import type { ElementType, ReactElement } from \"react\";\nimport { useRenderElement } from \"@gunkin/uiify/core/render\";\nimport type { FormErrorSummaryProps } from \"./types.js\";\n\nexport function FormErrorSummary<TAs extends ElementType = \"section\">(\n props: FormErrorSummaryProps<TAs>,\n): ReactElement | null {\n const { as, render, title, errors, ...consumerProps } = props as FormErrorSummaryProps<\"section\">;\n\n const element = useRenderElement({\n as,\n defaultTag: \"section\",\n props: {\n ...consumerProps,\n children: (\n <>\n <h2 data-part=\"title\">{title}</h2>\n <ul data-part=\"list\">\n {errors.map((error, index) => (\n <li data-part=\"item\" key={`${error.href}-${index}`}>\n <a data-part=\"link\" href={error.href}>\n {error.message}\n </a>\n </li>\n ))}\n </ul>\n </>\n ),\n \"data-uiify-form-error-summary\": \"\",\n },\n render,\n state: {},\n });\n\n return errors.length === 0 ? null : element;\n}\n\nFormErrorSummary.displayName = \"FormErrorSummary\";\n"],"mappings":"AAeQ,mBACE,KADF;AAdR,SAAS,wBAAwB;AAG1B,SAAS,iBACd,OACqB;AACrB,QAAM,EAAE,IAAI,QAAQ,OAAO,QAAQ,GAAG,cAAc,IAAI;AAExD,QAAM,UAAU,iBAAiB;AAAA,IAC/B;AAAA,IACA,YAAY;AAAA,IACZ,OAAO;AAAA,MACL,GAAG;AAAA,MACH,UACE,iCACE;AAAA,4BAAC,QAAG,aAAU,SAAS,iBAAM;AAAA,QAC7B,oBAAC,QAAG,aAAU,QACX,iBAAO,IAAI,CAAC,OAAO,UAClB,oBAAC,QAAG,aAAU,QACZ,8BAAC,OAAE,aAAU,QAAO,MAAM,MAAM,MAC7B,gBAAM,SACT,KAHwB,GAAG,MAAM,IAAI,IAAI,KAAK,EAIhD,CACD,GACH;AAAA,SACF;AAAA,MAEF,iCAAiC;AAAA,IACnC;AAAA,IACA;AAAA,IACA,OAAO,CAAC;AAAA,EACV,CAAC;AAED,SAAO,OAAO,WAAW,IAAI,OAAO;AACtC;AAEA,iBAAiB,cAAc;","names":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/form-error-summary/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACzD,YAAY,EACV,qBAAqB,EACrB,wBAAwB,EACxB,qBAAqB,GACtB,MAAM,YAAY,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/components/form-error-summary/index.ts"],"sourcesContent":["export { FormErrorSummary } from \"./FormErrorSummary.js\";\nexport type {\n FormErrorSummaryError,\n FormErrorSummaryOwnProps,\n FormErrorSummaryProps,\n} from \"./types.js\";\n"],"mappings":"AAAA,SAAS,wBAAwB;","names":[]}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { ElementType, ReactNode } from "react";
|
|
2
|
+
import type { RenderableProps } from "@gunkin/uiify/core/render";
|
|
3
|
+
export interface FormErrorSummaryError {
|
|
4
|
+
readonly href: string;
|
|
5
|
+
readonly message: ReactNode;
|
|
6
|
+
}
|
|
7
|
+
export interface FormErrorSummaryOwnProps {
|
|
8
|
+
readonly title: ReactNode;
|
|
9
|
+
readonly errors: readonly FormErrorSummaryError[];
|
|
10
|
+
}
|
|
11
|
+
export type FormErrorSummaryProps<TAs extends ElementType = "section"> = RenderableProps<TAs, FormErrorSummaryOwnProps, Record<string, never>, HTMLElement>;
|
|
12
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/form-error-summary/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACpD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAEjE,MAAM,WAAW,qBAAqB;IACpC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,OAAO,EAAE,SAAS,CAAC;CAC7B;AAED,MAAM,WAAW,wBAAwB;IACvC,QAAQ,CAAC,KAAK,EAAE,SAAS,CAAC;IAC1B,QAAQ,CAAC,MAAM,EAAE,SAAS,qBAAqB,EAAE,CAAC;CACnD;AAED,MAAM,MAAM,qBAAqB,CAAC,GAAG,SAAS,WAAW,GAAG,SAAS,IAAI,eAAe,CACtF,GAAG,EACH,wBAAwB,EACxB,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,EACrB,WAAW,CACZ,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./form-error-summary/index.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./form-error-summary/index.js";
|
|
@@ -21,6 +21,19 @@ export * from "./toast/index.js";
|
|
|
21
21
|
export * from "./select/index.js";
|
|
22
22
|
export * from "./spinner/index.js";
|
|
23
23
|
export * from "./skeleton/index.js";
|
|
24
|
+
export * from "./aspect-ratio/index.js";
|
|
25
|
+
export * from "./badge/index.js";
|
|
26
|
+
export * from "./card/index.js";
|
|
27
|
+
export * from "./progress/index.js";
|
|
28
|
+
export * from "./avatar/index.js";
|
|
29
|
+
export * from "./alert/index.js";
|
|
30
|
+
export * from "./input-group/index.js";
|
|
31
|
+
export * from "./empty/index.js";
|
|
32
|
+
export * from "./item/index.js";
|
|
33
|
+
export * from "./date-picker/index.js";
|
|
34
|
+
export * from "./fieldset/index.js";
|
|
35
|
+
export * from "./form-error-summary/index.js";
|
|
36
|
+
export * from "./description-list/index.js";
|
|
24
37
|
export * from "./collapsible/index.js";
|
|
25
38
|
export * from "./breadcrumb/index.js";
|
|
26
39
|
export * from "./pagination/index.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAIA,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,kBAAkB,CAAC;AACjC,cAAc,0BAA0B,CAAC;AACzC,cAAc,uBAAuB,CAAC;AACtC,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,wBAAwB,CAAC;AACvC,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC;AAChC,cAAc,qBAAqB,CAAC;AACpC,cAAc,yBAAyB,CAAC;AACxC,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,wBAAwB,CAAC;AACvC,cAAc,qBAAqB,CAAC;AACpC,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,wBAAwB,CAAC;AACvC,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,kBAAkB,CAAC;AACjC,cAAc,yBAAyB,CAAC;AACxC,cAAc,sBAAsB,CAAC;AACrC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC;AACvC,cAAc,yBAAyB,CAAC;AACxC,cAAc,qBAAqB,CAAC;AACpC,cAAc,yBAAyB,CAAC;AACxC,cAAc,uBAAuB,CAAC;AACtC,cAAc,mBAAmB,CAAC;AAClC,cAAc,yBAAyB,CAAC;AACxC,cAAc,mBAAmB,CAAC;AAClC,cAAc,2BAA2B,CAAC;AAE1C,cAAc,8BAA8B,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAIA,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,kBAAkB,CAAC;AACjC,cAAc,0BAA0B,CAAC;AACzC,cAAc,uBAAuB,CAAC;AACtC,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,wBAAwB,CAAC;AACvC,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC;AAChC,cAAc,qBAAqB,CAAC;AACpC,cAAc,yBAAyB,CAAC;AACxC,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,wBAAwB,CAAC;AACvC,cAAc,qBAAqB,CAAC;AACpC,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,yBAAyB,CAAC;AACxC,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC;AACjC,cAAc,wBAAwB,CAAC;AACvC,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,cAAc,wBAAwB,CAAC;AACvC,cAAc,qBAAqB,CAAC;AACpC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,wBAAwB,CAAC;AACvC,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,kBAAkB,CAAC;AACjC,cAAc,yBAAyB,CAAC;AACxC,cAAc,sBAAsB,CAAC;AACrC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC;AACvC,cAAc,yBAAyB,CAAC;AACxC,cAAc,qBAAqB,CAAC;AACpC,cAAc,yBAAyB,CAAC;AACxC,cAAc,uBAAuB,CAAC;AACtC,cAAc,mBAAmB,CAAC;AAClC,cAAc,yBAAyB,CAAC;AACxC,cAAc,mBAAmB,CAAC;AAClC,cAAc,2BAA2B,CAAC;AAE1C,cAAc,8BAA8B,CAAC"}
|
package/dist/components/index.js
CHANGED
|
@@ -21,6 +21,19 @@ export * from "./toast/index.js";
|
|
|
21
21
|
export * from "./select/index.js";
|
|
22
22
|
export * from "./spinner/index.js";
|
|
23
23
|
export * from "./skeleton/index.js";
|
|
24
|
+
export * from "./aspect-ratio/index.js";
|
|
25
|
+
export * from "./badge/index.js";
|
|
26
|
+
export * from "./card/index.js";
|
|
27
|
+
export * from "./progress/index.js";
|
|
28
|
+
export * from "./avatar/index.js";
|
|
29
|
+
export * from "./alert/index.js";
|
|
30
|
+
export * from "./input-group/index.js";
|
|
31
|
+
export * from "./empty/index.js";
|
|
32
|
+
export * from "./item/index.js";
|
|
33
|
+
export * from "./date-picker/index.js";
|
|
34
|
+
export * from "./fieldset/index.js";
|
|
35
|
+
export * from "./form-error-summary/index.js";
|
|
36
|
+
export * from "./description-list/index.js";
|
|
24
37
|
export * from "./collapsible/index.js";
|
|
25
38
|
export * from "./breadcrumb/index.js";
|
|
26
39
|
export * from "./pagination/index.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/components/index.ts"],"sourcesContent":["// @gunkin/uiify/components — root barrel export.\n// Each component task appends one line here:\n// export * from \"./<name>/index.js\";\n\nexport * from \"./button/index.js\";\nexport * from \"./checkbox/index.js\";\nexport * from \"./modal/index.js\";\nexport * from \"./dropdown-menu/index.js\";\nexport * from \"./hover-card/index.js\";\nexport * from \"./input/index.js\";\nexport * from \"./popup/index.js\";\nexport * from \"./radio-group/index.js\";\nexport * from \"./slider/index.js\";\nexport * from \"./switch/index.js\";\nexport * from \"./tabs/index.js\";\nexport * from \"./textarea/index.js\";\nexport * from \"./toggle-group/index.js\";\nexport * from \"./toolbar/index.js\";\nexport * from \"./toggle/index.js\";\nexport * from \"./tooltip/index.js\";\nexport * from \"./accordion/index.js\";\nexport * from \"./alert-modal/index.js\";\nexport * from \"./combobox/index.js\";\nexport * from \"./toast/index.js\";\nexport * from \"./select/index.js\";\nexport * from \"./spinner/index.js\";\nexport * from \"./skeleton/index.js\";\nexport * from \"./collapsible/index.js\";\nexport * from \"./breadcrumb/index.js\";\nexport * from \"./pagination/index.js\";\nexport * from \"./table/index.js\";\nexport * from \"./number-field/index.js\";\nexport * from \"./otp-input/index.js\";\nexport * from \"./segmented-control/index.js\";\nexport * from \"./rating/index.js\";\nexport * from \"./field/index.js\";\nexport * from \"./form/index.js\";\nexport * from \"./tags-input/index.js\";\nexport * from \"./file-upload/index.js\";\nexport * from \"./color-picker/index.js\";\nexport * from \"./carousel/index.js\";\nexport * from \"./candle-chart/index.js\";\nexport * from \"./line-chart/index.js\";\nexport * from \"./drawer/index.js\";\nexport * from \"./context-menu/index.js\";\nexport * from \"./header/index.js\";\nexport * from \"./virtual-scroll/index.js\";\n\nexport * from \"./table-of-contents/index.js\";\n"],"mappings":"AAIA,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AAEd,cAAc;","names":[]}
|
|
1
|
+
{"version":3,"sources":["../../src/components/index.ts"],"sourcesContent":["// @gunkin/uiify/components — root barrel export.\n// Each component task appends one line here:\n// export * from \"./<name>/index.js\";\n\nexport * from \"./button/index.js\";\nexport * from \"./checkbox/index.js\";\nexport * from \"./modal/index.js\";\nexport * from \"./dropdown-menu/index.js\";\nexport * from \"./hover-card/index.js\";\nexport * from \"./input/index.js\";\nexport * from \"./popup/index.js\";\nexport * from \"./radio-group/index.js\";\nexport * from \"./slider/index.js\";\nexport * from \"./switch/index.js\";\nexport * from \"./tabs/index.js\";\nexport * from \"./textarea/index.js\";\nexport * from \"./toggle-group/index.js\";\nexport * from \"./toolbar/index.js\";\nexport * from \"./toggle/index.js\";\nexport * from \"./tooltip/index.js\";\nexport * from \"./accordion/index.js\";\nexport * from \"./alert-modal/index.js\";\nexport * from \"./combobox/index.js\";\nexport * from \"./toast/index.js\";\nexport * from \"./select/index.js\";\nexport * from \"./spinner/index.js\";\nexport * from \"./skeleton/index.js\";\nexport * from \"./aspect-ratio/index.js\";\nexport * from \"./badge/index.js\";\nexport * from \"./card/index.js\";\nexport * from \"./progress/index.js\";\nexport * from \"./avatar/index.js\";\nexport * from \"./alert/index.js\";\nexport * from \"./input-group/index.js\";\nexport * from \"./empty/index.js\";\nexport * from \"./item/index.js\";\nexport * from \"./date-picker/index.js\";\nexport * from \"./fieldset/index.js\";\nexport * from \"./form-error-summary/index.js\";\nexport * from \"./description-list/index.js\";\nexport * from \"./collapsible/index.js\";\nexport * from \"./breadcrumb/index.js\";\nexport * from \"./pagination/index.js\";\nexport * from \"./table/index.js\";\nexport * from \"./number-field/index.js\";\nexport * from \"./otp-input/index.js\";\nexport * from \"./segmented-control/index.js\";\nexport * from \"./rating/index.js\";\nexport * from \"./field/index.js\";\nexport * from \"./form/index.js\";\nexport * from \"./tags-input/index.js\";\nexport * from \"./file-upload/index.js\";\nexport * from \"./color-picker/index.js\";\nexport * from \"./carousel/index.js\";\nexport * from \"./candle-chart/index.js\";\nexport * from \"./line-chart/index.js\";\nexport * from \"./drawer/index.js\";\nexport * from \"./context-menu/index.js\";\nexport * from \"./header/index.js\";\nexport * from \"./virtual-scroll/index.js\";\n\nexport * from \"./table-of-contents/index.js\";\n"],"mappings":"AAIA,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AAEd,cAAc;","names":[]}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { ElementType, ReactElement } from "react";
|
|
2
|
+
import type { InputGroupAddonProps, InputGroupRootProps } from "./types.js";
|
|
3
|
+
export declare function InputGroup<TAs extends ElementType = "div">(props: InputGroupRootProps<TAs>): ReactElement | null;
|
|
4
|
+
export declare function InputGroupAddon<TAs extends ElementType = "span">(props: InputGroupAddonProps<TAs>): ReactElement | null;
|
|
5
|
+
//# sourceMappingURL=InputGroup.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InputGroup.d.ts","sourceRoot":"","sources":["../../../src/components/input-group/InputGroup.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAEvD,OAAO,KAAK,EAAE,oBAAoB,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAE5E,wBAAgB,UAAU,CAAC,GAAG,SAAS,WAAW,GAAG,KAAK,EACxD,KAAK,EAAE,mBAAmB,CAAC,GAAG,CAAC,GAC9B,YAAY,GAAG,IAAI,CAcrB;AAED,wBAAgB,eAAe,CAAC,GAAG,SAAS,WAAW,GAAG,MAAM,EAC9D,KAAK,EAAE,oBAAoB,CAAC,GAAG,CAAC,GAC/B,YAAY,GAAG,IAAI,CAerB"}
|