@sphereon/ui-components.core 0.1.3-unstable.24 → 0.1.3-unstable.30

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.
@@ -14,6 +14,8 @@ type Border = 'dark' | 'light' | 'lightGrey';
14
14
  export declare const borderColors: Record<Border, string>;
15
15
  type Profile = 100 | 200 | 300 | 400 | 500;
16
16
  export declare const profileColors: Record<Profile, string>;
17
+ type Alerts = 'primaryLight' | 'secondaryLight';
18
+ export declare const alertColors: Record<Alerts, string>;
17
19
  type SelectionElement = 'primaryDark' | 'primaryBorderDark';
18
20
  export declare const selectionElements: Record<SelectionElement, string>;
19
21
  export {};
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  exports.__esModule = true;
3
- exports.selectionElements = exports.profileColors = exports.borderColors = exports.gradientColors = exports.fontColors = exports.statusColors = exports.logoColors = exports.credentialCardColors = exports.backgroundColors = void 0;
3
+ exports.selectionElements = exports.alertColors = exports.profileColors = exports.borderColors = exports.gradientColors = exports.fontColors = exports.statusColors = exports.logoColors = exports.credentialCardColors = exports.backgroundColors = void 0;
4
4
  exports.backgroundColors = {
5
5
  primaryDark: '#202537',
6
6
  secondaryDark: '#2C334B',
@@ -45,6 +45,10 @@ exports.profileColors = {
45
45
  400: '#0B81FF',
46
46
  500: '#BD2DFF'
47
47
  };
48
+ exports.alertColors = {
49
+ primaryLight: '#FBFBFB',
50
+ secondaryLight: '#EBEBEB'
51
+ };
48
52
  exports.selectionElements = {
49
53
  primaryDark: '#0B81FF',
50
54
  primaryBorderDark: '#FBFBFB'
@@ -0,0 +1,5 @@
1
+ export declare enum ButtonIcon {
2
+ ADD = "add",
3
+ ARROW_DOWN = "arrowDown",
4
+ FILTER = "filter"
5
+ }
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ exports.__esModule = true;
3
+ exports.ButtonIcon = void 0;
4
+ var ButtonIcon;
5
+ (function (ButtonIcon) {
6
+ ButtonIcon["ADD"] = "add";
7
+ ButtonIcon["ARROW_DOWN"] = "arrowDown";
8
+ ButtonIcon["FILTER"] = "filter";
9
+ })(ButtonIcon = exports.ButtonIcon || (exports.ButtonIcon = {}));
@@ -1,4 +1,8 @@
1
+ export * from './button';
1
2
  export * from './credential';
2
3
  export * from './image';
4
+ export * from './label';
3
5
  export * from './localization';
6
+ export * from './tab';
7
+ export * from './toast';
4
8
  export * from './style';
@@ -14,7 +14,11 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  exports.__esModule = true;
17
+ __exportStar(require("./button"), exports);
17
18
  __exportStar(require("./credential"), exports);
18
19
  __exportStar(require("./image"), exports);
20
+ __exportStar(require("./label"), exports);
19
21
  __exportStar(require("./localization"), exports);
22
+ __exportStar(require("./tab"), exports);
23
+ __exportStar(require("./toast"), exports);
20
24
  __exportStar(require("./style"), exports);
@@ -0,0 +1,4 @@
1
+ export declare enum LabelType {
2
+ ISSUER = "Issuer",
3
+ VERIFIER = "Verifier"
4
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ exports.__esModule = true;
3
+ exports.LabelType = void 0;
4
+ var LabelType;
5
+ (function (LabelType) {
6
+ LabelType["ISSUER"] = "Issuer";
7
+ LabelType["VERIFIER"] = "Verifier";
8
+ })(LabelType = exports.LabelType || (exports.LabelType = {}));
@@ -0,0 +1,12 @@
1
+ import { ComponentType } from 'react';
2
+ export type TabRoute = {
3
+ key: string;
4
+ title: string;
5
+ };
6
+ export type TabViewRoute = TabRoute & {
7
+ content: ComponentType<unknown>;
8
+ };
9
+ export type TabNavigationState = {
10
+ index: number;
11
+ routes: Array<TabViewRoute>;
12
+ };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ exports.__esModule = true;
@@ -0,0 +1,7 @@
1
+ export declare enum ToastType {
2
+ SUCCESS = "ssiToastSuccess",
3
+ ERROR = "ssiToastError"
4
+ }
5
+ export type ToastCustomProps = {
6
+ showBadge?: boolean;
7
+ };
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ exports.__esModule = true;
3
+ exports.ToastType = void 0;
4
+ var ToastType;
5
+ (function (ToastType) {
6
+ ToastType["SUCCESS"] = "ssiToastSuccess";
7
+ ToastType["ERROR"] = "ssiToastError";
8
+ })(ToastType = exports.ToastType || (exports.ToastType = {}));
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sphereon/ui-components.core",
3
3
  "private": false,
4
- "version": "0.1.3-unstable.24+b4be06e",
4
+ "version": "0.1.3-unstable.30+15069b0",
5
5
  "description": "SSI UI components Core",
6
6
  "repository": "git@github.com:Sphereon-Opensource/UI-Components.git",
7
7
  "author": "Sphereon <dev@sphereon.com>",
@@ -43,5 +43,5 @@
43
43
  "peerDependencies": {
44
44
  "react": ">= 16.8.0"
45
45
  },
46
- "gitHead": "b4be06eb6549343f0d9a20d625e3f2e484abc750"
46
+ "gitHead": "15069b0fe7847904e9a164e3d7a7e8765b1f9578"
47
47
  }