@kwantis-id3/frontend-library 1.0.0-rc.12 → 1.0.0-rc.14

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.
@@ -8,4 +8,4 @@ export type TIndicatorInstanceProps = {
8
8
  export type TIndicatorProps = {
9
9
  variant: TIndicatorVariants;
10
10
  } & TIndicatorInstanceProps;
11
- export type TIndicatorVariants = "live" | "success" | "warning" | "error";
11
+ export type TIndicatorVariants = "live" | "success" | "warning" | "error" | "neutral";
@@ -0,0 +1,3 @@
1
+ import { FC } from "react";
2
+ import { TIndicatorInstanceProps } from "./IndicatorInterfaces";
3
+ export declare const NeutralIndicator: FC<TIndicatorInstanceProps>;
@@ -1,5 +1,6 @@
1
1
  import { PropsWithChildren, ReactNode } from "react";
2
- import { IPalette, IThemeContextProps, IThemeContextValue } from "./ThemeInterfaces";
2
+ import { ICommonColors, IPalette, IThemeContextProps, IThemeContextValue } from "./ThemeInterfaces";
3
+ export declare const commonColors: ICommonColors;
3
4
  export declare const defaultLightPalette: IPalette;
4
5
  export declare const defaultDarkPalette: IPalette;
5
6
  export declare const ThemeContextProvider: ({ palettes, defaultMode, children, }: PropsWithChildren<IThemeContextProps>) => ReactNode;
@@ -62,6 +62,8 @@ export interface IIndicatorColors {
62
62
  warningFill: string;
63
63
  error: string;
64
64
  errorFill: string;
65
+ neutral: string;
66
+ netrualFill: string;
65
67
  }
66
68
  export interface IPalette {
67
69
  /** Application background */
package/dist/index.d.ts CHANGED
@@ -95,6 +95,8 @@ interface IIndicatorColors {
95
95
  warningFill: string;
96
96
  error: string;
97
97
  errorFill: string;
98
+ neutral: string;
99
+ netrualFill: string;
98
100
  }
99
101
  interface IPalette {
100
102
  /** Application background */
@@ -140,6 +142,7 @@ interface IThemeContextValue {
140
142
  setMode: (mode: TThemeMode) => void;
141
143
  }
142
144
 
145
+ declare const commonColors: ICommonColors;
143
146
  declare const defaultLightPalette: IPalette;
144
147
  declare const defaultDarkPalette: IPalette;
145
148
  declare const ThemeContextProvider: ({ palettes, defaultMode, children, }: PropsWithChildren<IThemeContextProps>) => ReactNode;
@@ -380,7 +383,7 @@ type TIndicatorInstanceProps = {
380
383
  type TIndicatorProps = {
381
384
  variant: TIndicatorVariants;
382
385
  } & TIndicatorInstanceProps;
383
- type TIndicatorVariants = "live" | "success" | "warning" | "error";
386
+ type TIndicatorVariants = "live" | "success" | "warning" | "error" | "neutral";
384
387
 
385
388
  type TGenericIndicatorProps = {
386
389
  variant: TIndicatorVariants;
@@ -615,4 +618,4 @@ declare const getActiveColor: (color: string) => string;
615
618
 
616
619
  declare function usePrefersColorScheme(): "light" | "dark";
617
620
 
618
- export { Accordion, Button, Card, CardContent, CardFooter, CardHeader, CardIndicators, CardMediaSection, ControlledTreeView, 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, TDrawerProps, TDropdownItem, TDropdownItemProps, TDropdownProps, TIndicatorInstanceProps, TIndicatorProps, TIndicatorVariants, TModalProps, TMultiViewListProps, TRenderTriggerProps, TSliderProps, TTableCell, TTableProps, TTableRow, TTagProps, TTextFieldProps, TThemeMode, TTreeViewItem, TUncontrolledTreeViewProps, TViewState, Table, Tag, ThemeContextProvider, UncontrolledTreeView, darkenColor, defaultDarkPalette, defaultLightPalette, getActiveColor, getContrastColor, getHoverColor, lightenColor, renderCell, transientOptions, useIsMobile, usePrefersColorScheme, useThemeContext };
621
+ export { Accordion, Button, Card, CardContent, CardFooter, CardHeader, CardIndicators, CardMediaSection, ControlledTreeView, 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, TDrawerProps, TDropdownItem, TDropdownItemProps, TDropdownProps, TIndicatorInstanceProps, TIndicatorProps, TIndicatorVariants, TModalProps, 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.12",
3
+ "version": "1.0.0-rc.14",
4
4
  "description": "Kwantis frontend components collection",
5
5
  "scriptsComments": {
6
6
  "storybook": "Starts storybook in development mode",
@@ -27,7 +27,6 @@
27
27
  "test": "vitest run",
28
28
  "test:watch": "vitest",
29
29
  "test:coverage": "vitest --coverage",
30
- "chromatic": "npx chromatic --project-token=3dd812d03e4c",
31
30
  "build": "pnpm rollup",
32
31
  "bump:patch": "pnpm version patch",
33
32
  "bump:minor": "pnpm version minor",