nuxt-ignis 0.4.0-rc.2 → 0.4.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/.data/content/contents.sqlite +0 -0
- package/.nuxt/components.d.ts +524 -524
- package/.nuxt/content/components.ts +62 -62
- package/.nuxt/dev/index.mjs +1 -1
- package/.nuxt/imports.d.ts +14 -14
- package/.nuxt/manifest/latest.json +1 -1
- package/.nuxt/manifest/meta/dev.json +1 -1
- package/.nuxt/mdc-imports.mjs +1 -1
- package/.nuxt/nitro.json +3 -3
- package/.nuxt/nuxt.d.ts +7 -7
- package/.nuxt/tsconfig.json +75 -75
- package/.nuxt/tsconfig.server.json +27 -27
- package/.nuxt/types/imports.d.ts +84 -84
- package/.nuxt/types/nitro-imports.d.ts +4 -4
- package/.nuxt/types/plugins.d.ts +1 -1
- package/.nuxt/types/schema.d.ts +142 -142
- package/components/ignis/IgnisHeader.vue +2 -1
- package/package.json +1 -1
- package/public/favicon.ico +0 -0
- package/public/nuxt-ignis.png +0 -0
- package/utils/pslo-utils.ts +2 -1
|
@@ -25,6 +25,7 @@ const alt = title
|
|
|
25
25
|
display: flex;
|
|
26
26
|
flex-direction: row;
|
|
27
27
|
justify-content: center;
|
|
28
|
+
gap: 0.4em;
|
|
28
29
|
margin-top: 0.5em;
|
|
29
30
|
margin-bottom: 0.5em;
|
|
30
31
|
}
|
|
@@ -35,7 +36,7 @@ const alt = title
|
|
|
35
36
|
}
|
|
36
37
|
/* my-4 text-4xl text-amber-400 font-bold */
|
|
37
38
|
.ignis-title {
|
|
38
|
-
margin-top:
|
|
39
|
+
margin-top: 10px;
|
|
39
40
|
font-size: 2.25rem;
|
|
40
41
|
line-height: 2.5rem;
|
|
41
42
|
font-weight: bold;
|
package/package.json
CHANGED
package/public/favicon.ico
CHANGED
|
Binary file
|
package/public/nuxt-ignis.png
CHANGED
|
Binary file
|
package/utils/pslo-utils.ts
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { preventSingleLetterOrphans } from 'elrh-pslo'
|
|
2
|
+
import { log } from './consola'
|
|
2
3
|
|
|
3
4
|
// this util function proxies "preventSingleLetterOrphans" function
|
|
4
5
|
// it only applies the text transformation if relevant options is set up
|
|
5
6
|
export function pslo(text: string) {
|
|
6
7
|
if (process.env.NUXT_PUBLIC_IGNIS_PSLO_ENABLED === 'true') {
|
|
7
|
-
log.
|
|
8
|
+
log.debug(`treating text input with elrh-pslo`)
|
|
8
9
|
return preventSingleLetterOrphans(text)
|
|
9
10
|
} else {
|
|
10
11
|
return text
|