@redseed/redseed-ui-tailwindcss 7.23.0 → 7.24.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.
@@ -0,0 +1,16 @@
1
+ .rsui-tab-slider {
2
+ @apply w-full flex items-center overflow-x-auto border-b border-border-secondary;
3
+ scrollbar-width: none;
4
+ }
5
+
6
+ .rsui-tab-slider::-webkit-scrollbar {
7
+ display: none;
8
+ }
9
+
10
+ .rsui-tab-slider--full {
11
+ @apply w-full;
12
+ }
13
+
14
+ .rsui-tab-slider--full .rsui-tab-slider-item {
15
+ @apply flex-1;
16
+ }
@@ -0,0 +1,21 @@
1
+ .rsui-tab-slider-item {
2
+ @apply inline-flex shrink-0 items-center justify-center select-none cursor-pointer whitespace-nowrap;
3
+ @apply text-base px-4 py-3 gap-2 border-b-2 border-transparent -mb-px;
4
+ @apply text-text-secondary;
5
+ }
6
+
7
+ .rsui-tab-slider-item--active {
8
+ @apply font-semibold text-text-primary border-border-primary;
9
+ }
10
+
11
+ .rsui-tab-slider-item--disabled {
12
+ @apply cursor-default text-text-disabled;
13
+ }
14
+
15
+ .rsui-tab-slider-item svg {
16
+ @apply size-5;
17
+ }
18
+
19
+ .rsui-tab-slider-item__badge {
20
+ @apply ml-space-xs flex items-center;
21
+ }
package/components.css CHANGED
@@ -91,6 +91,8 @@ Please be careful when adding new components and updating the order.
91
91
  @import './components/sorting.css';
92
92
  @import './components/switcher.css';
93
93
  @import './components/switcher_item.css';
94
+ @import './components/tab_slider.css';
95
+ @import './components/tab_slider_item.css';
94
96
  @import './components/table.css';
95
97
  @import './components/tr.css';
96
98
  @import './components/th.css';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@redseed/redseed-ui-tailwindcss",
3
- "version": "7.23.0",
3
+ "version": "7.24.1",
4
4
  "description": "RedSeed UI Tailwindcss",
5
5
  "main": "index.js",
6
6
  "style": "index.css",