@alphacifer/slidev-addon-theme 0.0.4 → 0.0.5

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.
@@ -6,8 +6,8 @@ defineOptions({
6
6
  });
7
7
 
8
8
  interface ITransitionHeadingProps {
9
- readonly center?: boolean;
10
9
  readonly idle?: boolean;
10
+ readonly center?: boolean;
11
11
  }
12
12
 
13
13
  const props = withDefaults(defineProps<ITransitionHeadingProps>(), {
@@ -16,7 +16,7 @@ const props = withDefaults(defineProps<ITransitionHeadingProps>(), {
16
16
  });
17
17
 
18
18
  const { className, forwardedAttrs } = useMergedUnoAttrs(() => [
19
- 'alpha-transition-heading transition-all duration-700 ease-in-out absolute whitespace-nowrap',
19
+ 'alpha-transition-heading transition-all duration-700 ease-in-out absolute w-[calc(100%-7rem)] whitespace-normal',
20
20
  {
21
21
  'top-[50%] left-[50%] translate-[-50%,-50%]': props.center,
22
22
  'top-[2.5rem] left-[3.5rem] translate-[0,0]': props.idle || !props.center,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alphacifer/slidev-addon-theme",
3
- "version": "0.0.4",
3
+ "version": "0.0.5",
4
4
  "description": "All Slidev addons for Alpha presentations",
5
5
  "type": "module",
6
6
  "keywords": [