@stella-source/stellasource-dsl 1.2.10 → 1.3.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,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, };
package/dist/index.d.ts CHANGED
@@ -96,7 +96,7 @@ interface TooltipProps {
96
96
 
97
97
  declare const Tooltip: ({ title, placement, type, ariaLabel, iconSize, htmlProps, className, id, }: TooltipProps) => React$1.JSX.Element;
98
98
 
99
- 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";
99
+ 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";
100
100
  interface StellaIconProps {
101
101
  iconName: StellaIconDefinition;
102
102
  size?: number;
@@ -394,5 +394,23 @@ declare const Styles: {
394
394
  };
395
395
  };
396
396
 
397
- export { HelperText, IconButton, Label, Loader, NumberInput, Pagination, PasswordInput, StellaButton, StellaButtonVariant, StellaIcon, Styles, Sync, Table, TableUnitsAndTotals, TextInput, Tooltip };
397
+ declare enum PaymentStatusVariant {
398
+ PAYMENT_REQUIRED = "Payment Required",
399
+ TERMS_APPLIED = "Terms Applied",
400
+ PAYMENT_AUTHORIZED = "Payment Authorized",
401
+ PAYMENT_PROCESSING = "Payment Processing",
402
+ PAID = "Paid",
403
+ PAYMENT_FAILED = "Payment Failed",
404
+ CANCELED = "Canceled",
405
+ PAYMENT_WINDOW_EXPIRED = "Payment Window Expired"
406
+ }
407
+ interface PaymentStatusProps {
408
+ id?: string;
409
+ className?: string;
410
+ variant: `${PaymentStatusVariant}`;
411
+ }
412
+
413
+ declare const PaymentStatus: ({ variant, id, className }: PaymentStatusProps) => React$1.JSX.Element;
414
+
415
+ export { HelperText, IconButton, Label, Loader, NumberInput, Pagination, PasswordInput, PaymentStatus, StellaButton, StellaButtonVariant, StellaIcon, Styles, Sync, Table, TableUnitsAndTotals, TextInput, Tooltip };
398
416
  export type { StellaIconDefinition, TableUnitsAndTotalsProps };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stella-source/stellasource-dsl",
3
- "version": "1.2.10",
3
+ "version": "1.3.0",
4
4
  "description": "Design System owned and operated by Stella Source.",
5
5
  "files": [
6
6
  "dist"