@databricks/design-system 0.2.0 → 0.2.1

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 +1 @@
1
- export { SegmentedControlGroup, SegmentedControlButton } from './SegmentedControl';
1
+ export * from './SegmentedControl';
@@ -1,6 +1,10 @@
1
1
  /// <reference types="react" />
2
+ import { CSSObject } from '@emotion/react';
2
3
  import { TabsProps as AntDTabsProps, TabPaneProps as AntDTabPaneProps } from 'antd';
3
- export interface TabsProps {
4
+ import { Theme } from '../../theme';
5
+ import { DangerousGeneralProps } from '../types';
6
+ export declare const getTabEmotionStyles: (clsPrefix: string, theme: Theme, enableAnimation: boolean) => CSSObject;
7
+ export interface TabsProps extends DangerousGeneralProps {
4
8
  /**
5
9
  * Set this to `true` to allow users to add and remove tab panes.
6
10
  */
@@ -1,9 +1,9 @@
1
- import { SerializedStyles } from '@emotion/react';
1
+ import { CSSObject } from '@emotion/react';
2
2
  export interface DangerouslySetAntdProps<P> {
3
3
  /** For components that wrap `antd` components, emergency access for properties we do not support. Ask in #dubois before using. */
4
4
  dangerouslySetAntdProps?: P;
5
5
  }
6
6
  export interface DangerousGeneralProps {
7
7
  /** Applies emotion styles to the top-level element in the component. Ask in #dubois before using. */
8
- dangerouslyAppendEmotionCSS?: SerializedStyles;
8
+ dangerouslyAppendEmotionCSS?: CSSObject;
9
9
  }