@hive-ui/side-modal 0.4.0 → 0.5.0

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/index.d.mts CHANGED
@@ -2,6 +2,7 @@ import { BoxProps } from "@hive-ui/box";
2
2
  import { NonModalDialogPrimitivePopoverInitialState, NonModalDialogPrimitiveStateReturn, NonModalDialogPrimitiveStateReturn as SideModalStateReturn } from "@hive-ui/non-modal-dialog-primitive";
3
3
  import * as _$react from "react";
4
4
  import { ReactNode } from "react";
5
+ import * as _$react_jsx_runtime0 from "react/jsx-runtime";
5
6
  import { ButtonProps } from "@hive-ui/button";
6
7
  import { HeadingProps } from "@hive-ui/heading";
7
8
  //#region src/SideModal.d.ts
@@ -113,7 +114,17 @@ type SideModalContainerProps = NonModalDialogPrimitivePopoverInitialState & {
113
114
  */
114
115
  state?: SideModalStateReturn;
115
116
  };
116
- declare const SideModalContainer: _$react.NamedExoticComponent<SideModalContainerProps>;
117
+ declare const SideModalContainer: _$react.MemoExoticComponent<{
118
+ ({
119
+ gutter: _gutter,
120
+ placement: _placement,
121
+ modal: _modal,
122
+ children,
123
+ state,
124
+ ...initialState
125
+ }: SideModalContainerProps): _$react_jsx_runtime0.JSX.Element;
126
+ displayName: string;
127
+ }>;
117
128
  //#endregion
118
129
  //#region src/SideModalBody.d.ts
119
130
  type SideModalBodyProps = Pick<BoxProps<"div">, "element" | "children">;
package/dist/index.mjs CHANGED
@@ -128,7 +128,7 @@ const SideModalHeading = forwardRef(({ element = "SIDE_MODAL_HEADING", as = "h2"
128
128
  });
129
129
  //#endregion
130
130
  //#region src/SideModalContainer.tsx
131
- const BaseSideModalContainer = ({ gutter, placement, modal, children, state, ...initialState }) => {
131
+ const BaseSideModalContainer = ({ gutter: _gutter, placement: _placement, modal: _modal, children, state, ...initialState }) => {
132
132
  const dialog = state || useNonModalDialogPrimitiveState({
133
133
  modal: true,
134
134
  unstable_fixed: true,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@hive-ui/side-modal",
3
- "version": "0.4.0",
4
- "description": "Hive UI Side Modal Component",
3
+ "version": "0.5.0",
4
+ "description": "Side Modal presents a non-modal dialog that slides in from the right without blocking interaction with the page. It provides structured header, body, footer, and trigger components.",
5
5
  "files": [
6
6
  "dist"
7
7
  ],
@@ -21,16 +21,16 @@
21
21
  "prepublishOnly": "vp run build"
22
22
  },
23
23
  "dependencies": {
24
- "@hive-ui/animation-library": "^0.4.0",
25
- "@hive-ui/box": "^0.4.0",
26
- "@hive-ui/button": "^0.4.0",
27
- "@hive-ui/css-library": "^0.4.0",
28
- "@hive-ui/heading": "^0.4.0",
29
- "@hive-ui/icons": "^0.4.0",
30
- "@hive-ui/non-modal-dialog-primitive": "^0.4.0",
31
- "@hive-ui/screen-reader-only": "^0.4.0",
32
- "@hive-ui/style-props": "^0.4.0",
33
- "@hive-ui/theme": "^0.4.0"
24
+ "@hive-ui/animation-library": "^0.5.0",
25
+ "@hive-ui/box": "^0.5.0",
26
+ "@hive-ui/button": "^0.5.0",
27
+ "@hive-ui/css-library": "^0.5.0",
28
+ "@hive-ui/heading": "^0.5.0",
29
+ "@hive-ui/icons": "^0.5.0",
30
+ "@hive-ui/non-modal-dialog-primitive": "^0.5.0",
31
+ "@hive-ui/screen-reader-only": "^0.5.0",
32
+ "@hive-ui/style-props": "^0.5.0",
33
+ "@hive-ui/theme": "^0.5.0"
34
34
  },
35
35
  "devDependencies": {
36
36
  "@types/node": "^25.6.2",