@auspices/eos 2.34.1 → 4.0.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.
Files changed (75) hide show
  1. package/README.md +1 -1
  2. package/dist/Alert/Alert.d.ts +1 -1
  3. package/dist/Alerts/Alerts.d.ts +1 -1
  4. package/dist/Alerts/useAlerts.d.ts +5 -5
  5. package/dist/AspectRatioBox/AspectRatioBox.d.ts +3 -3
  6. package/dist/Banner/Banner.d.ts +1 -1
  7. package/dist/Box/Box.d.ts +4 -4
  8. package/dist/Button/Button.d.ts +5 -18
  9. package/dist/Button/Button.js +12 -19
  10. package/dist/Button/Button.js.map +1 -1
  11. package/dist/Caret/Caret.d.ts +1 -1
  12. package/dist/Cell/Cell.d.ts +19 -15
  13. package/dist/Cell/Cell.js +17 -29
  14. package/dist/Cell/Cell.js.map +1 -1
  15. package/dist/Clear/Clear.d.ts +5 -1
  16. package/dist/Clear/Clear.js +12 -2
  17. package/dist/Clear/Clear.js.map +1 -1
  18. package/dist/ClearableInput/ClearableInput.d.ts +1 -1
  19. package/dist/ClearableInput/ClearableInput.js +3 -4
  20. package/dist/ClearableInput/ClearableInput.js.map +1 -1
  21. package/dist/Clickable/Clickable.d.ts +1 -1
  22. package/dist/Clickable/Clickable.js +2 -7
  23. package/dist/Clickable/Clickable.js.map +1 -1
  24. package/dist/Confirm/Confirm.d.ts +1 -1
  25. package/dist/Confirm/useConfirm.d.ts +1 -1
  26. package/dist/ContextMenu/ContextMenu.d.ts +1 -1
  27. package/dist/Divider/Divider.d.ts +1 -1
  28. package/dist/Dropdown/Dropdown.d.ts +3 -3
  29. package/dist/Ellipsis/Ellipsis.d.ts +1 -1
  30. package/dist/EmptyFrame/EmptyFrame.d.ts +1 -1
  31. package/dist/Expandable/Expandable.d.ts +1 -1
  32. package/dist/Field/Field.d.ts +2 -2
  33. package/dist/File/File.d.ts +1 -1
  34. package/dist/Flyout/Flyout.d.ts +2 -2
  35. package/dist/Grid/Grid.d.ts +1 -1
  36. package/dist/HTML/HTML.d.ts +1 -1
  37. package/dist/Image/Image.d.ts +1 -1
  38. package/dist/Input/Input.d.ts +7 -3
  39. package/dist/Input/Input.js +4 -15
  40. package/dist/Input/Input.js.map +1 -1
  41. package/dist/KeyValueEditor/KeyValueEditor.d.ts +3 -3
  42. package/dist/KeyValueInput/KeyValueInput.d.ts +1 -1
  43. package/dist/Loading/Loading.d.ts +1 -1
  44. package/dist/Modal/Modal.d.ts +1 -1
  45. package/dist/Mono/Mono.d.ts +1 -1
  46. package/dist/MultiSelect/MultiSelect.d.ts +3 -3
  47. package/dist/MultiSelect/useMultiSelect.d.ts +1 -1
  48. package/dist/Pagination/Page.d.ts +1 -1
  49. package/dist/Pagination/Pagination.d.ts +1 -1
  50. package/dist/Pane/Pane.d.ts +1 -1
  51. package/dist/Pane/PaneHeader.d.ts +1 -1
  52. package/dist/Pane/PaneOption.d.ts +1 -1
  53. package/dist/Pill/Pill.d.ts +3 -16
  54. package/dist/Pill/Pill.js +2 -14
  55. package/dist/Pill/Pill.js.map +1 -1
  56. package/dist/Plus/Plus.d.ts +1 -1
  57. package/dist/Popper/Popper.d.ts +1 -1
  58. package/dist/Popper/usePopper.d.ts +1 -1
  59. package/dist/ProgressBar/ProgressBar.d.ts +1 -1
  60. package/dist/Remove/Remove.d.ts +1 -1
  61. package/dist/Remove/Remove.js +3 -1
  62. package/dist/Remove/Remove.js.map +1 -1
  63. package/dist/ResponsiveImage/ResponsiveImage.d.ts +1 -1
  64. package/dist/Select/Select.d.ts +3 -3
  65. package/dist/Skeleton/Skeleton.d.ts +1 -1
  66. package/dist/Spinner/Spinner.d.ts +1 -1
  67. package/dist/Split/Split.d.ts +1 -1
  68. package/dist/Stack/Stack.d.ts +2 -2
  69. package/dist/Tag/Tag.d.ts +1 -1
  70. package/dist/Themer/useThemer.d.ts +1 -1
  71. package/dist/Tooltip/Tooltip.d.ts +1 -1
  72. package/dist/Upload/Upload.d.ts +1 -1
  73. package/dist/hooks/useClickOutside.d.ts +1 -1
  74. package/dist/theme/theme.d.ts +4 -4
  75. package/package.json +19 -19
@@ -1,6 +1,6 @@
1
1
  import React from "react";
2
2
  import { StackProps } from "../Stack";
