@tempots/beatui 0.32.0 → 0.32.2

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,17 +6,17 @@ export type RibbonOptions = {
6
6
  color?: Value<ThemeColorName | ExtendedColor>;
7
7
  /** Extra classes */
8
8
  class?: Value<string>;
9
- /** Band thickness (px if number). Default: 28px */
10
- thickness?: Value<number | string>;
11
9
  /** Horizontal nudge along the top edge before rotation (px if number). Default: 0px */
12
10
  inset?: Value<number | string>;
13
11
  /** Fine vertical correction to align the band crossing (px if number). Default: -1px */
14
12
  offset?: Value<number | string>;
15
13
  /** Minimum width of the band (px if number). Default: null */
16
- minWidth?: Value<number | string>;
14
+ width?: Value<number | string>;
15
+ /** Rotation angle in degrees. Default: 45 */
16
+ angle?: Value<number>;
17
17
  };
18
18
  /**
19
19
  * Ribbon: renders diagonal content at the container's top-right corner.
20
20
  * Note: The parent container should be positioned (e.g., position: relative) for best results.
21
21
  */
22
- export declare function Ribbon({ color, class: cls, thickness, inset, offset, minWidth, }: RibbonOptions, ...children: TNode[]): Renderable;
22
+ export declare function Ribbon({ color, class: cls, inset, offset, width, angle, }: RibbonOptions, ...children: TNode[]): Renderable;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tempots/beatui",
3
- "version": "0.32.0",
3
+ "version": "0.32.2",
4
4
  "type": "module",
5
5
  "main": "dist/index.umd.js",
6
6
  "module": "dist/index.es.js",