@commercetools-uikit/collapsible-panel 16.1.0 → 16.2.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/dist/commercetools-uikit-collapsible-panel.cjs.dev.js +36 -94
- package/dist/commercetools-uikit-collapsible-panel.cjs.prod.js +25 -83
- package/dist/commercetools-uikit-collapsible-panel.esm.js +37 -87
- package/dist/declarations/src/collapsible-panel.styles.d.ts +2 -6
- package/package.json +10 -10
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
import { type ReactNode } from 'react';
|
|
2
2
|
import type { TCollapsiblePanel } from './collapsible-panel';
|
|
3
3
|
declare function getThemeStyle(theme?: TCollapsiblePanel['theme']): import("@emotion/utils").SerializedStyles;
|
|
4
|
-
declare const getHeaderContainerStyles: (props: Pick<TCollapsiblePanel, 'headerControlsAlignment' | 'condensed' | 'isDisabled' | 'isSticky'
|
|
5
|
-
isNewTheme: boolean;
|
|
6
|
-
}, isOpen: boolean) => (false | import("@emotion/utils").SerializedStyles | undefined)[];
|
|
4
|
+
declare const getHeaderContainerStyles: (props: Pick<TCollapsiblePanel, 'headerControlsAlignment' | 'condensed' | 'isDisabled' | 'isSticky'>, isOpen: boolean) => (false | import("@emotion/utils").SerializedStyles | undefined)[];
|
|
7
5
|
declare const baseContainerStyles: import("@emotion/utils").SerializedStyles;
|
|
8
|
-
declare const getBaseContainerStyles: (isNewTheme: boolean) => import("@emotion/utils").SerializedStyles | undefined;
|
|
9
6
|
declare const HeaderControlsWrapper: import("@emotion/styled").StyledComponent<{
|
|
10
7
|
theme?: import("@emotion/react").Theme | undefined;
|
|
11
8
|
as?: import("react").ElementType<any> | undefined;
|
|
@@ -23,8 +20,7 @@ declare const SectionDescriptionWrapper: import("@emotion/styled").StyledCompone
|
|
|
23
20
|
type TSectionWrapper = {
|
|
24
21
|
condensed?: boolean;
|
|
25
22
|
isExpandControlHidden?: boolean;
|
|
26
|
-
isNewTheme: boolean;
|
|
27
23
|
children: ReactNode;
|
|
28
24
|
};
|
|
29
25
|
declare const SectionWrapper: import("react").ForwardRefExoticComponent<TSectionWrapper & import("react").RefAttributes<HTMLDivElement>>;
|
|
30
|
-
export { baseContainerStyles, getHeaderContainerStyles, getThemeStyle,
|
|
26
|
+
export { baseContainerStyles, getHeaderContainerStyles, getThemeStyle, SectionContent, SectionDescriptionWrapper, SectionWrapper, HeaderControlsWrapper, };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@commercetools-uikit/collapsible-panel",
|
|
3
3
|
"description": "A panel to collapse and expand your content.",
|
|
4
|
-
"version": "16.
|
|
4
|
+
"version": "16.2.0",
|
|
5
5
|
"bugs": "https://github.com/commercetools/ui-kit/issues",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -21,15 +21,15 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@babel/runtime": "^7.20.13",
|
|
23
23
|
"@babel/runtime-corejs3": "^7.20.13",
|
|
24
|
-
"@commercetools-uikit/accessible-button": "16.
|
|
25
|
-
"@commercetools-uikit/collapsible-motion": "16.
|
|
26
|
-
"@commercetools-uikit/constraints": "16.
|
|
27
|
-
"@commercetools-uikit/design-system": "16.
|
|
28
|
-
"@commercetools-uikit/hooks": "16.
|
|
29
|
-
"@commercetools-uikit/icons": "16.
|
|
30
|
-
"@commercetools-uikit/spacings": "16.
|
|
31
|
-
"@commercetools-uikit/text": "16.
|
|
32
|
-
"@commercetools-uikit/utils": "16.
|
|
24
|
+
"@commercetools-uikit/accessible-button": "16.2.0",
|
|
25
|
+
"@commercetools-uikit/collapsible-motion": "16.2.0",
|
|
26
|
+
"@commercetools-uikit/constraints": "16.2.0",
|
|
27
|
+
"@commercetools-uikit/design-system": "16.2.0",
|
|
28
|
+
"@commercetools-uikit/hooks": "16.2.0",
|
|
29
|
+
"@commercetools-uikit/icons": "16.2.0",
|
|
30
|
+
"@commercetools-uikit/spacings": "16.2.0",
|
|
31
|
+
"@commercetools-uikit/text": "16.2.0",
|
|
32
|
+
"@commercetools-uikit/utils": "16.2.0",
|
|
33
33
|
"@emotion/react": "^11.10.5",
|
|
34
34
|
"@emotion/styled": "^11.10.5",
|
|
35
35
|
"lodash": "4.17.21",
|