rotion 0.1.3 → 0.1.5

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.
@@ -297,10 +297,12 @@
297
297
  .xn2xpo4:not(#\#):not(#\#):not(#\#):not(#\#){padding-bottom:.2rem}
298
298
  .x2yie3v:not(#\#):not(#\#):not(#\#):not(#\#){padding-bottom:1rem}
299
299
  .x10avn17:not(#\#):not(#\#):not(#\#):not(#\#){padding-bottom:56.25%}
300
+ .x1azqywr:not(#\#):not(#\#):not(#\#):not(#\#){padding-left:.4rem}
300
301
  .x15u6esi:not(#\#):not(#\#):not(#\#):not(#\#){padding-left:.5rem}
301
302
  .x9dzeaa:not(#\#):not(#\#):not(#\#):not(#\#){padding-left:1rem}
302
303
  .xq0jmyz:not(#\#):not(#\#):not(#\#):not(#\#){padding-right:.3rem}
303
304
  .xkkytvh:not(#\#):not(#\#):not(#\#):not(#\#){padding-right:.4rem}
305
+ .x6t6vjn:not(#\#):not(#\#):not(#\#):not(#\#){padding-top:.1rem}
304
306
  .xumxmzd:not(#\#):not(#\#):not(#\#):not(#\#){padding-top:.6rem}
305
307
  .x1gpu0sb:not(#\#):not(#\#):not(#\#):not(#\#){right:-0.1em}
306
308
  .x1nh8u4m:not(#\#):not(#\#):not(#\#):not(#\#){top:.5rem}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rotion",
3
- "version": "0.1.3",
3
+ "version": "0.1.5",
4
4
  "license": "MIT",
5
5
  "repository": "linyows/rotion",
6
6
  "description": "This is react components that uses the notion API to display the notion's database and page.",
@@ -16,6 +16,7 @@
16
16
  "require": "./dist/ui/cjs/index.js"
17
17
  },
18
18
  "./style.css": "./dist/ui/esm/style.css",
19
+ "./style-without-dark.css": "./dist/ui/esm/style-without-dark.css",
19
20
  "./package.json": "./package.json",
20
21
  "./README.md": "./README.md",
21
22
  "./LICENSE": "./LICENSE"
@@ -44,11 +45,12 @@
44
45
  "exporter:build": "npm run exporter:clean && tsc -p tsconfig.exporter.json",
45
46
  "exporter:clean": "rm -rf dist/exporter/*",
46
47
  "exporter:test": "tsm node_modules/uvu/bin.js ./src/exporter",
47
- "ui:build": "npm run ui:lint && npm run ui:typecheck && npm run ui:rollup",
48
+ "ui:build": "npm run ui:lint && npm run ui:typecheck && npm run ui:rollup && npm run ui:withoutdark",
48
49
  "ui:rollup": "rollup --config rollup.config.ts --configPlugin typescript",
49
50
  "ui:typecheck": "tsc -p src/ui/tsconfig.typecheck.json",
50
51
  "ui:lint": "eslint ./src/ui/components --ext .js,.jsx,.ts,.tsx -c ./src/ui/.eslintrc.json",
51
52
  "ui:test": "uvu -r tsm ./src/ui/components",
53
+ "ui:withoutdark": "sed 's/@media (prefers-color-scheme: dark).*//g' ./dist/ui/esm/style.css > ./dist/ui/esm/style-without-dark.css",
52
54
  "story": "storybook dev -p 6006",
53
55
  "build-story": "storybook build",
54
56
  "prepublishOnly": "npm install && npm run test && npm run build"