@stella-source/stellasource-dsl 0.2.1 → 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, };
@@ -21346,7 +21346,6 @@ function Table({ columns, data, isLoading, serverSide = false, onPageChange, onS
21346
21346
  const resetTable = () => {
21347
21347
  setColumnFilters([]);
21348
21348
  setFilters({});
21349
- setScrollState({ atLeft: true, atRight: false });
21350
21349
  setSorting([]);
21351
21350
  setPageIndex(1);
21352
21351
  setPagination({
@@ -21561,5 +21560,5 @@ const TableUnitsAndTotals = ({ id, className, value, subValue, variant, leftCate
21561
21560
  subHeader && a__default.createElement(SubHeaderText, null, subHeader))));
21562
21561
  };
21563
21562
 
21564
- export { HelperText, IconButton, Label, Loader, NumberInput, Pagination, PasswordInput, StellaButton, StellaButtonVariant, StellaIcon, Styles, Sync, Table, TableUnitsAndTotals, TextInput, Tooltip };
21563
+ export { HelperText, IconButton, Label, Loader, NumberInput, Pagination, PasswordInput, QuoteCategory, QuoteVariants, StellaButton, StellaButtonVariant, StellaIcon, Styles, Sync, Table, TableUnitsAndTotals, TableUnitsAndTotalsLeftCategory, TextInput, Tooltip };
21565
21564
  //# sourceMappingURL=index.esm.js.map