@warp-ds/css 1.0.0-alpha.37 → 1.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/README.md +4 -6
- package/component-classes/index.js +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -9,13 +9,11 @@ The package includes resets, component classes and tokens.
|
|
|
9
9
|
The CSS files should be used directly from Eik. This is because we can alias releases by major versions.
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
We publish
|
|
12
|
+
We publish 3 css files.
|
|
13
13
|
|
|
14
|
-
|
|
15
|
-
<link href="https://assets.finn.no/pkg/@warp-ds/css/
|
|
16
|
-
|
|
17
|
-
<link href="https://assets.finn.no/pkg/@warp-ds/css/v1/resets.css" rel="stylesheet" />
|
|
18
|
-
```
|
|
14
|
+
- Resets <link href="https://assets.finn.no/pkg/@warp-ds/css/[VERSION]/resets.css" rel="stylesheet" />
|
|
15
|
+
- Components css <link href="https://assets.finn.no/pkg/@warp-ds/css/[VERSION]/components.css" rel="stylesheet" />
|
|
16
|
+
- Brand css with tokens <link href="https://assets.finn.no/pkg/@warp-ds/css/[VERSION]/tokens/[BRANDNAME e.g. tori-fi].css" rel="stylesheet" />
|
|
19
17
|
|
|
20
18
|
## Usage (npm)
|
|
21
19
|
|
|
@@ -214,7 +214,7 @@ export const expandable = {
|
|
|
214
214
|
expansion: 'overflow-hidden',
|
|
215
215
|
expansionNotExpanded: 'h-0 invisible',
|
|
216
216
|
button: buttonReset + ' hover:underline focus:underline',
|
|
217
|
-
buttonBox: 'w-full text-left relative inline-flex
|
|
217
|
+
buttonBox: 'w-full text-left relative inline-flex items-center ' + box.box,
|
|
218
218
|
paddingTop: 'pt-0',
|
|
219
219
|
title: 'flex justify-between items-center',
|
|
220
220
|
titleType: 'h4',
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@warp-ds/css",
|
|
3
3
|
"repository": "git@github.com:warp-ds/css.git",
|
|
4
|
-
"version": "1.0.0
|
|
4
|
+
"version": "1.0.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "pnpm build:tokens && pnpm build:resets && pnpm build:cc",
|
|
7
7
|
"commit": "cz",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"dependencies": {
|
|
42
42
|
"@warp-ds/fonts": "1.1.0",
|
|
43
43
|
"@warp-ds/tokenizer": "^0.0.2",
|
|
44
|
-
"@warp-ds/uno": "^1.0.0
|
|
44
|
+
"@warp-ds/uno": "^1.0.0"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"@eik/cli": "^2.0.22",
|