testio-tailwind 0.2.2 → 0.2.4

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  # Translation Space Designsystem
2
2
 
3
- [![CircleCI](https://dl.circleci.com/status-badge/img/gh/test-IO/translation-space-designsystem/tree/main.svg?style=svg&circle-token=60adcec1eb4c2df56fede063ffe512971f103889)](https://dl.circleci.com/status-badge/redirect/gh/test-IO/translation-space-designsystem/tree/main)
3
+ [![CircleCI](https://dl.circleci.com/status-badge/img/gh/test-IO/testio-tailwind/tree/main.svg?style=svg)](https://dl.circleci.com/status-badge/redirect/gh/test-IO/testio-tailwind/tree/main)
4
4
 
5
5
  --- (Live deployment)
6
6
 
@@ -41,3 +41,12 @@ npm run build
41
41
  * Make sure to update the version number in package.json file for every pull request
42
42
  * CircleCI will take care of publishing to npm and also adding a tag when the commits are merged to master
43
43
  * CircleCI will publish it only if the package version has been increased
44
+
45
+
46
+ ---
47
+
48
+ ### Integration of the design system into your app
49
+
50
+ * If possible import `app.css` to get all relevant modules and files.
51
+ * Be sure to use `tailwind.config.js` from the package to have all relevant variables ready to use. Otherwise you might get errors due to missing variables.
52
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "testio-tailwind",
3
- "version": "0.2.2",
3
+ "version": "0.2.4",
4
4
  "description": "Tailwind based design system for Test IO",
5
5
  "scripts": {
6
6
  "clean": "del dist",
@@ -27,20 +27,20 @@
27
27
  "cross-env": "^7.0.3",
28
28
  "css-loader": "^5.0.1",
29
29
  "del-cli": "^3.0.1",
30
- "html-minifier": "^4.0.0",
31
30
  "luxon": "^1.25.0",
32
31
  "npm-run-all": "^4.1.5",
33
32
  "postcss": "^8.1.0",
34
33
  "postcss-cli": "^8.0.0",
35
- "postcss-import": "^12.0.1",
34
+ "postcss-import": "^16.1.0",
36
35
  "postcss-loader": "^4.0.4",
37
- "postcss-nesting": "^7.0.1",
38
- "pug-frontmatter-html-loader": "^0.1.2",
36
+ "postcss-nesting": "^13.0.1",
37
+ "pug-plugin": "^6.0.0",
39
38
  "tailwindcss": "^2.2.16",
40
39
  "webpack": "^5.x",
41
40
  "webpack-cli": ">=4.x"
42
41
  },
43
42
  "dependencies": {
43
+ "@babel/plugin-transform-class-properties": "^7.27.1",
44
44
  "@tailwindcss/forms": "^0.1.4",
45
45
  "@tailwindcss/line-clamp": "^0.1.0",
46
46
  "@tailwindcss/typography": "^0.4.0",
@@ -48,9 +48,10 @@
48
48
  "dropzone": "^6.0.0-beta.2",
49
49
  "echarts": "^5.6.0",
50
50
  "hamljs": "^0.6.2",
51
+ "html-minifier-terser": "^7.2.0",
51
52
  "jquery": "^3.6.0",
52
53
  "markdown-it": "^14.1.0",
53
- "postcss-simple-vars": "^5.0.2",
54
+ "postcss-simple-vars": "^7.0.1",
54
55
  "select2": "^4.1.0-rc.0",
55
56
  "tailwindcss": "^2.2.16",
56
57
  "tom-select": "^2.3.1",
@@ -33,6 +33,10 @@
33
33
  @apply px-xxs text-white font-normal not-italic bg-info rounded;
34
34
  }
35
35
 
36
+ em a, a em {
37
+ @apply px-xxs text-white font-normal not-italic bg-info rounded;
38
+ }
39
+
36
40
  code {
37
41
  @apply p-xxs mb-xs text-label bg-gray-lightest text-black font-mono rounded;
38
42
  }
@@ -35,7 +35,12 @@ ___
35
35
  ### Links
36
36
 
37
37
  [link text](http://test.io)
38
+
38
39
  [link with title](http://test.io "title text!")
40
+
41
+ *[em with link inside](http://test.io)*
42
+
43
+ [link with *em* inside](http://test.io)
39
44
  ___
40
45
 
41
46
 
@@ -23,6 +23,14 @@ title: Trix content styles
23
23
  %hr
24
24
  %h3 Links
25
25
  %a{href:"http://test.io"} Text of link
26
+ %br
27
+ %a{href:"http://test.io"}
28
+ Link with
29
+ %em em
30
+ inside
31
+ %br
32
+ %em
33
+ %a{href:"http://test.io"} em with link inside
26
34
  %hr
27
35
  %h3 Blockquotes
28
36
  %blockquote
@@ -1,4 +1,4 @@
1
- const htmlmin = require("html-minifier");
1
+ const htmlmin = require("html-minifier-terser");
2
2
  const isProduction = process.env.ELEVENTY_ENV === 'production';
3
3
 
4
4
  module.exports = {