@appkit/dek-ui 0.20.0 → 0.21.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,4 +1,5 @@
1
1
  import { TextSize } from '../Text/Text';
2
+ import { TileVariant } from '../Tile/Tile';
2
3
  import { ViewBackColor } from '../View/View';
3
4
  type LineChartDataset = {
4
5
  data: number[];
@@ -8,6 +9,7 @@ type LineChartDataset = {
8
9
  borderWidth?: number;
9
10
  };
10
11
  type TileChartProps = {
12
+ variant?: TileVariant;
11
13
  title?: string;
12
14
  titleSize?: TextSize | number;
13
15
  subtitle?: string;
@@ -23,5 +25,5 @@ type TileChartProps = {
23
25
  min?: number;
24
26
  max?: number;
25
27
  };
26
- declare const TileChart: ({ title, titleSize, subtitle, subtitleSize, backColor, width, height, padding, iconName, iconColor, iconSize, dataset, min, max, }: TileChartProps) => import("react/jsx-runtime").JSX.Element;
28
+ declare const TileChart: ({ variant, title, titleSize, subtitle, subtitleSize, backColor, width, height, padding, iconName, iconColor, iconSize, dataset, min, max, }: TileChartProps) => import("react/jsx-runtime").JSX.Element;
27
29
  export default TileChart;
package/dist/index.d.ts CHANGED
@@ -26,8 +26,10 @@ export { default as Screen } from './components/Screen/Screen';
26
26
  export { default as ScreenLoadingOverlay } from './components/ScreenLoadingOverlay/ScreenLoadingOverlay';
27
27
  export { default as Slider } from './components/Slider/Slider';
28
28
  export { default as Stack } from './components/Stack/Stack';
29
+ export { default as Styles } from './components/Styles/Styles';
29
30
  export { default as Text } from './components/Text/Text';
30
31
  export { default as Tile } from './components/Tile/Tile';
32
+ export { default as TileChart } from './components/TileChart/TileChart';
31
33
  export { default as TitleBar } from './components/TitleBar/TitleBar';
32
34
  export { default as View } from './components/View/View';
33
35
  export { useInterval } from 'usehooks-ts';