@opengeoweb/layer-select 9.35.0 → 9.36.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/package.json +1 -1
- package/src/lib/components/KeywordFilterResults/KeywordFilterResults.stories.d.ts +8 -25
- package/src/lib/components/LayerSelect/LayerSelect.stories.d.ts +10 -33
- package/src/lib/components/Providers/Providers.d.ts +3 -1
- package/src/lib/components/ServiceOptionsButton/ServiceOptionsButton.stories.d.ts +8 -7
- package/src/lib/components/ServiceOptionsDialog/ServiceOptionsDialog.stories.d.ts +18 -7
- package/src/lib/components/ServicePopup/ServicePopup.stories.d.ts +6 -3
- package/src/lib/components/ServicePopup/ServicePopupConnect.stories.d.ts +4 -1
package/package.json
CHANGED
|
@@ -1,25 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
export declare const
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
parameters: {
|
|
10
|
-
zeplinLink: {
|
|
11
|
-
name: string;
|
|
12
|
-
link: string;
|
|
13
|
-
}[];
|
|
14
|
-
};
|
|
15
|
-
};
|
|
16
|
-
export declare const KeywordFilterResultsDark: {
|
|
17
|
-
(): React.ReactElement;
|
|
18
|
-
tags: string[];
|
|
19
|
-
parameters: {
|
|
20
|
-
zeplinLink: {
|
|
21
|
-
name: string;
|
|
22
|
-
link: string;
|
|
23
|
-
}[];
|
|
24
|
-
};
|
|
25
|
-
};
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { KeywordFilterResults } from './KeywordFilterResults';
|
|
3
|
+
declare const meta: Meta<typeof KeywordFilterResults>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof KeywordFilterResults>;
|
|
6
|
+
export declare const Component: Story;
|
|
7
|
+
export declare const KeywordFilterResultsLight: Story;
|
|
8
|
+
export declare const KeywordFilterResultsDark: Story;
|
|
@@ -1,33 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
export declare const
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
name: string;
|
|
12
|
-
link: string;
|
|
13
|
-
}[];
|
|
14
|
-
};
|
|
15
|
-
};
|
|
16
|
-
export declare const LayerSelectDemoDarkTheme: {
|
|
17
|
-
(): React.ReactElement;
|
|
18
|
-
tags: string[];
|
|
19
|
-
parameters: {
|
|
20
|
-
zeplinLink: {
|
|
21
|
-
name: string;
|
|
22
|
-
link: string;
|
|
23
|
-
}[];
|
|
24
|
-
};
|
|
25
|
-
};
|
|
26
|
-
export declare const LayerSelectDemoSmallLightTheme: {
|
|
27
|
-
(): React.ReactElement;
|
|
28
|
-
tags: string[];
|
|
29
|
-
};
|
|
30
|
-
export declare const LayerSelectDemoSmallDarkTheme: {
|
|
31
|
-
(): React.ReactElement;
|
|
32
|
-
tags: string[];
|
|
33
|
-
};
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { LayerSelect } from './LayerSelect';
|
|
3
|
+
declare const meta: Meta<typeof LayerSelect>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof LayerSelect>;
|
|
6
|
+
export declare const Component: Story;
|
|
7
|
+
export declare const LayerSelectDemoLightTheme: Story;
|
|
8
|
+
export declare const LayerSelectDemoDarkTheme: Story;
|
|
9
|
+
export declare const LayerSelectDemoSmallLightTheme: Story;
|
|
10
|
+
export declare const LayerSelectDemoSmallDarkTheme: Story;
|
|
@@ -11,9 +11,11 @@ interface LayerSelectTranslationWrapperProps {
|
|
|
11
11
|
children?: React.ReactNode;
|
|
12
12
|
i18nInstance?: typeof i18n;
|
|
13
13
|
}
|
|
14
|
-
export declare const ThemeProvider: React.FC<BaseProviderProps>;
|
|
15
14
|
export declare const LayerSelecti18nProvider: React.FC<LayerSelectTranslationWrapperProps>;
|
|
16
15
|
export declare const DemoWrapper: React.FC<BaseProviderProps>;
|
|
16
|
+
export declare const LayerSelectStoreProvider: React.FC<ThemeProviderProps & {
|
|
17
|
+
store: Store;
|
|
18
|
+
}>;
|
|
17
19
|
export declare const TestThemeStoreProvider: React.FC<ThemeProviderProps & {
|
|
18
20
|
store: Store;
|
|
19
21
|
}>;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
export declare const
|
|
7
|
-
export declare const
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { ServiceOptionsButton } from './ServiceOptionsButton';
|
|
3
|
+
declare const meta: Meta<typeof ServiceOptionsButton>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof ServiceOptionsButton>;
|
|
6
|
+
export declare const Component: Story;
|
|
7
|
+
export declare const ServiceOptionsButtonLight: Story;
|
|
8
|
+
export declare const ServiceOptionsButtonDark: Story;
|
|
@@ -1,11 +1,18 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
};
|
|
5
|
-
|
|
1
|
+
import { layerTypes } from '@opengeoweb/store';
|
|
2
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
3
|
+
import { ServiceOptionsDialog } from './ServiceOptionsDialog';
|
|
4
|
+
import { layerSelectTypes } from '../../store';
|
|
5
|
+
declare const meta: Meta<typeof ServiceOptionsDialog>;
|
|
6
|
+
export default meta;
|
|
7
|
+
type Story = StoryObj<typeof ServiceOptionsDialog>;
|
|
8
|
+
export declare const Component: Story;
|
|
6
9
|
export declare const ServiceOptionsDialogLight: {
|
|
7
|
-
(): React.ReactElement;
|
|
8
10
|
tags: string[];
|
|
11
|
+
args: {
|
|
12
|
+
services: layerSelectTypes.ActiveServiceObjectEntities;
|
|
13
|
+
selectedLayers: layerTypes.Layer[];
|
|
14
|
+
isLoading: boolean;
|
|
15
|
+
};
|
|
9
16
|
parameters: {
|
|
10
17
|
zeplinLink: {
|
|
11
18
|
name: string;
|
|
@@ -14,8 +21,12 @@ export declare const ServiceOptionsDialogLight: {
|
|
|
14
21
|
};
|
|
15
22
|
};
|
|
16
23
|
export declare const ServiceOptionsDialogDark: {
|
|
17
|
-
(): React.ReactElement;
|
|
18
24
|
tags: string[];
|
|
25
|
+
args: {
|
|
26
|
+
services: layerSelectTypes.ActiveServiceObjectEntities;
|
|
27
|
+
selectedLayers: layerTypes.Layer[];
|
|
28
|
+
isLoading: boolean;
|
|
29
|
+
};
|
|
19
30
|
parameters: {
|
|
20
31
|
zeplinLink: {
|
|
21
32
|
name: string;
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
3
|
+
import { ServicePopup } from './ServicePopup';
|
|
4
|
+
declare const meta: Meta<typeof ServicePopup>;
|
|
5
|
+
export default meta;
|
|
6
|
+
type Story = StoryObj<typeof ServicePopup>;
|
|
7
|
+
export declare const Component: Story;
|
|
4
8
|
export declare const ServicePopupAddLight: {
|
|
5
9
|
(): React.ReactElement;
|
|
6
10
|
tags: string[];
|
|
@@ -41,4 +45,3 @@ export declare const ServicePopupShowDark: {
|
|
|
41
45
|
}[];
|
|
42
46
|
};
|
|
43
47
|
};
|
|
44
|
-
export declare const ServicePopupWithInvalidUrl: () => React.ReactElement;
|