3
- export declare type ExpandableProps = StackProps & {
3
+ export type ExpandableProps = StackProps & {
4
4
  label: string;
5
5
  };
6
6
  export declare const Expandable: React.FC<ExpandableProps>;
@@ -1,10 +1,10 @@
1
1
  import React from "react";
2
2
  import { InputProps } from "../Input";
3
3
  import { SplitProps } from "../Split";
4
- declare type RequiredProps = Omit<SplitProps, "children"> & {
4
+ type RequiredProps = Omit<SplitProps, "children"> & {
5
5
  label: React.ReactNode;
6
6
  };
7
- export declare type FieldProps = RequiredProps & ({
7
+ export type FieldProps = RequiredProps & ({
8
8
  input: InputProps;
9
9
  } | {
10
10
  children: JSX.Element | string | null;
@@ -1,6 +1,6 @@
1
1
  import React from "react";
2
2
  import { ClickableProps } from "../Clickable";
3
- export declare type FileProps = ClickableProps & {
3
+ export type FileProps = ClickableProps & {
4
4
  name?: string | null;
5
5
  meta?: string | null;
6
6
  selected?: boolean;
@@ -1,7 +1,7 @@
1
1
  import React from "react";
2
2
  import { PaneOptionProps } from "../Pane";
3
- export declare type FlyoutPaneOptions = React.ReactElement<PaneOptionProps> | React.ReactElement<PaneOptionProps>[];
4
- export declare type FlyoutProps = PaneOptionProps & {
3
+ export type FlyoutPaneOptions = React.ReactElement<PaneOptionProps> | React.ReactElement<PaneOptionProps>[];
4
+ export type FlyoutProps = PaneOptionProps & {
5
5
  label: string | JSX.Element;
6
6
  children: FlyoutPaneOptions;
7
7
  open?: boolean;
@@ -1,7 +1,7 @@
1
1
  import React from "react";
2
2
  import { GridProps as SystemGridProps, ResponsiveValue } from "styled-system";
3
3
  import { BoxProps } from "../Box";
4
- export declare type GridProps = SystemGridProps & BoxProps & {
4
+ export type GridProps = SystemGridProps & BoxProps & {
5
5
  cellSize?: ResponsiveValue<number | string>;
6
6
  cellGap?: number | string;
7
7
  };
@@ -1,6 +1,6 @@
1
1
  import React from "react";
2
2
  import { BoxProps } from "../Box";
3
- export declare type HTMLProps = BoxProps & ({
3
+ export type HTMLProps = BoxProps & ({
4
4
  html: string;
5
5
  } | {
6
6
  children: React.ReactNode;
@@ -9,7 +9,7 @@ export declare const imgMixin: import("styled-components").FlattenSimpleInterpol
9
9
  export declare const Img: import("styled-components").StyledComponent<"img", import("styled-components").DefaultTheme, {
10
10
  mode: Mode;
11
11
  }, never>;
12
- export declare type ImageProps = Omit<React.ImgHTMLAttributes<HTMLImageElement>, "src"> & BoxProps & {
12
+ export type ImageProps = Omit<React.ImgHTMLAttributes<HTMLImageElement>, "src"> & BoxProps & {
13
13
  srcs: string[];
14
14
  onError?(): void;
15
15
  onLoad?(): void;
@@ -1,13 +1,17 @@
1
1
  /// <reference types="react" />
2
- import { BorderProps, FlexboxProps, SpaceProps, TypographyProps, LayoutProps, ColorProps } from "styled-system";
3
- export declare type InputProps = React.InputHTMLAttributes<HTMLInputElement> & BorderProps & FlexboxProps & TypographyProps & LayoutProps & SpaceProps & ColorProps & {
2
+ import { CellProps } from "../Cell";
3
+ export type InputProps = React.InputHTMLAttributes<HTMLInputElement> & CellProps & {
4
4
  focus?: boolean;
5
5
  hover?: boolean;
6
6
  };
7
7
  export declare const inputFocusMixin: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<import("styled-components").DefaultTheme>>;
8
8
  export declare const inputHoverMixin: import("styled-components").FlattenSimpleInterpolation;
9
9
  export declare const inputMixin: import("styled-components").FlattenInterpolation<import("styled-components").ThemedStyledProps<InputProps, import("styled-components").DefaultTheme>>;
10
- export declare const Input: import("styled-components").StyledComponent<"input", import("styled-components").DefaultTheme, import("react").InputHTMLAttributes<HTMLInputElement> & BorderProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, import("csstype").Property.Border<import("styled-system").TLengthStyledSystem>> & FlexboxProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> & TypographyProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> & LayoutProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> & SpaceProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, string | number | symbol> & ColorProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, string | number | symbol> & {
10
+ export declare const Input: import("styled-components").StyledComponent<"input", import("styled-components").DefaultTheme, import("react").InputHTMLAttributes<HTMLInputElement> & import("styled-system").BorderProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, import("csstype").Property.Border<import("styled-system").TLengthStyledSystem>> & import("styled-system").TypographyProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> & import("styled-system").FlexboxProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> & import("styled-system").SpaceProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, string | number | symbol> & import("styled-system").PositionProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> & import("styled-system").LayoutProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> & Omit<import("styled-system").ColorProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, string | number | symbol>, "color"> & import("..").TextColorProps & import("..").TransitionProps & {
11
+ children?: import("react").ReactNode;
12
+ } & {
13
+ variant?: "small" | "default" | undefined;
14
+ } & {
11
15
  focus?: boolean | undefined;
12
16
  hover?: boolean | undefined;
13
17
  }, never>;
@@ -3,17 +3,6 @@ var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cook
3
3
  if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
4
4
  return cooked;
5
5
  };
6
- var __assign = (this && this.__assign) || function () {
7
- __assign = Object.assign || function(t) {
8
- for (var s, i = 1, n = arguments.length; i < n; i++) {
9
- s = arguments[i];
10
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
11
- t[p] = s[p];
12
- }
13
- return t;
14
- };
15
- return __assign.apply(this, arguments);
16
- };
17
6
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
18
7
  if (k2 === undefined) k2 = k;
19
8
  var desc = Object.getOwnPropertyDescriptor(m, k);
@@ -40,12 +29,10 @@ var __importStar = (this && this.__importStar) || function (mod) {
40
29
  Object.defineProperty(exports, "__esModule", { value: true });
41
30
  exports.Input = exports.inputMixin = exports.inputHoverMixin = exports.inputFocusMixin = void 0;
42
31
  var styled_components_1 = __importStar(require("styled-components"));
43
- var styled_system_1 = require("styled-system");
44
32
  var Cell_1 = require("../Cell");
45
- var systemProps = (0, styled_system_1.compose)(styled_system_1.border, styled_system_1.flexbox, styled_system_1.space, styled_system_1.typography, styled_system_1.layout, styled_system_1.color);
46
33
  exports.inputFocusMixin = (0, styled_components_1.css)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n ", ";\n\n ::placeholder {\n text-decoration: underline;\n }\n"], ["\n ", ";\n\n ::placeholder {\n text-decoration: underline;\n }\n"])), Cell_1.cellFocusMixin);
47
34
  exports.inputHoverMixin = (0, styled_components_1.css)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n ::placeholder {\n text-decoration: underline;\n }\n"], ["\n ::placeholder {\n text-decoration: underline;\n }\n"])));
48
- exports.inputMixin = (0, styled_components_1.css)(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n appearance: none;\n border-radius: 0;\n margin: 0;\n transition: box-shadow 250ms ease;\n ", "\n\n background-color: transparent;\n\n ", "\n &:focus {\n ", "\n }\n\n ", "\n &:hover {\n ", "\n }\n\n &:autofill {\n font-size: 1rem;\n }\n"], ["\n appearance: none;\n border-radius: 0;\n margin: 0;\n transition: box-shadow 250ms ease;\n ", "\n\n background-color: transparent;\n\n ", "\n &:focus {\n ", "\n }\n\n ", "\n &:hover {\n ", "\n }\n\n &:autofill {\n font-size: 1rem;\n }\n"])), systemProps, function (_a) {
35
+ exports.inputMixin = (0, styled_components_1.css)(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n appearance: none;\n border-radius: 0;\n margin: 0;\n transition: box-shadow 250ms ease;\n background-color: transparent;\n\n ", "\n\n ", "\n &:focus {\n ", "\n }\n\n ", "\n &:hover {\n ", "\n }\n\n &:autofill {\n font-size: 1rem;\n }\n"], ["\n appearance: none;\n border-radius: 0;\n margin: 0;\n transition: box-shadow 250ms ease;\n background-color: transparent;\n\n ", "\n\n ", "\n &:focus {\n ", "\n }\n\n ", "\n &:hover {\n ", "\n }\n\n &:autofill {\n font-size: 1rem;\n }\n"])), Cell_1.cellMixin, function (_a) {
49
36
  var focus = _a.focus;
50
37
  return focus && exports.inputFocusMixin;
51
38
  }, exports.inputFocusMixin, function (_a) {
@@ -53,6 +40,8 @@ exports.inputMixin = (0, styled_components_1.css)(templateObject_3 || (templateO
53
40
  return hover && exports.inputHoverMixin;
54
41
  }, exports.inputHoverMixin);
55
42
  exports.Input = styled_components_1.default.input(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), exports.inputMixin);
56
- exports.Input.defaultProps = __assign({}, Cell_1.CELL);
43
+ exports.Input.defaultProps = {
44
+ variant: "default",
45
+ };
57
46
  var templateObject_1, templateObject_2, templateObject_3, templateObject_4;
58
47
  //# sourceMappingURL=Input.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Input.js","sourceRoot":"","sources":["../../src/Input/Input.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,qEAAgD;AAChD,+CAcuB;AACvB,gCAA+C;AAa/C,IAAM,WAAW,GAAG,IAAA,uBAAO,EAAC,sBAAM,EAAE,uBAAO,EAAE,qBAAK,EAAE,0BAAU,EAAE,sBAAM,EAAE,qBAAK,CAAC,CAAC;AAElE,QAAA,eAAe,OAAG,uBAAG,4IAAA,MAC9B,EAAc,gEAKjB,KALG,qBAAc,EAKhB;AAEW,QAAA,eAAe,OAAG,uBAAG,iIAAA,6DAIjC,KAAC;AAEW,QAAA,UAAU,OAAG,uBAAG,2UAAY,oGAKrC,EAAW,4CAIX,EAAuC,qBAErC,EAAe,aAGjB,EAAuC,qBAErC,EAAe,sDAMpB,KAjBG,WAAW,EAIX,UAAC,EAAS;QAAP,KAAK,WAAA;IAAO,OAAA,KAAK,IAAI,uBAAe;AAAxB,CAAwB,EAErC,uBAAe,EAGjB,UAAC,EAAS;QAAP,KAAK,WAAA;IAAO,OAAA,KAAK,IAAI,uBAAe;AAAxB,CAAwB,EAErC,uBAAe,EAMnB;AAEW,QAAA,KAAK,GAAG,2BAAM,CAAC,KAAK,+EAAY,MACzC,EAAU,IACb,KADG,kBAAU,EACZ;AAEF,aAAK,CAAC,YAAY,gBACb,WAAI,CACR,CAAC"}
1
+ {"version":3,"file":"Input.js","sourceRoot":"","sources":["../../src/Input/Input.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,qEAAgD;AAChD,gCAA+D;AAQlD,QAAA,eAAe,OAAG,uBAAG,4IAAA,MAC9B,EAAc,gEAKjB,KALG,qBAAc,EAKhB;AAEW,QAAA,eAAe,OAAG,uBAAG,iIAAA,6DAIjC,KAAC;AAEW,QAAA,UAAU,OAAG,uBAAG,2UAAY,wIAOrC,EAAS,QAET,EAAuC,qBAErC,EAAe,aAGjB,EAAuC,qBAErC,EAAe,sDAMpB,KAfG,gBAAS,EAET,UAAC,EAAS;QAAP,KAAK,WAAA;IAAO,OAAA,KAAK,IAAI,uBAAe;AAAxB,CAAwB,EAErC,uBAAe,EAGjB,UAAC,EAAS;QAAP,KAAK,WAAA;IAAO,OAAA,KAAK,IAAI,uBAAe;AAAxB,CAAwB,EAErC,uBAAe,EAMnB;AAEW,QAAA,KAAK,GAAG,2BAAM,CAAC,KAAK,+EAAY,MACzC,EAAU,IACb,KADG,kBAAU,EACZ;AAEF,aAAK,CAAC,YAAY,GAAG;IACnB,OAAO,EAAE,SAAS;CACnB,CAAC"}
@@ -1,13 +1,13 @@
1
1
  import React from "react";
2
2
  import { StackProps } from "../Stack";
3
- export declare type KeyValueSchema = {
3
+ export type KeyValueSchema = {
4
4
  key: string;
5
5
  name: string;
6
6
  type: "string" | "number";
7
7
  }[];
8
- export declare type KeyValueData = Record<string, string>;
8
+ export type KeyValueData = Record<string, string>;
9
9
  export declare const toSchema: (data: KeyValueData) => KeyValueSchema;
10
- export declare type KeyValueEditorProps = Omit<StackProps, "onChange"> & {
10
+ export type KeyValueEditorProps = Omit<StackProps, "onChange"> & {
11
11
  schema: KeyValueSchema;
12
12
  data: KeyValueData;
13
13
  onChange?(data: KeyValueData): void;
@@ -1,7 +1,7 @@
1
1
  import React from "react";
2
2
  import { InputProps } from "../Input";
3
3
  import { SplitProps } from "../Split";
4
- export declare type KeyValueInputProps = Omit<SplitProps, "children"> & {
4
+ export type KeyValueInputProps = Omit<SplitProps, "children"> & {
5
5
  k: InputProps;
6
6
  v?: InputProps;
7
7
  };
@@ -1,6 +1,6 @@
1
1
  import React from "react";
2
2
  import { CellProps } from "../Cell";
3
- export declare type LoadingProps = CellProps & {
3
+ export type LoadingProps = CellProps & {
4
4
  children?: React.ReactNode;
5
5
  loading?: boolean;
6
6
  };
@@ -1,6 +1,6 @@
1
1
  import React from "react";
2
2
  import { BoxProps } from "../Box";
3
- export declare type ModalProps = BoxProps & {
3
+ export type ModalProps = BoxProps & {
4
4
  onClose?(): void;
5
5
  overlay?: boolean;
6
6
  };
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import { BoxProps } from "../Box";
3
- export declare type MonoProps = BoxProps;
3
+ export type MonoProps = BoxProps;
4
4
  export declare const Mono: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, import("styled-system").BorderProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, import("csstype").Property.Border<import("styled-system").TLengthStyledSystem>> & import("styled-system").TypographyProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> & import("styled-system").FlexboxProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> & import("styled-system").SpaceProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, string | number | symbol> & import("styled-system").PositionProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> & import("styled-system").LayoutProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> & Omit<import("styled-system").ColorProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, string | number | symbol>, "color"> & import("../Box").TextColorProps & import("../Box").TransitionProps & {
5
5
  children?: import("react").ReactNode;
6
6
  }, never>;
@@ -1,6 +1,6 @@
1
1
  import React from "react";
2
- export declare type MultiSelectPayload = Record<string, unknown>;
3
- export declare type MultiSelectItem = {
2
+ export type MultiSelectPayload = Record<string, unknown>;
3
+ export type MultiSelectItem = {
4
4
  id: string;
5
5
  payload: MultiSelectPayload;
6
6
  };
@@ -10,7 +10,7 @@ export declare const MultiSelectContext: React.Context<{
10
10
  deselect(id: string, payload?: MultiSelectPayload): void;
11
11
  isWrapped: boolean;
12
12
  }>;
13
- export declare type MultiSelectProps = {
13
+ export type MultiSelectProps = {
14
14
  onChange?(selection: MultiSelectItem[], payload?: MultiSelectPayload): void;
15
15
  };
16
16
  export declare const MultiSelect: React.FC<MultiSelectProps>;
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import { MultiSelectPayload } from "./MultiSelect";
3
- export declare type UseMultiSelect = {
3
+ export type UseMultiSelect = {
4
4
  defaultSelected?: boolean;
5
5
  payload?: MultiSelectPayload;
6
6
  };
@@ -1,6 +1,6 @@
1
1
  import React from "react";
2
2
  import { ButtonProps } from "../Button";
3
- export declare type PageProps = ButtonProps & {
3
+ export type PageProps = ButtonProps & {
4
4
  pageNumber: number;
5
5
  href: string;
6
6
  per: number;
@@ -1,7 +1,7 @@
1
1
  import React from "react";
2
2
  import { StackProps } from "../Stack";
3
3
  import { PageProps } from "./Page";
4
- export declare type PaginationProps = StackProps & {
4
+ export type PaginationProps = StackProps & {
5
5
  page?: number;
6
6
  per?: number;
7
7
  total: number;
@@ -1,6 +1,6 @@
1
1
  import React from "react";
2
2
  import { StackProps } from "../Stack";
3
- export declare type PaneProps = StackProps & React.HTMLAttributes<HTMLDivElement> & {
3
+ export type PaneProps = StackProps & React.HTMLAttributes<HTMLDivElement> & {
4
4
  children: React.ReactNode;
5
5
  onEnter?(): void;
6
6
  };
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import { BoxProps } from "../Box";
3
- export declare type PaneHeaderProps = BoxProps;
3
+ export type PaneHeaderProps = BoxProps;
4
4
  export declare const PaneHeader: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, import("styled-system").BorderProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, import("csstype").Property.Border<import("styled-system").TLengthStyledSystem>> & import("styled-system").TypographyProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> & import("styled-system").FlexboxProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> & import("styled-system").SpaceProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, string | number | symbol> & import("styled-system").PositionProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> & import("styled-system").LayoutProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> & Omit<import("styled-system").ColorProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, string | number | symbol>, "color"> & import("../Box").TextColorProps & import("../Box").TransitionProps & {
5
5
  children?: import("react").ReactNode;
6
6
  }, never>;
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import { ClickableProps } from "../Clickable";
3
- export declare type PaneOptionProps = ClickableProps & {
3
+ export type PaneOptionProps = ClickableProps & {
4
4
  active?: boolean;
5
5
  hover?: boolean;
6
6
  focus?: boolean;
@@ -1,22 +1,9 @@
1
1
  /// <reference types="react" />
2
2
  import { CellProps } from "../Cell";
3
- export declare type PillProps = CellProps;
4
- export declare const PILL: {
5
- alignItems: string;
6
- backgroundColor: string;
7
- borderColor: string;
8
- borderStyle: string;
9
- borderWidth: string;
10
- color: string;
11
- display: string;
12
- fontFamily: string;
13
- fontSize: number[];
14
- lineHeight: number;
15
- px: number;
16
- py: number;
17
- transition: string;
18
- };
3
+ export type PillProps = CellProps;
19
4
  export declare const pillFocusMixin: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<import("styled-components").DefaultTheme>>;
20
5
  export declare const Pill: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, import("styled-system").BorderProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, import("csstype").Property.Border<import("styled-system").TLengthStyledSystem>> & import("styled-system").TypographyProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> & import("styled-system").FlexboxProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> & import("styled-system").SpaceProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, string | number | symbol> & import("styled-system").PositionProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> & import("styled-system").LayoutProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> & Omit<import("styled-system").ColorProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, string | number | symbol>, "color"> & import("..").TextColorProps & import("..").TransitionProps & {
21
6
  children?: import("react").ReactNode;
7
+ } & {
8
+ variant?: "small" | "default" | undefined;
22
9
  }, never>;
package/dist/Pill/Pill.js CHANGED
@@ -1,21 +1,9 @@
1
1
  "use strict";
2
- var __assign = (this && this.__assign) || function () {
3
- __assign = Object.assign || function(t) {
4
- for (var s, i = 1, n = arguments.length; i < n; i++) {
5
- s = arguments[i];
6
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
7
- t[p] = s[p];
8
- }
9
- return t;
10
- };
11
- return __assign.apply(this, arguments);
12
- };
13
2
  Object.defineProperty(exports, "__esModule", { value: true });
14
- exports.Pill = exports.pillFocusMixin = exports.PILL = void 0;
3
+ exports.Pill = exports.pillFocusMixin = void 0;
15
4
  // Aliases to Cell
16
5
  var Cell_1 = require("../Cell");
17
- exports.PILL = __assign({}, Cell_1.CELL);
18
6
  exports.pillFocusMixin = Cell_1.cellFocusMixin;
19
7
  exports.Pill = Cell_1.Cell;
20
- exports.Pill.defaultProps = __assign({}, exports.PILL);
8
+ exports.Pill.defaultProps = Cell_1.Cell.defaultProps;
21
9
  //# sourceMappingURL=Pill.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Pill.js","sourceRoot":"","sources":["../../src/Pill/Pill.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,kBAAkB;AAClB,gCAAgE;AAInD,QAAA,IAAI,gBAAQ,WAAI,EAAG;AAEnB,QAAA,cAAc,GAAG,qBAAc,CAAC;AAEhC,QAAA,IAAI,GAAG,WAAI,CAAC;AAEzB,YAAI,CAAC,YAAY,gBAAQ,YAAI,CAAE,CAAC"}
1
+ {"version":3,"file":"Pill.js","sourceRoot":"","sources":["../../src/Pill/Pill.ts"],"names":[],"mappings":";;;AAAA,kBAAkB;AAClB,gCAA0D;AAG7C,QAAA,cAAc,GAAG,qBAAc,CAAC;AAChC,QAAA,IAAI,GAAG,WAAI,CAAC;AAEzB,YAAI,CAAC,YAAY,GAAG,WAAI,CAAC,YAAY,CAAC"}
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import { BoxProps } from "../Box";
3
- export declare type PlusProps = BoxProps & {
3
+ export type PlusProps = BoxProps & {
4
4
  size: number | string;
5
5
  strokeWidth?: string;
6
6
  axis?: "horizontal" | "vertical" | "both";
@@ -1,6 +1,6 @@
1
1
  import React from "react";
2
2
  import { Placement } from "@popperjs/core";
3
- export declare type PopperProps = {
3
+ export type PopperProps = {
4
4
  anchor: JSX.Element;
5
5
  children: JSX.Element;
6
6
  open?: boolean;
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  import { Placement, StrictModifiers } from "@popperjs/core";
3
3
  import { UseClickOutside } from "../hooks/useClickOutside";
4
- export declare type UsePopper = {
4
+ export type UsePopper = {
5
5
  open?: boolean;
6
6
  distance?: number;
7
7
  placement?: Placement;
@@ -1,6 +1,6 @@
1
1
  import React from "react";
2
2
  import { BoxProps } from "../Box";
3
- export declare type ProgressBarProps = Omit<BoxProps, "color"> & {
3
+ export type ProgressBarProps = Omit<BoxProps, "color"> & {
4
4
  progress: number;
5
5
  color?: string;
6
6
  };
@@ -6,7 +6,7 @@ export declare const Ex: import("styled-components").StyledComponent<"div", impo
6
6
  }, never>;
7
7
  export declare const removeFocusMixin: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<import("styled-components").DefaultTheme>>;
8
8
  export declare const removeHoverMixin: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<import("styled-components").DefaultTheme>>;
9
- export declare type RemoveProps = ClickableProps & {
9
+ export type RemoveProps = ClickableProps & {
10
10
  hover?: boolean;
11
11
  focus?: boolean;
12
12
  };
@@ -34,6 +34,7 @@ var Clickable_1 = require("../Clickable");
34
34
  var Box_1 = require("../Box");
35
35
  exports.exMixin = (0, styled_components_1.css)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n transition: color 250ms;\n\n &::before,\n &::after {\n content: \"\";\n display: block;\n width: ", ";\n height: 2px;\n position: absolute;\n top: 50%;\n left: 50%;\n background-color: currentColor;\n }\n\n &::before {\n transform: translate(-50%, -50%) rotate(45deg);\n }\n\n &::after {\n transform: translate(-50%, -50%) rotate(-45deg);\n }\n"], ["\n transition: color 250ms;\n\n &::before,\n &::after {\n content: \"\";\n display: block;\n width: ", ";\n height: 2px;\n position: absolute;\n top: 50%;\n left: 50%;\n background-color: currentColor;\n }\n\n &::before {\n transform: translate(-50%, -50%) rotate(45deg);\n }\n\n &::after {\n transform: translate(-50%, -50%) rotate(-45deg);\n }\n"])), (0, theme_get_1.themeGet)("space.5"));
36
36
  exports.Ex = (0, styled_components_1.default)(Box_1.Box)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n min-width: ", ";\n min-height: ", ";\n ", "\n"], ["\n min-width: ", ";\n min-height: ", ";\n ", "\n"])), (0, theme_get_1.themeGet)("space.7"), (0, theme_get_1.themeGet)("space.7"), exports.exMixin);
37
+ exports.Ex.displayName = "Ex";
37
38
  exports.Ex.defaultProps = {
38
39
  position: "relative",
39
40
  display: "inline-flex",
@@ -41,13 +42,14 @@ exports.Ex.defaultProps = {
41
42
  };
42
43
  exports.removeFocusMixin = (0, styled_components_1.css)(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n outline: 0;\n color: ", ";\n"], ["\n outline: 0;\n color: ", ";\n"])), (0, theme_get_1.themeGet)("colors.primary"));
43
44
  exports.removeHoverMixin = (0, styled_components_1.css)(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n color: ", ";\n"], ["\n color: ", ";\n"])), (0, theme_get_1.themeGet)("colors.primary"));
44
- exports.Remove = (0, styled_components_1.default)(Clickable_1.Clickable)(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n min-width: ", ";\n min-height: ", ";\n cursor: pointer;\n color: ", ";\n ", "\n\n ", "\n &:hover {\n ", "\n }\n\n ", "\n &:focus {\n ", "\n }\n"], ["\n min-width: ", ";\n min-height: ", ";\n cursor: pointer;\n color: ", ";\n ", "\n\n ", "\n &:hover {\n ", "\n }\n\n ", "\n &:focus {\n ", "\n }\n"])), (0, theme_get_1.themeGet)("space.7"), (0, theme_get_1.themeGet)("space.7"), (0, theme_get_1.themeGet)("colors.tertiary"), exports.exMixin, function (_a) {
45
+ exports.Remove = (0, styled_components_1.default)(Clickable_1.Clickable)(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n min-width: ", ";\n min-height: ", ";\n cursor: pointer;\n color: ", ";\n\n ", "\n\n ", "\n &:hover {\n ", "\n }\n\n ", "\n &:focus {\n ", "\n }\n"], ["\n min-width: ", ";\n min-height: ", ";\n cursor: pointer;\n color: ", ";\n\n ", "\n\n ", "\n &:hover {\n ", "\n }\n\n ", "\n &:focus {\n ", "\n }\n"])), (0, theme_get_1.themeGet)("space.7"), (0, theme_get_1.themeGet)("space.7"), (0, theme_get_1.themeGet)("colors.tertiary"), exports.exMixin, function (_a) {
45
46
  var hover = _a.hover;
46
47
  return hover && exports.removeHoverMixin;
47
48
  }, exports.removeHoverMixin, function (_a) {
48
49
  var focus = _a.focus;
49
50
  return focus && exports.removeHoverMixin;
50
51
  }, exports.removeFocusMixin);
52
+ exports.Remove.displayName = "Remove";
51
53
  exports.Remove.defaultProps = {
52
54
  position: "relative",
53
55
  };
@@ -1 +1 @@
1
- {"version":3,"file":"Remove.js","sourceRoot":"","sources":["../../src/Remove/Remove.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,qEAAgD;AAChD,sDAAoD;AACpD,0CAAyD;AACzD,8BAA6B;AAEhB,QAAA,OAAO,OAAG,uBAAG,ucAAA,kHAOb,EAAmB,+QAe/B,KAfY,IAAA,oBAAQ,EAAC,SAAS,CAAC,EAe9B;AAEW,QAAA,EAAE,GAAG,IAAA,2BAAM,EAAC,SAAG,CAAC,wHAAA,iBACd,EAAmB,mBAClB,EAAmB,OAC/B,EAAO,IACV,KAHc,IAAA,oBAAQ,EAAC,SAAS,CAAC,EAClB,IAAA,oBAAQ,EAAC,SAAS,CAAC,EAC/B,eAAO,EACT;AAEF,UAAE,CAAC,YAAY,GAAG;IAChB,QAAQ,EAAE,UAAU;IACpB,OAAO,EAAE,aAAa;IACtB,KAAK,EAAE,UAAU;CAClB,CAAC;AAEW,QAAA,gBAAgB,OAAG,uBAAG,uGAAA,4BAExB,EAA0B,KACpC,KADU,IAAA,oBAAQ,EAAC,gBAAgB,CAAC,EACnC;AACW,QAAA,gBAAgB,OAAG,uBAAG,wFAAA,aACxB,EAA0B,KACpC,KADU,IAAA,oBAAQ,EAAC,gBAAgB,CAAC,EACnC;AAOW,QAAA,MAAM,GAAG,IAAA,2BAAM,EAAC,qBAAS,CAAC,wOAAa,iBACrC,EAAmB,mBAClB,EAAmB,kCAExB,EAA2B,OAClC,EAAO,QAEP,EAAwC,qBAEtC,EAAgB,aAGlB,EAAwC,qBAEtC,EAAgB,SAErB,KAfc,IAAA,oBAAQ,EAAC,SAAS,CAAC,EAClB,IAAA,oBAAQ,EAAC,SAAS,CAAC,EAExB,IAAA,oBAAQ,EAAC,iBAAiB,CAAC,EAClC,eAAO,EAEP,UAAC,EAAS;QAAP,KAAK,WAAA;IAAO,OAAA,KAAK,IAAI,wBAAgB;AAAzB,CAAyB,EAEtC,wBAAgB,EAGlB,UAAC,EAAS;QAAP,KAAK,WAAA;IAAO,OAAA,KAAK,IAAI,wBAAgB;AAAzB,CAAyB,EAEtC,wBAAgB,EAEpB;AAEF,cAAM,CAAC,YAAY,GAAG;IACpB,QAAQ,EAAE,UAAU;CACrB,CAAC"}
1
+ {"version":3,"file":"Remove.js","sourceRoot":"","sources":["../../src/Remove/Remove.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,qEAAgD;AAChD,sDAAoD;AACpD,0CAAyD;AACzD,8BAA6B;AAEhB,QAAA,OAAO,OAAG,uBAAG,ucAAA,kHAOb,EAAmB,+QAe/B,KAfY,IAAA,oBAAQ,EAAC,SAAS,CAAC,EAe9B;AAEW,QAAA,EAAE,GAAG,IAAA,2BAAM,EAAC,SAAG,CAAC,wHAAA,iBACd,EAAmB,mBAClB,EAAmB,OAC/B,EAAO,IACV,KAHc,IAAA,oBAAQ,EAAC,SAAS,CAAC,EAClB,IAAA,oBAAQ,EAAC,SAAS,CAAC,EAC/B,eAAO,EACT;AAEF,UAAE,CAAC,WAAW,GAAG,IAAI,CAAC;AAEtB,UAAE,CAAC,YAAY,GAAG;IAChB,QAAQ,EAAE,UAAU;IACpB,OAAO,EAAE,aAAa;IACtB,KAAK,EAAE,UAAU;CAClB,CAAC;AAEW,QAAA,gBAAgB,OAAG,uBAAG,uGAAA,4BAExB,EAA0B,KACpC,KADU,IAAA,oBAAQ,EAAC,gBAAgB,CAAC,EACnC;AACW,QAAA,gBAAgB,OAAG,uBAAG,wFAAA,aACxB,EAA0B,KACpC,KADU,IAAA,oBAAQ,EAAC,gBAAgB,CAAC,EACnC;AAOW,QAAA,MAAM,GAAG,IAAA,2BAAM,EAAC,qBAAS,CAAC,0OAAa,iBACrC,EAAmB,mBAClB,EAAmB,kCAExB,EAA2B,SAElC,EAAO,QAEP,EAAwC,qBAEtC,EAAgB,aAGlB,EAAwC,qBAEtC,EAAgB,SAErB,KAhBc,IAAA,oBAAQ,EAAC,SAAS,CAAC,EAClB,IAAA,oBAAQ,EAAC,SAAS,CAAC,EAExB,IAAA,oBAAQ,EAAC,iBAAiB,CAAC,EAElC,eAAO,EAEP,UAAC,EAAS;QAAP,KAAK,WAAA;IAAO,OAAA,KAAK,IAAI,wBAAgB;AAAzB,CAAyB,EAEtC,wBAAgB,EAGlB,UAAC,EAAS;QAAP,KAAK,WAAA;IAAO,OAAA,KAAK,IAAI,wBAAgB;AAAzB,CAAyB,EAEtC,wBAAgB,EAEpB;AAEF,cAAM,CAAC,WAAW,GAAG,QAAQ,CAAC;AAE9B,cAAM,CAAC,YAAY,GAAG;IACpB,QAAQ,EAAE,UAAU;CACrB,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import React from "react";
2
2
  import { ImageProps } from "../Image";
3
3
  import { AspectRatioBoxProps } from "../AspectRatioBox";
4
- export declare type ResponsiveImageProps = ImageProps & AspectRatioBoxProps & {
4
+ export type ResponsiveImageProps = ImageProps & AspectRatioBoxProps & {
5
5
  indicator?: boolean;
6
6
  placeholder?: string;
7
7
  };
@@ -1,11 +1,11 @@
1
1
  import React from "react";
2
2
  import { DropdownProps } from "../Dropdown";
3
- export declare type SelectValue = string | number | boolean | null;
4
- export declare type SelectOption = {
3
+ export type SelectValue = string | number | boolean | null;
4
+ export type SelectOption = {
5
5
  label: string;
6
6
  value: SelectValue;
7
7
  };
8
- export declare type SelectProps = Omit<DropdownProps, "children"> & {
8
+ export type SelectProps = Omit<DropdownProps, "children"> & {
9
9
  options: SelectOption[];
10
10
  value?: SelectValue;
11
11
  onChange?(value: SelectValue): void;
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import { BoxProps } from "../Box";
3
- export declare type SkeletonProps = BoxProps;
3
+ export type SkeletonProps = BoxProps;
4
4
  export declare const Skeleton: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, import("styled-system").BorderProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, import("csstype").Property.Border<import("styled-system").TLengthStyledSystem>> & import("styled-system").TypographyProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> & import("styled-system").FlexboxProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> & import("styled-system").SpaceProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, string | number | symbol> & import("styled-system").PositionProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> & import("styled-system").LayoutProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> & Omit<import("styled-system").ColorProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, string | number | symbol>, "color"> & import("../Box").TextColorProps & import("../Box").TransitionProps & {
5
5
  children?: import("react").ReactNode;
6
6
  }, never>;
@@ -1,7 +1,7 @@
1
1
  import React from "react";
2
2
  import { Theme } from "../theme";
3
3
  import { BoxProps } from "../Box";
4
- export declare type SpinnerProps = BoxProps & {
4
+ export type SpinnerProps = BoxProps & {
5
5
  size?: number;
6
6
  color?: keyof Theme["colors"];
7
7
  };
@@ -1,6 +1,6 @@
1
1
  import React from "react";
2
2
  import { StackProps } from "../Stack";
3
- export declare type SplitProps = StackProps & {
3
+ export type SplitProps = StackProps & {
4
4
  children: [JSX.Element, JSX.Element];
5
5
  };
6
6
  export declare const Split: React.FC<SplitProps>;
@@ -1,9 +1,9 @@
1
1
  import React from "react";
2
2
  import { BoxProps } from "../Box";
3
- declare type Direction = "vertical" | "horizontal";
3
+ type Direction = "vertical" | "horizontal";
4
4
  export declare const DEFAULT_STACK_SPACING = "-1px";
5
5
  export declare const DEFAULT_STACK_DIRECTION: Direction;
6
- export declare type StackProps = BoxProps & {
6
+ export type StackProps = BoxProps & {
7
7
  spacing?: number | string;
8
8
  direction?: Direction | Direction[];
9
9
  children?: React.ReactNode;
package/dist/Tag/Tag.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import React from "react";
2
2
  import { Box, BoxProps } from "../Box";
3
- export declare type TagProps = Omit<BoxProps, "bg" | "backgroundColor" | "children"> & {
3
+ export type TagProps = Omit<BoxProps, "bg" | "backgroundColor" | "children"> & {
4
4
  bg?: string;
5
5
  backgroundColor?: string;
6
6
  children: string | JSX.Element;
@@ -1,7 +1,7 @@
1
1
  import React from "react";
2
2
  import { Theme, Scheme } from "../theme";
3
3
  export declare const prefersDark: () => boolean;
4
- declare type Backend = {
4
+ type Backend = {
5
5
  get(): Scheme | null;
6
6
  set(scheme: Scheme): void;
7
7
  };
@@ -2,7 +2,7 @@ import React from "react";
2
2
  import { Box, BoxProps } from "../Box";
3
3
  import { Placement } from "../Popper";
4
4
  export declare const Tip: typeof Box;
5
- export declare type TooltipProps = BoxProps & {
5
+ export type TooltipProps = BoxProps & {
6
6
  children: JSX.Element;
7
7
  label: JSX.Element | string;
8
8
  placement?: Placement;
@@ -1,6 +1,6 @@
1
1
  import React from "react";
2
2
  import { CellProps } from "../Cell";
3
- export declare type UploadProps = CellProps & {
3
+ export type UploadProps = CellProps & {
4
4
  label: string;
5
5
  progress: number;
6
6
  foregroundColor?: string;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- export declare type UseClickOutside = {
2
+ export type UseClickOutside = {
3
3
  ref: React.RefObject<HTMLElement>;
4
4
  when: boolean;
5
5
  type?: keyof DocumentEventMap;
@@ -1,9 +1,9 @@
1
- export declare type Constants = {
1
+ export type Constants = {
2
2
  black: "black";
3
3
  white: "white";
4
4
  };
5
5
  export declare const CONSTANTS: Constants;
6
- export declare type ColorScheme = {
6
+ export type ColorScheme = {
7
7
  primary: string;
8
8
  border: string;
9
9
  secondary: string;
@@ -20,7 +20,7 @@ export declare const SCHEMES: {
20
20
  dark: ColorScheme;
21
21
  light: ColorScheme;
22
22
  };
23
- export declare type Scheme = keyof typeof SCHEMES;
23
+ export type Scheme = keyof typeof SCHEMES;
24
24
  export declare const SPACE_SCALE: readonly ["0", "0.125rem", "0.25rem", "0.5rem", "0.75rem", "1rem", "1.5rem", "2rem", "4rem", "8rem", "16rem"];
25
25
  export declare const SPACE_SCALE_UNIT = "rem";
26
26
  export declare const FONT_SCALE: readonly ["0.75rem", "0.875rem", "1rem", "1.125rem", "1.5rem", "2rem"];
@@ -41,4 +41,4 @@ export declare const THEME: {
41
41
  space: readonly ["0", "0.125rem", "0.25rem", "0.5rem", "0.75rem", "1rem", "1.5rem", "2rem", "4rem", "8rem", "16rem"];
42
42
  breakpoints: string[];
43
43
  };
44
- export declare type Theme = typeof THEME;
44
+ export type Theme = typeof THEME;