@valerius_petrini/corekit-ui 0.1.45 → 0.1.46

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.
@@ -8,6 +8,7 @@
8
8
  let {
9
9
  actions,
10
10
  class: className = "",
11
+ textClass = "",
11
12
  ...restProps
12
13
  }: TypewriterProps = $props();
13
14
 
@@ -67,7 +68,7 @@
67
68
  <div class={combinedClass} {...restProps}>
68
69
  {#each displaySegments as segment}
69
70
  {#key segment}
70
- <Text tag="span" style="color: {segment.color}">{segment.text}</Text>
71
+ <Text tag="span" class={textClass} style="color: {segment.color}">{segment.text}</Text>
71
72
  {/key}
72
73
  {/each}
73
74
  </div>
@@ -13,5 +13,6 @@ export interface DisplaySegment {
13
13
  export interface TypewriterProps {
14
14
  actions: TypewriterAction[];
15
15
  class?: string;
16
+ textClass?: string;
16
17
  [key: string]: any;
17
18
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@valerius_petrini/corekit-ui",
3
- "version": "0.1.45",
3
+ "version": "0.1.46",
4
4
  "description": "Component Library used across all my projects",
5
5
  "author": "Valerius Petrini Jr.",
6
6
  "license": "MIT",