@opengeoweb/theme 2.12.0 → 2.15.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.
@@ -1,13 +1,13 @@
1
1
  import * as React from 'react';
2
2
  import { SvgIconProps } from '@mui/material';
3
- export declare const HorizontalSplit: React.FC;
4
- export declare const VerticalSplit: React.FC;
3
+ export declare const SplitHorizontal: React.FC;
4
+ export declare const SplitVertical: React.FC;
5
5
  export declare const Expand: React.FC;
6
6
  export declare const UnExpand: React.FC;
7
7
  export declare const Delete: (props: SvgIconProps) => JSX.Element;
8
- export declare const RegionDraw: (props: SvgIconProps) => JSX.Element;
9
- export declare const PolygonDraw: (props: SvgIconProps) => JSX.Element;
10
- export declare const FIRLandDraw: (props: SvgIconProps) => JSX.Element;
8
+ export declare const DrawRegion: (props: SvgIconProps) => JSX.Element;
9
+ export declare const DrawPolygon: (props: SvgIconProps) => JSX.Element;
10
+ export declare const DrawFIRLand: (props: SvgIconProps) => JSX.Element;
11
11
  export declare const Location: (props: SvgIconProps) => JSX.Element;
12
12
  export declare const ThumbsUp: (props: SvgIconProps) => JSX.Element;
13
13
  export declare const Edit: (props: SvgIconProps) => JSX.Element;
@@ -15,8 +15,8 @@ export declare const Export: (props: SvgIconProps) => JSX.Element;
15
15
  export declare const ListItem: (props: SvgIconProps) => JSX.Element;
16
16
  export declare const TimeSeriesManager: React.FC;
17
17
  export declare const Close: React.FC<SvgIconProps>;
18
- export declare const OptionKey: React.FC;
19
- export declare const CommandKey: React.FC;
18
+ export declare const KeyOption: React.FC;
19
+ export declare const KeyCommand: React.FC;
20
20
  export declare const ArrowLeft: React.FC;
21
21
  export declare const ArrowRight: React.FC;
22
22
  export declare const ArrowDown: React.FC;
@@ -41,7 +41,6 @@ interface TextIconProps extends SvgIconProps {
41
41
  }
42
42
  export declare const TextIcon: ({ text, ...props }: TextIconProps) => JSX.Element;
43
43
  export declare const FastForward: (props: SvgIconProps) => JSX.Element;
44
- export declare const TextIconTimeStepButton: ({ text, ...props }: TextIconProps) => JSX.Element;
45
44
  export declare const SliderThumb: (props: SvgIconProps) => JSX.Element;
46
45
  export declare const Options: (props: SvgIconProps) => JSX.Element;
47
46
  export declare const ChevronLeft: (props: SvgIconProps) => JSX.Element;
@@ -58,7 +57,7 @@ interface ResizeIconProps extends SvgIconProps {
58
57
  isRightAligned?: boolean;
59
58
  }
60
59
  export declare const Resize: ({ isRightAligned, ...props }: ResizeIconProps) => JSX.Element;
61
- export declare const Workspace: (props: SvgIconProps) => JSX.Element;
60
+ export declare const PresetWorkspace: (props: SvgIconProps) => JSX.Element;
62
61
  export declare const Preset: (props: SvgIconProps) => JSX.Element;
63
62
  export declare const PresetTiles: (props: SvgIconProps) => JSX.Element;
64
63
  export declare const List: React.FC;
@@ -98,8 +98,12 @@ export declare type GeowebColorPalette = {
98
98
  thumbDisabled: CSSProperties['color'];
99
99
  mark: CSSProperties['color'];
100
100
  markDisabled: CSSProperties['color'];
101
- switchTrack: CSSProperties['color'];
102
- switchTrackDisabled: CSSProperties['color'];
101
+ };
102
+ customSwitch: {
103
+ thumb: CSSProperties['color'];
104
+ thumbDisabled: CSSProperties['color'];
105
+ track: CSSProperties['color'];
106
+ trackActive: CSSProperties['color'];
103
107
  };
104
108
  syncGroups: {
105
109
  drawerOpen: CSSProperties;
@@ -0,0 +1,3 @@
1
+ import * as React from 'react';
2
+ export declare const SwitchDemo: React.FC;
3
+ export declare const Switch: React.FC;
@@ -16,6 +16,7 @@ export { TextFields } from './TextField.stories';
16
16
  export { Breakpoints } from './Breakpoints.stories';
17
17
  export { Icons } from './Icons.stories';
18
18
  export { FormElementsGWTheme, FormElements } from './FormElements.stories';
19
+ export { Switch } from './Switch.stories';
19
20
  declare const _default: {
20
21
  title: string;
21
22
  };
@@ -0,0 +1,7 @@
1
+ import * as React from 'react';
2
+ declare const _default: {
3
+ title: string;
4
+ };
5
+ export default _default;
6
+ export declare const SwitchLight: () => React.ReactElement;
7
+ export declare const SwitchDark: () => React.ReactElement;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opengeoweb/theme",
3
- "version": "2.12.0",
3
+ "version": "2.15.0",
4
4
  "description": "GeoWeb Theme library for the opengeoweb project",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {