@stella-source/stellasource-dsl 1.2.10 → 1.3.1

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,4 @@
1
+ import React from "react";
2
+ import { PaymentStatusProps } from "./types";
3
+ declare const PaymentStatus: ({ variant, id, className }: PaymentStatusProps) => React.JSX.Element;
4
+ export default PaymentStatus;
@@ -0,0 +1,19 @@
1
+ import { PaymentStatusVariant } from "./types";
2
+ declare const _default: {
3
+ title: string;
4
+ component: ({ variant, id, className }: import("./types").PaymentStatusProps) => import("react").JSX.Element;
5
+ tags: string[];
6
+ argTypes: {
7
+ variant: {
8
+ control: {
9
+ type: string;
10
+ };
11
+ options: PaymentStatusVariant[];
12
+ };
13
+ };
14
+ args: {
15
+ variant: PaymentStatusVariant;
16
+ };
17
+ };
18
+ export default _default;
19
+ export declare const Default: {};
@@ -0,0 +1,4 @@
1
+ declare const PaymentStatusComponent: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
2
+ declare const PaymentStatusIcon: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("../StellaIcon/types").StellaIconProps, never>> & string & Omit<({ iconName, size, color, className, id, dataTestId, }: import("../StellaIcon/types").StellaIconProps) => import("react").JSX.Element, keyof import("react").Component<any, {}, any>>;
3
+ declare const PaymentStatusLabel: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>> & string;
4
+ export { PaymentStatusComponent, PaymentStatusIcon, PaymentStatusLabel };
@@ -0,0 +1,15 @@
1
+ export declare enum PaymentStatusVariant {
2
+ PAYMENT_REQUIRED = "Payment Required",
3
+ TERMS_APPLIED = "Terms Applied",
4
+ PAYMENT_AUTHORIZED = "Payment Authorized",
5
+ PAYMENT_PROCESSING = "Payment Processing",
6
+ PAID = "Paid",
7
+ PAYMENT_FAILED = "Payment Failed",
8
+ CANCELED = "Canceled",
9
+ PAYMENT_WINDOW_EXPIRED = "Payment Window Expired"
10
+ }
11
+ export interface PaymentStatusProps {
12
+ id?: string;
13
+ className?: string;
14
+ variant: `${PaymentStatusVariant}`;
15
+ }
@@ -1,4 +1,4 @@
1
- export type StellaIconDefinition = "search" | "required" | "help" | "info" | "kebab-menu" | "error" | "warning" | "filter" | "sort" | "close" | "add" | "stella-logo" | "chevron-right" | "chevron-down" | "caret-right" | "caret-down" | "success" | "in-progress" | "complete" | "calendar" | "unlocked" | "locked" | "settings" | "preferences" | "account-settings" | "user" | "company-details" | "collapse" | "expand" | "star-filled" | "star-outline" | "dashboard" | "shopping-cart" | "calculator" | "pricing-strategies" | "stella-finance" | "resource-center" | "line-item-pricing" | "basket-pricing" | "paperclip" | "thumbs-up" | "thumbs-down" | "send" | "palette" | "eye" | "eye-slash" | "sync" | "chevron-left";
1
+ export type StellaIconDefinition = "search" | "required" | "help" | "info" | "kebab-menu" | "error" | "warning" | "filter" | "sort" | "close" | "add" | "stella-logo" | "chevron-right" | "chevron-down" | "caret-right" | "caret-down" | "success" | "in-progress" | "complete" | "calendar" | "unlocked" | "locked" | "settings" | "preferences" | "account-settings" | "user" | "company-details" | "collapse" | "expand" | "star-filled" | "star-outline" | "dashboard" | "shopping-cart" | "calculator" | "pricing-strategies" | "stella-finance" | "resource-center" | "line-item-pricing" | "basket-pricing" | "paperclip" | "thumbs-up" | "thumbs-down" | "send" | "palette" | "eye" | "eye-slash" | "sync" | "chevron-left" | "check-square" | "money" | "currency-dollar" | "x-circle" | "empty" | "hourglass-simple-low";
2
2
  export interface StellaIconProps {
3
3
  iconName: StellaIconDefinition;
4
4
  size?: number;
@@ -19,7 +19,8 @@ import { StellaButtonVariant } from "./components/StellaButton/types";
19
19
  /** Tokens */
20
20
  import { Styles } from "./shared/tokens";
21
21
  import "./shared/tokens/tokens.css";
22
+ import PaymentStatus from "./components/PaymentStatus/PaymentStatus";
22
23
  /**Exports */
23
24
  export * from "./components/TableUnitsAndTotals/types";
24
25
  export type { StellaIconDefinition } from "./components/StellaIcon/types";
25
- export { Label, StellaButton, IconButton, Loader, HelperText, Tooltip, StellaIcon, TextInput, PasswordInput, NumberInput, Table, Pagination, Sync, TableUnitsAndTotals, StellaButtonVariant, Styles, };
26
+ export { Label, StellaButton, IconButton, Loader, HelperText, Tooltip, StellaIcon, TextInput, PasswordInput, NumberInput, Table, Pagination, Sync, TableUnitsAndTotals, StellaButtonVariant, PaymentStatus, Styles, };