@opengeoweb/theme 12.10.0 → 12.11.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 +4 -1
- package/src/lib/stories/Accordion.stories.d.ts +1 -1
- package/src/lib/stories/Avatar.stories.d.ts +1 -1
- package/src/lib/stories/Backdrop.stories.d.ts +1 -1
- package/src/lib/stories/Breakpoints.stories.d.ts +1 -1
- package/src/lib/stories/Button.stories.d.ts +1 -1
- package/src/lib/stories/Card.stories.d.ts +1 -1
- package/src/lib/stories/Colors.stories.d.ts +1 -1
- package/src/lib/stories/Elevation.stories.d.ts +1 -1
- package/src/lib/stories/FormElements.stories.d.ts +1 -1
- package/src/lib/stories/IconButton.stories.d.ts +1 -1
- package/src/lib/stories/Icons.stories.d.ts +1 -1
- package/src/lib/stories/List.stories.d.ts +1 -1
- package/src/lib/stories/MenuItem.stories.d.ts +1 -1
- package/src/lib/stories/Select.stories.d.ts +1 -1
- package/src/lib/stories/Slider.stories.d.ts +1 -1
- package/src/lib/stories/Snackbar.stories.d.ts +1 -1
- package/src/lib/stories/Switch.stories.d.ts +1 -1
- package/src/lib/stories/Table.stories.d.ts +1 -1
- package/src/lib/stories/Tabs.stories.d.ts +1 -1
- package/src/lib/stories/TextField.stories.d.ts +1 -1
- package/src/lib/stories/ToggleButton.stories.d.ts +1 -1
- package/src/lib/stories/Tooltip.stories.d.ts +1 -1
- package/src/lib/stories/Typography.stories.d.ts +1 -1
- package/src/lib/types.d.ts +0 -1
- package/src/lib/utils/buttonStyles.d.ts +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opengeoweb/theme",
|
|
3
|
-
"version": "12.
|
|
3
|
+
"version": "12.11.0",
|
|
4
4
|
"description": "GeoWeb Theme library for the opengeoweb project",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -20,6 +20,9 @@
|
|
|
20
20
|
"@emotion/react": "*",
|
|
21
21
|
"@emotion/styled": "*"
|
|
22
22
|
},
|
|
23
|
+
"devDependencies": {
|
|
24
|
+
"eslint-plugin-storybook": "9.0.17"
|
|
25
|
+
},
|
|
23
26
|
"module": "./index.esm.js",
|
|
24
27
|
"type": "module",
|
|
25
28
|
"main": "./index.esm.js",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { Backdrop as MuiBackdrop } from '@mui/material';
|
|
3
|
-
import type { StoryObj } from '@storybook/react';
|
|
3
|
+
import type { StoryObj } from '@storybook/react-webpack5';
|
|
4
4
|
type Story = StoryObj<typeof MuiBackdrop>;
|
|
5
5
|
declare const _default: {
|
|
6
6
|
title: string;
|
package/src/lib/types.d.ts
CHANGED
|
@@ -5,6 +5,6 @@ export declare const defaultButtonStyle: (button: ButtonStyle) => CSSObject;
|
|
|
5
5
|
export declare const buttonStyle: (button: ButtonStyle) => CSSObject;
|
|
6
6
|
export declare const iconButtonStyle: (button: ButtonStyle) => CSSObject;
|
|
7
7
|
type PartialButtonVariants = Partial<Record<ButtonVariant, ButtonStyle>>;
|
|
8
|
-
export declare const buttonVariants: (buttons: PartialButtonVariants, stylingFn?: (button: ButtonStyle) => CSSObject) => ComponentsVariants[
|
|
9
|
-
export declare const variantsToClassName: (buttonVariants: ComponentsVariants[
|
|
8
|
+
export declare const buttonVariants: (buttons: PartialButtonVariants, stylingFn?: (button: ButtonStyle) => CSSObject) => ComponentsVariants["MuiButton"];
|
|
9
|
+
export declare const variantsToClassName: (buttonVariants: ComponentsVariants["MuiButton"]) => CSSObject;
|
|
10
10
|
export {};
|