@bonprix-ds/bpds-link 1.0.0 → 1.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.
@@ -0,0 +1,2 @@
1
+ export { Link, LINK_HIDE_UNDERLINE, LINK_INVERTED, LINK_SMALL } from "./src";
2
+ export type { LinkProps } from "./src";
@@ -0,0 +1,11 @@
1
+ export declare const LINK_SMALL: readonly ["false", "true"];
2
+ export declare const LINK_HIDE_UNDERLINE: readonly ["false", "true"];
3
+ export declare const LINK_INVERTED: readonly ["false", "true"];
4
+ export type LinkSmall = (typeof LINK_SMALL)[number];
5
+ export type LinkHideUnderline = (typeof LINK_HIDE_UNDERLINE)[number];
6
+ export type LinkInverted = (typeof LINK_INVERTED)[number];
7
+ export interface LinkProps {
8
+ small?: LinkSmall;
9
+ "hide-underline"?: LinkHideUnderline;
10
+ inverted?: LinkInverted;
11
+ }
@@ -0,0 +1,20 @@
1
+ import "./link.css";
2
+ import type { LinkHideUnderline, LinkInverted, LinkSmall } from "./constants";
3
+ export { LINK_HIDE_UNDERLINE, LINK_INVERTED, LINK_SMALL, type LinkProps } from "./constants";
4
+ export declare class Link extends HTMLElement {
5
+ get small(): LinkSmall | null;
6
+ set small(value: LinkSmall | null);
7
+ get hideUnderline(): LinkHideUnderline | null;
8
+ set hideUnderline(value: LinkHideUnderline | null);
9
+ get inverted(): LinkInverted | null;
10
+ set inverted(value: LinkInverted | null);
11
+ connectedCallback(): void;
12
+ focus(options?: FocusOptions): void;
13
+ blur(): void;
14
+ private get control();
15
+ }
16
+ declare global {
17
+ interface HTMLElementTagNameMap {
18
+ "bpds-link": Link;
19
+ }
20
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bonprix-ds/bpds-link",
3
- "version": "1.0.0",
3
+ "version": "1.1.0",
4
4
  "description": "bpds-link component, implemented as a web component, for the Bonprix Design System.",
5
5
  "keywords": [],
6
6
  "license": "UNLICENSED",