@arclux/arc-ui-preact 2.0.1 → 2.1.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arclux/arc-ui-preact",
3
- "version": "2.0.1",
3
+ "version": "2.1.0",
4
4
  "description": "Preact wrappers for ARC UI Web Components.",
5
5
  "sideEffects": false,
6
6
  "type": "module",
@@ -44,7 +44,7 @@
44
44
  "preact": ">=10.19.0"
45
45
  },
46
46
  "dependencies": {
47
- "@arclux/arc-ui": "2.0.1"
47
+ "@arclux/arc-ui": "2.1.0"
48
48
  },
49
49
  "license": "MIT",
50
50
  "keywords": [
@@ -9,14 +9,15 @@ export interface TypewriterProps {
9
9
  delay?: number;
10
10
  cursor?: boolean;
11
11
  loop?: boolean;
12
+ nowrap?: boolean;
12
13
  _displayText?: string;
13
14
  _complete?: string;
14
15
  children?: preact.ComponentChildren;
15
16
  [key: string]: unknown;
16
17
  }
17
18
 
18
- export const Typewriter: FunctionComponent<TypewriterProps> = ({ text, speed, delay, cursor, loop, _displayText, _complete, children, ...rest }) => (
19
- <arc-typewriter text={text} speed={speed} delay={delay} cursor={cursor} loop={loop} _displayText={_displayText} _complete={_complete} {...rest}>
19
+ export const Typewriter: FunctionComponent<TypewriterProps> = ({ text, speed, delay, cursor, loop, nowrap, _displayText, _complete, children, ...rest }) => (
20
+ <arc-typewriter text={text} speed={speed} delay={delay} cursor={cursor} loop={loop} nowrap={nowrap} _displayText={_displayText} _complete={_complete} {...rest}>
20
21
  {children}
21
22
  </arc-typewriter>
22
23
  );