@mysetup/typography 2.0.7 → 2.0.9

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.
Files changed (2) hide show
  1. package/dist/styles.css +74 -74
  2. package/package.json +69 -68
package/dist/styles.css CHANGED
@@ -1,74 +1,74 @@
1
- @import "tailwindcss";
2
-
3
- @layer base {
4
- .headline1 {
5
- @apply lg:text-[34px] lg:leading-[42px] text-[30px] leading-[36px];
6
- }
7
-
8
- .headline2 {
9
- @apply lg:text-[28px] lg:leading-[36px] text-[22px] leading-[26px];
10
- }
11
-
12
- .headline3 {
13
- @apply lg:text-[24px] lg:leading-[28px] text-[20px] leading-[25px];
14
- }
15
-
16
- .headline4 {
17
- @apply lg:text-[17px] lg:leading-[23px] uppercase text-[15px] leading-[22px];
18
- }
19
-
20
- .headline5 {
21
- @apply lg:text-[17px] lg:leading-[25px] text-[15px] leading-[22px];
22
- }
23
-
24
- .headline6 {
25
- @apply lg:text-[16px] lg:leading-[24px] text-[13px] leading-[20px];
26
- }
27
-
28
- .headline7 {
29
- @apply lg:text-[12px] lg:leading-[18px] text-[11px] leading-[26px];
30
- }
31
-
32
- .paragraph {
33
- @apply text-[14px] leading-[21px] tracking-[0.3px];
34
- }
35
-
36
- .paragraph-small {
37
- @apply text-[12px] leading-[18px] tracking-[0.6px];
38
- }
39
-
40
- .eyebrow {
41
- @apply text-[11px] leading-[21px] tracking-[1.09px];
42
- }
43
-
44
- .disclaimer {
45
- @apply text-[12px] leading-[18px] tracking-[0.13px];
46
- }
47
-
48
- .disclaimer-small {
49
- @apply text-[10px] leading-[18px] tracking-[0.11px];
50
- }
51
- .usecode {
52
- @apply text-[14px] leading-[21px] tracking-[0.3px];
53
- }
54
- .quotes {
55
- @apply text-[24px] leading-[21px] tracking-[0.3px] italic;
56
- }
57
-
58
- /*Update leading for headline display classes*/
59
- [class*="headline"].display {
60
- font-family: var(--font-display);
61
- @apply leading-[44px];
62
- }
63
-
64
- /*TODO - TEMP Style - Remove once links SB component is created*/
65
- .link {
66
- @apply text-[14px] leading-[21px];
67
- }
68
- .link-small {
69
- @apply !text-[10px] leading-[21px];
70
- }
71
- .text-default-color {
72
- @apply text-[#3F51B5];
73
- }
74
- }
1
+
2
+
3
+ @layer base {
4
+ .headline1 {
5
+ @apply lg:text-[34px] lg:leading-[42px] text-[30px] leading-[36px];
6
+ }
7
+
8
+ .headline2 {
9
+ @apply lg:text-[28px] lg:leading-[36px] text-[22px] leading-[26px];
10
+ }
11
+
12
+ .headline3 {
13
+ @apply lg:text-[24px] lg:leading-[28px] text-[20px] leading-[25px];
14
+ }
15
+
16
+ .headline4 {
17
+ @apply lg:text-[17px] lg:leading-[23px] uppercase text-[15px] leading-[22px];
18
+ }
19
+
20
+ .headline5 {
21
+ @apply lg:text-[17px] lg:leading-[25px] text-[15px] leading-[22px];
22
+ }
23
+
24
+ .headline6 {
25
+ @apply lg:text-[16px] lg:leading-[24px] text-[13px] leading-[20px];
26
+ }
27
+
28
+ .headline7 {
29
+ @apply lg:text-[12px] lg:leading-[18px] text-[11px] leading-[26px];
30
+ }
31
+
32
+ .paragraph {
33
+ @apply text-[14px] leading-[21px] tracking-[0.3px];
34
+ }
35
+
36
+ .paragraph-small {
37
+ @apply text-[12px] leading-[18px] tracking-[0.6px];
38
+ }
39
+
40
+ .eyebrow {
41
+ @apply text-[11px] leading-[21px] tracking-[1.09px];
42
+ }
43
+
44
+ .disclaimer {
45
+ @apply text-[12px] leading-[18px] tracking-[0.13px];
46
+ }
47
+
48
+ .disclaimer-small {
49
+ @apply text-[10px] leading-[18px] tracking-[0.11px];
50
+ }
51
+ .usecode {
52
+ @apply text-[14px] leading-[21px] tracking-[0.3px];
53
+ }
54
+ .quotes {
55
+ @apply text-[24px] leading-[21px] tracking-[0.3px] italic;
56
+ }
57
+
58
+ /*Update leading for headline display classes*/
59
+ [class*="headline"].display {
60
+ font-family: var(--font-display);
61
+ @apply leading-[44px];
62
+ }
63
+
64
+ /*TODO - TEMP Style - Remove once links SB component is created*/
65
+ .link {
66
+ @apply text-[14px] leading-[21px];
67
+ }
68
+ .link-small {
69
+ @apply !text-[10px] leading-[21px];
70
+ }
71
+ .text-default-color {
72
+ @apply text-[#3F51B5];
73
+ }
74
+ }
package/package.json CHANGED
@@ -1,70 +1,71 @@
1
1
  {
2
- "name": "@mysetup/typography",
3
- "version": "2.0.7",
4
- "description": "React typography components and CSS styles for UI applications.",
5
- "author": "krishnaraj <krishnaraj.webdev@gmail.com>",
6
- "license": "MIT",
7
- "keywords": [
8
- "react",
9
- "typography",
10
- "components",
11
- "css",
12
- "typescript"
13
- ],
14
- "publishConfig": {
15
- "access": "public"
16
- },
17
- "main": "dist/index.js",
18
- "types": "dist/index.d.ts",
19
- "sideEffects": [
20
- "./dist/styles.css"
21
- ],
22
- "files": [
23
- "dist",
24
- "README.md"
25
- ],
26
- "exports": {
27
- ".": {
28
- "types": "./dist/index.d.ts",
29
- "import": "./dist/index.js",
30
- "require": "./dist/index.js"
2
+ "name": "@mysetup/typography",
3
+ "version": "2.0.9",
4
+ "description": "React typography components and CSS styles for UI applications.",
5
+ "author": "krishnaraj <krishnaraj.webdev@gmail.com>",
6
+ "license": "MIT",
7
+ "keywords": [
8
+ "react",
9
+ "typography",
10
+ "components",
11
+ "css",
12
+ "typescript"
13
+ ],
14
+ "publishConfig": {
15
+ "access": "public"
31
16
  },
32
- "./styles.css": "./dist/styles.css",
33
- "./package.json": "./package.json"
34
- },
35
- "dependencies": {
36
- "@mysetup/classnames": "^2.0.7"
37
- },
38
- "peerDependencies": {
39
- "react": "^18.3.1 || ^19.0.0"
40
- },
41
- "devDependencies": {
42
- "@testing-library/react": "^16.2.0",
43
- "@types/jest": "^29.5.14",
44
- "@types/jest-axe": "^3.5.9",
45
- "@types/react": "^18.3.1",
46
- "jest": "^29.7.0",
47
- "jest-axe": "^9.0.0",
48
- "react": "^18.3.1",
49
- "react-dom": "^18.3.1",
50
- "typescript": "5.5.4",
51
- "@mysetup/eslint-config": "^2.0.8",
52
- "@mysetup/prettier-config": "^2.0.7",
53
- "@mysetup/tsconfig": "^2.0.7",
54
- "@mysetup/jest-config": "^2.0.7"
55
- },
56
- "prettier": "@mysetup/prettier-config",
57
- "engines": {
58
- "node": ">=20.15.1"
59
- },
60
- "scripts": {
61
- "build": "node ../scripts/package-fs.cjs remove dist && tsc -p tsconfig.build.json && node ../scripts/package-fs.cjs ensure-leading-text dist/index.js \"\\\"use client\\\";\" && node ../scripts/package-fs.cjs copy-file styles.css dist/styles.css",
62
- "lint": "node ../scripts/run-eslint.cjs .",
63
- "typecheck": "tsc --noEmit",
64
- "test": "jest",
65
- "test:coverage": "jest --coverage",
66
- "format": "prettier --write \"**/*.{ts,tsx,md,js,mjs,json}\"",
67
- "checks": "pnpm typecheck && pnpm lint && pnpm test && pnpm build",
68
- "clean": "node ../scripts/package-fs.cjs remove node_modules .swc dist pnpm-lock.yaml && echo \"Cleaned\""
69
- }
70
- }
17
+ "main": "dist/index.js",
18
+ "types": "dist/index.d.ts",
19
+ "sideEffects": [
20
+ "./dist/styles.css"
21
+ ],
22
+ "files": [
23
+ "dist",
24
+ "README.md"
25
+ ],
26
+ "exports": {
27
+ ".": {
28
+ "types": "./dist/index.d.ts",
29
+ "import": "./dist/index.js",
30
+ "require": "./dist/index.js"
31
+ },
32
+ "./styles.css": "./dist/styles.css",
33
+ "./package.json": "./package.json"
34
+ },
35
+ "scripts": {
36
+ "build": "node ../scripts/package-fs.cjs remove dist && tsc -p tsconfig.build.json && node ../scripts/package-fs.cjs ensure-leading-text dist/index.js \"\\\"use client\\\";\" && node ../scripts/package-fs.cjs copy-file styles.css dist/styles.css",
37
+ "lint": "node ../scripts/run-eslint.cjs .",
38
+ "typecheck": "tsc --noEmit",
39
+ "test": "jest",
40
+ "test:coverage": "jest --coverage",
41
+ "format": "prettier --write \"**/*.{ts,tsx,md,js,mjs,json}\"",
42
+ "checks": "pnpm typecheck && pnpm lint && pnpm test && pnpm build",
43
+ "clean": "node ../scripts/package-fs.cjs remove node_modules .swc dist pnpm-lock.yaml && echo \"Cleaned\""
44
+ },
45
+ "dependencies": {
46
+ "@mysetup/classnames": "workspace:^"
47
+ },
48
+ "peerDependencies": {
49
+ "react": "^18.3.1 || ^19.0.0"
50
+ },
51
+ "devDependencies": {
52
+ "@mysetup/eslint-config": "workspace:^",
53
+ "@mysetup/jest-config": "workspace:^",
54
+ "@mysetup/prettier-config": "workspace:^",
55
+ "@mysetup/tsconfig": "workspace:^",
56
+ "@testing-library/react": "^16.2.0",
57
+ "@types/jest": "^29.5.14",
58
+ "@types/jest-axe": "^3.5.9",
59
+ "@types/react": "^18.3.1",
60
+ "jest": "^29.7.0",
61
+ "jest-axe": "^9.0.0",
62
+ "react": "^18.3.1",
63
+ "react-dom": "^18.3.1",
64
+ "typescript": "5.5.4"
65
+ },
66
+ "prettier": "@mysetup/prettier-config",
67
+ "engines": {
68
+ "node": ">=20.15.1"
69
+ },
70
+ "packageManager": "pnpm@9.9.0"
71
+ }