@kopexa/drawer 17.0.26 → 17.1.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/README.md +5 -1
- package/dist/{chunk-4DCIRIDK.mjs → chunk-AQR3M4FZ.mjs} +1 -1
- package/dist/{chunk-PI2WIR3H.mjs → chunk-DMEDY7ZU.mjs} +1 -1
- package/dist/drawer.d.mts +1 -1
- package/dist/drawer.d.ts +1 -1
- package/dist/drawer.js +1 -1
- package/dist/drawer.mjs +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +2 -2
- package/dist/namespace.d.mts +1 -1
- package/dist/namespace.d.ts +1 -1
- package/dist/namespace.js +1 -1
- package/dist/namespace.mjs +2 -2
- package/package.json +8 -8
package/README.md
CHANGED
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
# @kopexa/drawer
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Part of the Kopexa Sight Design System.
|
|
4
4
|
|
|
5
5
|
> This is an internal utility, not intended for public usage.
|
|
6
6
|
|
|
7
|
+
- **Author:** Kopexa (<https://kopexa.com>)
|
|
8
|
+
- **License:** Apache-2.0
|
|
9
|
+
- **Repository:** [kopexa-grc/sight](https://github.com/kopexa-grc/sight)
|
|
10
|
+
|
|
7
11
|
## Installation
|
|
8
12
|
|
|
9
13
|
```sh
|
|
@@ -6,7 +6,7 @@ var __export = (target, all) => {
|
|
|
6
6
|
};
|
|
7
7
|
|
|
8
8
|
// src/drawer.tsx
|
|
9
|
-
import { Dialog as SheetPrimitive } from "@base-ui
|
|
9
|
+
import { Dialog as SheetPrimitive } from "@base-ui/react/dialog";
|
|
10
10
|
import { CloseIcon } from "@kopexa/icons";
|
|
11
11
|
import { createContext } from "@kopexa/react-utils";
|
|
12
12
|
import { cn } from "@kopexa/shared-utils";
|
package/dist/drawer.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import * as react from 'react';
|
|
3
3
|
import { ComponentProps } from 'react';
|
|
4
|
-
import { Dialog } from '@base-ui
|
|
4
|
+
import { Dialog } from '@base-ui/react/dialog';
|
|
5
5
|
import { drawer, DrawerVariantProps } from '@kopexa/theme';
|
|
6
6
|
|
|
7
7
|
type DrawerContextValue = {
|
package/dist/drawer.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import * as react from 'react';
|
|
3
3
|
import { ComponentProps } from 'react';
|
|
4
|
-
import { Dialog } from '@base-ui
|
|
4
|
+
import { Dialog } from '@base-ui/react/dialog';
|
|
5
5
|
import { drawer, DrawerVariantProps } from '@kopexa/theme';
|
|
6
6
|
|
|
7
7
|
type DrawerContextValue = {
|
package/dist/drawer.js
CHANGED
|
@@ -37,7 +37,7 @@ __export(drawer_exports, {
|
|
|
37
37
|
useDrawerContext: () => useDrawerContext
|
|
38
38
|
});
|
|
39
39
|
module.exports = __toCommonJS(drawer_exports);
|
|
40
|
-
var import_dialog = require("@base-ui
|
|
40
|
+
var import_dialog = require("@base-ui/react/dialog");
|
|
41
41
|
var import_icons = require("@kopexa/icons");
|
|
42
42
|
var import_react_utils = require("@kopexa/react-utils");
|
|
43
43
|
var import_shared_utils = require("@kopexa/shared-utils");
|
package/dist/drawer.mjs
CHANGED
package/dist/index.d.mts
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -27,7 +27,7 @@ __export(index_exports, {
|
|
|
27
27
|
module.exports = __toCommonJS(index_exports);
|
|
28
28
|
|
|
29
29
|
// src/drawer.tsx
|
|
30
|
-
var import_dialog = require("@base-ui
|
|
30
|
+
var import_dialog = require("@base-ui/react/dialog");
|
|
31
31
|
var import_icons = require("@kopexa/icons");
|
|
32
32
|
var import_react_utils = require("@kopexa/react-utils");
|
|
33
33
|
var import_shared_utils = require("@kopexa/shared-utils");
|
package/dist/index.mjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
namespace_exports
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-AQR3M4FZ.mjs";
|
|
5
5
|
import {
|
|
6
6
|
useDrawerContext
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-DMEDY7ZU.mjs";
|
|
8
8
|
export {
|
|
9
9
|
namespace_exports as Drawer,
|
|
10
10
|
useDrawerContext
|
package/dist/namespace.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { DrawerBody, DrawerBodyProps, DrawerClose, DrawerCloseProps, DrawerCloseTrigger, DrawerCloseTriggerProps, DrawerContent, DrawerContentProps, DrawerDescription, DrawerDescriptionProps, DrawerFooter, DrawerFooterProps, DrawerHeader, DrawerHeaderProps, DrawerOverlay, DrawerOverlayProps, DrawerPortal, DrawerPortalProps, DrawerRoot, DrawerRootProps, DrawerTitle, DrawerTitleProps, DrawerTrigger, DrawerTriggerProps } from './drawer.mjs';
|
|
2
2
|
import 'react/jsx-runtime';
|
|
3
3
|
import 'react';
|
|
4
|
-
import '@base-ui
|
|
4
|
+
import '@base-ui/react/dialog';
|
|
5
5
|
import '@kopexa/theme';
|
|
6
6
|
|
|
7
7
|
declare namespace namespace {
|
package/dist/namespace.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { DrawerBody, DrawerBodyProps, DrawerClose, DrawerCloseProps, DrawerCloseTrigger, DrawerCloseTriggerProps, DrawerContent, DrawerContentProps, DrawerDescription, DrawerDescriptionProps, DrawerFooter, DrawerFooterProps, DrawerHeader, DrawerHeaderProps, DrawerOverlay, DrawerOverlayProps, DrawerPortal, DrawerPortalProps, DrawerRoot, DrawerRootProps, DrawerTitle, DrawerTitleProps, DrawerTrigger, DrawerTriggerProps } from './drawer.js';
|
|
2
2
|
import 'react/jsx-runtime';
|
|
3
3
|
import 'react';
|
|
4
|
-
import '@base-ui
|
|
4
|
+
import '@base-ui/react/dialog';
|
|
5
5
|
import '@kopexa/theme';
|
|
6
6
|
|
|
7
7
|
declare namespace namespace {
|
package/dist/namespace.js
CHANGED
|
@@ -37,7 +37,7 @@ __export(namespace_exports, {
|
|
|
37
37
|
module.exports = __toCommonJS(namespace_exports);
|
|
38
38
|
|
|
39
39
|
// src/drawer.tsx
|
|
40
|
-
var import_dialog = require("@base-ui
|
|
40
|
+
var import_dialog = require("@base-ui/react/dialog");
|
|
41
41
|
var import_icons = require("@kopexa/icons");
|
|
42
42
|
var import_react_utils = require("@kopexa/react-utils");
|
|
43
43
|
var import_shared_utils = require("@kopexa/shared-utils");
|
package/dist/namespace.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import "./chunk-
|
|
2
|
+
import "./chunk-AQR3M4FZ.mjs";
|
|
3
3
|
import {
|
|
4
4
|
DrawerBody,
|
|
5
5
|
DrawerClose,
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
DrawerRoot,
|
|
14
14
|
DrawerTitle,
|
|
15
15
|
DrawerTrigger
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-DMEDY7ZU.mjs";
|
|
17
17
|
export {
|
|
18
18
|
DrawerBody as Body,
|
|
19
19
|
DrawerClose as Close,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kopexa/drawer",
|
|
3
|
-
"version": "17.0
|
|
3
|
+
"version": "17.1.0",
|
|
4
4
|
"description": "A drawer for kopexa",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"drawer"
|
|
@@ -27,15 +27,15 @@
|
|
|
27
27
|
"peerDependencies": {
|
|
28
28
|
"react": ">=19.0.0-rc.0",
|
|
29
29
|
"react-dom": ">=19.0.0-rc.0",
|
|
30
|
-
"@kopexa/theme": "17.
|
|
30
|
+
"@kopexa/theme": "17.15.0"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@base-ui
|
|
34
|
-
"@kopexa/icons": "17.
|
|
35
|
-
"@kopexa/motion-utils": "17.0.
|
|
36
|
-
"@kopexa/
|
|
37
|
-
"@kopexa/
|
|
38
|
-
"@kopexa/
|
|
33
|
+
"@base-ui/react": "^1.1.0",
|
|
34
|
+
"@kopexa/icons": "17.4.1",
|
|
35
|
+
"@kopexa/motion-utils": "17.0.28",
|
|
36
|
+
"@kopexa/react-utils": "17.0.28",
|
|
37
|
+
"@kopexa/use-controllable-state": "17.0.28",
|
|
38
|
+
"@kopexa/shared-utils": "17.0.28"
|
|
39
39
|
},
|
|
40
40
|
"clean-package": "../../../clean-package.config.json",
|
|
41
41
|
"module": "dist/index.mjs",
|