@redseed/redseed-ui-vue3 2.3.1 → 2.4.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.
Files changed (35) hide show
  1. package/package.json +1 -1
  2. package/src/components/Button/ButtonDanger.vue +3 -21
  3. package/src/components/Button/ButtonDangerFull.vue +1 -9
  4. package/src/components/Button/ButtonDangerFullRounded.vue +1 -10
  5. package/src/components/Button/ButtonDangerRounded.vue +1 -9
  6. package/src/components/Button/ButtonPrimary.vue +3 -18
  7. package/src/components/Button/ButtonPrimaryFull.vue +1 -9
  8. package/src/components/Button/ButtonPrimaryFullRounded.vue +1 -10
  9. package/src/components/Button/ButtonPrimaryRounded.vue +1 -9
  10. package/src/components/Button/ButtonSecondary.vue +3 -19
  11. package/src/components/Button/ButtonSecondaryFull.vue +1 -9
  12. package/src/components/Button/ButtonSecondaryFullRounded.vue +1 -10
  13. package/src/components/Button/ButtonSecondaryRounded.vue +1 -9
  14. package/src/components/Button/ButtonSlot.vue +8 -5
  15. package/src/components/Button/ButtonTertiary.vue +3 -21
  16. package/src/components/Button/ButtonTertiaryFull.vue +1 -9
  17. package/src/components/Button/ButtonTertiaryFullRounded.vue +1 -10
  18. package/src/components/Button/ButtonTertiaryRounded.vue +1 -9
  19. package/src/components/ButtonGroup/ButtonGroupItem.vue +5 -5
  20. package/src/components/Card/Card.vue +1 -1
  21. package/src/components/DropdownMenu/DropdownOption.vue +1 -1
  22. package/src/components/Form/FormSlot.vue +3 -3
  23. package/src/components/FormField/FormFieldCheckbox.vue +1 -1
  24. package/src/components/FormField/FormFieldSelect.vue +2 -2
  25. package/src/components/FormField/FormFieldSlot.vue +3 -3
  26. package/src/components/FormField/FormFieldText.vue +1 -1
  27. package/src/components/FormField/FormFieldTextSuffix.vue +2 -2
  28. package/src/components/Image/Image.vue +3 -3
  29. package/src/components/List/ListItem.vue +4 -4
  30. package/src/components/MessageBox/MessageBox.vue +5 -5
  31. package/src/components/MetaInfo/MetaInfo.vue +1 -1
  32. package/src/components/Modal/Modal.vue +3 -3
  33. package/src/components/Pagination/Pagination.vue +1 -1
  34. package/src/components/Pagination/PaginationItem.vue +3 -3
  35. package/src/components/Progress/ProgressCircle.vue +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@redseed/redseed-ui-vue3",
3
- "version": "2.3.1",
3
+ "version": "2.4.1",
4
4
  "description": "RedSeed UI Vue 3 components",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -1,34 +1,16 @@
1
1
  <script setup>
2
- import { computed } from 'vue'
3
2
  import ButtonSlot from './ButtonSlot.vue'
4
-
5
- defineOptions({
6
- inheritAttrs: false,
7
- })
8
-
9
- const buttonClass = computed(() => [
10
- 'rsui-button-danger',
11
- ])
12
3
  </script>
13
4
  <template>
14
- <ButtonSlot
15
- :class="buttonClass"
16
- v-bind="$attrs"
17
- >
5
+ <ButtonSlot class="rsui-button-danger">
18
6
  <slot></slot>
19
7
  </ButtonSlot>
20
8
  </template>
21
9
  <style lang="scss" scoped>
22
10
  .rsui-button-danger {
23
11
  // default colors
24
- @apply bg-danger-content text-danger ring-danger/30 border-danger/40;
25
- // default hover state
26
- @apply hover:border-danger;
27
- // default focus state
28
- @apply focus-visible:border-danger/30;
12
+ @apply bg-danger-content text-danger border-danger;
29
13
  // default active state
30
- @apply active:border-danger active:bg-danger/10;
31
- // default disabled state
32
- @apply disabled:text-danger/20 disabled:border-danger/20 disabled:bg-danger-content;
14
+ @apply active:border-danger active:bg-danger-content;
33
15
  }
34
16
  </style>
@@ -1,16 +1,8 @@
1
1
  <script setup>
