@sphereon/ui-components.core 0.1.3-unstable.25 → 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.
- package/dist/styles/ssi/colors.d.ts +2 -0
- package/dist/styles/ssi/colors.js +5 -1
- package/dist/types/button/index.d.ts +5 -0
- package/dist/types/button/index.js +9 -0
- package/dist/types/index.d.ts +4 -0
- package/dist/types/index.js +4 -0
- package/dist/types/label/index.d.ts +4 -0
- package/dist/types/label/index.js +8 -0
- package/dist/types/tab/index.d.ts +12 -0
- package/dist/types/tab/index.js +2 -0
- package/dist/types/toast/index.d.ts +7 -0
- package/dist/types/toast/index.js +8 -0
- package/package.json +2 -2
|
@@ -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,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 = {}));
|
package/dist/types/index.d.ts
CHANGED
package/dist/types/index.js
CHANGED
|
@@ -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,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
|
+
};
|
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.
|
|
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": "
|
|
46
|
+
"gitHead": "15069b0fe7847904e9a164e3d7a7e8765b1f9578"
|
|
47
47
|
}
|