tmo-ui-components 0.1.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.
@@ -0,0 +1,2 @@
1
+ export { viewSizeCalculator, viewSizeCalculatorHeight } from './view-size-calculator';
2
+ export { brand, gray, fonts } from './theme';
@@ -0,0 +1,50 @@
1
+ /**
2
+ * T-Mobile Theme - Colors and Fonts
3
+ */
4
+ export declare const brand: {
5
+ primary: string;
6
+ secondary: string;
7
+ magenta: string;
8
+ };
9
+ export declare const gray: {
10
+ 50: string;
11
+ 100: string;
12
+ 200: string;
13
+ 300: string;
14
+ 400: string;
15
+ 500: string;
16
+ 600: string;
17
+ 700: string;
18
+ 800: string;
19
+ 900: string;
20
+ };
21
+ export declare const fonts: {
22
+ inter: string;
23
+ heading: string;
24
+ body: string;
25
+ };
26
+ declare const _default: {
27
+ brand: {
28
+ primary: string;
29
+ secondary: string;
30
+ magenta: string;
31
+ };
32
+ gray: {
33
+ 50: string;
34
+ 100: string;
35
+ 200: string;
36
+ 300: string;
37
+ 400: string;
38
+ 500: string;
39
+ 600: string;
40
+ 700: string;
41
+ 800: string;
42
+ 900: string;
43
+ };
44
+ fonts: {
45
+ inter: string;
46
+ heading: string;
47
+ body: string;
48
+ };
49
+ };
50
+ export default _default;
@@ -0,0 +1,7 @@
1
+ /**
2
+ * View size calculator utility for responsive sizing
3
+ * Converts design pixels to responsive viewport units
4
+ */
5
+ export declare const viewSizeCalculator: (size: number, returnNumber?: boolean) => string | number;
6
+ export declare const viewSizeCalculatorHeight: (size: number, returnNumber?: boolean) => string | number;
7
+ export default viewSizeCalculator;
package/package.json ADDED
@@ -0,0 +1,55 @@
1
+ {
2
+ "name": "tmo-ui-components",
3
+ "version": "0.1.0",
4
+ "description": "T-Mobile Internal UI Component Library",
5
+ "main": "dist/index.js",
6
+ "module": "dist/index.esm.js",
7
+ "types": "dist/index.d.ts",
8
+ "files": [
9
+ "dist"
10
+ ],
11
+ "scripts": {
12
+ "build": "rollup -c",
13
+ "build:watch": "rollup -c -w",
14
+ "prepublishOnly": "npm run build",
15
+ "clean": "rimraf dist"
16
+ },
17
+ "publishConfig": {
18
+ "access": "public"
19
+ },
20
+ "peerDependencies": {
21
+ "react": ">=17.0.0",
22
+ "react-dom": ">=17.0.0"
23
+ },
24
+ "dependencies": {
25
+ "@tanstack/react-table": "^8.11.0"
26
+ },
27
+ "devDependencies": {
28
+ "@rollup/plugin-commonjs": "^25.0.7",
29
+ "@rollup/plugin-node-resolve": "^15.2.3",
30
+ "@rollup/plugin-typescript": "^11.1.6",
31
+ "@types/react": "^18.2.0",
32
+ "@types/react-dom": "^18.2.0",
33
+ "react": "^18.2.0",
34
+ "react-dom": "^18.2.0",
35
+ "rimraf": "^5.0.5",
36
+ "rollup": "^4.9.0",
37
+ "rollup-plugin-dts": "^6.1.0",
38
+ "rollup-plugin-peer-deps-external": "^2.2.4",
39
+ "tslib": "^2.6.2",
40
+ "typescript": "^5.3.0"
41
+ },
42
+ "keywords": [
43
+ "react",
44
+ "components",
45
+ "ui",
46
+ "tmo",
47
+ "internal"
48
+ ],
49
+ "author": "T-Mobile Internal",
50
+ "license": "UNLICENSED",
51
+ "repository": {
52
+ "type": "git",
53
+ "url": ""
54
+ }
55
+ }