react-minolith 2.2.1 → 2.2.2

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,5 +1,5 @@
1
- import { BorderCollapse, BorderDetailProps, BorderRadius, BorderStyle, BorderWidth, ColorName, ColorProps } from '../types';
2
- export default interface BorderProps<ColorNameType extends string = ColorName> {
1
+ import { BorderCollapse, BorderDetailProps, BorderRadius, BorderStyle, BorderWidth, ColorProps } from '../types';
2
+ export default interface BorderProps<ColorNameType extends string> {
3
3
  color?: ColorProps<ColorNameType>;
4
4
  collapse?: BorderCollapse;
5
5
  radius?: BorderRadius;
@@ -1 +1 @@
1
- {"version":3,"file":"BorderProps.d.ts","sourceRoot":"","sources":["../../src/models/BorderProps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,cAAc,EACd,iBAAiB,EACjB,YAAY,EACZ,WAAW,EACX,WAAW,EACX,SAAS,EACT,UAAU,EACX,MAAM,UAAU,CAAC;AAElB,MAAM,CAAC,OAAO,WAAW,WAAW,CAAC,aAAa,SAAS,MAAM,GAAG,SAAS;IAC3E,KAAK,CAAC,EAAE,UAAU,CAAC,aAAa,CAAC,CAAC;IAClC,QAAQ,CAAC,EAAE,cAAc,CAAC;IAC1B,MAAM,CAAC,EAAE,YAAY,CAAC;IACtB,KAAK,CAAC,EAAE,WAAW,CAAC;IACpB,KAAK,CAAC,EAAE,WAAW,CAAC;IACpB,GAAG,CAAC,EAAE,iBAAiB,CAAC,aAAa,CAAC,CAAC;IACvC,MAAM,CAAC,EAAE,iBAAiB,CAAC,aAAa,CAAC,CAAC;IAC1C,IAAI,CAAC,EAAE,iBAAiB,CAAC,aAAa,CAAC,CAAC;IACxC,KAAK,CAAC,EAAE,iBAAiB,CAAC,aAAa,CAAC,CAAC;CAC1C"}
1
+ {"version":3,"file":"BorderProps.d.ts","sourceRoot":"","sources":["../../src/models/BorderProps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,cAAc,EACd,iBAAiB,EACjB,YAAY,EACZ,WAAW,EACX,WAAW,EACX,UAAU,EACX,MAAM,UAAU,CAAC;AAElB,MAAM,CAAC,OAAO,WAAW,WAAW,CAAC,aAAa,SAAS,MAAM;IAC/D,KAAK,CAAC,EAAE,UAAU,CAAC,aAAa,CAAC,CAAC;IAClC,QAAQ,CAAC,EAAE,cAAc,CAAC;IAC1B,MAAM,CAAC,EAAE,YAAY,CAAC;IACtB,KAAK,CAAC,EAAE,WAAW,CAAC;IACpB,KAAK,CAAC,EAAE,WAAW,CAAC;IACpB,GAAG,CAAC,EAAE,iBAAiB,CAAC,aAAa,CAAC,CAAC;IACvC,MAAM,CAAC,EAAE,iBAAiB,CAAC,aAAa,CAAC,CAAC;IAC1C,IAAI,CAAC,EAAE,iBAAiB,CAAC,aAAa,CAAC,CAAC;IACxC,KAAK,CAAC,EAAE,iBAAiB,CAAC,aAAa,CAAC,CAAC;CAC1C"}
@@ -1,5 +1,5 @@
1
- import { ColorLightness, ColorName } from '../types';
2
- export default interface ColorAttributes<ColorNameType extends string = ColorName> {
1
+ import { ColorLightness } from '../types';
2
+ export default interface ColorAttributes<ColorNameType extends string> {
3
3
  name: ColorNameType;
4
4
  lightness: ColorLightness;
5
5
  alpha?: number;
@@ -1 +1 @@
1
- {"version":3,"file":"ColorAttributes.d.ts","sourceRoot":"","sources":["../../src/models/ColorAttributes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAE1D,MAAM,CAAC,OAAO,WAAW,eAAe,CACtC,aAAa,SAAS,MAAM,GAAG,SAAS;IAExC,IAAI,EAAE,aAAa,CAAC;IACpB,SAAS,EAAE,cAAc,CAAC;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB"}
1
+ {"version":3,"file":"ColorAttributes.d.ts","sourceRoot":"","sources":["../../src/models/ColorAttributes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAE/C,MAAM,CAAC,OAAO,WAAW,eAAe,CAAC,aAAa,SAAS,MAAM;IACnE,IAAI,EAAE,aAAa,CAAC;IACpB,SAAS,EAAE,cAAc,CAAC;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB"}
@@ -1,7 +1,6 @@
1
1
  import { Property } from 'csstype';
2
2
  import { default as ColorAttributes } from './ColorAttributes';
3
- import { ColorName } from '../types';
4
- export default interface LightDarkColor<BaseComponentColorNameType extends string = ColorName> {
3
+ export default interface LightDarkColor<BaseComponentColorNameType extends string> {
5
4
  light: Property.Color | ColorAttributes<BaseComponentColorNameType>;
6
5
  dark: Property.Color | ColorAttributes<BaseComponentColorNameType>;
7
6
  }
@@ -1 +1 @@
1
- {"version":3,"file":"LightDarkColor.d.ts","sourceRoot":"","sources":["../../src/models/LightDarkColor.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AACxC,OAAO,KAAK,eAAe,MAAM,mBAAmB,CAAC;AACrD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAE1C,MAAM,CAAC,OAAO,WAAW,cAAc,CAAC,0BAA0B,SAAS,MAAM,GAAG,SAAS;IAC3F,KAAK,EAAE,QAAQ,CAAC,KAAK,GAAG,eAAe,CAAC,0BAA0B,CAAC,CAAC;IACpE,IAAI,EAAE,QAAQ,CAAC,KAAK,GAAG,eAAe,CAAC,0BAA0B,CAAC,CAAC;CACpE"}
1
+ {"version":3,"file":"LightDarkColor.d.ts","sourceRoot":"","sources":["../../src/models/LightDarkColor.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AACxC,OAAO,KAAK,eAAe,MAAM,mBAAmB,CAAC;AAErD,MAAM,CAAC,OAAO,WAAW,cAAc,CACrC,0BAA0B,SAAS,MAAM;IAEzC,KAAK,EAAE,QAAQ,CAAC,KAAK,GAAG,eAAe,CAAC,0BAA0B,CAAC,CAAC;IACpE,IAAI,EAAE,QAAQ,CAAC,KAAK,GAAG,eAAe,CAAC,0BAA0B,CAAC,CAAC;CACpE"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-minolith",
3
- "version": "2.2.1",
3
+ "version": "2.2.2",
4
4
  "description": "react-minolith is an open-source react wrapper for minolith.",
5
5
  "type": "module",
6
6
  "main": "./dist/react-minolith.js",