@redseed/redseed-ui-vue3 6.4.7 → 6.5.0

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/index.js CHANGED
@@ -1,9 +1,9 @@
1
- import '@redseed/redseed-ui-tailwindcss/colors.css'
1
+ import '@redseed/redseed-ui-tailwindcss/index.css'
2
2
 
3
3
  import _ from 'lodash'
4
- window._ = _
5
-
6
4
  import lottie from 'lottie-web'
5
+
6
+ window._ = _
7
7
  window.lottie = lottie
8
8
 
9
9
  export * from './src/components/ActivityFeeds'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@redseed/redseed-ui-vue3",
3
- "version": "6.4.7",
3
+ "version": "6.5.0",
4
4
  "description": "RedSeed UI Vue 3 components",
5
5
  "main": "index.js",
6
6
  "repository": "https://github.com/redseedtraining/redseed-ui",
@@ -6,18 +6,3 @@ import ButtonSlot from './ButtonSlot.vue'
6
6
  <slot></slot>
7
7
  </ButtonSlot>
8
8
  </template>
9
- <style lang="scss" scoped>
10
- .rsui-button-primary {
11
- // default colors
12
- @apply text-text-on-color bg-button-primary border-button-primary;
13
- // default hover state
14
- @apply hover:text-text-on-color hover:bg-button-primary-hover hover:border-button-primary-hover;
15
- // default focus state
16
- @apply focus-visible:ring-button-primary focus-visible:border-button-primary;
17
- // default active state
18
- @apply active:bg-button-primary-active active:border-button-primary-active;
19
- // default disabled state
20
- @apply disabled:bg-button-disabled disabled:border-button-disabled disabled:text-text-primary;
21
- @apply disabled:active:bg-button-disabled disabled:active:border-button-disabled;
22
- }
23
- </style>
@@ -6,5 +6,3 @@ import ButtonPrimary from './ButtonPrimary.vue'
6
6
  <slot></slot>
7
7
  </ButtonPrimary>
8
8
  </template>
9
- <style lang="scss" scoped>
10
- </style>
@@ -6,18 +6,3 @@ import ButtonSlot from './ButtonSlot.vue'
6
6
  <slot></slot>
7
7
  </ButtonSlot>
8
8
  </template>
9
- <style lang="scss" scoped>
10
- .rsui-button-secondary {
11
- // default colors
12
- @apply text-button-secondary bg-background-primary border-button-secondary;
13
- // default hover state
14
- @apply hover:text-button-secondary-hover hover:bg-background-primary hover:border-button-secondary-hover;
15
- // default focus state
16
- @apply focus-visible:ring-button-secondary focus-visible:border-button-secondary;
17
- // default active state
18
- @apply active:bg-background-primary active:border-button-secondary-active;
19
- // default disabled state
20
- @apply disabled:bg-button-disabled disabled:border-button-disabled disabled:text-text-primary;
21
- @apply disabled:active:bg-button-disabled disabled:active:border-button-disabled;
22
- }
23
- </style>
@@ -6,5 +6,3 @@ import ButtonSecondary from './ButtonSecondary.vue'
6
6
  <slot></slot>
7
7
  </ButtonSecondary>
8
8
  </template>
9
- <style lang="scss" scoped>
10
- </style>
@@ -88,75 +88,4 @@ const buttonSlotClass = computed(() => [
88
88
  >
89
89
  <slot></slot>
90
90
  </button>
91
- </template>
92
- <style lang="scss" scoped>
93
- .rsui-button-slot {
94
- // default control
95
- @apply w-fit h-fit inline-flex shrink-0 items-center justify-center select-none outline-none whitespace-nowrap will-change-transform;
96
- // default shape
97
- @apply border rounded-lg transition gap-1.5;
98
- // default font
99
- @apply font-semibold text-sm;
100
- // default colors
101
- @apply bg-background-primary text-text-secondary ring-0 ring-border-primary border-border-primary;
102
- // default hover state
103
- @apply hover:bg-background-secondary;
104
- // default focus state
105
- @apply focus-visible:ring-offset-2 focus-visible:ring-2 focus-visible:ring-border-primary focus-visible:border-border-primary;
106
- // default active state
107
- @apply active:ring-0 active:bg-background-primary;
108
- // default disabled state
109
- @apply disabled:bg-background-disabled disabled:border-transparent disabled:text-text-disabled;
110
- @apply disabled:active:ring-0 disabled:active:bg-background-disabled disabled:active:border-transparent;
111
- @apply disabled:focus-visible:ring-0;
112
-
113
- :deep(svg) {
114
- @apply size-5;
115
- }
116
-
117
- // modifier full width
118
- &--full {
119
- @apply flex-1 w-full;
120
- }
121
-
122
- // modifier sm size
123
- &--sm {
124
- @apply text-sm px-spacing-lg py-spacing-md gap-spacing-xs;
125
- }
126
-
127
- // modifier md size
128
- &--md {
129
- @apply text-sm leading-5 px-3.5 py-2.5;
130
- &-icon {
131
- @apply p-2.5;
132
- }
133
- }
134
-
135
- // modifier lg size
136
- &--lg {
137
- @apply text-base px-4 py-2.5;
138
- &-icon {
139
- @apply p-3;
140
- }
141
- }
142
-
143
- // modifier xl size
144
- &--xl {
145
- @apply text-base leading-6 px-4.5 py-3;
146
- &-icon {
147
- @apply p-3.5;
148
- }
149
- }
150
-
151
- // modifier 2xl size
152
- &--2xl {
153
- @apply text-lg leading-7 px-5 py-4;
154
- &-icon {
155
- @apply p-4.5;
156
- }
157
- :deep(svg) {
158
- @apply size-6;
159
- }
160
- }
161
- }
162
- </style>
91
+ </template>
@@ -6,18 +6,3 @@ import ButtonSlot from './ButtonSlot.vue'
6
6
  <slot></slot>
7
7
  </ButtonSlot>
8
8
  </template>
9
- <style lang="scss" scoped>
10
- .rsui-button-tertiary {
11
- // default colors
12
- @apply text-button-tertiary bg-transparent border-transparent;
13
- // default hover state
14
- @apply hover:text-button-tertiary-hover hover:bg-transparent hover:border-button-tertiary-hover;
15
- // default focus state
16
- @apply focus-visible:ring-button-tertiary focus-visible:border-transparent;
17
- // default active state
18
- @apply active:bg-transparent active:border-transparent;
19
- // default disabled state
20
- @apply disabled:bg-transparent disabled:border-transparent disabled:text-text-disabled;
21
- @apply disabled:active:bg-transparent disabled:active:border-transparent;
22
- }
23
- </style>
@@ -6,5 +6,3 @@ import ButtonTertiary from './ButtonTertiary.vue'
6
6
  <slot></slot>
7
7
  </ButtonTertiary>
8
8
  </template>
9
- <style lang="scss" scoped>
10
- </style>