wacomm 2.9.2 → 2.9.3
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/coordinates/CoordinateUpdater.d.ts +11 -0
- package/dist/coordinates/{CoordinatesSetter.stories.d.ts → CoordinateUpdater.stories.d.ts} +2 -2
- package/dist/coordinates/CoordinatesUpdater.d.ts +9 -0
- package/dist/coordinates/CoordinatesUpdater.stories.d.ts +8 -0
- package/dist/coordinates/MyGeolocationUpdater.d.ts +8 -0
- package/dist/coordinates/MyGeolocationUpdater.stories.d.ts +7 -0
- package/dist/coordinates/index.d.ts +2 -1
- package/dist/{index-DyaIn-qY.mjs → index-C6bWcY9B.mjs} +6621 -6586
- package/dist/{index-DVZIExpd.js → index-InqtkTsq.js} +67 -67
- package/dist/{mapbox-gl-Bd-IWtG2.js → mapbox-gl-BJca0p_P.js} +1 -1
- package/dist/{mapbox-gl-SlUn3VRA.mjs → mapbox-gl-nv_A1jca.mjs} +1 -1
- package/dist/{maplibre-gl-BaephgEq.js → maplibre-gl-BTQR1gwz.js} +1 -1
- package/dist/{maplibre-gl-BPlV3kry.mjs → maplibre-gl-ByqWsY7b.mjs} +1 -1
- package/dist/wacomm.cjs.js +1 -1
- package/dist/wacomm.css +1 -1
- package/dist/wacomm.es.js +62 -61
- package/package.json +1 -1
- package/dist/coordinates/CoordinatesSetter.d.ts +0 -9
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
type CoordinateUpdaterProps = {
|
|
2
|
+
label: string;
|
|
3
|
+
value: number;
|
|
4
|
+
disabled: boolean;
|
|
5
|
+
min: number;
|
|
6
|
+
max: number;
|
|
7
|
+
isValid: (v: number) => boolean;
|
|
8
|
+
onChange: (value: number) => void;
|
|
9
|
+
};
|
|
10
|
+
declare function CoordinateUpdater({ label, value, disabled, min, max, isValid, onChange }: CoordinateUpdaterProps): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export default CoordinateUpdater;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
-
import { default as
|
|
3
|
-
declare const meta: Meta<typeof
|
|
2
|
+
import { default as CoordinateUpdater } from './CoordinateUpdater';
|
|
3
|
+
declare const meta: Meta<typeof CoordinateUpdater>;
|
|
4
4
|
export default meta;
|
|
5
5
|
type Story = StoryObj<typeof meta>;
|
|
6
6
|
export declare const Default: Story;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
type CoordinatesUpdaterProps = {
|
|
2
|
+
lat: number;
|
|
3
|
+
lng: number;
|
|
4
|
+
onChange: (lat: number, lng: number) => void;
|
|
5
|
+
className?: string;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
};
|
|
8
|
+
declare function CoordinatesUpdater({ lat, lng, onChange, className, disabled }: CoordinatesUpdaterProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export default CoordinatesUpdater;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { default as CoordinatesUpdater } from './CoordinatesUpdater';
|
|
3
|
+
declare const meta: Meta<typeof CoordinatesUpdater>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof meta>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const Disabled: Story;
|
|
8
|
+
export declare const Invalid: Story;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
type MyGeolocationUpdaterProps = {
|
|
2
|
+
lat: number;
|
|
3
|
+
lng: number;
|
|
4
|
+
onChange: (lat: number, lng: number) => void;
|
|
5
|
+
className?: string;
|
|
6
|
+
};
|
|
7
|
+
declare function MyGeolocationUpdater({ lat, lng, onChange, className }: MyGeolocationUpdaterProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export default MyGeolocationUpdater;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { default as MyGeolocationUpdater } from './MyGeolocationUpdater';
|
|
3
|
+
declare const meta: Meta<typeof MyGeolocationUpdater>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof meta>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const GeolocationUnavailable: Story;
|