@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,66 @@
|
|
|
1
|
+
.rsui-list-control {
|
|
2
|
+
@apply flex flex-wrap justify-between gap-x-2 gap-y-3;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.rsui-list-control--sm .rsui-list-control__filters {
|
|
6
|
+
@apply w-full grid-cols-2;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.rsui-list-control--md .rsui-list-control__search {
|
|
10
|
+
@apply w-auto;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.rsui-list-control--md .rsui-list-control__filters {
|
|
14
|
+
@apply flex;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.rsui-list-control--md .rsui-list-control__filter {
|
|
18
|
+
@apply max-w-40 w-40;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.rsui-list-control--lg .rsui-list-control__search {
|
|
22
|
+
@apply w-auto;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.rsui-list-control--lg .rsui-list-control__filters {
|
|
26
|
+
@apply flex-1 grid-cols-4;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.rsui-list-control--xl .rsui-list-control__search,
|
|
30
|
+
.rsui-list-control--2xl .rsui-list-control__search,
|
|
31
|
+
.rsui-list-control--3xl .rsui-list-control__search {
|
|
32
|
+
@apply w-auto;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.rsui-list-control--xl .rsui-list-control__filters,
|
|
36
|
+
.rsui-list-control--2xl .rsui-list-control__filters,
|
|
37
|
+
.rsui-list-control--3xl .rsui-list-control__filters {
|
|
38
|
+
@apply grid-cols-4;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.rsui-list-control--xl .rsui-list-control__filter,
|
|
42
|
+
.rsui-list-control--2xl .rsui-list-control__filter,
|
|
43
|
+
.rsui-list-control--3xl .rsui-list-control__filter {
|
|
44
|
+
@apply max-w-52;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.rsui-list-control__search {
|
|
48
|
+
@apply w-full;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.rsui-list-control__filters {
|
|
52
|
+
@apply grid gap-2;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.rsui-list-control__sort {
|
|
56
|
+
@apply max-h-10 flex items-center;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.rsui-list-control__pagination {
|
|
60
|
+
@apply w-full flex items-center justify-center;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.rsui-list-control__pagination--inline {
|
|
64
|
+
@apply w-1/2 mx-auto;
|
|
65
|
+
}
|
|
66
|
+
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
.rsui-list-item {
|
|
2
|
+
@apply relative flex flex-col rounded-md p-3 overflow-hidden;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.rsui-list-item--clickable {
|
|
6
|
+
@apply cursor-pointer;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.rsui-list-item--avatar {
|
|
10
|
+
@apply pl-12 lg:pl-16 *:pl-2 *:lg:pl-1;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.rsui-list-item--wide .rsui-list-item__status {
|
|
14
|
+
@apply w-auto order-none;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.rsui-list-item__header {
|
|
18
|
+
@apply relative z-1 flex flex-wrap items-center gap-2 pointer-events-none;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.rsui-list-item__bg {
|
|
22
|
+
@apply absolute inset-0 bg-background-primary transition;
|
|
23
|
+
@apply hover:bg-border-secondary peer-hover:bg-border-secondary;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.rsui-list-item__bg--clickable {
|
|
27
|
+
@apply active:bg-border-secondary;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.rsui-list-item__body {
|
|
31
|
+
@apply relative z-1 pointer-events-none;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.rsui-list-item__avatar {
|
|
35
|
+
@apply absolute top-0 ml-1 -left-10 lg:-left-14;
|
|
36
|
+
@apply aspect-square overflow-hidden size-9 lg:size-12;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.rsui-list-item__avatar-placeholder {
|
|
40
|
+
@apply size-full rounded-full overflow-hidden bg-background-disabled;
|
|
41
|
+
@apply flex items-center justify-center;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.rsui-list-item__avatar-placeholder svg {
|
|
45
|
+
@apply size-5 lg:size-6 fill-border-primary;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.rsui-list-item__title {
|
|
49
|
+
@apply flex-1 inline-flex items-center text-base font-semibold;
|
|
50
|
+
@apply h-9 leading-5 lg:h-12 lg:leading-6;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.rsui-list-item__title span {
|
|
54
|
+
@apply line-clamp-2;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.rsui-list-item__status {
|
|
58
|
+
@apply inline-flex items-center w-full order-last;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.rsui-list-item__action {
|
|
62
|
+
@apply pointer-events-auto;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.rsui-list-item__meta {
|
|
66
|
+
@apply mt-2 flex flex-wrap gap-x-4 gap-y-2;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.rsui-list-item__description {
|
|
70
|
+
@apply line-clamp-2 mt-2 text-base;
|
|
71
|
+
}
|
|
72
|
+
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
.rsui-loader {
|
|
2
|
+
@apply max-w-24 max-h-24 min-w-3 min-h-3 transition;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.rsui-loader path {
|
|
6
|
+
@apply fill-text-primary;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.rsui-loader--primary path {
|
|
10
|
+
@apply fill-primary-background;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.rsui-loader--secondary path {
|
|
14
|
+
@apply fill-text-secondary;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.rsui-loader--white path {
|
|
18
|
+
@apply fill-background-primary;
|
|
19
|
+
}
|
|
20
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
.rsui-message-box {
|
|
2
|
+
@apply border rounded-lg overflow-hidden p-4;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.rsui-message-box--default {
|
|
6
|
+
@apply bg-background-primary border-border-primary text-text-primary;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.rsui-message-box--info {
|
|
10
|
+
@apply bg-background-info border-border-info text-text-primary;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.rsui-message-box--success {
|
|
14
|
+
@apply bg-background-success border-border-success text-text-primary;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.rsui-message-box--warning {
|
|
18
|
+
@apply bg-background-warning border-border-warning text-text-primary;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.rsui-message-box--error {
|
|
22
|
+
@apply bg-background-error border-border-error text-text-primary;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.rsui-message-box__head {
|
|
26
|
+
@apply flex justify-between items-center;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.rsui-message-box__close {
|
|
30
|
+
@apply size-10;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.rsui-message-box__close-icon {
|
|
34
|
+
@apply size-10 cursor-pointer rounded-lg flex items-center justify-center hover:bg-border-secondary transition duration-200;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.rsui-message-box__close-icon svg {
|
|
38
|
+
@apply size-6 text-text-disabled;
|
|
39
|
+
}
|
|
40
|
+
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
.rsui-meta-info {
|
|
2
|
+
@apply flex flex-col space-y-1;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.rsui-meta-info__top {
|
|
6
|
+
@apply flex space-x-1 items-center;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.rsui-meta-info__label-icon {
|
|
10
|
+
@apply size-4;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.rsui-meta-info__label {
|
|
14
|
+
@apply font-semibold text-sm text-text-primary leading-4;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.rsui-meta-info__help {
|
|
18
|
+
@apply text-text-secondary size-4 cursor-pointer;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.rsui-meta-info__help svg {
|
|
22
|
+
@apply size-full;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.rsui-meta-info__value {
|
|
26
|
+
@apply text-xs text-text-secondary leading-5;
|
|
27
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
.rsui-metric-card {
|
|
2
|
+
@apply w-64 sm:w-96;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.rsui-metric-card__header {
|
|
6
|
+
@apply flex items-center justify-between;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.rsui-metric-card__avatar {
|
|
10
|
+
@apply size-14 rounded-full overflow-hidden flex items-center justify-center pointer-events-auto;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.rsui-metric-card__icon {
|
|
14
|
+
@apply text-text-primary transition-transform pointer-events-auto cursor-pointer size-6;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.rsui-metric-card__content {
|
|
18
|
+
@apply flex flex-col gap-2;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.rsui-metric-card__title {
|
|
22
|
+
@apply text-sm font-normal text-text-secondary mt-4;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.rsui-metric-card__value {
|
|
26
|
+
@apply text-3xl font-semibold text-text-primary leading-9;
|
|
27
|
+
}
|
|
28
|
+
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
.enter-active-class {
|
|
2
|
+
@apply transition ease-out duration-200;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.enter-from-class {
|
|
6
|
+
@apply transform opacity-0 scale-95;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.enter-to-class {
|
|
10
|
+
@apply transform opacity-100 scale-100;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.leave-active-class {
|
|
14
|
+
@apply transition ease-in duration-75;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.leave-from-class {
|
|
18
|
+
@apply transform opacity-100 scale-100;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.leave-to-class {
|
|
22
|
+
@apply transform opacity-0 scale-95;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.rsui-modal {
|
|
26
|
+
@apply fixed inset-0 overflow-y-auto px-4 py-6 md:px-0 z-50;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.rsui-modal__background-wrapper {
|
|
30
|
+
@apply fixed inset-0 transform transition-all backdrop-blur-sm bg-text-primary bg-opacity-70;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.rsui-modal__background {
|
|
34
|
+
@apply absolute inset-0 bg-transparent opacity-100;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.rsui-modal__content {
|
|
38
|
+
@apply relative max-h-full inset-0 overflow-scroll overscroll-contain transform transition-all;
|
|
39
|
+
@apply border rounded-lg shadow-full md:w-full md:mx-auto mx-4;
|
|
40
|
+
@apply bg-background-primary border-border-secondary;
|
|
41
|
+
-ms-overflow-style: none;
|
|
42
|
+
scrollbar-width: none;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.rsui-modal__content::-webkit-scrollbar {
|
|
46
|
+
display: none;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.rsui-modal__content--sm { @apply sm:max-w-sm xs:mx-4 sm:mx-auto; }
|
|
50
|
+
.rsui-modal__content--md { @apply sm:max-w-lg sm:mx-auto; }
|
|
51
|
+
.rsui-modal__content--lg { @apply sm:max-w-2xl; }
|
|
52
|
+
.rsui-modal__content--top { @apply top-0; }
|
|
53
|
+
.rsui-modal__content--center { @apply top-1/2 -translate-y-1/2; }
|
|
54
|
+
.rsui-modal__content--bottom { @apply bottom-0; }
|
|
55
|
+
|
|
56
|
+
.rsui-modal__header {
|
|
57
|
+
@apply sticky top-0 z-1 p-4 bg-border-secondary shrink-0 text-lg font-semibold;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.rsui-modal__body {
|
|
61
|
+
@apply p-4 bg-background-primary relative overflow-scroll overscroll-contain z-0;
|
|
62
|
+
-ms-overflow-style: none;
|
|
63
|
+
scrollbar-width: none;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.rsui-modal__body::-webkit-scrollbar {
|
|
67
|
+
display: none;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.rsui-modal__footer {
|
|
71
|
+
@apply sticky inset-x-0 bottom-0 z-1 p-4 bg-border-secondary shrink-0 flex justify-end items-center space-x-2;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.rsui-modal__footer--start { @apply justify-start; }
|
|
75
|
+
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
.rsui-page-header {
|
|
2
|
+
@apply w-full flex justify-between space-y-4;
|
|
3
|
+
@apply lg:flex-col;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
.rsui-page-header__top {
|
|
7
|
+
@apply w-full flex flex-col items-start space-y-2 flex-wrap;
|
|
8
|
+
@apply lg:flex-row lg:space-y-0 lg:items-center;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.rsui-page-header__title {
|
|
12
|
+
@apply pr-2 flex flex-row items-center space-x-6;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.rsui-page-header__title h1 {
|
|
16
|
+
@apply text-3xl font-semibold text-text-primary lg:mr-4;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.rsui-page-header__subtitle {
|
|
20
|
+
@apply text-base text-text-secondary leading-relaxed;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.rsui-page-header__status-actions {
|
|
24
|
+
@apply flex-1 flex space-x-2 items-center justify-between lg:pr-2;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.rsui-page-header__actions {
|
|
28
|
+
@apply flex-1 flex space-x-2 items-center justify-end;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.rsui-page-header__meta-action {
|
|
32
|
+
@apply flex lg:hidden;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.rsui-page-header__search {
|
|
36
|
+
@apply w-full pt-2 lg:pt-0 lg:w-auto;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.rsui-page-header__meta-modal {
|
|
40
|
+
@apply lg:hidden;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.rsui-page-header__meta-modal__body {
|
|
44
|
+
@apply flex flex-col space-y-4;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.rsui-page-header__meta {
|
|
48
|
+
@apply hidden lg:flex space-x-8;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.rsui-page-header__avatar {
|
|
52
|
+
@apply size-12 mr-3;
|
|
53
|
+
}
|
|
54
|
+
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
.rsui-pagination {
|
|
2
|
+
@apply flex flex-nowrap items-center w-fit border border-border-secondary rounded-full p-1 bg-background-primary divide-x;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.rsui-pagination__previous {
|
|
6
|
+
@apply size-full flex items-center pr-1;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.rsui-pagination__items {
|
|
10
|
+
@apply size-full flex items-center px-1;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.rsui-pagination__items-group {
|
|
14
|
+
@apply size-full flex items-center;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.rsui-pagination__next {
|
|
18
|
+
@apply size-full flex items-center pl-1;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.rsui-pagination-parent {
|
|
22
|
+
@apply flex flex-col items-center;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.rsui-pagination-parent__record-count {
|
|
26
|
+
@apply size-full flex items-center justify-center;
|
|
27
|
+
}
|
|
28
|
+
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
.rsui-pagination-item {
|
|
2
|
+
@apply inline-flex items-center justify-center overflow-hidden select-none;
|
|
3
|
+
@apply min-w-9 w-fit h-7 p-1 rounded-md cursor-pointer transition;
|
|
4
|
+
@apply bg-background-primary hover:bg-background-secondary text-text-secondary text-sm;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.rsui-pagination-item--active {
|
|
8
|
+
@apply bg-background-secondary hover:bg-background-secondary text-text-primary cursor-default;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.rsui-pagination-item--freeze {
|
|
12
|
+
@apply bg-background-primary hover:bg-background-primary cursor-default;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.rsui-pagination-item--disabled {
|
|
16
|
+
@apply bg-background-primary hover:bg-background-primary text-text-disabled cursor-default;
|
|
17
|
+
}
|
|
18
|
+
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
.rsui-progress-circle {
|
|
2
|
+
@apply relative m-0 p-0 bg-background-primary rounded-full before:hidden after:hidden;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.rsui-progress-circle--sm { @apply size-16 text-xs; }
|
|
6
|
+
.rsui-progress-circle--md { @apply size-20 text-sm; }
|
|
7
|
+
.rsui-progress-circle--lg { @apply size-24 text-base; }
|
|
8
|
+
|
|
9
|
+
.rsui-progress-circle svg { @apply w-full h-full -rotate-90 transition-all; }
|
|
10
|
+
.rsui-progress-circle svg circle { stroke-linecap: round; }
|
|
11
|
+
|
|
12
|
+
.rsui-progress-circle__background-circle { @apply stroke-border-primary stroke-4 fill-none transition-all; }
|
|
13
|
+
.rsui-progress-circle__progress-circle { @apply stroke-primary-background stroke-4 fill-none transition-all duration-0; }
|
|
14
|
+
|
|
15
|
+
.rsui-progress-circle__content { @apply absolute inset-0 w-full h-full flex items-center justify-center; }
|
|
16
|
+
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
.rsui-progress-tracker-step {
|
|
2
|
+
@apply relative flex flex-col items-center text-center gap-3 sm:gap-4;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.rsui-progress-tracker-step::after {
|
|
6
|
+
content: '';
|
|
7
|
+
@apply absolute bg-border-primary top-3.5 sm:top-6 -left-4 sm:-left-8 -translate-x-1/2;
|
|
8
|
+
@apply w-[100%] xs:w-[140%] sm:w-[140%] lg:w-[120%] 3xl:w-[107%] h-1;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.rsui-progress-tracker-step:first-child::after {
|
|
12
|
+
@apply hidden;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.rsui-progress-tracker-step--active::after,
|
|
16
|
+
.rsui-progress-tracker-step--completed::after {
|
|
17
|
+
@apply bg-primary-background;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.rsui-progress-tracker-step--clickable {
|
|
21
|
+
@apply cursor-pointer;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.rsui-progress-tracker-step__indicator {
|
|
25
|
+
@apply relative z-1 size-8 sm:size-13 rounded-full border-2 overflow-hidden select-none;
|
|
26
|
+
@apply bg-border-primary border-border-primary text-text-on-color flex items-center justify-center;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.rsui-progress-tracker-step__indicator--completed {
|
|
30
|
+
@apply bg-primary-background border-primary-background text-primary-foreground;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.rsui-progress-tracker-step__indicator--active {
|
|
34
|
+
@apply bg-primary-foreground border-primary-background text-primary-background;
|
|
35
|
+
}
|
|
36
|
+
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
.rsui-radio-card {
|
|
2
|
+
@apply max-w-80 w-80 bg-background-primary border border-border-secondary rounded-md shadow-sm outline-none select-none;
|
|
3
|
+
@apply relative cursor-pointer transition-all flex flex-col gap-3 p-4;
|
|
4
|
+
@apply focus-visible:ring-4 focus-visible:ring-border-primary;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.rsui-radio-card--flexible { @apply max-w-full w-full; }
|
|
8
|
+
|
|
9
|
+
.rsui-radio-card--selected {
|
|
10
|
+
@apply focus-visible:ring-0 border-primary-background;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.rsui-radio-card--selected::after {
|
|
14
|
+
content: '';
|
|
15
|
+
@apply absolute inset-0 rounded-md opacity-10 bg-primary-background;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.rsui-radio-card--disabled {
|
|
19
|
+
@apply focus-visible:ring-0 border-border-secondary cursor-default;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.rsui-radio-card--disabled::after {
|
|
23
|
+
content: '';
|
|
24
|
+
@apply absolute inset-0 rounded-md opacity-65 bg-border-secondary;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.rsui-radio-card__title-row {
|
|
28
|
+
@apply relative text-base font-medium text-text-primary line-clamp-2 min-h-6 pr-8;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
/* Radio glyph positioning and base */
|
|
32
|
+
.rsui-radio-card__title-row::after {
|
|
33
|
+
content: '';
|
|
34
|
+
@apply absolute top-0 right-0 size-6 rounded-full transition-all border border-border-primary bg-background-primary;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
/* Hover/focus state on glyph via group */
|
|
38
|
+
.group\/radio-card .rsui-radio-card__title-row::after {
|
|
39
|
+
/* no-op baseline to enable group variants */
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.group-hover\/radio-card .rsui-radio-card__title-row::after,
|
|
43
|
+
.group-focus-visible\/radio-card .rsui-radio-card__title-row::after {
|
|
44
|
+
@apply border-text-secondary;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.rsui-radio-card__title-row--selected::after {
|
|
48
|
+
@apply border-6 border-primary-background;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.group-hover\/radio-card .rsui-radio-card__title-row--selected::after,
|
|
52
|
+
.group-focus-visible\/radio-card .rsui-radio-card__title-row--selected::after {
|
|
53
|
+
@apply border-primary-background;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.rsui-radio-card__title-row--disabled::after {
|
|
57
|
+
@apply opacity-0;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.rsui-radio-card__title-row--selected-disabled::after {
|
|
61
|
+
@apply border-6 border-background-primary bg-border-primary;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.group-hover\/radio-card .rsui-radio-card__title-row--selected-disabled::after,
|
|
65
|
+
.group-focus-visible\/radio-card .rsui-radio-card__title-row--selected-disabled::after {
|
|
66
|
+
@apply border-background-primary;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.rsui-radio-card__title {
|
|
70
|
+
@apply flex-1 text-base font-semibold text-text-primary;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.rsui-radio-card__content-row {
|
|
74
|
+
@apply text-sm font-normal text-text-secondary;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.rsui-radio-card__meta-row {
|
|
78
|
+
@apply grid grid-cols-1 sm:grid-cols-2 gap-x-8 gap-y-2;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.rsui-radio-card__action-row {
|
|
82
|
+
@apply flex flex-wrap gap-2;
|
|
83
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
.rsui-section {
|
|
2
|
+
@apply border border-solid rounded-xl p-6;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.rsui-section--primary {
|
|
6
|
+
@apply bg-background-primary border-border-primary text-text-primary;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.rsui-section--secondary {
|
|
10
|
+
@apply bg-background-secondary border-border-secondary text-text-primary;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.rsui-section--brand {
|
|
14
|
+
@apply bg-background-brand border-border-brand text-text-primary;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.rsui-section--success {
|
|
18
|
+
@apply bg-background-success border-border-success text-text-primary;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.rsui-section--warning {
|
|
22
|
+
@apply bg-background-warning border-border-warning text-text-primary;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.rsui-section--error {
|
|
26
|
+
@apply bg-background-error border-border-error text-text-primary;
|
|
27
|
+
}
|
|
28
|
+
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
.rsui-section-footer {
|
|
2
|
+
@apply flex flex-col gap-3 overflow-hidden;
|
|
3
|
+
@apply md:flex-row md:justify-between md:items-center;
|
|
4
|
+
@apply border-t border-border-primary py-5;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.rsui-section-footer__content-start {
|
|
8
|
+
@apply flex-1 flex flex-wrap items-center gap-3;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.rsui-section-footer__content-end {
|
|
12
|
+
@apply flex flex-wrap justify-end items-center gap-3;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.rsui-section-footer__content-end--full {
|
|
16
|
+
@apply flex-1;
|
|
17
|
+
}
|
|
18
|
+
|