@odx/foundation 1.0.0-beta.35 → 1.0.0-beta.36

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/README.md CHANGED
@@ -9,8 +9,7 @@ The `@odx/foundation` package is an integral element of the ODX Design System, o
9
9
  - **Typography**: Predefined typography styles for headers, paragraphs, and other text elements to ensure a cohesive look and feel.
10
10
  - **Global Styles**: Comprehensive global styles that set the base for your application's design, including colors, spacing, and more.
11
11
 
12
- ### Prequisites
13
-
12
+ ### Prerequisites
14
13
 
15
14
  ### Install
16
15
 
@@ -0,0 +1,32 @@
1
+ import { EnumString } from '../../lib/main.js';
2
+ import { PropertyValues, TemplateResult } from 'lit';
3
+ import { OdxIconButton } from '../icon-button/icon-button.js';
4
+ declare global {
5
+ interface HTMLElementTagNameMap {
6
+ 'odx-action-button': OdxActionButton;
7
+ }
8
+ }
9
+ export type ActionButtonState = EnumString<typeof ActionButtonState>;
10
+ export declare const ActionButtonState: Pick<{
11
+ readonly ERROR: "error";
12
+ readonly LOADING: "loading";
13
+ readonly SUCCESS: "success";
14
+ }, "ERROR" | "LOADING" | "SUCCESS">;
15
+ export declare class OdxActionButton extends OdxIconButton {
16
+ #private;
17
+ private showMessage;
18
+ state?: ActionButtonState;
19
+ errorIcon: OdxIconName;
20
+ errorMessage?: string;
21
+ successIcon: OdxIconName;
22
+ successMessage?: string;
23
+ cancelable: boolean;
24
+ clearDuration: number;
25
+ messageTimeout: number;
26
+ connectedCallback(): void;
27
+ protected firstUpdated(props: PropertyValues<this>): void;
28
+ get stateIcon(): OdxIconName | undefined;
29
+ protected render(): TemplateResult;
30
+ protected renderContent(): TemplateResult;
31
+ }
32
+ //# sourceMappingURL=action-button.d.ts.map
@@ -14,7 +14,7 @@ export declare const BadgeVariant: Pick<{
14
14
  readonly WARNING: "warning";
15
15
  readonly DANGER: "danger";
16
16
  readonly GHOST: "ghost";
17
- }, "NEUTRAL" | "PRIMARY" | "ACCENT" | "SUCCESS" | "WARNING" | "DANGER">;
17
+ }, "SUCCESS" | "NEUTRAL" | "PRIMARY" | "ACCENT" | "WARNING" | "DANGER">;
18
18
  export declare class OdxBadge extends CustomElement {
19
19
  compact?: boolean;
20
20
  pulse?: boolean;
@@ -14,7 +14,7 @@ export declare const ChipVariant: Pick<{
14
14
  readonly WARNING: "warning";
15
15
  readonly DANGER: "danger";
16
16
  readonly GHOST: "ghost";
17
- }, "NEUTRAL" | "PRIMARY" | "ACCENT" | "SUCCESS" | "WARNING" | "DANGER">;
17
+ }, "SUCCESS" | "NEUTRAL" | "PRIMARY" | "ACCENT" | "WARNING" | "DANGER">;
18
18
  declare const OdxChip_base: import('../../lib/main.js').Constructor<CanBeDisabled> & typeof CustomElement;
