@triptease/stylesheet 2.0.1 → 2.1.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.
@@ -1,5 +1,5 @@
1
1
  /*
2
- * @triptease/stylesheet v2.0.1
2
+ * @triptease/stylesheet v2.1.0
3
3
  */
4
4
  @import url('https://fonts.googleapis.com/css?family=Roboto:400,500') layer(base);
5
5
  @import url('https://fonts.googleapis.com/css?family=Inter:300,500,600,700') layer(base);
@@ -629,6 +629,7 @@ input[type='checkbox'][data-theme='toggle'],
629
629
  border-width: 0px;
630
630
  padding: 2px;
631
631
  position: relative;
632
+ isolation: isolate;
632
633
  min-width: var(--space-scale-5);
633
634
 
634
635
  &:hover {
@@ -1,5 +1,5 @@
1
1
  /*
2
- * @triptease/stylesheet v2.0.1
2
+ * @triptease/stylesheet v2.1.0
3
3
  */
4
4
  /*
5
5
  Suppress "invalid at-rule" warnings: @import-glob is a build-time feature
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@triptease/stylesheet",
3
- "version": "2.0.1",
3
+ "version": "2.1.0",
4
4
  "description": "The stylesheet for the Triptease design system",
5
5
  "main": "dist/triptease.css",
6
6
  "type": "module",
@@ -10,7 +10,16 @@
10
10
  "license": "MIT",
11
11
  "exports": {
12
12
  ".": "./dist/triptease.css",
13
- "./tokens": "./dist/web/tokens.json"
13
+ "./tokens": "./dist/web/tokens.json",
14
+ "./lit": "./dist/lit/triptease.js"
15
+ },
16
+ "peerDependencies": {
17
+ "lit": "^3.0.0"
18
+ },
19
+ "peerDependenciesMeta": {
20
+ "lit": {
21
+ "optional": true
22
+ }
14
23
  },
15
24
  "devDependencies": {
16
25
  "@csstools/postcss-design-tokens": "^4.0.5",
@@ -29,7 +38,8 @@
29
38
  "scripts": {
30
39
  "build:tokens": "style-dictionary build --config tokens/config.js",
31
40
  "build:css": "postcss --dir dist/ src/*.css",
32
- "build": "yarn build:tokens && yarn build:css",
41
+ "build:lit": "node scripts/generate-lit-css.mjs",
42
+ "build": "yarn build:tokens && yarn build:css && yarn build:lit",
33
43
  "serve:css": "yarn build -w",
34
44
  "serve:http": "http-server dist -p 8081",
35
45
  "serve": "concurrently \"yarn serve:css\" \"yarn serve:http\""