@kwantis-id3/frontend-library 1.0.0-rc.19 → 1.0.0-rc.21

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,2 +1,4 @@
1
+ import { AccordionGroup } from "./AccordionStyled";
1
2
  export * from "./Accordion";
2
3
  export * from "./AccordionInterfaces";
4
+ export { AccordionGroup };
@@ -1,2 +1,3 @@
1
1
  export * from "./MultiViewListInterfaces";
2
2
  export * from "./MultiViewList";
3
+ export * from "./MultiViewGrid";
package/dist/index.d.ts CHANGED
@@ -4,8 +4,9 @@ import { Interpolation, Theme as Theme$1 } from '@emotion/react';
4
4
  import { Theme } from '@emotion/react/dist/declarations/src';
5
5
  import * as react from 'react';
6
6
  import { PropsWithChildren, ReactNode, FC } from 'react';
7
- import { ColumnDef } from '@tanstack/react-table';
7
+ import * as _emotion_styled from '@emotion/styled';
8
8
  import { CreateStyled } from '@emotion/styled';
9
+ import { ColumnDef } from '@tanstack/react-table';
9
10
 
10
11
  type TButtonVariants = "contained" | "outlined" | "text";
11
12
  type TButtonProps = {
@@ -149,6 +150,11 @@ declare const defaultDarkPalette: IPalette;
149
150
  declare const ThemeContextProvider: ({ palettes, defaultMode, children, }: PropsWithChildren<IThemeContextProps>) => ReactNode;
150
151
  declare const useThemeContext: () => IThemeContextValue;
151
152
 
153
+ declare const AccordionGroup: _emotion_styled.StyledComponent<{
154
+ theme?: _emotion_react.Theme;
155
+ as?: React.ElementType;
156
+ }, react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
157
+
152
158
  type TAccordionProps = PropsWithChildren & {
153
159
  /** Title to be used if no custom trigger is passed */
154
160
  title: string;
@@ -479,6 +485,8 @@ type TMultiViewGridProps<Cell extends TCellValues, Row extends TDataGridRow<Cell
479
485
 
480
486
  declare const MultiViewList: <Cell extends TCellValues, Row extends TTableRow<Cell>>(props: TMultiViewListProps<Cell, Row>) => _emotion_react_jsx_runtime.JSX.Element;
481
487
 
488
+ declare const MultiViewGrid: <Cell extends TCellValues, Row extends TDataGridRow<Cell>>(props: TMultiViewGridProps<Cell, Row>) => _emotion_react_jsx_runtime.JSX.Element;
489
+
482
490
  /**
483
491
  * A callback to customize how items are rendered
484
492
  * @property isOpen: A boolean indicating if the item is expanded
@@ -641,4 +649,4 @@ declare const getActiveColor: (color: string) => string;
641
649
 
642
650
  declare function usePrefersColorScheme(): "light" | "dark";
643
651
 
644
- export { Accordion, Button, Card, CardContent, CardFooter, CardHeader, CardIndicators, CardMediaSection, ControlledTreeView, DataGrid, Drawer, Dropdown, IBackgroundColors, ICommonColors, IIndicatorColors, IPalette, IStandardPaletteColor, ITagColors, IThemeContextProps, IThemeContextValue, Indicator, InputField, Modal, MultiSelect, MultiSelectProps, MultiViewList, SingleSelect, SingleSelectProps, Slider, TAccordionProps, TButtonProps, TButtonVariants, TCardSectionProps, TCellValues, TColorScale, TControlledTreeViewProps, TCustomRenderProps, TDataGridProps, TDataGridRow, TDrawerProps, TDropdownItem, TDropdownItemProps, TDropdownProps, TIndicatorInstanceProps, TIndicatorProps, TIndicatorVariants, TModalProps, TMultiViewGridProps, TMultiViewListProps, TRenderTriggerProps, TSliderProps, TTableCell, TTableProps, TTableRow, TTagProps, TTextFieldProps, TThemeMode, TTreeViewItem, TUncontrolledTreeViewProps, TViewState, Table, Tag, ThemeContextProvider, UncontrolledTreeView, commonColors, darkenColor, defaultDarkPalette, defaultLightPalette, getActiveColor, getContrastColor, getHoverColor, lightenColor, renderCell, transientOptions, useIsMobile, usePrefersColorScheme, useThemeContext };
652
+ export { Accordion, AccordionGroup, Button, Card, CardContent, CardFooter, CardHeader, CardIndicators, CardMediaSection, ControlledTreeView, DataGrid, Drawer, Dropdown, IBackgroundColors, ICommonColors, IIndicatorColors, IPalette, IStandardPaletteColor, ITagColors, IThemeContextProps, IThemeContextValue, Indicator, InputField, Modal, MultiSelect, MultiSelectProps, MultiViewGrid, MultiViewList, SingleSelect, SingleSelectProps, Slider, TAccordionProps, TButtonProps, TButtonVariants, TCardSectionProps, TCellValues, TColorScale, TControlledTreeViewProps, TCustomRenderProps, TDataGridProps, TDataGridRow, TDrawerProps, TDropdownItem, TDropdownItemProps, TDropdownProps, TIndicatorInstanceProps, TIndicatorProps, TIndicatorVariants, TModalProps, TMultiViewGridProps, TMultiViewListProps, TRenderTriggerProps, TSliderProps, TTableCell, TTableProps, TTableRow, TTagProps, TTextFieldProps, TThemeMode, TTreeViewItem, TUncontrolledTreeViewProps, TViewState, Table, Tag, ThemeContextProvider, UncontrolledTreeView, commonColors, darkenColor, defaultDarkPalette, defaultLightPalette, getActiveColor, getContrastColor, getHoverColor, lightenColor, renderCell, transientOptions, useIsMobile, usePrefersColorScheme, useThemeContext };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kwantis-id3/frontend-library",
3
- "version": "1.0.0-rc.19",
3
+ "version": "1.0.0-rc.21",
4
4
  "description": "Kwantis frontend components collection",
5
5
  "scriptsComments": {
6
6
  "storybook": "Starts storybook in development mode",