@redseed/redseed-ui-tailwindcss 6.0.5 → 6.1.1

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,16 +1,23 @@
1
1
  .rsui-two-column-layout {
2
- @apply flex flex-col sm:flex-row gap-6 sm:gap-8;
2
+ @apply @container w-full;
3
3
  }
4
4
 
5
- .rsui-two-column-layout--left-aside {
6
- @apply flex-col-reverse lg:flex-row-reverse;
5
+ .rsui-two-column-layout__container {
6
+ @apply flex flex-col @4xl:flex-row gap-6 @4xl:gap-8;
7
+ }
8
+
9
+ .rsui-two-column-layout__container--top-aside {
10
+ @apply flex-col-reverse @4xl:flex-row;
11
+ }
12
+
13
+ .rsui-two-column-layout__container--left-aside {
14
+ @apply flex-col-reverse @4xl:flex-row-reverse;
7
15
  }
8
16
 
9
17
  .rsui-two-column-layout__main {
10
- @apply flex-1 min-w-0 overflow-x-auto;
18
+ @apply flex-1 w-full @4xl:w-(--phi-inverse-percentage) overflow-auto flex flex-col gap-6 @4xl:gap-8;
11
19
  }
12
20
 
13
21
  .rsui-two-column-layout__aside {
14
- @apply shrink-0 lg:w-72 xl:w-100;
22
+ @apply shrink-0 w-full @4xl:w-(--phi-inverse-squared-percentage) overflow-auto flex flex-col gap-6 @4xl:gap-8;
15
23
  }
16
-
package/index.css CHANGED
@@ -1,3 +1,4 @@
1
+ @import './variables.css';
1
2
  @import './colors.css';
2
3
  @import './colors_dark_mode.css';
3
4
  @import './theme.css';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@redseed/redseed-ui-tailwindcss",
3
- "version": "6.0.5",
3
+ "version": "6.1.1",
4
4
  "description": "RedSeed UI Tailwindcss",
5
5
  "main": "index.js",
6
6
  "style": "index.css",
package/variables.css ADDED
@@ -0,0 +1,7 @@
1
+ :root {
2
+ --phi: 1.618033988749895;
3
+ --phi-inverse: calc(1 / var(--phi)); /* Approximately 0.618033988749895 */
4
+ --phi-inverse-squared: calc(var(--phi-inverse) * var(--phi-inverse)); /* Approximately 0.381966011250105 */
5
+ --phi-inverse-percentage: calc(var(--phi-inverse) * 100%); /* Approximately 61.8033988749895% */
6
+ --phi-inverse-squared-percentage: calc(var(--phi-inverse-squared) * 100%); /* Approximately 38.1966011250105% */
7
+ }