@cranberry-money/shared-types 3.0.4 → 4.0.0
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/index.d.ts +0 -12
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -13
- package/dist/ui.d.ts +19 -0
- package/dist/ui.d.ts.map +1 -0
- package/dist/ui.js +5 -0
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -1,13 +1 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Centralized export of all shared types
|
|
3
|
-
* Clean re-export pattern for organized type management
|
|
4
|
-
*/
|
|
5
|
-
export * from './trading-filters';
|
|
6
|
-
export * from './validation';
|
|
7
|
-
export * from './components';
|
|
8
|
-
export * from './instruments';
|
|
9
|
-
export * from './navigation';
|
|
10
|
-
export * from './auth';
|
|
11
|
-
export * from './portfolio';
|
|
12
|
-
export * from './auth-validation';
|
|
13
1
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":""}
|
package/dist/index.js
CHANGED
|
@@ -1,13 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
* Clean re-export pattern for organized type management
|
|
4
|
-
*/
|
|
5
|
-
// Re-export all shared types
|
|
6
|
-
export * from './trading-filters';
|
|
7
|
-
export * from './validation';
|
|
8
|
-
export * from './components';
|
|
9
|
-
export * from './instruments';
|
|
10
|
-
export * from './navigation';
|
|
11
|
-
export * from './auth';
|
|
12
|
-
export * from './portfolio';
|
|
13
|
-
export * from './auth-validation';
|
|
1
|
+
"use strict";
|
|
2
|
+
// Placeholder for package
|
package/dist/ui.d.ts
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* UI-related type definitions
|
|
3
|
+
* Common types for UI components and styling
|
|
4
|
+
*/
|
|
5
|
+
export type BadgeVariant = 'primary' | 'secondary' | 'success' | 'warning' | 'error' | 'info' | 'neutral';
|
|
6
|
+
export type BadgeSize = 'sm' | 'md' | 'lg';
|
|
7
|
+
export interface BadgeConfig {
|
|
8
|
+
variant: BadgeVariant;
|
|
9
|
+
size?: BadgeSize;
|
|
10
|
+
className?: string;
|
|
11
|
+
}
|
|
12
|
+
export interface BadgeStyle {
|
|
13
|
+
className: string;
|
|
14
|
+
ariaLabel?: string;
|
|
15
|
+
}
|
|
16
|
+
export interface BadgeStyleWithText extends BadgeStyle {
|
|
17
|
+
displayText: string;
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=ui.d.ts.map
|
package/dist/ui.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ui.d.ts","sourceRoot":"","sources":["../src/ui.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,MAAM,MAAM,YAAY,GAAG,SAAS,GAAG,WAAW,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,GAAG,MAAM,GAAG,SAAS,CAAC;AAE1G,MAAM,MAAM,SAAS,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAE3C,MAAM,WAAW,WAAW;IAC1B,OAAO,EAAE,YAAY,CAAC;IACtB,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,UAAU;IACzB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,kBAAmB,SAAQ,UAAU;IACpD,WAAW,EAAE,MAAM,CAAC;CACrB"}
|
package/dist/ui.js
ADDED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cranberry-money/shared-types",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.0.0",
|
|
4
4
|
"description": "Shared TypeScript type definitions for MyPortfolio platform",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -43,4 +43,4 @@
|
|
|
43
43
|
"url": "git+https://github.com/your-org/cranberry.git",
|
|
44
44
|
"directory": "packages/shared-types"
|
|
45
45
|
}
|
|
46
|
-
}
|
|
46
|
+
}
|