2
- import { computed } from 'vue'
3
2
  import ButtonDanger from './ButtonDanger.vue'
4
-
5
- defineOptions({
6
- inheritAttrs: false,
7
- })
8
3
  </script>
9
4
  <template>
10
- <ButtonDanger
11
- full
12
- v-bind="$attrs"
13
- >
5
+ <ButtonDanger full>
14
6
  <slot></slot>
15
7
  </ButtonDanger>
16
8
  </template>
@@ -1,17 +1,8 @@
1
1
  <script setup>
2
- import { computed } from 'vue'
3
2
  import ButtonDanger from './ButtonDanger.vue'
4
-
5
- defineOptions({
6
- inheritAttrs: false,
7
- })
8
3
  </script>
9
4
  <template>
10
- <ButtonDanger
11
- full
12
- rounded
13
- v-bind="$attrs"
14
- >
5
+ <ButtonDanger full rounded>
15
6
  <slot></slot>
16
7
  </ButtonDanger>
17
8
  </template>
@@ -1,16 +1,8 @@
1
1
  <script setup>
2
- import { computed } from 'vue'
3
2
  import ButtonDanger from './ButtonDanger.vue'
4
-
5
- defineOptions({
6
- inheritAttrs: false,
7
- })
8
3
  </script>
9
4
  <template>
10
- <ButtonDanger
11
- rounded
12
- v-bind="$attrs"
13
- >
5
+ <ButtonDanger rounded>
14
6
  <slot></slot>
15
7
  </ButtonDanger>
16
8
  </template>
@@ -1,32 +1,17 @@
1
1
  <script setup>
2
2
  import { computed } from 'vue'
3
3
  import ButtonSlot from './ButtonSlot.vue'
4
-
5
- defineOptions({
6
- inheritAttrs: false,
7
- })
8
-
9
- const buttonClass = computed(() => [
10
- 'rsui-button-primary',
11
- ])
12
4
  </script>
13
5
  <template>
14
- <ButtonSlot
15
- :class="buttonClass"
16
- v-bind="$attrs"
17
- >
6
+ <ButtonSlot class="rsui-button-primary">
18
7
  <slot></slot>
19
8
  </ButtonSlot>
20
9
  </template>
21
10
  <style lang="scss" scoped>
22
11
  .rsui-button-primary {
23
12
  // default colors
24
- @apply bg-primary text-primary-content ring-primary/30 border-primary;
25
- // default focus state
26
- @apply focus-visible:border-primary/30;
13
+ @apply bg-primary text-primary-content border-primary;
27
14
  // default active state
28
- @apply active:border-primary active:bg-primary/80;
29
- // default disabled state
30
- @apply disabled:text-primary-content disabled:border-transparent disabled:bg-primary/30;
15
+ @apply active:border-primary active:bg-primary;
31
16
  }
32
17
  </style>
@@ -1,16 +1,8 @@
1
1
  <script setup>
2
- import { computed } from 'vue'
3
2
  import ButtonPrimary from './ButtonPrimary.vue'
4
-
5
- defineOptions({
6
- inheritAttrs: false,
7
- })
8
3
  </script>
9
4
  <template>
10
- <ButtonPrimary
11
- full
12
- v-bind="$attrs"
13
- >
5
+ <ButtonPrimary full>
14
6
  <slot></slot>
15
7
  </ButtonPrimary>
16
8
  </template>
@@ -1,17 +1,8 @@
1
1
  <script setup>
2
- import { computed } from 'vue'
3
2
  import ButtonPrimary from './ButtonPrimary.vue'
4
-
5
- defineOptions({
6
- inheritAttrs: false,
7
- })
8
3
  </script>
9
4
  <template>
10
- <ButtonPrimary
11
- full
12
- rounded
13
- v-bind="$attrs"
14
- >
5
+ <ButtonPrimary full rounded>
15
6
  <slot></slot>
16
7
  </ButtonPrimary>
17
8
  </template>
@@ -1,16 +1,8 @@
1
1
  <script setup>
2
- import { computed } from 'vue'
3
2
  import ButtonPrimary from './ButtonPrimary.vue'
4
-
5
- defineOptions({
6
- inheritAttrs: false,
7
- })
8
3
  </script>
9
4
  <template>
