@stella-source/stellasource-dsl 0.2.2 → 0.2.3

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.
@@ -18,11 +18,11 @@ interface TableUnitsAndTotalsProps {
18
18
  rightCategory?: `${QuoteCategory}`;
19
19
  }
20
20
  interface TotalPriceProps {
21
- variant: QuoteVariants.TOTAL_PRICE;
21
+ variant: `${QuoteVariants.TOTAL_PRICE}`;
22
22
  leftCategory?: `${TableUnitsAndTotalsLeftCategory}`;
23
23
  }
24
24
  interface TotalWeightProps {
25
- variant: QuoteVariants.TOTAL_WEIGHT;
25
+ variant: `${QuoteVariants.TOTAL_WEIGHT}`;
26
26
  leftCategory?: never;
27
27
  }
28
28
  export type TableUnitsAndTotals = TableUnitsAndTotalsProps & (TotalPriceProps | TotalWeightProps);
@@ -1,3 +1,4 @@
1
+ /** Imports */
1
2
  /** Components */
2
3
  import Label from "./components/Label/Label";
3
4
  import StellaButton from "./components/StellaButton/StellaButton";
@@ -18,5 +19,7 @@ import { StellaButtonVariant } from "./components/StellaButton/types";
18
19
  /** Tokens */
19
20
  import { Styles } from "./shared/tokens";
20
21
  import "./shared/tokens/tokens.css";
22
+ /**Exports */
23
+ export * from "./components/TableUnitsAndTotals/types";
21
24
  export type { StellaIconDefinition } from "./components/StellaIcon/types";
22
25
  export { Label, StellaButton, IconButton, Loader, HelperText, Tooltip, StellaIcon, TextInput, PasswordInput, NumberInput, Table, Pagination, Sync, TableUnitsAndTotals, StellaButtonVariant, Styles, };
package/dist/index.d.ts CHANGED
@@ -325,11 +325,11 @@ interface TableUnitsAndTotalsProps {
325
325
  rightCategory?: `${QuoteCategory}`;
326
326
  }
327
327
  interface TotalPriceProps {
328
- variant: QuoteVariants.TOTAL_PRICE;
328
+ variant: `${QuoteVariants.TOTAL_PRICE}`;
329
329
  leftCategory?: `${TableUnitsAndTotalsLeftCategory}`;
330
330
  }
331
331
  interface TotalWeightProps {
332
- variant: QuoteVariants.TOTAL_WEIGHT;
332
+ variant: `${QuoteVariants.TOTAL_WEIGHT}`;
333
333
  leftCategory?: never;
334
334
  }
335
335
  type TableUnitsAndTotals$1 = TableUnitsAndTotalsProps & (TotalPriceProps | TotalWeightProps);
@@ -400,5 +400,5 @@ declare const Styles: {
400
400
  };
401
401
  };
402
402
 
403
- export { HelperText, IconButton, Label, Loader, NumberInput, Pagination, PasswordInput, StellaButton, StellaButtonVariant, StellaIcon, Styles, Sync, Table, TableUnitsAndTotals, TextInput, Tooltip };
403
+ export { HelperText, IconButton, Label, Loader, NumberInput, Pagination, PasswordInput, QuoteCategory, QuoteVariants, StellaButton, StellaButtonVariant, StellaIcon, Styles, Sync, Table, TableUnitsAndTotals, TableUnitsAndTotalsLeftCategory, TextInput, Tooltip };
404
404
  export type { StellaIconDefinition };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stella-source/stellasource-dsl",
3
- "version": "0.2.2",
3
+ "version": "0.2.3",
4
4
  "description": "Design System owned and operated by Stella Source.",
5
5
  "files": [
6
6
  "dist"