mosuk-ui 1.0.3 → 1.0.5
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/components/integrations/yandex/maps/component/marker/component.d.ts +1 -1
- package/components/integrations/yandex/maps/component/marker/component.js +2 -2
- package/components/overlays/drawer/component/close/component.interface.d.ts +1 -1
- package/components/overlays/drawer/component/close/component.js +1 -1
- package/components/overlays/drawer/component/component.interface.d.ts +1 -1
- package/components/overlays/drawer/component/component.js +1 -1
- package/components/overlays/drawer/component/open/component.interface.d.ts +1 -1
- package/components/overlays/drawer/component/open/component.js +1 -1
- package/components/overlays/drawer/component/portal/component.interface.d.ts +1 -1
- package/components/overlays/drawer/component/portal/component.js +1 -1
- package/components/overlays/drawer/component/portal/viewport/backdrop/component.interface.d.ts +1 -1
- package/components/overlays/drawer/component/portal/viewport/backdrop/component.js +1 -1
- package/components/overlays/drawer/component/portal/viewport/component.interface.d.ts +1 -1
- package/components/overlays/drawer/component/portal/viewport/component.js +1 -1
- package/components/overlays/drawer/component/portal/viewport/popup/component.interface.d.ts +1 -1
- package/components/overlays/drawer/component/portal/viewport/popup/component.js +1 -1
- package/index.css +0 -2
- package/package.json +2 -2
- package/styles/libs/swiper/style.css +2 -4
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import type { YandexMapMarkerProps } from './component.interface';
|
|
3
|
-
export declare function YandexMapMarker({ coordinates, children, ...
|
|
3
|
+
export declare function YandexMapMarker({ coordinates, children, ...rest }: YandexMapMarkerProps): React.JSX.Element | null;
|
|
@@ -23,10 +23,10 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
23
23
|
import React, { useContext } from 'react';
|
|
24
24
|
import { YandexMapContext } from '../../../../../../providers/yandex/maps/context/context';
|
|
25
25
|
export function YandexMapMarker(_a) {
|
|
26
|
-
var coordinates = _a.coordinates, children = _a.children,
|
|
26
|
+
var coordinates = _a.coordinates, children = _a.children, rest = __rest(_a, ["coordinates", "children"]);
|
|
27
27
|
var context = useContext(YandexMapContext);
|
|
28
28
|
if (!context || !context.api)
|
|
29
29
|
return null;
|
|
30
30
|
var YMapMarker = context.api.YMapMarker;
|
|
31
|
-
return (React.createElement(YMapMarker, __assign({ coordinates: coordinates },
|
|
31
|
+
return (React.createElement(YMapMarker, __assign({ coordinates: coordinates }, rest), children));
|
|
32
32
|
}
|
|
@@ -20,7 +20,7 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
20
20
|
}
|
|
21
21
|
return t;
|
|
22
22
|
};
|
|
23
|
-
import {
|
|
23
|
+
import { Drawer as BaseUiDrawer } from '@base-ui/react';
|
|
24
24
|
import classNames from 'classnames';
|
|
25
25
|
import React from 'react';
|
|
26
26
|
export function DrawerClose(_a) {
|
|
@@ -20,7 +20,7 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
20
20
|
}
|
|
21
21
|
return t;
|
|
22
22
|
};
|
|
23
|
-
import {
|
|
23
|
+
import { Drawer as BaseUiDrawer } from '@base-ui/react';
|
|
24
24
|
import React from 'react';
|
|
25
25
|
export function Drawer(_a) {
|
|
26
26
|
var rest = __rest(_a, []);
|
|
@@ -20,7 +20,7 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
20
20
|
}
|
|
21
21
|
return t;
|
|
22
22
|
};
|
|
23
|
-
import {
|
|
23
|
+
import { Drawer as BaseUiDrawer } from '@base-ui/react';
|
|
24
24
|
import classNames from 'classnames';
|
|
25
25
|
import React from 'react';
|
|
26
26
|
export function DrawerOpen(_a) {
|
|
@@ -20,7 +20,7 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
20
20
|
}
|
|
21
21
|
return t;
|
|
22
22
|
};
|
|
23
|
-
import {
|
|
23
|
+
import { Drawer as BaseUiDrawer } from '@base-ui/react';
|
|
24
24
|
import classNames from 'classnames';
|
|
25
25
|
import React from 'react';
|
|
26
26
|
export function DrawerPortal(_a) {
|
|
@@ -20,7 +20,7 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
20
20
|
}
|
|
21
21
|
return t;
|
|
22
22
|
};
|
|
23
|
-
import {
|
|
23
|
+
import { Drawer as BaseUiDrawer } from '@base-ui/react';
|
|
24
24
|
import classNames from 'classnames';
|
|
25
25
|
import React from 'react';
|
|
26
26
|
import styles from '../../../component.module.css';
|
|
@@ -20,7 +20,7 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
20
20
|
}
|
|
21
21
|
return t;
|
|
22
22
|
};
|
|
23
|
-
import {
|
|
23
|
+
import { Drawer as BaseUiDrawer } from '@base-ui/react';
|
|
24
24
|
import classNames from 'classnames';
|
|
25
25
|
import React from 'react';
|
|
26
26
|
import styles from '../../component.module.css';
|
|
@@ -20,7 +20,7 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
20
20
|
}
|
|
21
21
|
return t;
|
|
22
22
|
};
|
|
23
|
-
import {
|
|
23
|
+
import { Drawer as BaseUiDrawer } from '@base-ui/react';
|
|
24
24
|
import classNames from 'classnames';
|
|
25
25
|
import React from 'react';
|
|
26
26
|
import styles from '../../../component.module.css';
|
package/index.css
CHANGED
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mosuk-ui",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.5",
|
|
4
4
|
"author": "mosuk",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"private": false,
|
|
7
7
|
"type": "module",
|
|
8
8
|
"dependencies": {
|
|
9
|
-
"@base-ui/react": "^1.
|
|
9
|
+
"@base-ui/react": "^1.3.0",
|
|
10
10
|
"@dnd-kit/core": "^6.3.1",
|
|
11
11
|
"@dnd-kit/sortable": "^10.0.0",
|
|
12
12
|
"@dnd-kit/utilities": "^3.2.2",
|