19
19
  export declare class OdxChip extends OdxChip_base {
20
20
  #private;
@@ -1,4 +1,4 @@
1
- import { CanBeDisabled, EnumString, OdxPopover, PopoverHost, PopoverPlacementOptions } from '../../lib/main.js';
1
+ import { EnumString, OdxPopover, PopoverHost, PopoverPlacementOptions } from '../../lib/main.js';
2
2
  import { PropertyValues, TemplateResult } from 'lit';
3
3
  declare global {
4
4
  interface HTMLElementTagNameMap {
@@ -10,8 +10,7 @@ export declare const DropdownPlacement: {
10
10
  readonly TOP: "top";
11
11
  readonly BOTTOM: "bottom";
12
12
  };
13
- declare const OdxDropdown_base: import('../../lib/main.js').Constructor<CanBeDisabled> & typeof PopoverHost;
14
- export declare class OdxDropdown extends OdxDropdown_base {
13
+ export declare class OdxDropdown extends PopoverHost {
15
14
  #private;
16
15
  popoverElement: OdxPopover;
17
16
  matchReferenceWidth: boolean;
@@ -27,5 +26,4 @@ export declare class OdxDropdown extends OdxDropdown_base {
27
26
  protected render(): TemplateResult;
28
27
  protected willUpdate(props: PropertyValues<this>): void;
29
28
  }
30
- export {};
31
29
  //# sourceMappingURL=dropdown.d.ts.map
@@ -14,7 +14,7 @@ export declare const InlineMessageVariant: Pick<{
14
14
  readonly WARNING: "warning";
15
15
  readonly DANGER: "danger";
16
16
  readonly GHOST: "ghost";
17
- }, "NEUTRAL" | "ACCENT" | "SUCCESS" | "WARNING" | "DANGER">;
17
+ }, "SUCCESS" | "NEUTRAL" | "ACCENT" | "WARNING" | "DANGER">;
18
18
  export declare class OdxInlineMessage extends CustomElement {
19
19
  closable: boolean;
20
20
  emphasized: boolean;
@@ -23,7 +23,7 @@ export declare const KpiVariant: Pick<{
23
23
  readonly WARNING: "warning";
24
24
  readonly DANGER: "danger";
25
25
  readonly GHOST: "ghost";
26
- }, "NEUTRAL" | "ACCENT" | "SUCCESS" | "DANGER">;
26
+ }, "SUCCESS" | "NEUTRAL" | "ACCENT" | "DANGER">;
27
27
  export declare class OdxKpi extends CustomElement {
28
28
  label: string;
29
29
  unit?: string;
@@ -1,4 +1,5 @@
1
1
  export * from './accordion/index.js';
2
+ export * from './action-button/action-button.js';
2
3
  export * from './anchor-navigation/index.js';
3
4
  export * from './area-header/area-header.js';
4
5
  export * from './avatar-group/avatar-group.js';
@@ -19,7 +19,7 @@ export declare class OdxModal extends CustomElement {
19
19
  private dialog;
20
20
  private modalContainer;
21
21
  backdropDisabled?: boolean;
22
- dismissable?: boolean;
22
+ dismissible?: boolean;
23
23
  open: boolean;
24
24
  layout?: ModalLayout;
25
25
  constructor();
@@ -14,7 +14,7 @@ export declare const StatusVariant: Pick<{
14
14
  readonly WARNING: "warning";
15
15
  readonly DANGER: "danger";
16
16
  readonly GHOST: "ghost";
17
- }, "NEUTRAL" | "ACCENT" | "SUCCESS" | "WARNING" | "DANGER">;
17
+ }, "SUCCESS" | "NEUTRAL" | "ACCENT" | "WARNING" | "DANGER">;
18
18
  export declare class OdxStatus extends CustomElement {
19
19
  pulse: boolean;
20
20
  variant?: StatusVariant;
@@ -22,7 +22,7 @@ export declare const TextVariant: Pick<{
22
22
  readonly WARNING: "warning";
23
23
  readonly DANGER: "danger";
24
24
  readonly GHOST: "ghost";
25
- }, "NEUTRAL" | "ACCENT" | "SUCCESS" | "DANGER">;
25
+ }, "SUCCESS" | "NEUTRAL" | "ACCENT" | "DANGER">;
26
26
  export declare class OdxText extends CustomElement {
27
27
  emphasized: boolean;
28
28
  size?: TextSize;
@@ -14,7 +14,7 @@ export declare const ToastVariant: Pick<{
14
14
  readonly WARNING: "warning";
15
15
  readonly DANGER: "danger";
16
16
  readonly GHOST: "ghost";
17
- }, "NEUTRAL" | "ACCENT" | "SUCCESS" | "WARNING" | "DANGER">;
17
+ }, "SUCCESS" | "NEUTRAL" | "ACCENT" | "WARNING" | "DANGER">;
18
18
  export declare class OdxToast extends CustomElement {
19
19
  variant?: ToastVariant | null;
20
20
  protected render(): TemplateResult;
@@ -24,10 +24,13 @@ export declare class OdxTooltip extends PopoverHost {
24
24
  #private;
25
25
  placement: "top";
26
26
  interactive: boolean;
27
+ manual: boolean;
28
+ show: boolean;
27
29
  connectedCallback(): void;
28
30
  mountPopover(referenceElement?: HTMLElement | null): void;
29
31
  unmountPopover(referenceElement: HTMLElement): void;
30
32
  protected render(): TemplateResult;
31
33
  protected willUpdate(props: PropertyValues<this>): void;
34
+ protected updated(props: PropertyValues<this>): void;
32
35
  }
33
36
  //# sourceMappingURL=tooltip.d.ts.map