@zendeskgarden/react-accordions 8.69.1 → 8.69.3
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/index.cjs.js +25 -47
- package/dist/index.esm.js +25 -47
- package/dist/typings/elements/accordion/Accordion.d.ts +21 -21
- package/dist/typings/elements/accordion/components/Header.d.ts +11 -11
- package/dist/typings/elements/accordion/components/Label.d.ts +11 -11
- package/dist/typings/elements/accordion/components/Panel.d.ts +11 -11
- package/dist/typings/elements/accordion/components/Section.d.ts +11 -11
- package/dist/typings/elements/stepper/Stepper.d.ts +19 -19
- package/dist/typings/elements/stepper/components/Content.d.ts +11 -11
- package/dist/typings/elements/stepper/components/Label.d.ts +12 -12
- package/dist/typings/elements/stepper/components/Step.d.ts +11 -11
- package/dist/typings/elements/timeline/Timeline.d.ts +19 -19
- package/dist/typings/elements/timeline/components/Content.d.ts +11 -11
- package/dist/typings/elements/timeline/components/Item.d.ts +16 -16
- package/dist/typings/elements/timeline/components/OppositeContent.d.ts +11 -11
- package/dist/typings/index.d.ts +12 -12
- package/dist/typings/styled/accordion/StyledAccordion.d.ts +10 -10
- package/dist/typings/styled/accordion/StyledButton.d.ts +20 -20
- package/dist/typings/styled/accordion/StyledHeader.d.ts +13 -13
- package/dist/typings/styled/accordion/StyledInnerPanel.d.ts +15 -15
- package/dist/typings/styled/accordion/StyledPanel.d.ts +15 -15
- package/dist/typings/styled/accordion/StyledRotateIcon.d.ts +16 -16
- package/dist/typings/styled/accordion/StyledSection.d.ts +10 -10
- package/dist/typings/styled/index.d.ts +27 -27
- package/dist/typings/styled/stepper/StyledContent.d.ts +12 -12
- package/dist/typings/styled/stepper/StyledIcon.d.ts +14 -14
- package/dist/typings/styled/stepper/StyledInnerContent.d.ts +8 -11
- package/dist/typings/styled/stepper/StyledLabel.d.ts +12 -12
- package/dist/typings/styled/stepper/StyledLabelText.d.ts +12 -12
- package/dist/typings/styled/stepper/StyledLine.d.ts +10 -10
- package/dist/typings/styled/stepper/StyledStep.d.ts +11 -11
- package/dist/typings/styled/stepper/StyledStepper.d.ts +14 -14
- package/dist/typings/styled/timeline/StyledContent.d.ts +10 -10
- package/dist/typings/styled/timeline/StyledItem.d.ts +16 -16
- package/dist/typings/styled/timeline/StyledItemIcon.d.ts +18 -18
- package/dist/typings/styled/timeline/StyledOppositeContent.d.ts +10 -10
- package/dist/typings/styled/timeline/StyledSeparator.d.ts +10 -10
- package/dist/typings/styled/timeline/StyledTimeline.d.ts +13 -13
- package/dist/typings/types/index.d.ts +55 -55
- package/dist/typings/utils/index.d.ts +13 -13
- package/dist/typings/utils/useAccordionContext.d.ts +19 -19
- package/dist/typings/utils/useHeaderContext.d.ts +13 -13
- package/dist/typings/utils/useSectionContext.d.ts +12 -12
- package/dist/typings/utils/useStepContext.d.ts +12 -12
- package/dist/typings/utils/useStepperContext.d.ts +14 -14
- package/dist/typings/utils/useTimelineContext.d.ts +12 -12
- package/dist/typings/utils/useTimelineItemContext.d.ts +13 -13
- package/package.json +3 -3
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright Zendesk, Inc.
|
|
3
|
-
*
|
|
4
|
-
* Use of this source code is governed under the Apache License, Version 2.0
|
|
5
|
-
* found at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
|
-
*/
|
|
7
|
-
import React from 'react';
|
|
8
|
-
/**
|
|
9
|
-
* @extends HTMLAttributes<HTMLDivElement>
|
|
10
|
-
*/
|
|
11
|
-
export declare const Content: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
1
|
+
/**
|
|
2
|
+
* Copyright Zendesk, Inc.
|
|
3
|
+
*
|
|
4
|
+
* Use of this source code is governed under the Apache License, Version 2.0
|
|
5
|
+
* found at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
|
+
*/
|
|
7
|
+
import React from 'react';
|
|
8
|
+
/**
|
|
9
|
+
* @extends HTMLAttributes<HTMLDivElement>
|
|
10
|
+
*/
|
|
11
|
+
export declare const Content: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright Zendesk, Inc.
|
|
3
|
-
*
|
|
4
|
-
* Use of this source code is governed under the Apache License, Version 2.0
|
|
5
|
-
* found at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
|
-
*/
|
|
7
|
-
import React from 'react';
|
|
8
|
-
import { IStepperLabelProps } from '../../../types';
|
|
9
|
-
/**
|
|
10
|
-
* @extends HTMLAttributes<HTMLDivElement>
|
|
11
|
-
*/
|
|
12
|
-
export declare const Label: React.ForwardRefExoticComponent<IStepperLabelProps & React.RefAttributes<HTMLDivElement>>;
|
|
1
|
+
/**
|
|
2
|
+
* Copyright Zendesk, Inc.
|
|
3
|
+
*
|
|
4
|
+
* Use of this source code is governed under the Apache License, Version 2.0
|
|
5
|
+
* found at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
|
+
*/
|
|
7
|
+
import React from 'react';
|
|
8
|
+
import { IStepperLabelProps } from '../../../types';
|
|
9
|
+
/**
|
|
10
|
+
* @extends HTMLAttributes<HTMLDivElement>
|
|
11
|
+
*/
|
|
12
|
+
export declare const Label: React.ForwardRefExoticComponent<IStepperLabelProps & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright Zendesk, Inc.
|
|
3
|
-
*
|
|
4
|
-
* Use of this source code is governed under the Apache License, Version 2.0
|
|
5
|
-
* found at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
|
-
*/
|
|
7
|
-
import React from 'react';
|
|
8
|
-
/**
|
|
9
|
-
* @extends LiHTMLAttributes<HTMLLIElement>
|
|
10
|
-
*/
|
|
11
|
-
export declare const Step: React.ForwardRefExoticComponent<React.LiHTMLAttributes<HTMLLIElement> & React.RefAttributes<HTMLLIElement>>;
|
|
1
|
+
/**
|
|
2
|
+
* Copyright Zendesk, Inc.
|
|
3
|
+
*
|
|
4
|
+
* Use of this source code is governed under the Apache License, Version 2.0
|
|
5
|
+
* found at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
|
+
*/
|
|
7
|
+
import React from 'react';
|
|
8
|
+
/**
|
|
9
|
+
* @extends LiHTMLAttributes<HTMLLIElement>
|
|
10
|
+
*/
|
|
11
|
+
export declare const Step: React.ForwardRefExoticComponent<React.LiHTMLAttributes<HTMLLIElement> & React.RefAttributes<HTMLLIElement>>;
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright Zendesk, Inc.
|
|
3
|
-
*
|
|
4
|
-
* Use of this source code is governed under the Apache License, Version 2.0
|
|
5
|
-
* found at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
|
-
*/
|
|
7
|
-
import React from 'react';
|
|
8
|
-
import { ITimelineProps } from '../../types';
|
|
9
|
-
import { Item } from '../timeline/components/Item';
|
|
10
|
-
import { Content } from '../timeline/components/Content';
|
|
11
|
-
import { OppositeContent } from '../timeline/components/OppositeContent';
|
|
12
|
-
/**
|
|
13
|
-
* @extends OlHTMLAttributes<HTMLOListElement>
|
|
14
|
-
*/
|
|
15
|
-
export declare const Timeline: React.ForwardRefExoticComponent<ITimelineProps & React.RefAttributes<HTMLOListElement>> & {
|
|
16
|
-
Content: typeof Content;
|
|
17
|
-
Item: typeof Item;
|
|
18
|
-
OppositeContent: typeof OppositeContent;
|
|
19
|
-
};
|
|
1
|
+
/**
|
|
2
|
+
* Copyright Zendesk, Inc.
|
|
3
|
+
*
|
|
4
|
+
* Use of this source code is governed under the Apache License, Version 2.0
|
|
5
|
+
* found at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
|
+
*/
|
|
7
|
+
import React from 'react';
|
|
8
|
+
import { ITimelineProps } from '../../types';
|
|
9
|
+
import { Item } from '../timeline/components/Item';
|
|
10
|
+
import { Content } from '../timeline/components/Content';
|
|
11
|
+
import { OppositeContent } from '../timeline/components/OppositeContent';
|
|
12
|
+
/**
|
|
13
|
+
* @extends OlHTMLAttributes<HTMLOListElement>
|
|
14
|
+
*/
|
|
15
|
+
export declare const Timeline: React.ForwardRefExoticComponent<ITimelineProps & React.RefAttributes<HTMLOListElement>> & {
|
|
16
|
+
Content: typeof Content;
|
|
17
|
+
Item: typeof Item;
|
|
18
|
+
OppositeContent: typeof OppositeContent;
|
|
19
|
+
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright Zendesk, Inc.
|
|
3
|
-
*
|
|
4
|
-
* Use of this source code is governed under the Apache License, Version 2.0
|
|
5
|
-
* found at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
|
-
*/
|
|
7
|
-
import React from 'react';
|
|
8
|
-
/**
|
|
9
|
-
* @extends HTMLAttributes<HTMLDivElement>
|
|
10
|
-
*/
|
|
11
|
-
export declare const Content: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
1
|
+
/**
|
|
2
|
+
* Copyright Zendesk, Inc.
|
|
3
|
+
*
|
|
4
|
+
* Use of this source code is governed under the Apache License, Version 2.0
|
|
5
|
+
* found at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
|
+
*/
|
|
7
|
+
import React from 'react';
|
|
8
|
+
/**
|
|
9
|
+
* @extends HTMLAttributes<HTMLDivElement>
|
|
10
|
+
*/
|
|
11
|
+
export declare const Content: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright Zendesk, Inc.
|
|
3
|
-
*
|
|
4
|
-
* Use of this source code is governed under the Apache License, Version 2.0
|
|
5
|
-
* found at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
|
-
*/
|
|
7
|
-
import React from 'react';
|
|
8
|
-
import { ITimelineItemProps } from '../../../types';
|
|
9
|
-
/**
|
|
10
|
-
* @deprecated use ITimelineItemProps instead
|
|
11
|
-
*/
|
|
12
|
-
export type IItem = ITimelineItemProps;
|
|
13
|
-
/**
|
|
14
|
-
* @extends LiHTMLAttributes<HTMLLIElement>
|
|
15
|
-
*/
|
|
16
|
-
export declare const Item: React.ForwardRefExoticComponent<ITimelineItemProps & React.RefAttributes<HTMLLIElement>>;
|
|
1
|
+
/**
|
|
2
|
+
* Copyright Zendesk, Inc.
|
|
3
|
+
*
|
|
4
|
+
* Use of this source code is governed under the Apache License, Version 2.0
|
|
5
|
+
* found at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
|
+
*/
|
|
7
|
+
import React from 'react';
|
|
8
|
+
import { ITimelineItemProps } from '../../../types';
|
|
9
|
+
/**
|
|
10
|
+
* @deprecated use ITimelineItemProps instead
|
|
11
|
+
*/
|
|
12
|
+
export type IItem = ITimelineItemProps;
|
|
13
|
+
/**
|
|
14
|
+
* @extends LiHTMLAttributes<HTMLLIElement>
|
|
15
|
+
*/
|
|
16
|
+
export declare const Item: React.ForwardRefExoticComponent<ITimelineItemProps & React.RefAttributes<HTMLLIElement>>;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright Zendesk, Inc.
|
|
3
|
-
*
|
|
4
|
-
* Use of this source code is governed under the Apache License, Version 2.0
|
|
5
|
-
* found at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
|
-
*/
|
|
7
|
-
import React from 'react';
|
|
8
|
-
/**
|
|
9
|
-
* @extends HTMLAttributes<HTMLDivElement>
|
|
10
|
-
*/
|
|
11
|
-
export declare const OppositeContent: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
1
|
+
/**
|
|
2
|
+
* Copyright Zendesk, Inc.
|
|
3
|
+
*
|
|
4
|
+
* Use of this source code is governed under the Apache License, Version 2.0
|
|
5
|
+
* found at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
|
+
*/
|
|
7
|
+
import React from 'react';
|
|
8
|
+
/**
|
|
9
|
+
* @extends HTMLAttributes<HTMLDivElement>
|
|
10
|
+
*/
|
|
11
|
+
export declare const OppositeContent: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
package/dist/typings/index.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright Zendesk, Inc.
|
|
3
|
-
*
|
|
4
|
-
* Use of this source code is governed under the Apache License, Version 2.0
|
|
5
|
-
* found at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
|
-
*/
|
|
7
|
-
export { Accordion } from './elements/accordion/Accordion';
|
|
8
|
-
export { Stepper } from './elements/stepper/Stepper';
|
|
9
|
-
export { Timeline } from './elements/timeline/Timeline';
|
|
10
|
-
/** @deprecated */
|
|
11
|
-
export type { IItem } from './elements/timeline/components/Item';
|
|
12
|
-
export type { IAccordionProps, IStepperProps, IStepperLabelProps, ITimelineProps, ITimelineItemProps } from './types';
|
|
1
|
+
/**
|
|
2
|
+
* Copyright Zendesk, Inc.
|
|
3
|
+
*
|
|
4
|
+
* Use of this source code is governed under the Apache License, Version 2.0
|
|
5
|
+
* found at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
|
+
*/
|
|
7
|
+
export { Accordion } from './elements/accordion/Accordion';
|
|
8
|
+
export { Stepper } from './elements/stepper/Stepper';
|
|
9
|
+
export { Timeline } from './elements/timeline/Timeline';
|
|
10
|
+
/** @deprecated */
|
|
11
|
+
export type { IItem } from './elements/timeline/components/Item';
|
|
12
|
+
export type { IAccordionProps, IStepperProps, IStepperLabelProps, ITimelineProps, ITimelineItemProps } from './types';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright Zendesk, Inc.
|
|
3
|
-
*
|
|
4
|
-
* Use of this source code is governed under the Apache License, Version 2.0
|
|
5
|
-
* found at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
|
-
*/
|
|
7
|
-
export declare const StyledAccordion: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
8
|
-
'data-garden-id': string;
|
|
9
|
-
'data-garden-version': string;
|
|
10
|
-
}, "data-garden-id" | "data-garden-version">;
|
|
1
|
+
/**
|
|
2
|
+
* Copyright Zendesk, Inc.
|
|
3
|
+
*
|
|
4
|
+
* Use of this source code is governed under the Apache License, Version 2.0
|
|
5
|
+
* found at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
|
+
*/
|
|
7
|
+
export declare const StyledAccordion: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
8
|
+
'data-garden-id': string;
|
|
9
|
+
'data-garden-version': string;
|
|
10
|
+
}, "data-garden-id" | "data-garden-version">;
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright Zendesk, Inc.
|
|
3
|
-
*
|
|
4
|
-
* Use of this source code is governed under the Apache License, Version 2.0
|
|
5
|
-
* found at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
|
-
*/
|
|
7
|
-
import { DefaultTheme } from 'styled-components';
|
|
8
|
-
export declare const COMPONENT_ID = "accordions.button";
|
|
9
|
-
interface IStyledButton {
|
|
10
|
-
isCompact?: boolean;
|
|
11
|
-
isHovered?: boolean;
|
|
12
|
-
isCollapsible?: boolean;
|
|
13
|
-
isExpanded?: boolean;
|
|
14
|
-
}
|
|
15
|
-
/**
|
|
16
|
-
* 1. <button> override.
|
|
17
|
-
* 2. Remove dotted outline from Firefox on focus.
|
|
18
|
-
*/
|
|
19
|
-
export declare const StyledButton: import("styled-components").StyledComponent<"button", DefaultTheme, IStyledButton, never>;
|
|
20
|
-
export {};
|
|
1
|
+
/**
|
|
2
|
+
* Copyright Zendesk, Inc.
|
|
3
|
+
*
|
|
4
|
+
* Use of this source code is governed under the Apache License, Version 2.0
|
|
5
|
+
* found at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
|
+
*/
|
|
7
|
+
import { DefaultTheme } from 'styled-components';
|
|
8
|
+
export declare const COMPONENT_ID = "accordions.button";
|
|
9
|
+
interface IStyledButton {
|
|
10
|
+
isCompact?: boolean;
|
|
11
|
+
isHovered?: boolean;
|
|
12
|
+
isCollapsible?: boolean;
|
|
13
|
+
isExpanded?: boolean;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* 1. <button> override.
|
|
17
|
+
* 2. Remove dotted outline from Firefox on focus.
|
|
18
|
+
*/
|
|
19
|
+
export declare const StyledButton: import("styled-components").StyledComponent<"button", DefaultTheme, IStyledButton, never>;
|
|
20
|
+
export {};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright Zendesk, Inc.
|
|
3
|
-
*
|
|
4
|
-
* Use of this source code is governed under the Apache License, Version 2.0
|
|
5
|
-
* found at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
|
-
*/
|
|
7
|
-
interface IStyledHeader {
|
|
8
|
-
isFocused?: boolean;
|
|
9
|
-
isExpanded?: boolean;
|
|
10
|
-
isCollapsible?: boolean;
|
|
11
|
-
}
|
|
12
|
-
export declare const StyledHeader: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, IStyledHeader, never>;
|
|
13
|
-
export {};
|
|
1
|
+
/**
|
|
2
|
+
* Copyright Zendesk, Inc.
|
|
3
|
+
*
|
|
4
|
+
* Use of this source code is governed under the Apache License, Version 2.0
|
|
5
|
+
* found at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
|
+
*/
|
|
7
|
+
interface IStyledHeader {
|
|
8
|
+
isFocused?: boolean;
|
|
9
|
+
isExpanded?: boolean;
|
|
10
|
+
isCollapsible?: boolean;
|
|
11
|
+
}
|
|
12
|
+
export declare const StyledHeader: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, IStyledHeader, never>;
|
|
13
|
+
export {};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright Zendesk, Inc.
|
|
3
|
-
*
|
|
4
|
-
* Use of this source code is governed under the Apache License, Version 2.0
|
|
5
|
-
* found at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
|
-
*/
|
|
7
|
-
interface IStyledInnerPanel {
|
|
8
|
-
isExpanded?: boolean;
|
|
9
|
-
isAnimated?: boolean;
|
|
10
|
-
}
|
|
11
|
-
/**
|
|
12
|
-
* 1. Override the inline max-height style used for animation.
|
|
13
|
-
*/
|
|
14
|
-
export declare const StyledInnerPanel: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, IStyledInnerPanel, never>;
|
|
15
|
-
export {};
|
|
1
|
+
/**
|
|
2
|
+
* Copyright Zendesk, Inc.
|
|
3
|
+
*
|
|
4
|
+
* Use of this source code is governed under the Apache License, Version 2.0
|
|
5
|
+
* found at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
|
+
*/
|
|
7
|
+
interface IStyledInnerPanel {
|
|
8
|
+
isExpanded?: boolean;
|
|
9
|
+
isAnimated?: boolean;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* 1. Override the inline max-height style used for animation.
|
|
13
|
+
*/
|
|
14
|
+
export declare const StyledInnerPanel: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, IStyledInnerPanel, never>;
|
|
15
|
+
export {};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright Zendesk, Inc.
|
|
3
|
-
*
|
|
4
|
-
* Use of this source code is governed under the Apache License, Version 2.0
|
|
5
|
-
* found at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
|
-
*/
|
|
7
|
-
import { DefaultTheme } from 'styled-components';
|
|
8
|
-
interface IStyledPanel {
|
|
9
|
-
isBare?: boolean;
|
|
10
|
-
isCompact?: boolean;
|
|
11
|
-
isExpanded?: boolean;
|
|
12
|
-
isAnimated?: boolean;
|
|
13
|
-
}
|
|
14
|
-
export declare const StyledPanel: import("styled-components").StyledComponent<"section", DefaultTheme, IStyledPanel, never>;
|
|
15
|
-
export {};
|
|
1
|
+
/**
|
|
2
|
+
* Copyright Zendesk, Inc.
|
|
3
|
+
*
|
|
4
|
+
* Use of this source code is governed under the Apache License, Version 2.0
|
|
5
|
+
* found at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
|
+
*/
|
|
7
|
+
import { DefaultTheme } from 'styled-components';
|
|
8
|
+
interface IStyledPanel {
|
|
9
|
+
isBare?: boolean;
|
|
10
|
+
isCompact?: boolean;
|
|
11
|
+
isExpanded?: boolean;
|
|
12
|
+
isAnimated?: boolean;
|
|
13
|
+
}
|
|
14
|
+
export declare const StyledPanel: import("styled-components").StyledComponent<"section", DefaultTheme, IStyledPanel, never>;
|
|
15
|
+
export {};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright Zendesk, Inc.
|
|
3
|
-
*
|
|
4
|
-
* Use of this source code is governed under the Apache License, Version 2.0
|
|
5
|
-
* found at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
|
-
*/
|
|
7
|
-
/// <reference types="react" />
|
|
8
|
-
import { DefaultTheme } from 'styled-components';
|
|
9
|
-
interface IStyledRotateIcon {
|
|
10
|
-
isCompact?: boolean;
|
|
11
|
-
}
|
|
12
|
-
export declare const StyledRotateIcon: import("styled-components").StyledComponent<({ children, isRotated, isHovered, isCompact, isCollapsible, ...props }: any) => import("react").DetailedReactHTMLElement<any, HTMLElement>, DefaultTheme, {
|
|
13
|
-
'data-garden-id': string;
|
|
14
|
-
'data-garden-version': string;
|
|
15
|
-
} & IStyledRotateIcon, "data-garden-id" | "data-garden-version">;
|
|
16
|
-
export {};
|
|
1
|
+
/**
|
|
2
|
+
* Copyright Zendesk, Inc.
|
|
3
|
+
*
|
|
4
|
+
* Use of this source code is governed under the Apache License, Version 2.0
|
|
5
|
+
* found at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
|
+
*/
|
|
7
|
+
/// <reference types="react" />
|
|
8
|
+
import { DefaultTheme } from 'styled-components';
|
|
9
|
+
interface IStyledRotateIcon {
|
|
10
|
+
isCompact?: boolean;
|
|
11
|
+
}
|
|
12
|
+
export declare const StyledRotateIcon: import("styled-components").StyledComponent<({ children, isRotated, isHovered, isCompact, isCollapsible, ...props }: any) => import("react").DetailedReactHTMLElement<any, HTMLElement>, DefaultTheme, {
|
|
13
|
+
'data-garden-id': string;
|
|
14
|
+
'data-garden-version': string;
|
|
15
|
+
} & IStyledRotateIcon, "data-garden-id" | "data-garden-version">;
|
|
16
|
+
export {};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright Zendesk, Inc.
|
|
3
|
-
*
|
|
4
|
-
* Use of this source code is governed under the Apache License, Version 2.0
|
|
5
|
-
* found at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
|
-
*/
|
|
7
|
-
export declare const StyledSection: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
8
|
-
'data-garden-id': string;
|
|
9
|
-
'data-garden-version': string;
|
|
10
|
-
}, "data-garden-id" | "data-garden-version">;
|
|
1
|
+
/**
|
|
2
|
+
* Copyright Zendesk, Inc.
|
|
3
|
+
*
|
|
4
|
+
* Use of this source code is governed under the Apache License, Version 2.0
|
|
5
|
+
* found at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
|
+
*/
|
|
7
|
+
export declare const StyledSection: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
8
|
+
'data-garden-id': string;
|
|
9
|
+
'data-garden-version': string;
|
|
10
|
+
}, "data-garden-id" | "data-garden-version">;
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright Zendesk, Inc.
|
|
3
|
-
*
|
|
4
|
-
* Use of this source code is governed under the Apache License, Version 2.0
|
|
5
|
-
* found at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
|
-
*/
|
|
7
|
-
export * from './stepper/StyledStep';
|
|
8
|
-
export * from './stepper/StyledContent';
|
|
9
|
-
export * from './stepper/StyledInnerContent';
|
|
10
|
-
export * from './stepper/StyledLine';
|
|
11
|
-
export * from './stepper/StyledStepper';
|
|
12
|
-
export * from './stepper/StyledIcon';
|
|
13
|
-
export * from './stepper/StyledLabel';
|
|
14
|
-
export * from './stepper/StyledLabelText';
|
|
15
|
-
export * from './accordion/StyledAccordion';
|
|
16
|
-
export * from './accordion/StyledSection';
|
|
17
|
-
export * from './accordion/StyledHeader';
|
|
18
|
-
export * from './accordion/StyledButton';
|
|
19
|
-
export * from './accordion/StyledPanel';
|
|
20
|
-
export * from './accordion/StyledInnerPanel';
|
|
21
|
-
export * from './accordion/StyledRotateIcon';
|
|
22
|
-
export * from './timeline/StyledTimeline';
|
|
23
|
-
export * from './timeline/StyledItem';
|
|
24
|
-
export * from './timeline/StyledItemIcon';
|
|
25
|
-
export * from './timeline/StyledContent';
|
|
26
|
-
export * from './timeline/StyledOppositeContent';
|
|
27
|
-
export * from './timeline/StyledSeparator';
|
|
1
|
+
/**
|
|
2
|
+
* Copyright Zendesk, Inc.
|
|
3
|
+
*
|
|
4
|
+
* Use of this source code is governed under the Apache License, Version 2.0
|
|
5
|
+
* found at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
|
+
*/
|
|
7
|
+
export * from './stepper/StyledStep';
|
|
8
|
+
export * from './stepper/StyledContent';
|
|
9
|
+
export * from './stepper/StyledInnerContent';
|
|
10
|
+
export * from './stepper/StyledLine';
|
|
11
|
+
export * from './stepper/StyledStepper';
|
|
12
|
+
export * from './stepper/StyledIcon';
|
|
13
|
+
export * from './stepper/StyledLabel';
|
|
14
|
+
export * from './stepper/StyledLabelText';
|
|
15
|
+
export * from './accordion/StyledAccordion';
|
|
16
|
+
export * from './accordion/StyledSection';
|
|
17
|
+
export * from './accordion/StyledHeader';
|
|
18
|
+
export * from './accordion/StyledButton';
|
|
19
|
+
export * from './accordion/StyledPanel';
|
|
20
|
+
export * from './accordion/StyledInnerPanel';
|
|
21
|
+
export * from './accordion/StyledRotateIcon';
|
|
22
|
+
export * from './timeline/StyledTimeline';
|
|
23
|
+
export * from './timeline/StyledItem';
|
|
24
|
+
export * from './timeline/StyledItemIcon';
|
|
25
|
+
export * from './timeline/StyledContent';
|
|
26
|
+
export * from './timeline/StyledOppositeContent';
|
|
27
|
+
export * from './timeline/StyledSeparator';
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright Zendesk, Inc.
|
|
3
|
-
*
|
|
4
|
-
* Use of this source code is governed under the Apache License, Version 2.0
|
|
5
|
-
* found at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
|
-
*/
|
|
7
|
-
import { DefaultTheme } from 'styled-components';
|
|
8
|
-
interface IStyledContent {
|
|
9
|
-
isActive?: boolean;
|
|
10
|
-
}
|
|
11
|
-
export declare const StyledContent: import("styled-components").StyledComponent<"div", DefaultTheme, IStyledContent, never>;
|
|
12
|
-
export {};
|
|
1
|
+
/**
|
|
2
|
+
* Copyright Zendesk, Inc.
|
|
3
|
+
*
|
|
4
|
+
* Use of this source code is governed under the Apache License, Version 2.0
|
|
5
|
+
* found at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
|
+
*/
|
|
7
|
+
import { DefaultTheme } from 'styled-components';
|
|
8
|
+
interface IStyledContent {
|
|
9
|
+
isActive?: boolean;
|
|
10
|
+
}
|
|
11
|
+
export declare const StyledContent: import("styled-components").StyledComponent<"div", DefaultTheme, IStyledContent, never>;
|
|
12
|
+
export {};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright Zendesk, Inc.
|
|
3
|
-
*
|
|
4
|
-
* Use of this source code is governed under the Apache License, Version 2.0
|
|
5
|
-
* found at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
|
-
*/
|
|
7
|
-
import { DefaultTheme } from 'styled-components';
|
|
8
|
-
interface IStyledIcon {
|
|
9
|
-
isActive?: boolean;
|
|
10
|
-
isHorizontal?: boolean;
|
|
11
|
-
}
|
|
12
|
-
export declare const StyledIconFlexContainer: import("styled-components").StyledComponent<"div", DefaultTheme, {}, never>;
|
|
13
|
-
export declare const StyledIcon: import("styled-components").StyledComponent<"div", DefaultTheme, IStyledIcon, never>;
|
|
14
|
-
export {};
|
|
1
|
+
/**
|
|
2
|
+
* Copyright Zendesk, Inc.
|
|
3
|
+
*
|
|
4
|
+
* Use of this source code is governed under the Apache License, Version 2.0
|
|
5
|
+
* found at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
|
+
*/
|
|
7
|
+
import { DefaultTheme } from 'styled-components';
|
|
8
|
+
interface IStyledIcon {
|
|
9
|
+
isActive?: boolean;
|
|
10
|
+
isHorizontal?: boolean;
|
|
11
|
+
}
|
|
12
|
+
export declare const StyledIconFlexContainer: import("styled-components").StyledComponent<"div", DefaultTheme, {}, never>;
|
|
13
|
+
export declare const StyledIcon: import("styled-components").StyledComponent<"div", DefaultTheme, IStyledIcon, never>;
|
|
14
|
+
export {};
|
|
@@ -1,11 +1,8 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright Zendesk, Inc.
|
|
3
|
-
*
|
|
4
|
-
* Use of this source code is governed under the Apache License, Version 2.0
|
|
5
|
-
* found at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
}
|
|
10
|
-
export declare const StyledInnerContent: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, IStyledInnerContent, never>;
|
|
11
|
-
export {};
|
|
1
|
+
/**
|
|
2
|
+
* Copyright Zendesk, Inc.
|
|
3
|
+
*
|
|
4
|
+
* Use of this source code is governed under the Apache License, Version 2.0
|
|
5
|
+
* found at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
|
+
*/
|
|
7
|
+
import { DefaultTheme } from 'styled-components';
|
|
8
|
+
export declare const StyledInnerContent: import("styled-components").StyledComponent<"div", DefaultTheme, {}, never>;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright Zendesk, Inc.
|
|
3
|
-
*
|
|
4
|
-
* Use of this source code is governed under the Apache License, Version 2.0
|
|
5
|
-
* found at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
|
-
*/
|
|
7
|
-
interface IStyledLabelProps {
|
|
8
|
-
isActive?: boolean;
|
|
9
|
-
isHorizontal?: boolean;
|
|
10
|
-
}
|
|
11
|
-
export declare const StyledLabel: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, IStyledLabelProps, never>;
|
|
12
|
-
export {};
|
|
1
|
+
/**
|
|
2
|
+
* Copyright Zendesk, Inc.
|
|
3
|
+
*
|
|
4
|
+
* Use of this source code is governed under the Apache License, Version 2.0
|
|
5
|
+
* found at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
|
+
*/
|
|
7
|
+
interface IStyledLabelProps {
|
|
8
|
+
isActive?: boolean;
|
|
9
|
+
isHorizontal?: boolean;
|
|
10
|
+
}
|
|
11
|
+
export declare const StyledLabel: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, IStyledLabelProps, never>;
|
|
12
|
+
export {};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright Zendesk, Inc.
|
|
3
|
-
*
|
|
4
|
-
* Use of this source code is governed under the Apache License, Version 2.0
|
|
5
|
-
* found at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
|
-
*/
|
|
7
|
-
interface IStyledLabelTextProps {
|
|
8
|
-
isHidden?: boolean;
|
|
9
|
-
isHorizontal?: boolean;
|
|
10
|
-
}
|
|
11
|
-
export declare const StyledLabelText: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, IStyledLabelTextProps, never>;
|
|
12
|
-
export {};
|
|
1
|
+
/**
|
|
2
|
+
* Copyright Zendesk, Inc.
|
|
3
|
+
*
|
|
4
|
+
* Use of this source code is governed under the Apache License, Version 2.0
|
|
5
|
+
* found at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
|
+
*/
|
|
7
|
+
interface IStyledLabelTextProps {
|
|
8
|
+
isHidden?: boolean;
|
|
9
|
+
isHorizontal?: boolean;
|
|
10
|
+
}
|
|
11
|
+
export declare const StyledLabelText: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, IStyledLabelTextProps, never>;
|
|
12
|
+
export {};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright Zendesk, Inc.
|
|
3
|
-
*
|
|
4
|
-
* Use of this source code is governed under the Apache License, Version 2.0
|
|
5
|
-
* found at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
|
-
*/
|
|
7
|
-
export declare const StyledLine: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
8
|
-
'data-garden-id': string;
|
|
9
|
-
'data-garden-version': string;
|
|
10
|
-
}, "data-garden-id" | "data-garden-version">;
|
|
1
|
+
/**
|
|
2
|
+
* Copyright Zendesk, Inc.
|
|
3
|
+
*
|
|
4
|
+
* Use of this source code is governed under the Apache License, Version 2.0
|
|
5
|
+
* found at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
|
+
*/
|
|
7
|
+
export declare const StyledLine: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
8
|
+
'data-garden-id': string;
|
|
9
|
+
'data-garden-version': string;
|
|
10
|
+
}, "data-garden-id" | "data-garden-version">;
|