@cronocode/react-box 1.3.8 → 1.3.9

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.
package/types.d.ts CHANGED
@@ -47,7 +47,6 @@ type GapType = (typeof styleVariables.gap)[number];
47
47
  type BoxSizeValue = (typeof styleVariables.sizeSpecialValues)[number];
48
48
  type BorderSizeType = (typeof styleVariables.borderSizes)[number];
49
49
  type SizeType = (typeof styleVariables.sizes)[number];
50
- export type ColorType = string;
51
50
  type CursorType = (typeof styleVariables.cursors)[number];
52
51
  type OverflowType = (typeof styleVariables.overflows)[number];
53
52
  type FontSizeType = (typeof styleVariables.fontSizes)[number];
@@ -59,7 +58,6 @@ type TextTransformType = (typeof styleVariables.textTransform)[number];
59
58
  type TextAlignType = (typeof styleVariables.textAlign)[number];
60
59
  type BorderAndOutlineStyleType = (typeof styleVariables.borderAndOutlineStyles)[number];
61
60
  type TransitionType = (typeof styleVariables.transition)[number];
62
- type BackgroundType = (typeof styleVariables.background)[number];
63
61
  type UserSelectType = (typeof styleVariables.userSelect)[number];
64
62
  type AppearanceType = (typeof styleVariables.appearance)[number];
65
63
  type PointerEventsType = (typeof styleVariables.pointerEvents)[number];
@@ -154,17 +152,10 @@ interface BoxBorder {
154
152
  borderRadiusBottomRight?: SizeType;
155
153
  }
156
154
  interface BoxShadow {
157
- shadow?: string;
158
155
  }
159
156
  interface BoxBackground {
160
- background?: BackgroundType | string;
161
- bg?: BackgroundType | string;
162
157
  }
163
158
  interface BoxColors {
164
- backgroundColor?: ColorType | string;
165
- bgColor?: ColorType | string;
166
- borderColor?: ColorType | string;
167
- outlineColor?: ColorType | string;
168
159
  }
169
160
  interface BoxCursor {
170
161
  cursor?: CursorType;