@explorer-1/vue 0.2.71 → 0.2.73

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@explorer-1/vue",
3
- "version": "0.2.71",
3
+ "version": "0.2.73",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -52,7 +52,7 @@
52
52
  </div>
53
53
  <div class="lg:flex lg:items-center lg:relative lg:h-full absolute bottom-0 z-20 w-full">
54
54
  <div
55
- class="bg-gradient-to-b lg:bg-gradient-to-l from-transparent lg:from-transparent xl:from-transparent-w25 to-black lg:to-transparent-black-75 absolute inset-0"
55
+ class="bg-gradient-to-b lg:bg-gradient-to-l from-transparent lg:from-transparent xl:from-transparent-w25 to-black lg:to-transparent-black-75 xl:to-transparent-black-75 absolute inset-0"
56
56
  ></div>
57
57
  <div
58
58
  class="lg:px-10 2xl:px-0 lg:pb-10 lg:pt-0 text-contrast container relative px-4 pt-40 pb-24 mx-auto text-white"
@@ -96,6 +96,7 @@
96
96
  >
97
97
  <NavSearchForm
98
98
  class="w-full"
99
+ placeholder="Search JPL Education"
99
100
  @clear-search="closeSearch()"
100
101
  @submit-form="closeSearch()"
101
102
  />
@@ -67,6 +67,7 @@
67
67
  <!-- search input goes here -->
68
68
  <NavSearchForm
69
69
  mobile
70
+ :placeholder="themeStore.isEdu ? 'Search JPL Education' : undefined"
70
71
  class="px-4 my-5"
71
72
  @submit-form="closeMenu()"
72
73
  />
@@ -8,9 +8,11 @@ const themeStore = useThemeStore()
8
8
 
9
9
  interface NavSearchFormProps {
10
10
  mobile?: boolean
11
+ placeholder?: string
11
12
  }
12
13
  const props = withDefaults(defineProps<NavSearchFormProps>(), {
13
- mobile: false
14
+ mobile: false,
15
+ placeholder: 'Search JPL'
14
16
  })
15
17
  const emit = defineEmits(['clearSearch', 'submitForm'])
16
18
 
@@ -35,7 +37,7 @@ const submitSearch = () => {
35
37
  >
36
38
  <SearchInput
37
39
  v-model="searchQuery"
38
- placeholder="Search JPL"
40
+ :placeholder="placeholder"
39
41
  :underlined-input="!props.mobile"
40
42
  :underlined-input-value="searchQuery"
41
43
  :auto-focus="!props.mobile"