10
- <ButtonPrimary
11
- rounded
12
- v-bind="$attrs"
13
- >
5
+ <ButtonPrimary rounded>
14
6
  <slot></slot>
15
7
  </ButtonPrimary>
16
8
  </template>
@@ -1,32 +1,16 @@
1
1
  <script setup>
2
- import { computed } from 'vue'
3
2
  import ButtonSlot from './ButtonSlot.vue'
4
-
5
- defineOptions({
6
- inheritAttrs: false,
7
- })
8
-
9
- const buttonClass = computed(() => [
10
- 'rsui-button-secondary',
11
- ])
12
3
  </script>
13
4
  <template>
14
- <ButtonSlot
15
- :class="buttonClass"
16
- v-bind="$attrs"
17
- >
5
+ <ButtonSlot class="rsui-button-secondary">
18
6
  <slot></slot>
19
7
  </ButtonSlot>
20
8
  </template>
21
9
  <style lang="scss" scoped>
22
10
  .rsui-button-secondary {
23
11
  // default colors
24
- @apply bg-secondary text-secondary-content ring-secondary/30 border-secondary;
25
- // default focus state
26
- @apply focus-visible:border-secondary/30;
12
+ @apply bg-secondary text-secondary-content border-secondary;
27
13
  // default active state
28
- @apply active:border-secondary active:bg-secondary/80;
29
- // default disabled state
30
- @apply disabled:text-secondary-content disabled:border-transparent disabled:bg-secondary/30;
14
+ @apply active:border-secondary active:bg-secondary;
31
15
  }
32
16
  </style>
@@ -1,16 +1,8 @@
1
1
  <script setup>
2
- import { computed } from 'vue'
3
2
  import ButtonSecondary from './ButtonSecondary.vue'
4
-
5
- defineOptions({
6
- inheritAttrs: false,
7
- })
8
3
  </script>
9
4
  <template>
10
- <ButtonSecondary
11
- full
12
- v-bind="$attrs"
13
- >
5
+ <ButtonSecondary full>
14
6
  <slot></slot>
15
7
  </ButtonSecondary>
16
8
  </template>
@@ -1,17 +1,8 @@
1
1
  <script setup>
2
- import { computed } from 'vue'
3
2
  import ButtonSecondary from './ButtonSecondary.vue'
4
-
5
- defineOptions({
6
- inheritAttrs: false,
7
- })
8
3
  </script>
9
4
  <template>
10
- <ButtonSecondary
11
- full
12
- rounded
13
- v-bind="$attrs"
14
- >
5
+ <ButtonSecondary full rounded>
15
6
  <slot></slot>
16
7
  </ButtonSecondary>
17
8
  </template>
@@ -1,16 +1,8 @@
1
1
  <script setup>
2
- import { computed } from 'vue'
3
2
  import ButtonSecondary from './ButtonSecondary.vue'
4
-
5
- defineOptions({
6
- inheritAttrs: false,
7
- })
8
3
  </script>
9
4
  <template>
10
- <ButtonSecondary
11
- rounded
12
- v-bind="$attrs"
13
- >
5
+ <ButtonSecondary rounded>
14
6
  <slot></slot>
15
7
  </ButtonSecondary>
16
8
  </template>
