@redseed/redseed-ui-tailwindcss 5.3.0 → 5.3.2
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.
- package/components/activity_feed.css +8 -0
- package/components/avatar_text.css +3 -0
- package/components/badge.css +33 -0
- package/components/badge_group.css +19 -0
- package/components/body_text.css +5 -0
- package/components/breadcrumbs.css +14 -0
- package/components/button_card.css +50 -0
- package/components/button_group.css +3 -0
- package/components/button_group_item.css +43 -0
- package/components/button_slot.css +16 -1
- package/components/card.css +62 -0
- package/components/card_group.css +46 -0
- package/components/card_header.css +64 -0
- package/components/disclosure.css +16 -0
- package/components/dropdown_menu.css +42 -0
- package/components/dropdown_option.css +10 -0
- package/components/empty.css +28 -0
- package/components/feed_item.css +39 -0
- package/components/form_field_checkbox.css +33 -0
- package/components/form_field_combobox.css +98 -0
- package/components/form_field_password.css +4 -0
- package/components/form_field_radio_group.css +44 -0
- package/components/form_field_search.css +12 -0
- package/components/form_field_select.css +76 -0
- package/components/form_field_slot.css +32 -0
- package/components/form_field_suffix.css +5 -0
- package/components/form_field_text.css +37 -0
- package/components/form_field_textarea.css +19 -0
- package/components/form_field_uploader.css +51 -0
- package/components/form_fields_login.css +4 -0
- package/components/form_fields_register.css +4 -0
- package/components/form_fieldset.css +45 -0
- package/components/form_slot.css +34 -0
- package/components/form_wrapper_build.css +4 -0
- package/components/form_wrapper_lms.css +4 -0
- package/components/google_button.css +91 -0
- package/components/hero_section.css +32 -0
- package/components/image.css +35 -0
- package/components/image_16by9.css +4 -0
- package/components/image_3by1.css +4 -0
- package/components/image_64by25.css +4 -0
- package/components/image_9by16.css +4 -0
- package/components/image_circle.css +4 -0
- package/components/link_primary.css +4 -0
- package/components/link_slot.css +47 -0
- package/components/linked_list.css +8 -0
- package/components/linked_list_item.css +41 -0
- package/components/list.css +12 -0
- package/components/list_control.css +66 -0
- package/components/list_item.css +72 -0
- package/components/loader.css +20 -0
- package/components/logo.css +4 -0
- package/components/message_box.css +40 -0
- package/components/meta_info.css +27 -0
- package/components/metric_card.css +28 -0
- package/components/modal.css +75 -0
- package/components/page_header.css +54 -0
- package/components/pagination.css +28 -0
- package/components/pagination_item.css +18 -0
- package/components/pagination_item_collapsed.css +4 -0
- package/components/pagination_item_next.css +8 -0
- package/components/pagination_item_previous.css +8 -0
- package/components/progress_circle.css +16 -0
- package/components/progress_tracker.css +4 -0
- package/components/progress_tracker_step.css +36 -0
- package/components/radio_card.css +83 -0
- package/components/read_more.css +8 -0
- package/components/record_count.css +4 -0
- package/components/section.css +28 -0
- package/components/section_footer.css +18 -0
- package/components/section_header.css +41 -0
- package/components/single_column_layout.css +4 -0
- package/components/sorting.css +17 -0
- package/components/switcher.css +17 -0
- package/components/switcher_item.css +14 -0
- package/components/table.css +32 -0
- package/components/td.css +21 -0
- package/components/td_user.css +21 -0
- package/components/th.css +68 -0
- package/components/toggle.css +36 -0
- package/components/tr.css +10 -0
- package/components/two_column_layout.css +16 -0
- package/index.css +81 -0
- package/package.json +1 -1
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
.rsui-section-header {
|
|
2
|
+
@apply flex flex-col gap-x-3 gap-y-5 transition-all;
|
|
3
|
+
@apply md:flex-row md:justify-between md:items-center;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
.rsui-section-header__header {
|
|
7
|
+
@apply flex-1 flex justify-between items-start gap-x-3;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.rsui-section-header__icon {
|
|
11
|
+
@apply size-10;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.rsui-section-header__text {
|
|
15
|
+
@apply flex-1 flex flex-col gap-y-0.5 pt-2 md:pt-1.5;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.rsui-section-header__title {
|
|
19
|
+
@apply text-lg leading-7 font-semibold line-clamp-2 md:line-clamp-1 text-text-primary;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.rsui-section-header__subtitle {
|
|
23
|
+
@apply text-sm leading-5 line-clamp-3 md:line-clamp-1 text-text-secondary;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.rsui-section-header__toolbar {
|
|
27
|
+
@apply flex gap-3 md:items-center justify-end;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.rsui-section-header__actions-desktop {
|
|
31
|
+
@apply flex gap-3 items-center;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.rsui-section-header__actions-mobile {
|
|
35
|
+
@apply flex flex-wrap gap-3 items-center justify-end;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.rsui-section-header__more-actions-icon {
|
|
39
|
+
@apply size-5 text-text-secondary;
|
|
40
|
+
}
|
|
41
|
+
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
.rsui-sorting {
|
|
2
|
+
@apply flex items-center justify-between;
|
|
3
|
+
@apply w-fit text-text-primary;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
.rsui-sorting--primary {
|
|
7
|
+
@apply text-primary-foreground;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.rsui-sorting__icon {
|
|
11
|
+
@apply size-4 transition;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.rsui-sorting__icon--desc {
|
|
15
|
+
@apply transform rotate-180;
|
|
16
|
+
}
|
|
17
|
+
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
.rsui-switcher {
|
|
2
|
+
@apply w-fit flex flex-col sm:flex-row sm:items-center overflow-hidden;
|
|
3
|
+
@apply bg-background-disabled p-1 rounded-lg;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
.rsui-switcher--full {
|
|
7
|
+
@apply w-full;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.rsui-switcher--full .rsui-switcher-item {
|
|
11
|
+
@apply flex-1;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.rsui-switcher .rsui-switcher-item {
|
|
15
|
+
@apply w-full sm:w-fit;
|
|
16
|
+
}
|
|
17
|
+
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
.rsui-switcher-item {
|
|
2
|
+
@apply h-fit inline-flex shrink-0 items-center justify-center select-none outline-none whitespace-nowrap will-change-transform cursor-pointer;
|
|
3
|
+
@apply font-semibold gap-2 rounded-md border border-transparent transition;
|
|
4
|
+
@apply text-base px-3 py-2;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.rsui-switcher-item--active {
|
|
8
|
+
@apply bg-background-primary text-text-primary border-border-secondary;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.rsui-switcher-item svg {
|
|
12
|
+
@apply size-6;
|
|
13
|
+
}
|
|
14
|
+
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
.rsui-table {
|
|
2
|
+
@apply w-full;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.rsui-table--auto table {
|
|
6
|
+
@apply table-auto;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.rsui-table--fixed table {
|
|
10
|
+
@apply table-fixed;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.rsui-table table {
|
|
14
|
+
@apply w-full border-collapse;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.rsui-table table thead tr:last-child {
|
|
18
|
+
@apply border-b-border-primary;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.rsui-table table thead th {
|
|
22
|
+
@apply bg-background-disabled font-semibold text-xs leading-6 text-text-secondary hover:text-text-primary;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.rsui-table__container {
|
|
26
|
+
@apply w-full overflow-x-scroll;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.rsui-table__footer {
|
|
30
|
+
@apply w-full border-t border-border-primary overflow-hidden py-3 px-6;
|
|
31
|
+
}
|
|
32
|
+
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
.rsui-td {
|
|
2
|
+
@apply text-left;
|
|
3
|
+
@apply py-3 px-5 text-sm leading-6 text-text-secondary;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
.rsui-td--center {
|
|
7
|
+
@apply text-center;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.rsui-td--right {
|
|
11
|
+
@apply text-right;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.rsui-td--auto {
|
|
15
|
+
@apply whitespace-nowrap;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.rsui-td--fixed {
|
|
19
|
+
@apply whitespace-normal overflow-scroll overscroll-contain;
|
|
20
|
+
}
|
|
21
|
+
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
.rsui-td-user {
|
|
2
|
+
@apply flex items-center gap-3;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.rsui-td-user__avatar {
|
|
6
|
+
@apply flex items-center justify-center size-10 rounded-full overflow-hidden shrink-0;
|
|
7
|
+
@apply text-text-secondary border border-border-secondary bg-background-disabled;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.rsui-td-user__avatar-icon {
|
|
11
|
+
@apply size-6;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.rsui-td-user__content {
|
|
15
|
+
@apply flex flex-col text-text-primary;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.rsui-td-user__supporting-text {
|
|
19
|
+
@apply text-text-secondary;
|
|
20
|
+
}
|
|
21
|
+
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
.rsui-th {
|
|
2
|
+
@apply text-left;
|
|
3
|
+
@apply py-3 px-5 text-sm leading-6 text-text-secondary;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
.rsui-th--center {
|
|
7
|
+
@apply text-center;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.rsui-th--right {
|
|
11
|
+
@apply text-right;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.rsui-th--auto {
|
|
15
|
+
@apply whitespace-nowrap;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.rsui-th--fixed {
|
|
19
|
+
@apply whitespace-normal break-words;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.rsui-th--2xs {
|
|
23
|
+
@apply w-28;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.rsui-th--xs {
|
|
27
|
+
@apply w-32;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.rsui-th--sm {
|
|
31
|
+
@apply w-40;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.rsui-th--md {
|
|
35
|
+
@apply w-52;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.rsui-th--lg {
|
|
39
|
+
@apply w-64;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.rsui-th--xl {
|
|
43
|
+
@apply w-80;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.rsui-th--2xl {
|
|
47
|
+
@apply w-96;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.rsui-th--sortable {
|
|
51
|
+
@apply cursor-pointer;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.rsui-th__content {
|
|
55
|
+
@apply inline-flex gap-1 items-center;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.rsui-th__sort {
|
|
59
|
+
@apply shrink-0;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.rsui-th__sort-icon {
|
|
63
|
+
@apply size-3.5 transition-all;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.rsui-th__sort-icon--desc {
|
|
67
|
+
@apply rotate-180;
|
|
68
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
.rsui-toggle {
|
|
2
|
+
@apply flex flex-col space-y-2 border-0 bg-transparent p-0;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.rsui-toggle--disabled label {
|
|
6
|
+
@apply text-text-disabled;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.rsui-toggle--disabled input {
|
|
10
|
+
@apply cursor-not-allowed;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.rsui-toggle__control {
|
|
14
|
+
@apply justify-between flex items-center space-x-8;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.rsui-toggle label {
|
|
18
|
+
@apply whitespace-nowrap select-none cursor-pointer;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.rsui-toggle input {
|
|
22
|
+
@apply appearance-none shrink-0 w-[2.6rem] h-6 px-1 bg-text-secondary border-transparent text-transparent rounded-full cursor-pointer transition-colors ease-in-out duration-200 ring-0 flex items-center;
|
|
23
|
+
@apply focus:ring-0 focus:ring-transparent focus:checked:border-primary-background;
|
|
24
|
+
@apply checked:bg-none checked:bg-primary-background checked:text-primary-foreground checked:border-primary-background checked:before:bg-primary-foreground checked:before:translate-x-full;
|
|
25
|
+
@apply disabled:opacity-20 disabled:pointer-events-none;
|
|
26
|
+
@apply before:inline-block before:size-4 before:bg-background-primary before:translate-x-0 before:rounded-full before:shadow before:transform before:ring-0 before:transition before:ease-in-out before:duration-200;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.rsui-toggle__help {
|
|
30
|
+
@apply w-full text-xs;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.rsui-toggle__error {
|
|
34
|
+
@apply text-sm text-text-error;
|
|
35
|
+
}
|
|
36
|
+
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
.rsui-two-column-layout {
|
|
2
|
+
@apply flex flex-col sm:flex-row gap-6 sm:gap-8;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.rsui-two-column-layout--left-aside {
|
|
6
|
+
@apply flex-col-reverse lg:flex-row-reverse;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.rsui-two-column-layout__main {
|
|
10
|
+
@apply flex-1 min-w-0 overflow-x-auto;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.rsui-two-column-layout__aside {
|
|
14
|
+
@apply shrink-0 lg:w-72 xl:w-100;
|
|
15
|
+
}
|
|
16
|
+
|
package/index.css
CHANGED
|
@@ -4,3 +4,84 @@
|
|
|
4
4
|
@import './components/button_primary.css';
|
|
5
5
|
@import './components/button_secondary.css';
|
|
6
6
|
@import './components/button_tertiary.css';
|
|
7
|
+
@import './components/avatar_text.css';
|
|
8
|
+
@import './components/button_card.css';
|
|
9
|
+
@import './components/badge.css';
|
|
10
|
+
@import './components/badge_group.css';
|
|
11
|
+
@import './components/breadcrumbs.css';
|
|
12
|
+
@import './components/card.css';
|
|
13
|
+
@import './components/card_header.css';
|
|
14
|
+
@import './components/card_group.css';
|
|
15
|
+
@import './components/disclosure.css';
|
|
16
|
+
@import './components/form_field_checkbox.css';
|
|
17
|
+
@import './components/form_field_password.css';
|
|
18
|
+
@import './components/form_field_radio_group.css';
|
|
19
|
+
@import './components/form_field_search.css';
|
|
20
|
+
@import './components/form_field_select.css';
|
|
21
|
+
@import './components/form_fieldset.css';
|
|
22
|
+
@import './components/form_field_slot.css';
|
|
23
|
+
@import './components/form_field_suffix.css';
|
|
24
|
+
@import './components/form_field_text.css';
|
|
25
|
+
@import './components/form_field_textarea.css';
|
|
26
|
+
@import './components/form_field_uploader.css';
|
|
27
|
+
@import './components/form_field_combobox.css';
|
|
28
|
+
@import './components/form_fields_login.css';
|
|
29
|
+
@import './components/form_fields_register.css';
|
|
30
|
+
@import './components/form_slot.css';
|
|
31
|
+
@import './components/form_wrapper_build.css';
|
|
32
|
+
@import './components/form_wrapper_lms.css';
|
|
33
|
+
@import './components/button_group.css';
|
|
34
|
+
@import './components/button_group_item.css';
|
|
35
|
+
@import './components/body_text.css';
|
|
36
|
+
@import './components/dropdown_menu.css';
|
|
37
|
+
@import './components/dropdown_option.css';
|
|
38
|
+
@import './components/empty.css';
|
|
39
|
+
@import './components/link_primary.css';
|
|
40
|
+
@import './components/link_slot.css';
|
|
41
|
+
@import './components/google_button.css';
|
|
42
|
+
@import './components/logo.css';
|
|
43
|
+
@import './components/image.css';
|
|
44
|
+
@import './components/image_16by9.css';
|
|
45
|
+
@import './components/image_3by1.css';
|
|
46
|
+
@import './components/image_64by25.css';
|
|
47
|
+
@import './components/image_9by16.css';
|
|
48
|
+
@import './components/image_circle.css';
|
|
49
|
+
@import './components/hero_section.css';
|
|
50
|
+
@import './components/list_control.css';
|
|
51
|
+
@import './components/list.css';
|
|
52
|
+
@import './components/list_item.css';
|
|
53
|
+
@import './components/loader.css';
|
|
54
|
+
@import './components/metric_card.css';
|
|
55
|
+
@import './components/meta_info.css';
|
|
56
|
+
@import './components/message_box.css';
|
|
57
|
+
@import './components/activity_feed.css';
|
|
58
|
+
@import './components/feed_item.css';
|
|
59
|
+
@import './components/linked_list.css';
|
|
60
|
+
@import './components/linked_list_item.css';
|
|
61
|
+
@import './components/modal.css';
|
|
62
|
+
@import './components/pagination.css';
|
|
63
|
+
@import './components/page_header.css';
|
|
64
|
+
@import './components/radio_card.css';
|
|
65
|
+
@import './components/pagination_item.css';
|
|
66
|
+
@import './components/pagination_item_collapsed.css';
|
|
67
|
+
@import './components/pagination_item_next.css';
|
|
68
|
+
@import './components/pagination_item_previous.css';
|
|
69
|
+
@import './components/read_more.css';
|
|
70
|
+
@import './components/record_count.css';
|
|
71
|
+
@import './components/progress_tracker.css';
|
|
72
|
+
@import './components/progress_tracker_step.css';
|
|
73
|
+
@import './components/progress_circle.css';
|
|
74
|
+
@import './components/section_footer.css';
|
|
75
|
+
@import './components/section_header.css';
|
|
76
|
+
@import './components/section.css';
|
|
77
|
+
@import './components/switcher.css';
|
|
78
|
+
@import './components/switcher_item.css';
|
|
79
|
+
@import './components/toggle.css';
|
|
80
|
+
@import './components/sorting.css';
|
|
81
|
+
@import './components/td.css';
|
|
82
|
+
@import './components/td_user.css';
|
|
83
|
+
@import './components/th.css';
|
|
84
|
+
@import './components/single_column_layout.css';
|
|
85
|
+
@import './components/two_column_layout.css';
|
|
86
|
+
@import './components/tr.css';
|
|
87
|
+
@import './components/table.css';
|