tecitheme 0.0.10 → 0.0.13

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.
@@ -1,16 +1,27 @@
1
1
  /** @typedef {typeof __propDef.props} HeaderProps */
2
2
  /** @typedef {typeof __propDef.events} HeaderEvents */
3
3
  /** @typedef {typeof __propDef.slots} HeaderSlots */
4
- export default class Header extends SvelteComponentTyped<{}, {
4
+ export default class Header extends SvelteComponentTyped<{
5
+ clickOutside?: (node: any) => {
6
+ destroy(): void;
7
+ };
8
+ }, {
5
9
  [evt: string]: CustomEvent<any>;
6
10
  }, {}> {
11
+ get clickOutside(): (node: any) => {
12
+ destroy(): void;
13
+ };
7
14
  }
8
15
  export type HeaderProps = typeof __propDef.props;
9
16
  export type HeaderEvents = typeof __propDef.events;
10
17
  export type HeaderSlots = typeof __propDef.slots;
11
18
  import { SvelteComponentTyped } from "svelte";
12
19
  declare const __propDef: {
13
- props: {};
20
+ props: {
21
+ clickOutside?: (node: any) => {
22
+ destroy(): void;
23
+ };
24
+ };
14
25
  events: {
15
26
  [evt: string]: CustomEvent<any>;
16
27
  };
@@ -4,33 +4,59 @@
4
4
  export let classes;
5
5
  </script>
6
6
 
7
- <div>
8
7
  {#if icon == 'pyrosim'}
9
- <img
10
- class={classes}
11
- src="https://files.thunderheadeng.com/www/images/pyrosim_icon.svg"
12
- alt="PyroSim"
13
- title="PyroSim Icon"
14
- />
8
+ <span class="not-prose">
9
+ <img
10
+ class={classes}
11
+ src="https://files.thunderheadeng.com/www/images/pyrosim_icon.svg"
12
+ alt="PyroSim"
13
+ title="PyroSim Icon"
14
+ />
15
+ </span>
16
+ {:else if icon == 'pyrosim-results'}
17
+ <span class="not-prose">
18
+ <img
19
+ class={classes}
20
+ src="https://files.thunderheadeng.com/www/images/pyrosim-results_icon.svg"
21
+ alt="PyroSim Results"
22
+ title="PyroSim Results Icon"
23
+ />
24
+ </span>
15
25
  {:else if icon == 'pathfinder'}
16
- <img
17
- class={classes}
18
- src="https://files.thunderheadeng.com/www/images/pathfinder_icon.svg"
19
- alt="Pathfinder"
20
- title="Pathfinder Icon"
21
- />
26
+ <span class="not-prose">
27
+ <img
28
+ class={classes}
29
+ src="https://files.thunderheadeng.com/www/images/pathfinder_icon.svg"
30
+ alt="Pathfinder"
31
+ title="Pathfinder Icon"
32
+ />
33
+ </span>
34
+ {:else if icon == 'pathfinder-results'}
35
+ <span class="not-prose">
36
+ <img
37
+ class={classes}
38
+ src="https://files.thunderheadeng.com/www/images/pathfinder-results_icon.svg"
39
+ alt="Pathfinder Results"
40
+ title="Pathfinder Results Icon"
41
+ />
42
+ </span>
22
43
  {:else if icon == 'petrasim'}
44
+ <span class="not-prose">
23
45
  <img
24
46
  class={classes}
25
47
  src="https://files.thunderheadeng.com/www/images/petrasim_icon.svg"
26
48
  alt="PetraSim"
27
- title="PetraSim Icon"
49
+ title="PetraSim Icon"
28
50
  />
51
+ </span>
29
52
  {:else if icon?.startsWith("icon-")}
30
- <div class="{classes} w-12 bg-teci-blue-dark flex flex-col justify-center items-center">
53
+ <span class="not-prose">
54
+ <div class="{classes} bg-teci-blue-dark flex flex-col justify-center items-center">
31
55
  <span class="material-icons block text-4xl text-white">{icon?.slice(5)}</span>
32
56
  </div>
57
+ </span>
33
58
  {:else}
59
+ <span class="not-prose">
34
60
  <svg class={classes} xmlns="http://www.w3.org/2000/svg" viewBox="0 0 250 250">
35
61
  <path
36
62
  style="fill:#0c3879;fill-rule:evenodd;stroke:none"
@@ -48,5 +74,5 @@
48
74
  transform="matrix(2.5596 0 0 2.5596 -225.533 -564.483)"
49
75
  />
50
76
  </svg>
51
- {/if}
52
- </div>
77
+ </span>
78
+ {/if}
@@ -5,7 +5,7 @@
5
5
 
6
6
  <div class="relative mx-auto w-full divide-y-2 divide-gray-200">
7
7
  <div>
8
- <h2 class="text-3xl font-extrabold tracking-tight text-gray-900 sm:text-4xl">
8
+ <h2 class="text-3xl font-bold tracking-tight text-gray-900 sm:text-4xl">
9
9
  {data.title}
10
10
  </h2>
11
11
  <div class="mt-3 sm:mt-4 lg:grid lg:grid-cols-2 lg:items-center lg:gap-5">
@@ -15,7 +15,7 @@
15
15
  {data.toptext}
16
16
  </h2>
17
17
  {/if}
18
- <p class="mt-1 text-4xl font-extrabold text-gray-900 sm:text-5xl sm:tracking-tight lg:text-6xl">
18
+ <p class="mt-1 text-4xl font-bold text-gray-900 sm:text-5xl sm:tracking-tight lg:text-6xl">
19
19
  {data.title}
20
20
  </p>
21
21
  {#if data.subtitle}
@@ -51,7 +51,7 @@
51
51
  {/if}
52
52
  <div class="flex flex-row items-start space-x-4">
53
53
  {#if col.icon}
54
- <Icon classes="h-12 w-auto" icon={col.icon} />
54
+ <Icon classes="h-12 w-12" icon={col.icon} />
55
55
  {/if}
56
56
  <div class="leading-none font-medium flex flex-col">
57
57
  <h3 class="text-2xl leading-none">{col.heading}</h3>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tecitheme",
3
- "version": "0.0.10",
3
+ "version": "0.0.13",
4
4
  "svelte": true,
5
5
  "devDependencies": {
6
6
  "@jsdevtools/rehype-toc": "^3.0.2",