rotion 0.0.14 → 0.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.
Files changed (40) hide show
  1. package/README.md +23 -7
  2. package/dist/ui/cjs/index.js +1 -1
  3. package/dist/ui/cjs/index.js.map +1 -1
  4. package/dist/ui/cjs/style.css +91 -112
  5. package/dist/ui/cjs/types/ui/components/Checkbox/Checkbox.d.ts +5 -0
  6. package/dist/ui/cjs/types/ui/components/Checkbox/index.d.ts +2 -0
  7. package/dist/ui/cjs/types/ui/components/Page/RichText/LinkIfLinked/LinkIfLinked.d.ts +1 -1
  8. package/dist/ui/cjs/types/ui/components/Page/RichText/LinkIfLinked/LinkIfLinked.types.d.ts +1 -1
  9. package/dist/ui/cjs/types/ui/components/index.d.ts +1 -0
  10. package/dist/ui/cjs/types/ui/components/lib.d.ts +8 -0
  11. package/dist/ui/cjs/types/ui/components/tokens.stylex.d.ts +67 -4
  12. package/dist/ui/esm/index.js +1 -1
  13. package/dist/ui/esm/index.js.map +1 -1
  14. package/dist/ui/esm/style.css +91 -112
  15. package/dist/ui/esm/types/ui/components/Checkbox/Checkbox.d.ts +5 -0
  16. package/dist/ui/esm/types/ui/components/Checkbox/index.d.ts +2 -0
  17. package/dist/ui/esm/types/ui/components/Page/RichText/LinkIfLinked/LinkIfLinked.d.ts +1 -1
  18. package/dist/ui/esm/types/ui/components/Page/RichText/LinkIfLinked/LinkIfLinked.types.d.ts +1 -1
  19. package/dist/ui/esm/types/ui/components/index.d.ts +1 -0
  20. package/dist/ui/esm/types/ui/components/lib.d.ts +8 -0
  21. package/dist/ui/esm/types/ui/components/tokens.stylex.d.ts +67 -4
  22. package/dist/ui/types.d.ts +13 -1
  23. package/dist/ui/umd/index.js +1 -1
  24. package/dist/ui/umd/index.js.map +1 -1
  25. package/dist/ui/umd/style.css +91 -112
  26. package/dist/ui/umd/types/ui/components/Checkbox/Checkbox.d.ts +5 -0
  27. package/dist/ui/umd/types/ui/components/Checkbox/index.d.ts +2 -0
  28. package/dist/ui/umd/types/ui/components/Page/RichText/LinkIfLinked/LinkIfLinked.d.ts +1 -1
  29. package/dist/ui/umd/types/ui/components/Page/RichText/LinkIfLinked/LinkIfLinked.types.d.ts +1 -1
  30. package/dist/ui/umd/types/ui/components/index.d.ts +1 -0
  31. package/dist/ui/umd/types/ui/components/lib.d.ts +8 -0
  32. package/dist/ui/umd/types/ui/components/tokens.stylex.d.ts +67 -4
  33. package/package.json +17 -15
  34. package/dist/ui/styles/base.css +0 -44
  35. package/dist/ui/styles/gallery.css +0 -172
  36. package/dist/ui/styles/list.css +0 -153
  37. package/dist/ui/styles/notionate-dark.css +0 -304
  38. package/dist/ui/styles/notionate.css +0 -5
  39. package/dist/ui/styles/page.css +0 -785
  40. package/dist/ui/styles/table.css +0 -166
package/README.md CHANGED
@@ -1,15 +1,22 @@
1
1
  <p align="center">
2
- <img alt="ROTION" src="https://github.com/linyows/rotion/blob/main/misc/rotion.svg?raw=true" width="300">
2
+ <a href="https://rotion.linyo.ws">
3
+ <picture><br><br><br>
4
+ <source media="(prefers-color-scheme: dark)" srcset="https://github.com/linyows/rotion/blob/main/misc/rotion-dark-bg.svg?raw=true">
5
+ <img alt="Rotion" src="https://github.com/linyows/rotion/blob/main/misc/rotion.svg?raw=true" width="300">
6
+ </picture><br><br><br>
7
+ </a>
3
8
  </p>
4
9
 
5
- <p align="center">
6
- <strong>Rotion</strong> makes it easy to generate a Static Website using React and the Notion API.
7
- Therefore, images and other necessary files are stored locally. Basically, it is designed to use Next.js, but it will work with other frameworks as well.
8
- </p>
10
+ <strong>Rotion</strong> makes it easy to generate a Static Website using React and the Notion API.
11
+ Therefore, images and other necessary files are stored locally. Basically, it is designed to use Next.js, but it will work with other frameworks as well.
9
12
 
10
13
  <p align="center">
11
- <a href="https://github.com/linyows/rotion/actions" title="actions"><img src="https://img.shields.io/github/actions/workflow/status/linyows/rotion/build.yml?branch=main&style=for-the-badge"></a>
12
- <a href="https://www.npmjs.com/package/rotion" title="npm"><img src="http://img.shields.io/npm/v/rotion.svg?style=for-the-badge"></a>
14
+ <a href="https://github.com/linyows/rotion/actions" title="actions">
15
+ <img alt="Actions" src="https://img.shields.io/github/actions/workflow/status/linyows/rotion/build.yml?branch=main&style=for-the-badge&labelColor=000000">
16
+ </a>
17
+ <a href="https://www.npmjs.com/package/rotion" title="npm">
18
+ <img alt="NPM" src="http://img.shields.io/npm/v/rotion.svg?style=for-the-badge&labelColor=000000">
19
+ </a>
13
20
  </p>
14
21
 
15
22
  Example
@@ -141,6 +148,15 @@ This is the components available:
141
148
  - [ ] Database Calendar View
142
149
  - [ ] Database Timeline View
143
150
 
151
+ Storybook
152
+ --
153
+
154
+ Check the display of components in Storybook:
155
+
156
+ ```sh
157
+ $ npm run story
158
+ ```
159
+
144
160
  Author
145
161
  --
146
162