tecitheme 0.6.1 → 0.7.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.
Files changed (48) hide show
  1. package/dist/assets/TECi_logo.svelte.d.ts +2 -2
  2. package/dist/assets/js/store.d.ts +1 -0
  3. package/dist/components/Accordion.svelte.d.ts +2 -2
  4. package/dist/components/Banner.svelte.d.ts +5 -3
  5. package/dist/components/Button.svelte +2 -1
  6. package/dist/components/Button.svelte.d.ts +4 -2
  7. package/dist/components/CTA.svelte.d.ts +2 -2
  8. package/dist/components/CTASplitImage.svelte +1 -1
  9. package/dist/components/CTASplitImage.svelte.d.ts +2 -2
  10. package/dist/components/Card.svelte +2 -2
  11. package/dist/components/Card.svelte.d.ts +2 -2
  12. package/dist/components/CognitoForm.svelte +21 -0
  13. package/dist/components/CognitoForm.svelte.d.ts +27 -0
  14. package/dist/components/ContentTwoColumns.svelte.d.ts +2 -2
  15. package/dist/components/CountrySelector.svelte.d.ts +2 -2
  16. package/dist/components/FeatureGrid.svelte.d.ts +2 -2
  17. package/dist/components/Figure.svelte +4 -4
  18. package/dist/components/Figure.svelte.d.ts +2 -2
  19. package/dist/components/Footer.svelte +15 -23
  20. package/dist/components/Footer.svelte.d.ts +2 -2
  21. package/dist/components/Header.svelte +46 -98
  22. package/dist/components/Header.svelte.d.ts +2 -2
  23. package/dist/components/HeadingCentered.svelte.d.ts +2 -2
  24. package/dist/components/Hero.svelte +2 -2
  25. package/dist/components/Hero.svelte.d.ts +2 -2
  26. package/dist/components/Icon.svelte +11 -11
  27. package/dist/components/Icon.svelte.d.ts +2 -2
  28. package/dist/components/LogoCloud.svelte.d.ts +2 -2
  29. package/dist/components/Math.svelte.d.ts +2 -2
  30. package/dist/components/MediaFeature.svelte +4 -4
  31. package/dist/components/MediaFeature.svelte.d.ts +2 -2
  32. package/dist/components/Modal.svelte.d.ts +2 -2
  33. package/dist/components/NewsGrid.svelte.d.ts +2 -2
  34. package/dist/components/PricingTable.svelte +12 -10
  35. package/dist/components/PricingTable.svelte.d.ts +2 -2
  36. package/dist/components/SidebarContent.svelte.d.ts +2 -2
  37. package/dist/components/Stats.svelte +1 -1
  38. package/dist/components/Stats.svelte.d.ts +2 -2
  39. package/dist/components/Testimonial.svelte +27 -30
  40. package/dist/components/Testimonial.svelte.d.ts +2 -2
  41. package/dist/components/ThreeColumn.svelte.d.ts +2 -2
  42. package/dist/components/TrialForm.svelte.d.ts +2 -2
  43. package/dist/components/Video.svelte +4 -4
  44. package/dist/components/Video.svelte.d.ts +2 -2
  45. package/dist/components/Wrap.svelte.d.ts +2 -2
  46. package/dist/layouts/blocks.svelte +2 -2
  47. package/dist/layouts/blocks.svelte.d.ts +2 -2
  48. package/package.json +24 -24
@@ -1,7 +1,7 @@
1
1
  /** @typedef {typeof __propDef.props} SidebarContentProps */
2
2
  /** @typedef {typeof __propDef.events} SidebarContentEvents */
3
3
  /** @typedef {typeof __propDef.slots} SidebarContentSlots */
