@redseed/redseed-ui-tailwindcss 6.0.4 → 6.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
  .rsui-switcher {
2
- @apply w-fit flex flex-col sm:flex-row sm:items-center overflow-hidden;
2
+ @apply w-fit flex flex-col sm:flex-row sm:items-center overflow-hidden gap-1;
3
3
  @apply bg-background-disabled p-1 rounded-lg;
4
4
  }
5
5
 
@@ -14,4 +14,3 @@
14
14
  .rsui-switcher .rsui-switcher-item {
15
15
  @apply w-full sm:w-fit;
16
16
  }
17
-
@@ -8,6 +8,10 @@
8
8
  @apply bg-background-primary text-text-primary border-border-secondary;
9
9
  }
10
10
 
11
+ .rsui-switcher-item--disabled {
12
+ @apply cursor-default bg-background-disabled text-text-disabled;
13
+ }
14
+
11
15
  .rsui-switcher-item svg {
12
16
  @apply size-6;
13
17
  }
@@ -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;
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;
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.4",
3
+ "version": "6.1.0",
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
+ }