@crowdstrike/tailwind-toucan-base 3.3.1 → 3.5.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/index.css +91 -734
- package/package.json +32 -47
- package/src/tailwind.config.js +3 -0
- package/toucan.css +91 -734
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@crowdstrike/tailwind-toucan-base",
|
3
|
-
"version": "3.
|
3
|
+
"version": "3.5.0",
|
4
4
|
"private": false,
|
5
5
|
"description": "Tailwind preset for CrowdStrike's Toucan design system",
|
6
6
|
"repository": "https://github.com/CrowdStrike/tailwind-toucan-base",
|
@@ -36,42 +36,27 @@
|
|
36
36
|
]
|
37
37
|
}
|
38
38
|
},
|
39
|
-
"scripts": {
|
40
|
-
"start": "pnpm run build && npx http-server ./dist",
|
41
|
-
"build": "npm-run-all clean build:cdn build:alias build:preview build:theme-data",
|
42
|
-
"build:theme-data": "node ./build/theme-data.mjs",
|
43
|
-
"build:preview": "node ./build/preview/index.mjs",
|
44
|
-
"build:cdn": "NODE_ENV=production tailwind build -i ./build/input.css -o ./index.css -c ./build/tailwind.config.cdn.js",
|
45
|
-
"clean": "rm -f ./toucan.css ./index.css",
|
46
|
-
"build:alias": "cp index.css toucan.css",
|
47
|
-
"figma:export-styles": "figma-export use-config",
|
48
|
-
"test": "pnpm --filter='tests' exec vitest --coverage --run",
|
49
|
-
"lint:fix": "pnpm run lint:js --fix",
|
50
|
-
"lint:js": "eslint .",
|
51
|
-
"prepublishOnly": "pnpm build"
|
52
|
-
},
|
53
39
|
"dependencies": {
|
40
|
+
"@changesets/changelog-github": "^0.4.8",
|
41
|
+
"@changesets/cli": "^2.26.1",
|
54
42
|
"tailwindcss": "^2.2.15"
|
55
43
|
},
|
56
44
|
"devDependencies": {
|
57
45
|
"@figma-export/cli": "4.5.0",
|
58
|
-
"@nullvoxpopuli/eslint-configs": "2.2.
|
59
|
-
"@
|
60
|
-
"
|
61
|
-
"
|
62
|
-
"autoprefixer": "^10.4.7",
|
63
|
-
"c8": "^7.12.0",
|
46
|
+
"@nullvoxpopuli/eslint-configs": "2.2.62",
|
47
|
+
"@types/fs-extra": "^11.0.1",
|
48
|
+
"autoprefixer": "^10.4.14",
|
49
|
+
"c8": "^7.13.0",
|
64
50
|
"common-tags": "^1.8.2",
|
65
|
-
"eslint": "^8.
|
66
|
-
"execa": "^
|
67
|
-
"fs-extra": "^
|
51
|
+
"eslint": "^8.38.0",
|
52
|
+
"execa": "^7.1.1",
|
53
|
+
"fs-extra": "^11.1.1",
|
68
54
|
"npm-run-all": "^4.1.5",
|
69
|
-
"pnpm": "^
|
70
|
-
"postcss": "^8.4.
|
71
|
-
"semantic-release": "^19.0.5",
|
55
|
+
"pnpm": "^8.3.1",
|
56
|
+
"postcss": "^8.4.23",
|
72
57
|
"tailwind-config-viewer": "^1.7.2",
|
73
|
-
"typescript": "^
|
74
|
-
"vitest": "0.
|
58
|
+
"typescript": "^5.0.4",
|
59
|
+
"vitest": "0.30.1"
|
75
60
|
},
|
76
61
|
"engines": {
|
77
62
|
"node": ">=14.15.0"
|
@@ -79,24 +64,24 @@
|
|
79
64
|
"publishConfig": {
|
80
65
|
"access": "public"
|
81
66
|
},
|
82
|
-
"
|
83
|
-
"branches": [
|
84
|
-
"main",
|
85
|
-
"master"
|
86
|
-
],
|
87
|
-
"plugins": [
|
88
|
-
"@semantic-release/commit-analyzer",
|
89
|
-
"@semantic-release/release-notes-generator",
|
90
|
-
"@semantic-release/changelog",
|
91
|
-
"@semantic-release/npm",
|
92
|
-
"@semantic-release/github",
|
93
|
-
"@semantic-release/git"
|
94
|
-
]
|
95
|
-
},
|
96
|
-
"packageManager": "pnpm@7.12.2",
|
67
|
+
"packageManager": "pnpm@8.3.1",
|
97
68
|
"volta": {
|
98
|
-
"node": "16.
|
69
|
+
"node": "18.16.0",
|
99
70
|
"yarn": "1.22.19",
|
100
|
-
"npm": "
|
71
|
+
"npm": "9.6.5"
|
72
|
+
},
|
73
|
+
"scripts": {
|
74
|
+
"start": "pnpm run build && npx http-server ./dist",
|
75
|
+
"build": "npm-run-all clean build:cdn build:alias build:preview build:theme-data",
|
76
|
+
"build:theme-data": "node ./build/theme-data.mjs",
|
77
|
+
"build:preview": "node ./build/preview/index.mjs",
|
78
|
+
"build:cdn": "NODE_ENV=production tailwind build -i ./build/input.css -o ./index.css -c ./build/tailwind.config.cdn.js",
|
79
|
+
"clean": "rm -f ./toucan.css ./index.css",
|
80
|
+
"build:alias": "cp index.css toucan.css",
|
81
|
+
"figma:export-styles": "figma-export use-config",
|
82
|
+
"test": "pnpm --filter='tests' exec vitest --coverage --run",
|
83
|
+
"lint:fix": "pnpm run lint:js --fix",
|
84
|
+
"lint:js": "eslint .",
|
85
|
+
"release": "changeset publish"
|
101
86
|
}
|
102
|
-
}
|
87
|
+
}
|
package/src/tailwind.config.js
CHANGED
@@ -37,6 +37,9 @@ module.exports = {
|
|
37
37
|
'focus-outline': 'inset 0 0 0 2px var(--focus)',
|
38
38
|
'error-outline': 'inset 0 0 0 2px var(--critical)',
|
39
39
|
'search-input': 'inset 0 0 0 1px var(--nav-text-secondary)',
|
40
|
+
'error-focus-outline':
|
41
|
+
'inset 0 0 0 2px var(--critical), 0 0 0 2px var(--surface-base), 0 0 0 4px var(--focus)',
|
42
|
+
'read-only-outline': 'inset 0 0 0 1px var(--disabled)',
|
40
43
|
...boxShadow,
|
41
44
|
},
|
42
45
|
|