4
- export default class SidebarContent extends SvelteComponentTyped<{
4
+ export default class SidebarContent extends SvelteComponent<{
5
5
  data: any;
6
6
  title: any;
7
7
  date: any;
@@ -15,7 +15,7 @@ export default class SidebarContent extends SvelteComponentTyped<{
15
15
  export type SidebarContentProps = typeof __propDef.props;
16
16
  export type SidebarContentEvents = typeof __propDef.events;
17
17
  export type SidebarContentSlots = typeof __propDef.slots;
18
- import { SvelteComponentTyped } from "svelte";
18
+ import { SvelteComponent } from "svelte";
19
19
  declare const __propDef: {
20
20
  props: {
21
21
  data: any;
@@ -32,7 +32,7 @@
32
32
  </dl>
33
33
  </div>
34
34
  <figure>
35
- <img class="w-full" alt="{(data.imageAltText?data.imageAltText:data.heading)}" src="https://teci-files.imgix.net/www/images/{data.image}?w=1152&fit=crop&auto=compress&auto=format">
35
+ <img class="w-full" alt="{(data.imageAltText?data.imageAltText:data.heading)}" src="https://teci.imgix.net/www/images/{data.image}?w=1152&fit=crop&auto=compress&auto=format">
36
36
  </figure>
37
37
  </div>
38
38
  </div>
@@ -1,7 +1,7 @@
1
1
  /** @typedef {typeof __propDef.props} StatsProps */
2
2
  /** @typedef {typeof __propDef.events} StatsEvents */
3
3
  /** @typedef {typeof __propDef.slots} StatsSlots */
4
- export default class Stats extends SvelteComponentTyped<{
4
+ export default class Stats extends SvelteComponent<{
5
5
  data: any;
6
6
  }, {
7
7
  [evt: string]: CustomEvent<any>;
@@ -10,7 +10,7 @@ export default class Stats extends SvelteComponentTyped<{
10
10
  export type StatsProps = typeof __propDef.props;
11
11
  export type StatsEvents = typeof __propDef.events;
12
12
  export type StatsSlots = typeof __propDef.slots;
13
- import { SvelteComponentTyped } from "svelte";
13
+ import { SvelteComponent } from "svelte";
14
14
  declare const __propDef: {
15
15
  props: {
16
16
  data: any;
@@ -1,8 +1,10 @@
1
1
  <script>
2
+ import Button from './Button.svelte'
2
3
  import Icon from './Icon.svelte'
3
4
 
4
5
  import { getColorStyles } from '../utils'
5
6
  import { slide } from 'svelte/transition';
7
+ import { quintInOut } from 'svelte/easing';
6
8
  import { onMount } from 'svelte'
7
9
 
8
10
  export let data;
@@ -11,7 +13,7 @@ import Icon from './Icon.svelte'
11
13
  let interval = 12000;
12
14
  let auto = true;
13
15
  let slideInterval;
14
- let id
16
+ let id;
15
17
 
16
18
  if (data.name) {
17
19
  id = encodeURIComponent(data.name).toLowerCase()
@@ -42,17 +44,6 @@ import Icon from './Icon.svelte'
42
44
  index = (index + 1) % data.quotes.length;
43
45
  setSlideAutomation();
44
46
  };
45
-
46
- function fadeSlide(node, options) {
47
- const slideTrans = slide(node, options);
48
- return {
49
- duration: options.duration,
50
- css: (t) => `
51
- ${slideTrans.css(t)}
52
- opacity: ${t};
53
- `,
54
- };
55
- }
56
47
  </script>
57
48
 
58
49
  <section {id} class="overflow-hidden">
@@ -92,14 +83,13 @@ import Icon from './Icon.svelte'
92
83
  class="relative flex h-auto flex-col items-center justify-items-center"
93
84
  >
94
85
  {#each [data.quotes[index]] as quote (index)}
95
- <div
96
- transition:fadeSlide="{{ duration: 300 }}"
86
+ <div transition:slide={{ duration: 1000, easing:quintInOut, axis: 'y' }}
97
87
  class="relative mx-auto w-full lg:flex lg:items-center"
98
88
  >
99
89
  <div class="hidden lg:block lg:flex-shrink-0">
100
90
  <img
101
91
  class="h-64 w-64 rounded-full xl:h-80 xl:w-80"
102
- src="https://teci-files.imgix.net/www/images/{quote.image}?w=320&fit=facearea,crop&facepad=3&monochrome=9B9B9B&auto=compress&auto=format"
92
+ src="https://teci.imgix.net/www/images/{quote.image}?w=320&fit=facearea,crop&facepad=3&monochrome=9B9B9B&auto=compress&auto=format"
103
93
  alt="Image of {quote.fullname}"
104
94
  title="{quote.fullname}"
105
95
  />
@@ -134,24 +124,31 @@ import Icon from './Icon.svelte'
134
124
  </svg>
135
125
  </div>
136
126
  <footer class="mt-8">
137
- <div class="flex">
138
- <div class="flex-shrink-0 lg:hidden">
139
- <img
140
- class="h-12 w-12 rounded-full"
141
- src="https://teci-files.imgix.net/www/images/{quote.image}?w=48&fit=clip&monochrome=9B9B9B&auto=compress&auto=format"
142
- alt="Thumbnail Image of {quote.fullname}"
143
- />
144
- </div>
145
- <div class="ml-4 lg:ml-0">
146
- <div class="text-base text-gray-900">
147
- {quote.fullname}
127
+ <div class="flex flex-col sm:flex-row justify-between">
128
+ <div class="flex flex-row">
129
+ <div class="flex-shrink-0 lg:hidden">
130
+ <img
131
+ class="h-12 w-12 rounded-full"
132
+ src="https://teci.imgix.net/www/images/{quote.image}?w=48&fit=clip&monochrome=9B9B9B&auto=compress&auto=format"
133
+ alt="Thumbnail Image of {quote.fullname}"
134
+ />
148
135
  </div>
149
- <div
150
- class="text-base font-medium {getColorStyles('text', data.color)}"
151
- >
152
- {quote.fulltitle}
136
+ <div class="ml-4 lg:ml-0">
137
+ <div class="text-base text-gray-900">
138
+ {quote.fullname}
139
+ </div>
140
+ <div
141
+ class="text-base font-medium {getColorStyles('text', data.color)}"
142
+ >
143
+ {quote.fulltitle}
144
+ </div>
153
145
  </div>
154
146
  </div>
147
+ {#if quote.url}
148
+ <div class="sm:pl-4 pb-2 lg:pb-0 pt-4">
149
+ <Button text="Read More" url={quote.url} justify="right" fullwidth=true color="ventus" />
150
+ </div>
151
+ {/if}
155
152
  </div>
156
153
  </footer>
157
154
  </blockquote>
@@ -1,7 +1,7 @@
1
1
  /** @typedef {typeof __propDef.props} TestimonialProps */
2
2
  /** @typedef {typeof __propDef.events} TestimonialEvents */
3
3
  /** @typedef {typeof __propDef.slots} TestimonialSlots */
4
- export default class Testimonial extends SvelteComponentTyped<{
4
+ export default class Testimonial extends SvelteComponent<{
5
5
  data: any;
6
6
  }, {
7
7
  [evt: string]: CustomEvent<any>;
@@ -10,7 +10,7 @@ export default class Testimonial extends SvelteComponentTyped<{
10
10
  export type TestimonialProps = typeof __propDef.props;
11
11
  export type TestimonialEvents = typeof __propDef.events;
12
12
  export type TestimonialSlots = typeof __propDef.slots;
13
- import { SvelteComponentTyped } from "svelte";
13
+ import { SvelteComponent } from "svelte";
14
14
  declare const __propDef: {
15
15
  props: {
16
16
  data: any;
@@ -1,7 +1,7 @@
1
1
  /** @typedef {typeof __propDef.props} ThreeColumnProps */
2
2
  /** @typedef {typeof __propDef.events} ThreeColumnEvents */
3
3
  /** @typedef {typeof __propDef.slots} ThreeColumnSlots */
4
- export default class ThreeColumn extends SvelteComponentTyped<{
4
+ export default class ThreeColumn extends SvelteComponent<{
5
5
  data: any;
6
6
  }, {
7
7
  [evt: string]: CustomEvent<any>;
@@ -10,7 +10,7 @@ export default class ThreeColumn extends SvelteComponentTyped<{
10
10
  export type ThreeColumnProps = typeof __propDef.props;
11
11
  export type ThreeColumnEvents = typeof __propDef.events;
12
12
  export type ThreeColumnSlots = typeof __propDef.slots;
13
- import { SvelteComponentTyped } from "svelte";
13
+ import { SvelteComponent } from "svelte";
14
14
  declare const __propDef: {
15
15
  props: {
16
16
  data: any;
@@ -1,4 +1,4 @@
1
- import { SvelteComponentTyped } from "svelte";
1
+ import { SvelteComponent } from "svelte";
2
2
  declare const __propDef: {
3
3
  props: Record<string, never>;
4
4
  events: {
@@ -9,6 +9,6 @@ declare const __propDef: {
9
9
  export type TrialFormProps = typeof __propDef.props;
10
10
  export type TrialFormEvents = typeof __propDef.events;
11
11
  export type TrialFormSlots = typeof __propDef.slots;
12
- export default class TrialForm extends SvelteComponentTyped<TrialFormProps, TrialFormEvents, TrialFormSlots> {
12
+ export default class TrialForm extends SvelteComponent<TrialFormProps, TrialFormEvents, TrialFormSlots> {
13
13
  }
14
14
  export {};
@@ -47,7 +47,7 @@
47
47
  if (v) {
48
48
  if (v.includes("mp4")) {
49
49
  youtube = false;
50
- videoURL = `https://teci-files.imgix.net/www/videos/${v}`;
50
+ videoURL = `https://teci.imgix.net/www/videos/${v}`;
51
51
  } else {
52
52
  youtube = true;
53
53
  videoID = v;
@@ -55,7 +55,7 @@
55
55
  } else if (data.v) {
56
56
  if (data.v.includes("mp4")) {
57
57
  youtube = false;
58
- videoURL = `https://teci-files.imgix.net/www/videos/${data.v}`;
58
+ videoURL = `https://teci.imgix.net/www/videos/${data.v}`;
59
59
  } else {
60
60
  youtube = true;
61
61
  videoID = data.v;
@@ -66,9 +66,9 @@
66
66
  };
67
67
 
68
68
  if (thumbnail) {
69
- thumb = `https://teci-files.imgix.net/www/images/${thumbnail}?w=1214&fit=clip&auto=compress&auto=format`;
69
+ thumb = `https://teci.imgix.net/www/images/${thumbnail}?w=1214&fit=clip&auto=compress&auto=format`;
70
70
  } else if (data.thumbnail) {
71
- thumb = `https://teci-files.imgix.net/www/images/${data.thumbnail}?w=1214&fit=clip&auto=compress&auto=format`;
71
+ thumb = `https://teci.imgix.net/www/images/${data.thumbnail}?w=1214&fit=clip&auto=compress&auto=format`;
72
72
  } else if (videoID) {
73
73
  if (youtube) {
74
74
  thumb = `https://i.ytimg.com/vi/${videoID}/maxresdefault.jpg`;
@@ -1,7 +1,7 @@
1
1
  /** @typedef {typeof __propDef.props} VideoProps */
2
2
  /** @typedef {typeof __propDef.events} VideoEvents */
3
3
  /** @typedef {typeof __propDef.slots} VideoSlots */
4
- export default class Video extends SvelteComponentTyped<{
4
+ export default class Video extends SvelteComponent<{
5
5
  data?: {};
6
6
  v?: string;
7
7
  thumbnail?: string;
@@ -12,7 +12,7 @@ export default class Video extends SvelteComponentTyped<{
12
12
  export type VideoProps = typeof __propDef.props;
13
13
  export type VideoEvents = typeof __propDef.events;
14
14
  export type VideoSlots = typeof __propDef.slots;
15
- import { SvelteComponentTyped } from "svelte";
15
+ import { SvelteComponent } from "svelte";
16
16
  declare const __propDef: {
17
17
  props: {
18
18
  data?: {};
@@ -1,7 +1,7 @@
1
1
  /** @typedef {typeof __propDef.props} WrapProps */
2
2
  /** @typedef {typeof __propDef.events} WrapEvents */
3
3
  /** @typedef {typeof __propDef.slots} WrapSlots */
4
- export default class Wrap extends SvelteComponentTyped<{
4
+ export default class Wrap extends SvelteComponent<{
5
5
  [x: string]: any;
6
6
  tag?: string;
7
7
  when?: boolean;
@@ -14,7 +14,7 @@ export default class Wrap extends SvelteComponentTyped<{
14
14
  export type WrapProps = typeof __propDef.props;
15
15
  export type WrapEvents = typeof __propDef.events;
16
16
  export type WrapSlots = typeof __propDef.slots;
17
- import { SvelteComponentTyped } from "svelte";
17
+ import { SvelteComponent } from "svelte";
18
18
  declare const __propDef: {
19
19
  props: {
20
20
  [x: string]: any;
@@ -50,9 +50,9 @@
50
50
  let featuredImage;
51
51
 
52
52
  if (image) {
53
- featuredImage = "https://teci-files.imgix.net/www/images/" + image + "?w=1200&h=627&fit=crop&auto=compress&auto=format";
53
+ featuredImage = "https://teci.imgix.net/www/images/" + image + "?w=1200&h=627&fit=crop&auto=compress&auto=format";
54
54
  } else {
55
- featuredImage = "https://teci-files.imgix.net/www/images/teci_icon_250.png";
55
+ featuredImage = "https://teci.imgix.net/www/images/teci_icon_250.png";
56
56
  }
57
57
  </script>
58
58
 
@@ -1,7 +1,7 @@
1
1
  /** @typedef {typeof __propDef.props} BlocksProps */
2
2
  /** @typedef {typeof __propDef.events} BlocksEvents */
3
3
  /** @typedef {typeof __propDef.slots} BlocksSlots */
4
- export default class Blocks extends SvelteComponentTyped<{
4
+ export default class Blocks extends SvelteComponent<{
5
5
  title: any;
6
6
  date: any;
7
7
  summary: any;
@@ -18,7 +18,7 @@ export default class Blocks extends SvelteComponentTyped<{
18
18
  export type BlocksProps = typeof __propDef.props;
19
19
  export type BlocksEvents = typeof __propDef.events;
20
20
  export type BlocksSlots = typeof __propDef.slots;
21
- import { SvelteComponentTyped } from "svelte";
21
+ import { SvelteComponent } from "svelte";
22
22
  declare const __propDef: {
23
23
  props: {
24
24
  title: any;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tecitheme",
3
- "version": "0.6.1",
3
+ "version": "0.7.0",
4
4
  "license": "MIT",
5
5
  "scripts": {
6
6
  "dev": "vite dev",
@@ -27,45 +27,45 @@
27
27
  "dist"
28
28
  ],
29
29
  "peerDependencies": {
30
- "@sveltejs/kit": "^1.20.2",
31
- "svelte": "^3.59.1"
30
+ "@sveltejs/kit": "^1.22.2",
31
+ "svelte": "^4.0.5"
32
32
  },
33
33
  "devDependencies": {
34
- "@fontsource-variable/inter": "^5.0.3",
35
- "@fontsource/material-icons-outlined": "^5.0.3",
34
+ "@fontsource-variable/inter": "^5.0.5",
35
+ "@fontsource/material-icons-outlined": "^5.0.5",
36
36
  "@sveltejs/adapter-static": "2.0.2",
37
- "@sveltejs/kit": "^1.20.2",
38
- "@sveltejs/package": "^2.0.2",
37
+ "@sveltejs/kit": "^1.22.2",
38
+ "@sveltejs/package": "^2.2.0",
39
39
  "@tailwindcss/forms": "^0.5.3",
40
40
  "@tailwindcss/typography": "^0.5.9",
41
- "@tsconfig/svelte": "^4.0.1",
42
- "@typescript-eslint/eslint-plugin": "^5.59.11",
43
- "@typescript-eslint/parser": "^5.59.11",
41
+ "@tsconfig/svelte": "^5.0.0",
42
+ "@typescript-eslint/eslint-plugin": "^5.61.0",
43
+ "@typescript-eslint/parser": "^5.61.0",
44
44
  "autoprefixer": "^10.4.14",
45
- "eslint": "^8.42.0",
45
+ "eslint": "^8.44.0",
46
46
  "eslint-config-prettier": "^8.8.0",
47
- "eslint-plugin-svelte3": "^4.0.0",
47
+ "eslint-plugin-svelte": "^2.32.2",
48
48
  "html-to-text": "^9.0.5",
49
49
  "markdown-yaml-metadata-parser": "^3.0.0",
50
- "mdsvex": "^0.10.6",
51
- "postcss": "^8.4.24",
52
- "prettier": "^2.8.8",
53
- "prettier-plugin-tailwindcss": "^0.3.0",
50
+ "mdsvex": "^0.11.0",
51
+ "postcss": "^8.4.25",
52
+ "prettier": "^3.0.0",
53
+ "prettier-plugin-tailwindcss": "^0.4.0",
54
54
  "rehype-slug": "^5.1.0",
55
- "svelte": "^3.59.1",
56
- "svelte-check": "^3.4.3",
55
+ "svelte": "^4.0.5",
56
+ "svelte-check": "^3.4.6",
57
57
  "svelte-paginate": "^0.1.0",
58
58
  "svelte-preprocess": "^5.0.4",
59
- "svelte2tsx": "^0.6.15",
59
+ "svelte2tsx": "^0.6.19",
60
60
  "sveltekit-autoimport": "^1.7.0",
61
61
  "tailwindcss": "^3.3.2",
62
- "tslib": "^2.5.3",
63
- "typescript": "^5.1.3",
62
+ "tslib": "^2.6.0",
63
+ "typescript": "^5.1.6",
64
64
  "uuid-by-string": "^4.0.0",
65
- "vite": "^4.3.9"
65
+ "vite": "^4.4.3"
66
66
  },
67
67
  "dependencies": {
68
- "katex": "^0.16.7",
69
- "svelte": "^3.59.1"
68
+ "katex": "^0.16.8",
69
+ "svelte": "^4.0.5"
70
70
  }
71
71
  }