@@ -85,14 +85,17 @@ const buttonSlotClass = computed(() => [
85
85
  // default shape
86
86
  @apply font-semibold gap-2 rounded-md border transition;
87
87
  // default colors
88
- @apply bg-black text-white ring-black/20 border-black;
88
+ @apply bg-white text-rsui-default ring-highlight border-rsui-default;
89
+ // default hover state
90
+ @apply hover:brightness-110;
89
91
  // default focus state
90
- @apply focus-visible:ring-4;
92
+ @apply focus-visible:ring-4 focus-visible:ring-highlight focus-visible:border-highlight;
91
93
  // default active state
92
- @apply active:ring-0 active:bg-black/80;
94
+ @apply active:ring-0 active:bg-white active:filter-none;
93
95
  // default disabled state
94
- @apply disabled:bg-black/20 disabled:border-transparent;
95
- @apply disabled:active:ring-0 disabled:focus-visible:ring-0;
96
+ @apply disabled:bg-rsui-grey-200 disabled:border-transparent disabled:text-white disabled:filter-none;
97
+ @apply disabled:active:bg-rsui-grey-200 disabled:active:ring-0 disabled:active:border-transparent;
98
+ @apply disabled:focus-visible:ring-0;
96
99
  // modifier full width
97
100
  &--full {
98
101
  @apply w-full;
@@ -1,34 +1,16 @@
1
1
  <script setup>
2
- import { computed } from 'vue'
3
2
  import ButtonSlot from './ButtonSlot.vue'
4
-
5
- defineOptions({
6
- inheritAttrs: false,
7
- })
8
-
9
- const buttonClass = computed(() => [
10
- 'rsui-button-tertiary',
11
- ])
12
3
  </script>
13
4
  <template>
14
- <ButtonSlot
15
- :class="buttonClass"
16
- v-bind="$attrs"
17
- >
5
+ <ButtonSlot class="rsui-button-tertiary">
18
6
  <slot></slot>
19
7
  </ButtonSlot>
20
8
  </template>
21
9
  <style lang="scss" scoped>
22
10
  .rsui-button-tertiary {
23
11
  // default colors
24
- @apply bg-tertiary text-tertiary-content ring-tertiary-content/30 border-tertiary-content/40;
25
- // default hover state
26
- @apply hover:border-tertiary-content;
27
- // default focus state
28
- @apply focus-visible:border-tertiary-content/30;
12
+ @apply bg-tertiary text-tertiary-content border-tertiary-content;
29
13
  // default active state
30
- @apply active:border-tertiary-content active:bg-tertiary-content/10;
31
- // default disabled state
32
- @apply disabled:text-tertiary-content/20 disabled:border-tertiary-content/20 disabled:bg-tertiary;
14
+ @apply active:border-tertiary-content active:bg-tertiary;
33
15
  }
34
16
  </style>
@@ -1,16 +1,8 @@
1
1
  <script setup>
2
- import { computed } from 'vue'
3
2
  import ButtonTertiary from './ButtonTertiary.vue'
4
-
5
- defineOptions({
6
- inheritAttrs: false,
7
- })
8
3
  </script>
9
4
  <template>
10
- <ButtonTertiary
11
- full
12
- v-bind="$attrs"
13
- >
5
+ <ButtonTertiary full>
14
6
  <slot></slot>
15
7
  </ButtonTertiary>
16
8
  </template>
@@ -1,17 +1,8 @@
1
1
  <script setup>
2
- import { computed } from 'vue'
3
2
  import ButtonTertiary from './ButtonTertiary.vue'
4
-
5
- defineOptions({
6
- inheritAttrs: false,
7
- })
8
3
  </script>
9
4
  <template>
10
- <ButtonTertiary
11
- full
12
- rounded
13
- v-bind="$attrs"
14
- >
5
+ <ButtonTertiary full rounded>
15
6
  <slot></slot>
16
7
  </ButtonTertiary>
17
8
  </template>
@@ -1,16 +1,8 @@
1
1
  <script setup>
2
- import { computed } from 'vue'
3
2
  import ButtonTertiary from './ButtonTertiary.vue'
4
-
5
- defineOptions({
6
- inheritAttrs: false,
7
- })
8
3
  </script>
9
4
  <template>
10
- <ButtonTertiary
11
- rounded
12
- v-bind="$attrs"
13
- >
5
+ <ButtonTertiary rounded>
14
6
  <slot></slot>
15
7
  </ButtonTertiary>
16
8
  </template>
@@ -38,15 +38,15 @@ const buttonClass = computed(() => [
38
38
  // default shape
39
39
  @apply first:rounded-l-md last:rounded-r-md first:border-l border-r border-y ring-0;
40
40
  // default colors
41
- @apply bg-white text-segment-content border-segment-content/30;
41
+ @apply bg-segment text-segment-content border-rsui-grey-300;
42
42
  // default hover state
43
- @apply hover:bg-segment-content/10;
43
+ @apply hover:bg-rsui-grey-200;
44
44
  // default active/pressed state
45
- @apply active:ring-0 active:bg-white;
45
+ @apply active:ring-0 active:bg-segment;
46
46
  // default disabled state
47
- @apply disabled:text-segment-content/20 disabled:bg-white;
47
+ @apply disabled:text-rsui-grey-200 disabled:bg-white;
48
48
  &--selected {
49
- @apply bg-segment-content/10 active:bg-segment-content/10 cursor-default;
49
+ @apply bg-rsui-grey-200 active:bg-rsui-grey-200 cursor-default;
50
50
  }
51
51
  &__label {
52
52
  @apply gap-x-2 px-1 inline-flex items-center;
@@ -80,7 +80,7 @@ function clicked() {
80
80
  .rsui-card {
81
81
  @apply flex flex-col;
82
82
  @apply select-none transition duration-200;
83
- @apply border border-gray-100 rounded-lg bg-white shadow-full-light;
83
+ @apply rounded-lg bg-white shadow-full-light;
84
84
  &--hoverable {
85
85
  @apply hover:shadow-md;
86
86
  }
@@ -11,6 +11,6 @@ const emit = defineEmits(['click'])
11
11
  <style lang="scss" scoped>
12
12
  .rsui-dropdown-option {
13
13
  @apply cursor-pointer p-4 bg-white rounded-md text-base text-rsui-default transition;
14
- @apply hover:bg-gray-200;
14
+ @apply hover:bg-rsui-grey-200;
15
15
  }
16
16
  </style>
@@ -37,7 +37,7 @@
37
37
  .rsui-form-slot {
38
38
  @apply min-w-80 sm:min-w-96 sm:w-112;
39
39
  @apply flex flex-col sm:justify-center items-center;
40
- @apply text-base text-gray-700;
40
+ @apply text-base text-rsui-default;
41
41
 
42
42
  &__image {
43
43
  @apply mb-8;
@@ -47,11 +47,11 @@
47
47
  @apply w-full relative flex justify-center mb-2;
48
48
 
49
49
  &-line {
50
- @apply after:content-[''] after:absolute after:top-1/2 after:left-0 after:bg-gray-300 after:h-px after:w-full;
50
+ @apply after:content-[''] after:absolute after:top-1/2 after:left-0 after:bg-rsui-grey-200 after:h-px after:w-full;
51
51
  }
52
52
 
53
53
  &-or {
54
- @apply relative z-1 bg-white px-6;
54
+ @apply relative z-1 bg-white px-6 text-rsui-default;
55
55
  }
56
56
  }
57
57
 
@@ -61,7 +61,7 @@ function check(event) {
61
61
  input[type="checkbox"] {
62
62
  @apply appearance-none absolute inset-0 z-0 rounded-md transition focus:outline-none;
63
63
  @apply w-full h-full text-rsui-default border border-rsui-grey-200 text-transparent bg-none;
64
- @apply focus:ring focus:ring-rsui-light focus:border-rsui-light;
64
+ @apply focus:ring focus:ring-highlight focus:border-highlight;
65
65
  @apply invalid:border-danger invalid:ring-0;
66
66
  @apply disabled:text-rsui-light disabled:bg-rsui-grey-200;
67
67
  }
@@ -159,7 +159,7 @@ function choose(option) {
159
159
  select {
160
160
  @apply pl-5 pr-14 truncate;
161
161
  @apply appearance-none rounded-full cursor-pointer;
162
- @apply focus:ring focus:ring-rsui-light focus:border-rsui-light;
162
+ @apply focus:ring focus:ring-highlight focus:border-highlight;
163
163
  option {
164
164
  @apply hidden;
165
165
  }
@@ -176,7 +176,7 @@ function choose(option) {
176
176
 
177
177
  &__option {
178
178
  @apply flex flex-nowrap items-center justify-between cursor-pointer px-4 py-3 rounded-md;
179
- @apply bg-white hover:bg-gray-200 text-rsui-default transition;
179
+ @apply bg-white hover:bg-rsui-grey-200 text-rsui-default transition;
180
180
  &--disabled {
181
181
  @apply opacity-50 hover:bg-white cursor-auto;
182
182
  }
@@ -62,7 +62,7 @@ const formFieldSlotClass = computed(() => [
62
62
 
63
63
  &__label {
64
64
  label {
65
- @apply font-medium text-base text-gray-700;
65
+ @apply font-medium text-base text-rsui-default;
66
66
  }
67
67
  }
68
68
 
@@ -71,11 +71,11 @@ const formFieldSlotClass = computed(() => [
71
71
  }
72
72
 
73
73
  &__help {
74
- @apply text-xs text-gray-500;
74
+ @apply text-xs text-rsui-light;
75
75
  }
76
76
 
77
77
  &__error {
78
- @apply text-sm text-red-500;
78
+ @apply text-sm text-danger;
79
79
  }
80
80
  }
81
81
  </style>
@@ -66,7 +66,7 @@ const inputElement = ref(null)
66
66
  @apply text-base transition;
67
67
  @apply w-full border rounded-md ring-0;
68
68
  @apply bg-white placeholder-rsui-light border-rsui-grey-200;
69
- @apply has-[:focus]:ring has-[:focus]:ring-rsui-light has-[:focus]:border-rsui-light;
69
+ @apply has-[:focus]:ring has-[:focus]:ring-highlight has-[:focus]:border-highlight;
70
70
  @apply has-[:invalid]:border-danger has-[:invalid]:ring-0;
71
71
  @apply has-[:disabled]:text-rsui-light has-[:disabled]:bg-rsui-grey-200 has-[:disbaled]:ring-0;
72
72
  }
@@ -23,8 +23,8 @@ import FormFieldText from './FormFieldText.vue'
23
23
  <style lang="scss" scoped>
24
24
  .rsui-form-field-suffix {
25
25
  :deep(.rsui-form-field-text__suffix) {
26
- @apply border-l rounded-r-md;
27
- @apply bg-rsui-grey-200 border-rsui-light;
26
+ @apply border rounded-r-md;
27
+ @apply bg-rsui-grey-200 border-l-rsui-light border-r-rsui-grey-200;
28
28
  }
29
29
  }
30
30
  </style>
@@ -122,18 +122,18 @@ const imageClass = computed(() => [
122
122
  </template>
123
123
  <style lang="scss" scoped>
124
124
  .rsui-image {
125
- @apply w-full h-full flex items-center justify-center bg-gray-100 overflow-hidden;
125
+ @apply w-full h-full flex items-center justify-center bg-rsui-grey-100 overflow-hidden;
126
126
  &--rounded {
127
127
  @apply rounded-lg;
128
128
  }
129
129
  &__empty {
130
- @apply flex items-center justify-center text-gray-300;
130
+ @apply flex items-center justify-center text-rsui-light;
131
131
  }
132
132
  &__empty-icon {
133
133
  @apply w-1/4;
134
134
  }
135
135
  &__message {
136
- @apply text-gray-400 text-sm;
136
+ @apply text-rsui-light text-sm;
137
137
  }
138
138
  picture {
139
139
  @apply w-full h-full;
@@ -150,9 +150,9 @@ function clickItem(event) {
150
150
  }
151
151
  &__bg {
152
152
  @apply absolute inset-0 bg-white transition;
153
- @apply hover:bg-gray-100 peer-hover:bg-gray-100;
153
+ @apply hover:bg-rsui-grey-200 peer-hover:bg-rsui-grey-200;
154
154
  &--clickable {
155
- @apply active:bg-gray-200;
155
+ @apply active:bg-rsui-grey-200;
156
156
  }
157
157
  }
158
158
  &__body {
@@ -162,10 +162,10 @@ function clickItem(event) {
162
162
  @apply absolute top-0 ml-1 -left-10 lg:-left-14;
163
163
  @apply aspect-square overflow-hidden size-9 lg:size-12;
164
164
  &-placeholder {
165
- @apply size-full rounded-full overflow-hidden bg-neutral-200;
165
+ @apply size-full rounded-full overflow-hidden bg-rsui-grey-100;
166
166
  @apply flex items-center justify-center;
167
167
  svg {
168
- @apply size-5 lg:size-6 fill-neutral-400;
168
+ @apply size-5 lg:size-6 fill-rsui-grey-300;
169
169
  }
170
170
  }
171
171
  }
@@ -42,17 +42,17 @@ function close() {
42
42
  </template>
43
43
  <style lang="scss" scoped>
44
44
  .rsui-message-box {
45
- @apply border border-gray-100 rounded-lg bg-white overflow-hidden shadow-full-light transition duration-200 p-4;
45
+ @apply border border-rsui-grey-100 rounded-lg bg-white overflow-hidden shadow-full-light transition duration-200 p-4;
46
46
  &__head {
47
47
  @apply flex justify-between items-center;
48
48
  }
49
49
  &__close {
50
- @apply w-10 h-10;
50
+ @apply size-10;
51
51
  &-icon {
52
- @apply w-10 h-10 cursor-pointer rounded-lg flex items-center justify-center;
53
- @apply hover:bg-gray-100 transition duration-200;
52
+ @apply size-10 cursor-pointer rounded-lg flex items-center justify-center;
53
+ @apply hover:bg-rsui-grey-200 transition duration-200;
54
54
  svg {
55
- @apply w-6 h-6 text-gray-500;
55
+ @apply size-6 text-rsui-light;
56
56
  }
57
57
  }
58
58
  }
@@ -40,7 +40,7 @@ const emit = defineEmits(['click'])
40
40
  @apply font-semibold text-sm text-rsui-default leading-4;
41
41
  }
42
42
  &__help {
43
- @apply text-gray-400 size-4 cursor-pointer;
43
+ @apply text-rsui-light size-4 cursor-pointer;
44
44
  svg {
45
45
  @apply size-full;
46
46
  }
@@ -184,7 +184,7 @@ onUnmounted(() => {
184
184
  &__content {
185
185
  @apply absolute max-h-full inset-x-0 overflow-auto overscroll-contain transform transition-all;
186
186
  @apply border rounded-lg shadow-full md:w-full md:mx-auto mx-4;
187
- @apply bg-gray-100 border-gray-200;
187
+ @apply bg-white border-rsui-grey-200;
188
188
  &--sm {
189
189
  @apply sm:max-w-sm xs:mx-4 sm:mx-auto;
190
190
  }
@@ -207,14 +207,14 @@ onUnmounted(() => {
207
207
 
208
208
  &__header {
209
209
  @apply sticky top-0 z-1;
210
- @apply p-4 bg-gray-100 shrink-0 text-lg font-semibold;
210
+ @apply p-4 bg-rsui-grey-200 shrink-0 text-lg font-semibold;
211
211
  }
212
212
  &__body{
213
213
  @apply p-4 bg-white;
214
214
  }
215
215
  &__footer {
216
216
  @apply sticky bottom-0 z-1;
217
- @apply p-4 bg-gray-100 shrink-0;
217
+ @apply p-4 bg-rsui-grey-200 shrink-0;
218
218
  @apply flex justify-end items-center space-x-2;
219
219
  &--start {
220
220
  @apply justify-start;
@@ -259,7 +259,7 @@ function goToPage(page) {
259
259
  <style lang="scss" scoped>
260
260
  .rsui-pagination {
261
261
  @apply flex flex-nowrap items-center;
262
- @apply w-fit border border-gray-200 rounded-full p-1;
262
+ @apply w-fit border border-rsui-grey-200 rounded-full p-1;
263
263
  @apply divide-x;
264
264
  &__previous {
265
265
  @apply size-full flex items-center pr-1;
@@ -46,15 +46,15 @@ function clickItem() {
46
46
  .rsui-pagination-item {
47
47
  @apply inline-flex items-center justify-center overflow-hidden select-none;
48
48
  @apply min-w-9 w-fit h-7 p-1 rounded-md cursor-pointer transition;
49
- @apply bg-white hover:bg-gray-100 text-rsui-medium text-sm;
49
+ @apply bg-white hover:bg-rsui-grey-200 text-rsui-medium text-sm;
50
50
  &--active {
51
- @apply bg-gray-200 hover:bg-gray-200 text-rsui-default cursor-default;
51
+ @apply bg-rsui-grey-200 hover:bg-rsui-grey-200 text-rsui-default cursor-default;
52
52
  }
53
53
  &--freeze {
54
54
  @apply bg-white hover:bg-white cursor-default;
55
55
  }
56
56
  &--disabled {
57
- @apply bg-white hover:bg-white text-gray-200 cursor-default;
57
+ @apply bg-white hover:bg-white text-rsui-grey-200 cursor-default;
58
58
  }
59
59
  }
60
60
  </style>
@@ -98,7 +98,7 @@ watchPostEffect(setProgressCircleDash)
98
98
  }
99
99
  }
100
100
  &__background-circle {
101
- @apply stroke-gray-300 stroke-4 fill-none transition-all;
101
+ @apply stroke-rsui-light stroke-4 fill-none transition-all;
102
102
  }
103
103
  &__progress-circle {
104
104
  @apply stroke-primary stroke-4 fill-none transition-all duration-0;