@animus-ui/core 0.1.1-beta.13 → 0.1.1-beta.17

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.
@@ -1,8 +1,8 @@
1
1
  import { Theme } from '@emotion/react';
2
+ import { CSSPropMap, CSSProps } from '../types/config';
2
3
  import { DefaultCSSPropertyValue, PropertyTypes } from '../types/properties';
3
- import { CSSObject } from '../types/shared';
4
4
  import { AbstractProps, ResponsiveProp, ThemeProps } from '../types/props';
5
- import { CSSPropMap, CSSProps } from '../types/config';
5
+ import { CSSObject } from '../types/shared';
6
6
  import { AllUnionKeys, Key, KeyFromUnion } from '../types/utils';
7
7
  export declare type MapScale = Record<string | number, string | number>;
8
8
  export declare type ArrayScale = readonly (string | number | CSSObject)[] & {
@@ -1,8 +1,8 @@
1
- import { createCss } from './createCss';
2
- import { createVariant } from './createVariant';
3
- import { create } from './create';
4
1
  import { compose } from './compose';
2
+ import { create } from './create';
3
+ import { createCss } from './createCss';
5
4
  import { createStates } from './createStates';
5
+ import { createVariant } from './createVariant';
6
6
  export declare const animusProps: {
7
7
  compose: typeof compose;
8
8
  create: typeof create;
@@ -1,7 +1,7 @@
1
- import { AbstractPropTransformer } from './config';
2
- import { CSSObject } from '../types/shared';
3
1
  import { MediaQueryCache, MediaQueryMap, ThemeProps } from '../types/props';
2
+ import { CSSObject } from '../types/shared';
4
3
  import { Breakpoints } from '../types/theme';
4
+ import { AbstractPropTransformer } from './config';
5
5
  export declare const createMediaQueries: (breakpoints?: Breakpoints | undefined) => MediaQueryCache | null;
6
6
  export declare const isMediaArray: (val: unknown) => val is (string | number)[];
7
7
  export declare const isMediaMap: (val: object) => val is MediaQueryMap<string | number>;
@@ -1,2 +1,2 @@
1
1
  import { Parser, Prop } from '../types/config';
2
- export declare function createParser<Config extends Record<string, Prop>>(config: Config): Parser<Config>;
2
+ export declare function createParser<Config extends Record<string, Prop>>(config: Config, omitProps?: string[]): Parser<Config>;
@@ -1,4 +1,4 @@
1
1
  import { Prop } from '../types/config';
2
- import { CSSObject } from '../types/shared';
3
2
  import { AbstractProps } from '../types/props';
3
+ import { CSSObject } from '../types/shared';
4
4
  export declare const createPropertyStyle: <Config extends Prop, Value>(value: Value, props: AbstractProps, config: Config) => CSSObject;
@@ -1,7 +1,7 @@
1
1
  import { Prop } from '../types/config';
2
2
  import { MediaQueryCache, MediaQueryMap, ThemeProps } from '../types/props';
3
- import { Breakpoints } from '../types/theme';
4
3
  import { CSSObject } from '../types/shared';
4
+ import { Breakpoints } from '../types/theme';
5
5
  export declare const createMediaQueries: (breakpoints?: Breakpoints | undefined) => MediaQueryCache | null;
6
6
  export declare const isMediaArray: (val: unknown) => val is (string | number)[];
7
7
  export declare const isMediaMap: (val: object) => val is MediaQueryMap<string | number>;
@@ -1,10 +1,10 @@
1
1
  import { Theme } from '@emotion/react';
2
- import { CSSObject } from './shared';
3
- import { DefaultCSSPropertyValue, PropertyTypes, CSSPropertyTypes } from './properties';
2
+ import { CompatTheme } from '../compatTheme';
3
+ import { CSSPropertyTypes, DefaultCSSPropertyValue, PropertyTypes } from './properties';
4
4
  import { AbstractProps, ResponsiveProp, ThemeProps } from './props';
5
- import { Arg } from './utils';
6
5
  import { ArrayScale, MapScale } from './scales';
7
- import { CompatTheme } from '../compatTheme';
6
+ import { CSSObject } from './shared';
7
+ import { Arg } from './utils';
8
8
  export interface BaseProperty {
9
9
  property: keyof PropertyTypes;
10
10
  properties?: readonly (keyof PropertyTypes)[];
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@animus-ui/core",
3
3
  "description": "Constraint based CSS in JS Foundations",
4
- "version": "0.1.1-beta.13",
4
+ "version": "0.1.1-beta.17",
5
5
  "keywords": [
6
6
  "emotion",
7
7
  "css",
@@ -36,5 +36,5 @@
36
36
  "dependencies": {
37
37
  "csstype": "^3.0.7"
38
38
  },
39
- "gitHead": "a524996043ae5e449c4192522f6564c3951a5187"
39
+ "gitHead": "f675c939172dab4202db615de2804470512f5dc6"
40
40
  }
package/tsconfig.json CHANGED
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "extends": "../../tsconfig.json",
3
3
  "compilerOptions": {
4
+ "skipLibCheck": false,
4
5
  "outDir": "./dist"
5
6
  },
6
7
  "include": ["../../typings/*.d.ts", "./src/**/*.ts", "./src/**/*.tsx"],