@redseed/redseed-ui-vue3 6.5.2 → 6.5.3
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/package.json +1 -1
- package/src/components/ActivityFeeds/ActivityFeed.vue +0 -12
- package/src/components/ActivityFeeds/FeedItem.vue +0 -68
- package/src/components/Avatar/AvatarText.vue +0 -5
- package/src/components/Badge/Badge.vue +0 -28
- package/src/components/Badge/BadgeError.vue +0 -2
- package/src/components/Badge/BadgeGroup.vue +0 -19
- package/src/components/Badge/BadgeInfo.vue +0 -2
- package/src/components/Badge/BadgeSecondary.vue +0 -2
- package/src/components/Badge/BadgeSuccess.vue +0 -2
- package/src/components/Badge/BadgeWarning.vue +0 -2
- package/src/components/Breadcrumbs/Breadcrumbs.vue +0 -14
- package/src/components/ButtonGroup/ButtonGroup.vue +0 -5
- package/src/components/ButtonGroup/ButtonGroupItem.vue +0 -39
- package/src/components/Card/ButtonCard.vue +0 -41
- package/src/components/Card/Card.vue +0 -90
- package/src/components/Card/CardHeader.vue +0 -66
- package/src/components/Card/CardResource.vue +0 -4
- package/src/components/Card/MetricCard.vue +0 -30
- package/src/components/Card/RadioCard.vue +0 -68
- package/src/components/CardGroup/CardGroup.vue +0 -65
- package/src/components/Disclosure/Disclosure.vue +0 -20
- package/src/components/DropdownMenu/DropdownMenu.vue +0 -41
- package/src/components/DropdownMenu/DropdownOption.vue +0 -11
- package/src/components/Empty/Empty.vue +0 -28
- package/src/components/Form/FormFieldsLogin.vue +0 -7
- package/src/components/Form/FormFieldsRegister.vue +0 -7
- package/src/components/Form/FormFieldset.vue +0 -62
- package/src/components/Form/FormSlot.vue +0 -41
- package/src/components/Form/FormWrapperBuild.vue +0 -7
- package/src/components/Form/FormWrapperLMS.vue +0 -7
- package/src/components/FormField/FormFieldCheckbox.vue +0 -32
- package/src/components/FormField/FormFieldCombobox.vue +0 -107
- package/src/components/FormField/FormFieldEmail.vue +0 -2
- package/src/components/FormField/FormFieldHidden.vue +0 -2
- package/src/components/FormField/FormFieldNumber.vue +0 -2
- package/src/components/FormField/FormFieldPassword.vue +0 -2
- package/src/components/FormField/FormFieldPasswordToggle.vue +0 -15
- package/src/components/FormField/FormFieldRadioGroup.vue +0 -33
- package/src/components/FormField/FormFieldSearch.vue +0 -17
- package/src/components/FormField/FormFieldSelect.vue +0 -82
- package/src/components/FormField/FormFieldSlot.vue +0 -34
- package/src/components/FormField/FormFieldText.vue +0 -41
- package/src/components/FormField/FormFieldTextSuffix.vue +0 -8
- package/src/components/FormField/FormFieldTextarea.vue +0 -19
- package/src/components/FormField/FormFieldUploaderWrapper.vue +0 -59
- package/src/components/HTML/BodyText.vue +0 -6
- package/src/components/HTML/ReadMore.vue +0 -11
- package/src/components/Image/Image.vue +0 -29
- package/src/components/Image/Image16By9.vue +0 -5
- package/src/components/Image/Image3By1.vue +0 -5
- package/src/components/Image/Image64by25.vue +0 -5
- package/src/components/Image/Image9By16.vue +0 -5
- package/src/components/Image/ImageCircle.vue +0 -5
- package/src/components/Layouts/HeroSection.vue +0 -36
- package/src/components/Layouts/PageHeader.vue +0 -57
- package/src/components/Layouts/SectionFooter.vue +0 -19
- package/src/components/Layouts/SectionHeader.vue +0 -48
- package/src/components/Layouts/SingleColumnLayout.vue +0 -5
- package/src/components/Layouts/TwoColumnLayout.vue +0 -14
- package/src/components/Link/LinkPrimary.vue +0 -5
- package/src/components/Link/LinkSlot.vue +0 -44
- package/src/components/LinkedList/LinkedList.vue +0 -12
- package/src/components/LinkedList/LinkedListItem.vue +0 -44
- package/src/components/List/List.vue +0 -13
- package/src/components/List/ListControl.vue +0 -57
- package/src/components/List/ListItem.vue +0 -59
- package/src/components/Loader/Loader.vue +0 -23
- package/src/components/Logo/LogoRedSeedBuild.vue +0 -3
- package/src/components/Logo/LogoRedSeedCoach.vue +0 -2
- package/src/components/Logo/LogoRedSeedCourses.vue +0 -2
- package/src/components/MessageBox/MessageBox.vue +0 -39
- package/src/components/MetaInfo/MetaInfo.vue +0 -23
- package/src/components/Modal/Modal.vue +0 -79
- package/src/components/Pagination/Pagination.vue +0 -25
- package/src/components/Pagination/PaginationItem.vue +0 -16
- package/src/components/Pagination/PaginationItemCollapsed.vue +0 -7
- package/src/components/Pagination/PaginationItemNext.vue +0 -8
- package/src/components/Pagination/PaginationItemPrevious.vue +0 -8
- package/src/components/Pagination/RecordCount.vue +0 -5
- package/src/components/Progress/ProgressCircle.vue +0 -30
- package/src/components/Progress/ProgressTracker.vue +0 -6
- package/src/components/Progress/ProgressTrackerStep.vue +0 -33
- package/src/components/Section/Section.vue +0 -30
- package/src/components/Social/SignInWithGoogle.vue +0 -102
- package/src/components/Social/SignUpWithGoogle.vue +0 -102
- package/src/components/Sorting/Sorting.vue +0 -15
- package/src/components/Switcher/Switcher.vue +0 -15
- package/src/components/Switcher/SwitcherItem.vue +0 -16
- package/src/components/Table/Table.vue +0 -42
- package/src/components/Table/Td.vue +0 -21
- package/src/components/Table/TdUser.vue +0 -23
- package/src/components/Table/Th.vue +0 -70
- package/src/components/Table/Tr.vue +0 -11
- package/src/components/Toggle/Toggle.vue +0 -33
package/package.json
CHANGED
|
@@ -18,15 +18,3 @@ const props = defineProps({
|
|
|
18
18
|
<slot></slot>
|
|
19
19
|
</div>
|
|
20
20
|
</template>
|
|
21
|
-
|
|
22
|
-
<style lang="scss" scoped>
|
|
23
|
-
.rsui-activity-feed {
|
|
24
|
-
@apply flex flex-col gap-8;
|
|
25
|
-
|
|
26
|
-
&--line {
|
|
27
|
-
& > *:not(:last-child) {
|
|
28
|
-
@apply after:absolute after:inset-x-0 after:-bottom-4 after:border-t after:border-border-primary;
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
</style>
|
|
@@ -108,71 +108,3 @@ function handleClick() {
|
|
|
108
108
|
|
|
109
109
|
</div>
|
|
110
110
|
</template>
|
|
111
|
-
|
|
112
|
-
<style lang="scss" scoped>
|
|
113
|
-
.rsui-feed-item {
|
|
114
|
-
@apply relative flex flex-nowrap gap-3 border border-transparent rounded-lg;
|
|
115
|
-
|
|
116
|
-
&--clickable {
|
|
117
|
-
@apply cursor-pointer;
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
&--padded {
|
|
121
|
-
@apply p-2;
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
&__avatar {
|
|
125
|
-
@apply relative shrink-0 size-12 rounded-full flex items-center justify-center;
|
|
126
|
-
@apply bg-background-disabled border border-border-secondary;
|
|
127
|
-
|
|
128
|
-
:deep(> svg) {
|
|
129
|
-
@apply size-7 text-text-secondary;
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
&__avatar-indicator {
|
|
134
|
-
@apply absolute -bottom-0.5 -right-0.5;
|
|
135
|
-
@apply flex items-center justify-center size-4;
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
&__avatar-indicator-dot {
|
|
139
|
-
@apply size-4 rounded-full bg-border-primary border-2 border-background-primary;
|
|
140
|
-
|
|
141
|
-
&--online {
|
|
142
|
-
@apply bg-text-success;
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
&--busy {
|
|
146
|
-
@apply bg-text-error;
|
|
147
|
-
}
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
&__body {
|
|
151
|
-
@apply flex-1 flex flex-col gap-3;
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
&__header {
|
|
155
|
-
@apply flex flex-col;
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
&__heading {
|
|
159
|
-
@apply flex flex-wrap items-center gap-x-2;
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
&__heading-text {
|
|
163
|
-
@apply shrink-0 text-sm font-medium text-text-primary;
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
&__heading-subtext {
|
|
167
|
-
@apply text-xs text-text-secondary;
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
&__supporting-text {
|
|
171
|
-
@apply text-sm font-medium text-text-secondary;
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
&__dot {
|
|
175
|
-
@apply relative shrink-0;
|
|
176
|
-
}
|
|
177
|
-
}
|
|
178
|
-
</style>
|
|
@@ -59,31 +59,3 @@ defineExpose({
|
|
|
59
59
|
<slot></slot>
|
|
60
60
|
</div>
|
|
61
61
|
</template>
|
|
62
|
-
<style lang="scss" scoped>
|
|
63
|
-
.rsui-badge {
|
|
64
|
-
@apply inline-flex items-center justify-center gap-x-1;
|
|
65
|
-
@apply w-fit h-fit rounded-full;
|
|
66
|
-
@apply text-sm font-medium leading-4;
|
|
67
|
-
&--sm {
|
|
68
|
-
@apply px-2 py-1;
|
|
69
|
-
}
|
|
70
|
-
&--md {
|
|
71
|
-
@apply px-2 py-2;
|
|
72
|
-
}
|
|
73
|
-
&--secondary {
|
|
74
|
-
@apply text-text-secondary bg-background-secondary border border-border-secondary;
|
|
75
|
-
}
|
|
76
|
-
&--success {
|
|
77
|
-
@apply text-text-success bg-background-success border border-border-success;
|
|
78
|
-
}
|
|
79
|
-
&--warning {
|
|
80
|
-
@apply text-text-warning bg-background-warning border border-border-warning;
|
|
81
|
-
}
|
|
82
|
-
&--error {
|
|
83
|
-
@apply text-text-error bg-background-error border border-border-error;
|
|
84
|
-
}
|
|
85
|
-
:deep(svg) {
|
|
86
|
-
@apply size-4;
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
</style>
|
|
@@ -69,22 +69,3 @@ function getChildBadgeStyle() {
|
|
|
69
69
|
<slot></slot>
|
|
70
70
|
</Badge>
|
|
71
71
|
</template>
|
|
72
|
-
<style lang="scss" scoped>
|
|
73
|
-
.badge-group {
|
|
74
|
-
@apply pl-1 pr-3 gap-x-3;
|
|
75
|
-
&--badge-end {
|
|
76
|
-
@apply pl-3 pr-1;
|
|
77
|
-
}
|
|
78
|
-
&--no-text {
|
|
79
|
-
@apply px-1;
|
|
80
|
-
}
|
|
81
|
-
&--no-badge {
|
|
82
|
-
@apply px-2;
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
.badge-group--badge-end {
|
|
86
|
-
.badge-group__badge {
|
|
87
|
-
@apply order-last;
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
</style>
|
|
@@ -33,17 +33,3 @@ function clickItem(item) {
|
|
|
33
33
|
</div>
|
|
34
34
|
</div>
|
|
35
35
|
</template>
|
|
36
|
-
<style lang="scss" scoped>
|
|
37
|
-
.rsui-breadcrumbs {
|
|
38
|
-
@apply flex flex-wrap items-center gap-x-2 gap-y-2;
|
|
39
|
-
&__item {
|
|
40
|
-
@apply relative select-none pr-4 last:pr-0 last:after:hidden;
|
|
41
|
-
@apply text-sm text-text-disabled leading-6;
|
|
42
|
-
@apply after:absolute after:right-0.5 after:content-['\007C'];
|
|
43
|
-
@apply after:w-0.5 after:h-full after:text-text-disabled;
|
|
44
|
-
&--action {
|
|
45
|
-
@apply cursor-pointer hover:text-text-primary transition-colors duration-200;
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
</style>
|
|
@@ -31,42 +31,3 @@ const buttonClass = computed(() => [
|
|
|
31
31
|
</span>
|
|
32
32
|
</button>
|
|
33
33
|
</template>
|
|
34
|
-
<style lang="scss" scoped>
|
|
35
|
-
.rsui-button-group-item {
|
|
36
|
-
// default control
|
|
37
|
-
@apply inline-flex justify-center items-center select-none outline-none p-2 font-semibold text-sm transition;
|
|
38
|
-
// default shape
|
|
39
|
-
@apply first:rounded-l-md last:rounded-r-md first:border-l border-r border-y ring-0;
|
|
40
|
-
// default colors
|
|
41
|
-
@apply text-button-secondary bg-background-primary border-button-secondary;
|
|
42
|
-
// default hover state
|
|
43
|
-
@apply hover:text-button-secondary-hover hover:bg-background-primary hover:border-button-secondary-hover;
|
|
44
|
-
// default focus state
|
|
45
|
-
@apply focus-visible:ring-button-secondary focus-visible:border-button-secondary;
|
|
46
|
-
// default active state
|
|
47
|
-
@apply active:bg-background-primary active:border-button-secondary-active;
|
|
48
|
-
// default disabled state
|
|
49
|
-
@apply disabled:bg-button-disabled disabled:border-button-disabled disabled:text-text-primary;
|
|
50
|
-
@apply disabled:active:bg-button-disabled disabled:active:border-button-disabled;
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
&--selected {
|
|
54
|
-
@apply bg-background-primary active:bg-background-primary cursor-default;
|
|
55
|
-
}
|
|
56
|
-
&__label {
|
|
57
|
-
@apply gap-x-2 px-1 inline-flex items-center;
|
|
58
|
-
}
|
|
59
|
-
// child svg icon
|
|
60
|
-
:deep(svg) {
|
|
61
|
-
@apply size-5;
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
.rsui-button-group--sm {
|
|
65
|
-
.rsui-button-group-item {
|
|
66
|
-
@apply text-xs;
|
|
67
|
-
:deep(svg) {
|
|
68
|
-
@apply size-4;
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
</style>
|
|
@@ -46,44 +46,3 @@ const props = defineProps({
|
|
|
46
46
|
</div>
|
|
47
47
|
</Card>
|
|
48
48
|
</template>
|
|
49
|
-
<style lang="scss" scoped>
|
|
50
|
-
.rsui-button-card {
|
|
51
|
-
@apply hover:shadow-none hover:border-text-primary;
|
|
52
|
-
&--disabled {
|
|
53
|
-
@apply hover:border-border-primary;
|
|
54
|
-
@apply focus-visible:ring-0;
|
|
55
|
-
}
|
|
56
|
-
&__content {
|
|
57
|
-
@apply flex items-center p-2 gap-4;
|
|
58
|
-
}
|
|
59
|
-
&__icon {
|
|
60
|
-
@apply size-12 flex shrink-0 items-center justify-center rounded-lg transition duration-200;
|
|
61
|
-
@apply border border-text-secondary text-text-secondary;
|
|
62
|
-
:deep(svg) {
|
|
63
|
-
@apply size-5;
|
|
64
|
-
path {
|
|
65
|
-
@apply stroke-current;
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
&__content-text {
|
|
70
|
-
@apply flex flex-col;
|
|
71
|
-
}
|
|
72
|
-
&__title {
|
|
73
|
-
@apply text-text-primary font-semibold line-clamp-1;
|
|
74
|
-
@apply group-hover/button-card:text-text-primary;
|
|
75
|
-
&--disabled {
|
|
76
|
-
@apply text-text-disabled;
|
|
77
|
-
@apply group-hover/button-card:text-text-disabled;
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
&__supporting-text {
|
|
81
|
-
@apply text-sm text-text-secondary line-clamp-1;
|
|
82
|
-
@apply group-hover/button-card:text-text-primary;
|
|
83
|
-
&--disabled {
|
|
84
|
-
@apply text-text-disabled;
|
|
85
|
-
@apply group-hover/button-card:text-text-disabled;
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
</style>
|
|
@@ -72,93 +72,3 @@ function onClick() {
|
|
|
72
72
|
</div>
|
|
73
73
|
</div>
|
|
74
74
|
</template>
|
|
75
|
-
<style lang="scss" scoped>
|
|
76
|
-
.rsui-card {
|
|
77
|
-
@apply relative flex flex-col;
|
|
78
|
-
@apply transition duration-200;
|
|
79
|
-
@apply rounded-xl bg-background-primary border border-border-primary;
|
|
80
|
-
|
|
81
|
-
&--hoverable {
|
|
82
|
-
@apply hover:shadow-md;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
&--clickable {
|
|
86
|
-
@apply cursor-pointer;
|
|
87
|
-
|
|
88
|
-
.rsui-card__image {
|
|
89
|
-
@apply pointer-events-none;
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
.rsui-card__content {
|
|
93
|
-
@apply pointer-events-none;
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
&__action-layer {
|
|
98
|
-
@apply absolute inset-0 size-full bg-transparent rounded-xl transition;
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
&__image {
|
|
102
|
-
@apply rounded-t-xl overflow-hidden;
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
&__content {
|
|
106
|
-
@apply flex-1 flex flex-col relative gap-y-3;
|
|
107
|
-
|
|
108
|
-
&--padded {
|
|
109
|
-
@apply py-5 px-4 sm:px-6 min-h-16;
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
&__meta {
|
|
114
|
-
@apply max-w-full overflow-x-auto grid grid-cols-1 gap-x-6 gap-y-2 ;
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
&--2xs {
|
|
118
|
-
.rsui-card__meta {
|
|
119
|
-
@apply grid-cols-2;
|
|
120
|
-
// @apply max-w-full overflow-x-auto grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 gap-x-6 gap-y-2 lg:flex lg:space-x-8;
|
|
121
|
-
// @apply max-w-full overflow-x-auto grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 gap-x-6 gap-y-2 lg:flex lg:space-x-8;
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
&--xs {
|
|
126
|
-
.rsui-card__meta {
|
|
127
|
-
@apply grid-cols-2;
|
|
128
|
-
// @apply max-w-full overflow-x-auto grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 gap-x-6 gap-y-2 lg:flex lg:space-x-8;
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
&--sm {
|
|
133
|
-
.rsui-card__meta {
|
|
134
|
-
@apply grid-cols-2;
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
&--md {
|
|
140
|
-
.rsui-card__meta {
|
|
141
|
-
@apply grid-cols-3;
|
|
142
|
-
}
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
&--lg {
|
|
146
|
-
.rsui-card__meta {
|
|
147
|
-
@apply flex space-x-8;
|
|
148
|
-
}
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
&--xl {
|
|
152
|
-
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
&--2xl {
|
|
156
|
-
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
&--3xl {
|
|
160
|
-
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
}
|
|
164
|
-
</style>
|
|
@@ -138,69 +138,3 @@ function handleMoreActionsClick() {
|
|
|
138
138
|
</div>
|
|
139
139
|
</div>
|
|
140
140
|
</template>
|
|
141
|
-
<style lang="scss" scoped>
|
|
142
|
-
.rsui-card-header {
|
|
143
|
-
@apply flex flex-col gap-x-3 gap-y-5 transition-all;
|
|
144
|
-
@apply md:flex-row md:justify-between md:items-center;
|
|
145
|
-
@apply py-4 px-4 sm:px-6;
|
|
146
|
-
@apply border-b border-transparent;
|
|
147
|
-
|
|
148
|
-
&--divider {
|
|
149
|
-
@apply border-border-primary;
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
&__header {
|
|
153
|
-
@apply flex-1 flex justify-between items-start gap-x-3;
|
|
154
|
-
|
|
155
|
-
&--single-line {
|
|
156
|
-
@apply md:items-center;
|
|
157
|
-
}
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
&__avatar {
|
|
161
|
-
@apply size-14 rounded-full overflow-hidden flex items-center justify-center bg-background-secondary;
|
|
162
|
-
@apply mt-2.5 md:mt-0;
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
&__text {
|
|
166
|
-
@apply flex-1 flex flex-col gap-y-0.5 pt-2 md:pt-0;
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
&__title-container {
|
|
170
|
-
@apply flex flex-wrap items-center gap-y-1 gap-x-2;
|
|
171
|
-
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
&__title {
|
|
175
|
-
@apply text-lg leading-7 font-semibold text-text-primary;
|
|
176
|
-
|
|
177
|
-
&--single-line {
|
|
178
|
-
@apply line-clamp-2 md:line-clamp-1;
|
|
179
|
-
}
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
&__subtitle {
|
|
183
|
-
@apply text-sm leading-5 text-text-secondary;
|
|
184
|
-
|
|
185
|
-
&--single-line {
|
|
186
|
-
@apply line-clamp-3 md:line-clamp-1;
|
|
187
|
-
}
|
|
188
|
-
}
|
|
189
|
-
|
|
190
|
-
&__toolbar {
|
|
191
|
-
@apply flex gap-3 md:items-center justify-end;
|
|
192
|
-
}
|
|
193
|
-
|
|
194
|
-
&__actions-desktop {
|
|
195
|
-
@apply flex gap-3 items-center;
|
|
196
|
-
}
|
|
197
|
-
|
|
198
|
-
&__actions-mobile {
|
|
199
|
-
@apply flex flex-wrap gap-3 items-center;
|
|
200
|
-
}
|
|
201
|
-
|
|
202
|
-
&__more-actions-icon {
|
|
203
|
-
@apply size-5 text-text-secondary;
|
|
204
|
-
}
|
|
205
|
-
}
|
|
206
|
-
</style>
|
|
@@ -33,33 +33,3 @@ function handleIconClick() {
|
|
|
33
33
|
</div>
|
|
34
34
|
</Card>
|
|
35
35
|
</template>
|
|
36
|
-
|
|
37
|
-
<style lang="scss" scoped>
|
|
38
|
-
.rsui-metric-card {
|
|
39
|
-
@apply w-64 sm:w-96;
|
|
40
|
-
|
|
41
|
-
&__header {
|
|
42
|
-
@apply flex items-center justify-between;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
&__avatar {
|
|
46
|
-
@apply size-14 rounded-full overflow-hidden flex items-center justify-center pointer-events-auto;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
&__icon {
|
|
50
|
-
@apply text-text-primary transition-transform pointer-events-auto cursor-pointer size-6;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
&__content {
|
|
54
|
-
@apply flex flex-col gap-2;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
&__title {
|
|
58
|
-
@apply text-sm font-normal text-text-secondary mt-4;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
&__value {
|
|
62
|
-
@apply text-3xl font-semibold text-text-primary leading-9;
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
</style>
|
|
@@ -104,71 +104,3 @@ function handleClick(event) {
|
|
|
104
104
|
</div>
|
|
105
105
|
</div>
|
|
106
106
|
</template>
|
|
107
|
-
<style lang="scss" scoped>
|
|
108
|
-
.rsui-radio-card {
|
|
109
|
-
@apply max-w-80 w-80 bg-background-primary border border-border-secondary rounded-md shadow-sm outline-none select-none;
|
|
110
|
-
@apply relative cursor-pointer transition-all;
|
|
111
|
-
@apply flex flex-col gap-3 p-4;
|
|
112
|
-
@apply focus-visible:ring-4 focus-visible:ring-border-primary;
|
|
113
|
-
|
|
114
|
-
&--flexible {
|
|
115
|
-
@apply max-w-full w-full;
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
&--selected {
|
|
119
|
-
@apply focus-visible:ring-0 border-primary-background;
|
|
120
|
-
@apply after:absolute after:content-[''] after:inset-0 after:bg-primary-background;
|
|
121
|
-
@apply after:rounded-md after:opacity-10;
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
&--disabled {
|
|
125
|
-
@apply focus-visible:ring-0 border-border-secondary cursor-default;
|
|
126
|
-
@apply after:absolute after:content-[''] after:inset-0 after:bg-border-secondary;
|
|
127
|
-
@apply after:rounded-md after:opacity-65;
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
&__title-row {
|
|
131
|
-
@apply relative text-base font-medium text-text-primary line-clamp-2 min-h-6 pr-8;
|
|
132
|
-
|
|
133
|
-
// Radio button position
|
|
134
|
-
@apply after:absolute after:top-0 after:right-0;
|
|
135
|
-
// Radio button shape
|
|
136
|
-
@apply after:content-[''] after:size-6 after:rounded-full;
|
|
137
|
-
// Radio button animation
|
|
138
|
-
@apply after:transition-all;
|
|
139
|
-
// Radio button decoration
|
|
140
|
-
@apply after:border after:border-border-primary after:bg-background-primary;
|
|
141
|
-
// Radio button event
|
|
142
|
-
@apply group-hover/radio-card:after:border-text-secondary;
|
|
143
|
-
@apply group-focus-visible/radio-card:after:border-text-secondary;
|
|
144
|
-
|
|
145
|
-
&--selected {
|
|
146
|
-
@apply after:border-6 after:border-primary-background;
|
|
147
|
-
@apply group-hover/radio-card:after:border-primary-background;
|
|
148
|
-
@apply group-focus-visible/radio-card:after:border-primary-background;
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
&--disabled {
|
|
152
|
-
@apply after:opacity-0;
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
&--selected-disabled {
|
|
156
|
-
@apply after:border-6 after:border-background-primary after:bg-border-primary;
|
|
157
|
-
@apply group-hover/radio-card:after:border-background-primary;
|
|
158
|
-
@apply group-focus-visible/radio-card:after:border-background-primary;
|
|
159
|
-
}
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
&__content-row {
|
|
163
|
-
@apply text-sm font-normal text-text-secondary;
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
&__meta-row {
|
|
167
|
-
@apply grid grid-cols-1 sm:grid-cols-2 gap-x-8 gap-y-2;
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
&__action-row {
|
|
171
|
-
@apply flex flex-wrap gap-2;
|
|
172
|
-
}
|
|
173
|
-
}
|
|
174
|
-
</style>
|
|
@@ -135,68 +135,3 @@ const showNotFoundMessage = computed(() => !props.totalItems && props.controlApp
|
|
|
135
135
|
</div>
|
|
136
136
|
</div>
|
|
137
137
|
</template>
|
|
138
|
-
<style scoped lang="scss">
|
|
139
|
-
.rsui-card-group {
|
|
140
|
-
&__cards {
|
|
141
|
-
@apply grid;
|
|
142
|
-
@apply gap-4 grid-cols-1;
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
&--sm {
|
|
146
|
-
.rsui-card-group__cards {
|
|
147
|
-
@apply gap-4 grid-cols-2;
|
|
148
|
-
}
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
&--md,
|
|
152
|
-
&--lg,
|
|
153
|
-
&--xl {
|
|
154
|
-
.rsui-card-group__cards {
|
|
155
|
-
@apply gap-4 grid-cols-3;
|
|
156
|
-
}
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
&--2xl,
|
|
160
|
-
&--3xl {
|
|
161
|
-
.rsui-card-group__cards {
|
|
162
|
-
@apply gap-4 grid-cols-5;
|
|
163
|
-
}
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
&--compact {
|
|
167
|
-
.rsui-card-group__cards {
|
|
168
|
-
@apply gap-4 grid-cols-1;
|
|
169
|
-
}
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
&--compact.rsui-card-group--xs {
|
|
173
|
-
.rsui-card-group__cards {
|
|
174
|
-
@apply gap-4 grid-cols-2;
|
|
175
|
-
}
|
|
176
|
-
}
|
|
177
|
-
|
|
178
|
-
&--compact.rsui-card-group--sm {
|
|
179
|
-
.rsui-card-group__cards {
|
|
180
|
-
@apply gap-4 grid-cols-3;
|
|
181
|
-
}
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
&--compact.rsui-card-group--md,
|
|
185
|
-
&--compact.rsui-card-group--lg,
|
|
186
|
-
&--compact.rsui-card-group--xl {
|
|
187
|
-
.rsui-card-group__cards {
|
|
188
|
-
@apply gap-4 grid-cols-4;
|
|
189
|
-
}
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
&--compact.rsui-card-group--2xl,
|
|
193
|
-
&--compact.rsui-card-group--3xl {
|
|
194
|
-
.rsui-card-group__cards {
|
|
195
|
-
@apply gap-4 grid-cols-6;
|
|
196
|
-
}
|
|
197
|
-
}
|
|
198
|
-
&__pagination {
|
|
199
|
-
@apply w-full flex items-center justify-center mb-4;
|
|
200
|
-
}
|
|
201
|
-
}
|
|
202
|
-
</style>
|
|
@@ -131,23 +131,3 @@ onMounted(() => {
|
|
|
131
131
|
</div>
|
|
132
132
|
</Teleport>
|
|
133
133
|
</template>
|
|
134
|
-
|
|
135
|
-
<style lang="scss" scoped>
|
|
136
|
-
.rsui-disclosure {
|
|
137
|
-
&__trigger-icon {
|
|
138
|
-
@apply transition-all;
|
|
139
|
-
|
|
140
|
-
&--open {
|
|
141
|
-
@apply -rotate-180;
|
|
142
|
-
}
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
&__content {
|
|
146
|
-
@apply transition-all min-h-0 h-0 overflow-hidden opacity-0;
|
|
147
|
-
|
|
148
|
-
&--open {
|
|
149
|
-
@apply overflow-visible opacity-100 h-auto;
|
|
150
|
-
}
|
|
151
|
-
}
|
|
152
|
-
}
|
|
153
|
-
</style>
|