@codecavepro/brand 2.5.4 → 2.6.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.
@@ -198,8 +198,22 @@ withDefaults(defineProps<{
198
198
  height: 10px;
199
199
  border-radius: 50%;
200
200
  background: var(--color-error-400);
201
- box-shadow: 0 0 12px 0 var(--color-error-400),
202
- 0 0 4px 0 hsl(from var(--color-error-400) h s l / 0.5);
201
+ box-shadow:
202
+ 0 0 12px 0 var(--color-error-400),
203
+ 0 0 4px 0 hsl(from var(--color-error-400) h s l / 0.5);
204
+
205
+ animation: pulse-opacity 1.5s ease-in-out infinite;
206
+ }
207
+
208
+ @keyframes pulse-opacity {
209
+ 0%,
210
+ 100% {
211
+ opacity: 1;
212
+ }
213
+
214
+ 50% {
215
+ opacity: 0.3;
216
+ }
203
217
  }
204
218
 
205
219
  .brand-nav-logo {
@@ -223,12 +237,13 @@ withDefaults(defineProps<{
223
237
  position: absolute;
224
238
  top: 100%;
225
239
  left: 0;
226
- margin-top: 12px;
240
+ margin-top: 13px;
227
241
  width: max-content;
228
242
  opacity: 0;
229
243
  visibility: hidden;
230
244
  border-radius: 1rem;
231
245
  padding: 1.25rem;
246
+ z-index: 100;
232
247
  background: var(--color-surface-primary);
233
248
  -webkit-backdrop-filter: blur(24px);
234
249
  backdrop-filter: blur(24px);
@@ -29,7 +29,7 @@ watch(() => [props.text1, props.text2],
29
29
  </script>
30
30
 
31
31
  <template>
32
- <div class="flex flex-col items-center leading-[130%] text-heading-sm lg:text-heading-lg font-bold">
32
+ <div class="flex flex-col items-center leading-[130%] text-heading-md md:text-heading-lg font-bold">
33
33
  <h2 :key="text1" class="split-text">
34
34
  <span class="block text-heading">{{ text1 }}</span>
35
35
  <span class="block text-action">{{ text2 }}</span>
@@ -7,7 +7,7 @@ import Button from "../common/Button.vue";
7
7
  class="p-8 md:p-10 flex flex-col md:flex-row items-center justify-between gap-12 md:gap-7 rounded-3xl bg-primary-800"
8
8
  >
9
9
  <div class="flex-1">
10
- <h3 class="text-heading font-bold text-[32px]">
10
+ <h3 class="text-heading font-bold xl:text-[32px] text-2xl">
11
11
  Grab our AI trends research!
12
12
  </h3>
13
13
 
@@ -75,7 +75,7 @@ const handleCloseMenu = () => {
75
75
 
76
76
  <template>
77
77
  <div>
78
- <div :class="`fixed z-50 top-0 w-full bg-surface-primary-transparent backdrop-blur-3xl ${isMenuOpen ? 'rounded-b-3xl' : 'rounded-none'}`">
78
+ <div :class="`fixed z-50 top-0 w-full bg-surface-primary-transparent backdrop-blur-3xl border-b border-surface-quaternary`">
79
79
  <div :class="`h-full px-5 ${isMenuOpen ? 'pb-5' : 'pb-0'} flex flex-col gap-2 transition-all`">
80
80
  <div class="flex justify-between items-center py-1.5">
81
81
  <a :href="homeHref" class="px-1.5 hover:opacity-80 transition-opacity">
@@ -85,12 +85,12 @@ const handleCloseMenu = () => {
85
85
  <span></span>
86
86
  </button>
87
87
  </div>
88
- <nav v-if="isMenuOpen" class="h-full text-sm">
88
+ <nav v-if="isMenuOpen" class="h-full text-sm overflow-y-auto">
89
89
  <div v-if="isServicesOpen">
90
90
  <h2 class="text-center font-bold text-body-primary py-2.5">
91
91
  {{ servicesItem?.submenuTitle }}
92
92
  </h2>
93
- <ServicesList :items="servicesItem?.submenu ?? []" />
93
+ <slot name="services" />
94
94
  <button class="pt-4" @click="isServicesOpen = false">
95
95
  <component class="w-11 h-11 text-action" :is="BackIcon" />
96
96
  </button>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codecavepro/brand",
3
- "version": "2.5.4",
3
+ "version": "2.6.0",
4
4
  "description": "CODECAVE design system — colour, typography and layout tokens as CSS custom properties and as a typed module.",
5
5
  "license": "Unlicense",
6
6
  "type": "module",