@rocket.chat/css-in-js 0.31.26-dev.8 → 0.32.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.
@@ -4,9 +4,6 @@ type MiddlewareOptions = {
4
4
  isPropertyValueSupported?: (property: string, value: string) => boolean;
5
5
  };
6
6
  export declare const createTranspileMiddleware: (options?: MiddlewareOptions) => Middleware;
7
- /**
8
- * Transpiles CSS Modules content to CSS rules.
9
- */
10
7
  export declare const transpile: (selector: string, content: string, middleware?: Middleware) => string;
11
8
  export {};
12
9
  //# sourceMappingURL=transpile.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"transpile.d.ts","sourceRoot":"","sources":["../src/transpile.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AAGzC,KAAK,iBAAiB,GAAG;IACvB,mBAAmB,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,OAAO,CAAC;IACpD,wBAAwB,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,OAAO,CAAC;CACzE,CAAC;AAEF,eAAO,MAAM,yBAAyB,aAC3B,iBAAiB,KACzB,UAC4E,CAAC;AAIhF;;GAEG;AACH,eAAO,MAAM,SAAS,aACV,MAAM,WACP,MAAM,eACH,UAAU,KACrB,MAAmE,CAAC"}
1
+ {"version":3,"file":"transpile.d.ts","sourceRoot":"","sources":["../src/transpile.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AAGzC,KAAK,iBAAiB,GAAG;IACvB,mBAAmB,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,OAAO,CAAC;IACpD,wBAAwB,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,OAAO,CAAC;CACzE,CAAC;AAEF,eAAO,MAAM,yBAAyB,GACpC,UAAS,iBAAsB,KAC9B,UAC4E,CAAC;AAOhF,eAAO,MAAM,SAAS,GACpB,UAAU,MAAM,EAChB,SAAS,MAAM,EACf,aAAY,UAA8B,KACzC,MAAmE,CAAC"}
package/package.json CHANGED
@@ -1,72 +1,65 @@
1
1
  {
2
2
  "name": "@rocket.chat/css-in-js",
3
- "version": "0.31.26-dev.8",
3
+ "version": "0.32.0",
4
4
  "description": "Toolset to transpile and use CSS on runtime",
5
+ "keywords": [
6
+ "rocket.chat",
7
+ "css-in-js"
8
+ ],
5
9
  "homepage": "https://rocketchat.github.io/Rocket.Chat.Fuselage/",
6
- "author": {
7
- "name": "Rocket.Chat",
8
- "url": "https://rocket.chat/"
10
+ "bugs": {
11
+ "url": "https://github.com/RocketChat/fuselage/issues"
9
12
  },
10
- "license": "MIT",
11
13
  "repository": {
12
14
  "type": "git",
13
15
  "url": "git+https://github.com/RocketChat/fuselage.git",
14
16
  "directory": "packages/css-in-js"
15
17
  },
16
- "bugs": {
17
- "url": "https://github.com/RocketChat/fuselage/issues"
18
+ "license": "MIT",
19
+ "author": {
20
+ "name": "Rocket.Chat",
21
+ "url": "https://rocket.chat/"
18
22
  },
19
- "keywords": [
20
- "rocket.chat",
21
- "css-in-js"
22
- ],
23
- "source": "src/index.ts",
24
23
  "main": "dist/index.js",
25
- "module": "dist/index.module.js",
26
24
  "unpkg": "dist/index.umd.js",
25
+ "module": "dist/index.module.js",
26
+ "source": "src/index.ts",
27
27
  "types": "dist/index.d.ts",
28
28
  "files": [
29
29
  "/dist",
30
30
  "/logicalProperties"
31
31
  ],
32
- "publishConfig": {
33
- "access": "public"
34
- },
35
32
  "scripts": {
36
33
  "build": "rollup -c",
34
+ "docs": "typedoc",
37
35
  "lint": "lint",
38
36
  "lint-and-fix": "lint-and-fix",
39
- "lint-staged": "lint-staged",
40
- "test": "jest --runInBand",
41
- "docs": "typedoc",
42
- "bump-next": "bump-next"
37
+ "test": "jest --runInBand"
38
+ },
39
+ "dependencies": {
40
+ "@emotion/hash": "^0.9.2",
41
+ "@rocket.chat/css-supports": "^0.31.25",
42
+ "@rocket.chat/memo": "^0.31.25",
43
+ "@rocket.chat/stylis-logical-props-middleware": "^0.31.25",
44
+ "stylis": "~4.3.6"
43
45
  },
44
46
  "devDependencies": {
45
- "@rocket.chat/eslint-config-alt": "~0.32.0-dev.170",
46
- "@rocket.chat/prettier-config": "~0.31.26-dev.8",
47
- "@rollup/plugin-commonjs": "~21.0.3",
48
- "@rollup/plugin-json": "~4.1.0",
49
- "@rollup/plugin-node-resolve": "~13.1.3",
50
- "@rollup/plugin-typescript": "~8.3.4",
51
- "@types/jest": "~29.5.0",
52
- "@types/stylis": "^4.0.2",
53
- "bump": "~0.31.25",
54
- "eslint": "~8.38.0",
55
- "jest": "~29.5.0",
56
- "lint-all": "~0.31.25",
57
- "lint-staged": "~13.2.1",
58
- "prettier": "~2.8.7",
59
- "rollup": "~2.67.3",
60
- "rollup-plugin-terser": "~7.0.2",
61
- "ts-jest": "~29.1.0",
62
- "typedoc": "~0.24.1",
63
- "typescript": "~5.0.4"
47
+ "@rollup/plugin-commonjs": "~28.0.9",
48
+ "@rollup/plugin-json": "~6.1.0",
49
+ "@rollup/plugin-node-resolve": "~16.0.3",
50
+ "@rollup/plugin-terser": "~0.4.4",
51
+ "@rollup/plugin-typescript": "~12.3.0",
52
+ "@types/stylis": "^4.2.7",
53
+ "eslint": "~9.39.2",
54
+ "jest": "~30.3.0",
55
+ "lint-all": "^0.31.25",
56
+ "prettier": "~3.6.2",
57
+ "rollup": "~4.60.0",
58
+ "ts-jest": "~29.4.6",
59
+ "typedoc": "~0.28.18",
60
+ "typescript": "~5.9.3"
64
61
  },
65
- "dependencies": {
66
- "@emotion/hash": "^0.9.0",
67
- "@rocket.chat/css-supports": "~0.31.26-dev.8",
68
- "@rocket.chat/memo": "~0.31.26-dev.8",
69
- "@rocket.chat/stylis-logical-props-middleware": "~0.31.26-dev.8",
70
- "stylis": "~4.1.3"
62
+ "publishConfig": {
63
+ "access": "public"
71
64
  }
72
- }
65
+ }
package/CHANGELOG.md DELETED
@@ -1,202 +0,0 @@
1
- # Change Log
2
-
3
- All notable changes to this project will be documented in this file.
4
- See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
-
6
- # [0.31.0](https://github.com/RocketChat/fuselage/compare/v0.30.1...v0.31.0) (2021-12-28)
7
-
8
- ### Features
9
-
10
- - New hooks for element size tracking ([#413](https://github.com/RocketChat/fuselage/issues/413)) ([8ca682c](https://github.com/RocketChat/fuselage/commit/8ca682c636d2e4813f7d346cb881513382be63cf))
11
-
12
- # [0.30.0](https://github.com/RocketChat/fuselage/compare/v0.29.0...v0.30.0) (2021-10-06)
13
-
14
- ### Bug Fixes
15
-
16
- - **jest:** Adjust jest and ts-jest dependencies ([#547](https://github.com/RocketChat/fuselage/issues/547)) ([91a4fa1](https://github.com/RocketChat/fuselage/commit/91a4fa1365394001afe1bd46480bda3bafed5505))
17
-
18
- # [0.29.0](https://github.com/RocketChat/fuselage/compare/v0.28.0...v0.29.0) (2021-08-31)
19
-
20
- **Note:** Version bump only for package @rocket.chat/css-in-js
21
-
22
- # [0.28.0](https://github.com/RocketChat/fuselage/compare/v0.27.0...v0.28.0) (2021-07-30)
23
-
24
- ### Features
25
-
26
- - **onboarding-ui:** Administrator information form and Organization information form ([#489](https://github.com/RocketChat/fuselage/issues/489)) ([b289f68](https://github.com/RocketChat/fuselage/commit/b289f68676954b91c792d8d97680314178bf2c60))
27
- - **onboarding-ui:** Common components ([#478](https://github.com/RocketChat/fuselage/issues/478)) ([d7511ab](https://github.com/RocketChat/fuselage/commit/d7511ab435bae8c35e02071832c9a615078a83d5))
28
- - styled API; monorepo grooming ([#482](https://github.com/RocketChat/fuselage/issues/482)) ([1b6b70c](https://github.com/RocketChat/fuselage/commit/1b6b70cf67ec16927b1566adc2350295a8927223))
29
-
30
- # [0.27.0](https://github.com/RocketChat/fuselage/compare/v0.26.0...v0.27.0) (2021-06-28)
31
-
32
- **Note:** Version bump only for package @rocket.chat/css-in-js
33
-
34
- # [0.26.0](https://github.com/RocketChat/fuselage/compare/v0.25.0...v0.26.0) (2021-05-28)
35
-
36
- **Note:** Version bump only for package @rocket.chat/css-in-js
37
-
38
- # [0.25.0](https://github.com/RocketChat/fuselage/compare/v0.24.0...v0.25.0) (2021-05-19)
39
-
40
- ### Features
41
-
42
- - [@rocket](https://github.com/rocket).chat/message-parser ([#443](https://github.com/RocketChat/fuselage/issues/443)) ([4722cdf](https://github.com/RocketChat/fuselage/commit/4722cdff46f5987f335d989be59649c7652bb12a))
43
-
44
- # [0.24.0](https://github.com/RocketChat/fuselage/compare/v0.23.0...v0.24.0) (2021-04-28)
45
-
46
- ### Features
47
-
48
- - [@rocket](https://github.com/rocket).chat/string-helpers ([#431](https://github.com/RocketChat/fuselage/issues/431)) ([2509d6a](https://github.com/RocketChat/fuselage/commit/2509d6acdbe5ec8b216e8d4430373797c5f5dfe2))
49
-
50
- # [0.23.0](https://github.com/RocketChat/fuselage/compare/v0.22.0...v0.23.0) (2021-04-01)
51
-
52
- ### Bug Fixes
53
-
54
- - **npm:** Wrong paths in "files" field of package.json ([6d3c811](https://github.com/RocketChat/fuselage/commit/6d3c811f6fd747de7f47aff145902d88476272ee))
55
-
56
- # [0.22.0](https://github.com/RocketChat/fuselage/compare/v0.21.0...v0.22.0) (2021-02-26)
57
-
58
- ### Features
59
-
60
- - [@rocket](https://github.com/rocket).chat/memo ([#380](https://github.com/RocketChat/fuselage/issues/380)) ([2425c04](https://github.com/RocketChat/fuselage/commit/2425c045743ba1a4a5443a1d341e615363930ef6))
61
-
62
- # [0.21.0](https://github.com/RocketChat/fuselage/compare/v0.20.3...v0.21.0) (2021-01-31)
63
-
64
- ### Bug Fixes
65
-
66
- - TSConfig es5 target & es6 lib ([#378](https://github.com/RocketChat/fuselage/issues/378)) ([5802499](https://github.com/RocketChat/fuselage/commit/580249900584287203dad5e4da2acc1829759cbd))
67
-
68
- ### Features
69
-
70
- - Built modules for design tokens ([#356](https://github.com/RocketChat/fuselage/issues/356)) ([f9c3449](https://github.com/RocketChat/fuselage/commit/f9c344953b8161a4385cab3a3dcc8b6a7210446f))
71
-
72
- ## [0.20.2](https://github.com/RocketChat/fuselage/compare/v0.20.1...v0.20.2) (2021-01-27)
73
-
74
- ### Bug Fixes
75
-
76
- - TSConfig es5 target & es6 lib ([#378](https://github.com/RocketChat/fuselage/issues/378)) ([8d9aaa2](https://github.com/RocketChat/fuselage/commit/8d9aaa2d1f731b7621a55e264b7f46b3631e2dfa))
77
-
78
- ## [0.20.1](https://github.com/RocketChat/fuselage/compare/v0.20.0...v0.20.1) (2020-12-22)
79
-
80
- **Note:** Version bump only for package @rocket.chat/css-in-js
81
-
82
- # [0.20.0](https://github.com/RocketChat/fuselage/compare/v0.19.0...v0.20.0) (2020-12-21)
83
-
84
- ### Features
85
-
86
- - Update and expose logical properties plugin for Stylis ([#333](https://github.com/RocketChat/fuselage/issues/333)) ([3311ee9](https://github.com/RocketChat/fuselage/commit/3311ee9b3868267d19de14ddcbbe2dcf89739e1b))
87
-
88
- # [0.19.0](https://github.com/RocketChat/fuselage/compare/v0.18.0...v0.19.0) (2020-11-28)
89
-
90
- **Note:** Version bump only for package @rocket.chat/css-in-js
91
-
92
- # [0.18.0](https://github.com/RocketChat/fuselage/compare/v0.17.3...v0.18.0) (2020-11-16)
93
-
94
- **Note:** Version bump only for package @rocket.chat/css-in-js
95
-
96
- ## [0.17.2](https://github.com/RocketChat/fuselage/compare/v0.17.1...v0.17.2) (2020-10-28)
97
-
98
- **Note:** Version bump only for package @rocket.chat/css-in-js
99
-
100
- ## [0.17.1](https://github.com/RocketChat/fuselage/compare/v0.17.0...v0.17.1) (2020-10-26)
101
-
102
- **Note:** Version bump only for package @rocket.chat/css-in-js
103
-
104
- # [0.17.0](https://github.com/RocketChat/fuselage/compare/v0.16.0...v0.17.0) (2020-10-25)
105
-
106
- ### Bug Fixes
107
-
108
- - Use dir attribute from documentElement ([#304](https://github.com/RocketChat/fuselage/issues/304)) ([f574b8c](https://github.com/RocketChat/fuselage/commit/f574b8c6b2ad09ad5fafa696ad539297bd782758))
109
-
110
- # [0.16.0](https://github.com/RocketChat/fuselage/compare/v0.15.1...v0.16.0) (2020-09-30)
111
-
112
- **Note:** Version bump only for package @rocket.chat/css-in-js
113
-
114
- ## [0.15.1](https://github.com/RocketChat/fuselage/compare/v0.15.0...v0.15.1) (2020-09-22)
115
-
116
- **Note:** Version bump only for package @rocket.chat/css-in-js
117
-
118
- # [0.15.0](https://github.com/RocketChat/fuselage/compare/v0.14.1...v0.15.0) (2020-09-17)
119
-
120
- **Note:** Version bump only for package @rocket.chat/css-in-js
121
-
122
- ## [0.14.1](https://github.com/RocketChat/fuselage/compare/v0.14.0...v0.14.1) (2020-08-22)
123
-
124
- **Note:** Version bump only for package @rocket.chat/css-in-js
125
-
126
- # [0.14.0](https://github.com/RocketChat/fuselage/compare/v0.13.2...v0.14.0) (2020-08-18)
127
-
128
- **Note:** Version bump only for package @rocket.chat/css-in-js
129
-
130
- ## [0.13.1](https://github.com/RocketChat/fuselage/compare/v0.13.0...v0.13.1) (2020-07-17)
131
-
132
- **Note:** Version bump only for package @rocket.chat/css-in-js
133
-
134
- # [0.13.0](https://github.com/RocketChat/fuselage/compare/v0.12.0...v0.13.0) (2020-07-14)
135
-
136
- **Note:** Version bump only for package @rocket.chat/css-in-js
137
-
138
- # [0.12.0](https://github.com/RocketChat/fuselage/compare/v0.11.0...v0.12.0) (2020-07-14)
139
-
140
- **Note:** Version bump only for package @rocket.chat/css-in-js
141
-
142
- # [0.11.0](https://github.com/RocketChat/fuselage/compare/v0.10.0...v0.11.0) (2020-07-11)
143
-
144
- **Note:** Version bump only for package @rocket.chat/css-in-js
145
-
146
- # [0.10.0](https://github.com/RocketChat/fuselage/compare/v0.9.0...v0.10.0) (2020-06-20)
147
-
148
- ### Bug Fixes
149
-
150
- - css`` tagged template strings ([#241](https://github.com/RocketChat/fuselage/issues/241)) ([3b655a4](https://github.com/RocketChat/fuselage/commit/3b655a4))
151
-
152
- ### Features
153
-
154
- - MP3 encoder ([#235](https://github.com/RocketChat/fuselage/issues/235)) ([a85eb1a](https://github.com/RocketChat/fuselage/commit/a85eb1a))
155
-
156
- ### Performance Improvements
157
-
158
- - Generated classNames from props ([#230](https://github.com/RocketChat/fuselage/issues/230)) ([8df14cb](https://github.com/RocketChat/fuselage/commit/8df14cb))
159
-
160
- # [0.9.0](https://github.com/RocketChat/fuselage/compare/v0.8.0...v0.9.0) (2020-05-21)
161
-
162
- **Note:** Version bump only for package @rocket.chat/css-in-js
163
-
164
- # [0.8.0](https://github.com/RocketChat/fuselage/compare/v0.7.1...v0.8.0) (2020-04-22)
165
-
166
- **Note:** Version bump only for package @rocket.chat/css-in-js
167
-
168
- ## [0.7.1](https://github.com/RocketChat/fuselage/compare/v0.7.0...v0.7.1) (2020-04-01)
169
-
170
- **Note:** Version bump only for package @rocket.chat/css-in-js
171
-
172
- # [0.7.0](https://github.com/RocketChat/fuselage/compare/v0.6.2...v0.7.0) (2020-04-01)
173
-
174
- ### Features
175
-
176
- - Custom prop types and more props to Box ([#181](https://github.com/RocketChat/fuselage/issues/181)) ([119e815](https://github.com/RocketChat/fuselage/commit/119e815ac9a0b85c1649c53bab62390b25aae4b3))
177
-
178
- ## [0.6.2](https://github.com/RocketChat/fuselage/compare/v0.6.1...v0.6.2) (2020-03-31)
179
-
180
- **Note:** Version bump only for package @rocket.chat/css-in-js
181
-
182
- ## [0.6.1](https://github.com/RocketChat/fuselage/compare/v0.6.0...v0.6.1) (2020-03-24)
183
-
184
- **Note:** Version bump only for package @rocket.chat/css-in-js
185
-
186
- # [0.6.0](https://github.com/RocketChat/fuselage/compare/v0.5.0...v0.6.0) (2020-03-20)
187
-
188
- **Note:** Version bump only for package @rocket.chat/css-in-js
189
-
190
- # [0.5.0](https://github.com/RocketChat/fuselage/compare/v0.4.1...v0.5.0) (2020-03-20)
191
-
192
- **Note:** Version bump only for package @rocket.chat/css-in-js
193
-
194
- ## [0.4.1](https://github.com/RocketChat/fuselage/compare/v0.4.0...v0.4.1) (2020-03-16)
195
-
196
- ### Bug Fixes
197
-
198
- - Build [@rocket](https://github.com/rocket).chat/css-in-js as ES module ([#166](https://github.com/RocketChat/fuselage/issues/166)) ([910c85c](https://github.com/RocketChat/fuselage/commit/910c85c9ca7a65b8dc53e9d137cdc7b3f17e3410))
199
-
200
- # [0.4.0](https://github.com/RocketChat/fuselage/compare/v0.3.0...v0.4.0) (2020-03-10)
201
-
202
- **Note:** Version bump only for package @rocket.chat/css-in-js