@opengeoweb/time-slider 14.5.2 → 15.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/index.esm.js +1825 -2239
- package/package.json +3 -5
- package/src/lib/index.d.ts +0 -1
- package/src/lib/components/TimeSliderClock/ClockContainer.d.ts +0 -18
- package/src/lib/components/TimeSliderClock/PopperMenu.d.ts +0 -10
- package/src/lib/components/TimeSliderClock/TimeSliderClock.d.ts +0 -10
- package/src/lib/components/TimeSliderClock/TimeSliderClock.spec.d.ts +0 -1
- package/src/lib/components/TimeSliderClock/TimeSliderClock.stories.d.ts +0 -11
- package/src/lib/components/TimeSliderClock/clockContainerUtils.d.ts +0 -1
- package/src/lib/components/TimeSliderClock/clockContainerUtils.spec.d.ts +0 -1
- package/src/lib/components/TimeSliderClock/index.d.ts +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opengeoweb/time-slider",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "15.1.0",
|
|
4
4
|
"description": "GeoWeb time-slider library for the opengeoweb project",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -8,12 +8,10 @@
|
|
|
8
8
|
"url": "git@gitlab.com:opengeoweb/opengeoweb.git"
|
|
9
9
|
},
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@opengeoweb/shared": "
|
|
11
|
+
"@opengeoweb/shared": "15.1.0",
|
|
12
12
|
"lodash": "^4.17.21",
|
|
13
|
-
"@opengeoweb/theme": "
|
|
13
|
+
"@opengeoweb/theme": "15.1.0",
|
|
14
14
|
"@mui/x-date-pickers": "^8.11.2",
|
|
15
|
-
"react-draggable": "^4.4.6",
|
|
16
|
-
"re-resizable": "^6.9.11",
|
|
17
15
|
"@mui/system": "^7.3.2",
|
|
18
16
|
"i18next": "^25.0.1",
|
|
19
17
|
"@mui/material": "^7.0.1",
|
package/src/lib/index.d.ts
CHANGED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import type { FC } from 'react';
|
|
2
|
-
import type { PopperPlacement } from './TimeSliderClock';
|
|
3
|
-
/**
|
|
4
|
-
* Format a date to a string
|
|
5
|
-
*
|
|
6
|
-
* Expects the following props:
|
|
7
|
-
* @param {Date} inDate - date to be formatted
|
|
8
|
-
*
|
|
9
|
-
*/
|
|
10
|
-
export declare const ClockContainer: FC<{
|
|
11
|
-
hideButton: boolean;
|
|
12
|
-
onButtonClick: () => void;
|
|
13
|
-
isPopperOpen: boolean;
|
|
14
|
-
fontSize: number;
|
|
15
|
-
time: number;
|
|
16
|
-
setButtonElement: (anchorElement: HTMLDivElement | null) => void;
|
|
17
|
-
popperPlacement: PopperPlacement;
|
|
18
|
-
}>;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { FC } from 'react';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import type { PopperPlacement } from './TimeSliderClock';
|
|
4
|
-
export declare const PopperMenu: FC<{
|
|
5
|
-
popperPlacement: PopperPlacement;
|
|
6
|
-
isPopperOpen: boolean;
|
|
7
|
-
buttonElement: HTMLDivElement | null;
|
|
8
|
-
options: React.ReactElement | undefined;
|
|
9
|
-
controls: React.ReactElement | undefined;
|
|
10
|
-
}>;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { FC } from 'react';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
export type PopperPlacement = 'right' | 'left' | 'top' | 'bottom';
|
|
4
|
-
export declare const TimeSliderClock: FC<{
|
|
5
|
-
time: number;
|
|
6
|
-
options?: React.ReactElement;
|
|
7
|
-
controls?: React.ReactElement;
|
|
8
|
-
hideButton?: boolean;
|
|
9
|
-
isPopperOpenByDefault?: boolean;
|
|
10
|
-
}>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from '@storybook/react-webpack5';
|
|
2
|
-
import { TimeSliderClock } from './TimeSliderClock';
|
|
3
|
-
declare const meta: Meta<typeof TimeSliderClock>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof TimeSliderClock>;
|
|
6
|
-
export declare const Component: Story;
|
|
7
|
-
export declare const ComponentDark: Story;
|
|
8
|
-
export declare const DemoTimeSliderClockMenuLeftLight: Story;
|
|
9
|
-
export declare const DemoTimeSliderClockMenuLeftDark: Story;
|
|
10
|
-
export declare const DemoTimeSliderClockMenuBottomLight: Story;
|
|
11
|
-
export declare const DemoTimeSliderClockMenuBottomDark: Story;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const dateToManualFormatString: (inDate: Date | undefined) => string;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './TimeSliderClock';
|