@versaur/react 1.0.18 → 1.0.20
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/blocks.d.ts +27 -0
- package/dist/blocks.js +158 -162
- package/dist/forms.d.ts +36 -25
- package/dist/forms.js +495 -531
- package/dist/hooks.d.ts +89 -0
- package/dist/hooks.js +10 -0
- package/dist/use-breakpoints-DGKHJ-Jb.js +44 -0
- package/dist/use-resize-observer-DLkpn8HX.js +14 -0
- package/dist/utils.js +20 -56
- package/package.json +8 -3
package/dist/blocks.d.ts
CHANGED
|
@@ -960,6 +960,33 @@ declare interface OverlayTitleProps extends HTMLAttributes<HTMLHeadingElement> {
|
|
|
960
960
|
as?: ElementType;
|
|
961
961
|
}
|
|
962
962
|
|
|
963
|
+
/**
|
|
964
|
+
* PageContent component for wrapping main page content
|
|
965
|
+
*
|
|
966
|
+
* Container that applies consistent padding matching PageHeader.
|
|
967
|
+
* Used as a pair with PageHeader for consistent spacing.
|
|
968
|
+
*
|
|
969
|
+
* @example
|
|
970
|
+
* ```tsx
|
|
971
|
+
* <AppLayout>
|
|
972
|
+
* <AppLayout.Main>
|
|
973
|
+
* <PageHeader title="Settings" />
|
|
974
|
+
* <PageContent>
|
|
975
|
+
* <Form>
|
|
976
|
+
* <TextInput label="Name" />
|
|
977
|
+
* </Form>
|
|
978
|
+
* </PageContent>
|
|
979
|
+
* </AppLayout.Main>
|
|
980
|
+
* </AppLayout>
|
|
981
|
+
* ```
|
|
982
|
+
*/
|
|
983
|
+
export declare const PageContent: ForwardRefExoticComponent<PageContentProps & RefAttributes<HTMLDivElement>>;
|
|
984
|
+
|
|
985
|
+
export declare interface PageContentProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
986
|
+
/** Page content to render */
|
|
987
|
+
children?: ReactNode;
|
|
988
|
+
}
|
|
989
|
+
|
|
963
990
|
export declare const PageHeader: PageHeaderComponent;
|
|
964
991
|
|
|
965
992
|
export declare interface PageHeaderComponent extends ForwardRefExoticComponent<PageHeaderRootProps & RefAttributes<HTMLElement>> {
|