@adgytec/adgytec-web-ui-components 0.0.20 → 0.0.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.
@@ -0,0 +1,3 @@
1
+ import { ComponentShapeSwitcherProps } from './types';
2
+ import { default as React } from 'react';
3
+ export declare const ComponentShapeSwitcher: React.FC<ComponentShapeSwitcherProps>;
@@ -0,0 +1,10 @@
1
+ import { ColorTheme } from '@adgytec/adgytec-web-ui-components';
2
+ export declare enum ComponentShapes {
3
+ sharp = "sharp",
4
+ round = "round"
5
+ }
6
+ export declare const ComponentShapeKey = "component-shape-preference";
7
+ export interface ComponentShapeSwitcherProps {
8
+ ui?: boolean;
9
+ theme?: ColorTheme;
10
+ }
@@ -0,0 +1,3 @@
1
+ import { default as React } from 'react';
2
+ import { ThemeSwitcherProps } from './types';
3
+ export declare const ThemeSwitcher: React.FC<ThemeSwitcherProps>;
@@ -0,0 +1,5 @@
1
+ import { ColorTheme } from '@adgytec/adgytec-web-ui-components';
2
+ export interface ThemeSwitcherProps {
3
+ ui?: boolean;
4
+ theme?: ColorTheme;
5
+ }
@@ -0,0 +1,3 @@
1
+ import { default as React } from 'react';
2
+ import { VisualSettingsProps } from './types';
3
+ export declare const VisualSettings: React.FC<VisualSettingsProps>;
@@ -0,0 +1,3 @@
1
+ export interface VisualSettingsProps {
2
+ ui?: boolean;
3
+ }
@@ -0,0 +1,9 @@
1
+ export interface ApiErrorResponse {
2
+ message?: string;
3
+ fieldErrors?: Record<string, string | string[]>;
4
+ }
5
+ export declare class ApiError extends Error {
6
+ data: ApiErrorResponse;
7
+ response: Response;
8
+ constructor(response: Response, data: ApiErrorResponse);
9
+ }
@@ -0,0 +1 @@
1
+ export declare function getEnvVar(key: string, defaultValue?: string): string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@adgytec/adgytec-web-ui-components",
3
3
  "private": false,
4
- "version": "0.0.20",
4
+ "version": "0.0.21",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "dist"