@uni-design-system/uni-react 0.0.5 → 0.0.6

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,6 +1,6 @@
1
- import React, { ReactNode } from 'react';
1
+ import React, { HTMLAttributes, ReactNode } from 'react';
2
2
  import { AlignContent, FlexDirection, FlexGrow, FlexShrink, FlexWrap, JustifyContent } from '@uni-design-system/uni-core';
3
- export interface FlexOptions {
3
+ export interface FlexOptions extends HTMLAttributes<HTMLDivElement> {
4
4
  /**
5
5
  * Shorthand for `alignItems` style prop
6
6
  * @type AlignItems
@@ -1 +1 @@
1
- {"version":3,"file":"flex.component.js","sourceRoot":"","sources":["../../../../src/core/flex/flex.component.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,kDAAyC;AACzC,iCAAkD;AA2DlD;;;;;;;GAOG;AACU,QAAA,IAAI,GAAG,IAAA,kBAAU,EAA4B,CAAC,KAAK,EAAE,GAAG,EAAE,EAAE;IACvE,MAAM,EAAE,SAAS,EAAE,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,KAAc,KAAK,EAAd,IAAI,UAAK,KAAK,EAAzE,oEAAiE,CAAQ,CAAC;IAEhF,MAAM,MAAM,GAAkB;QAC5B,OAAO,EAAE,MAAM;QACf,aAAa,EAAE,SAAS;QACxB,UAAU,EAAE,KAAK;QACjB,cAAc,EAAE,OAAO;QACvB,QAAQ,EAAE,IAAI;QACd,SAAS,EAAE,KAAK;QAChB,QAAQ,EAAE,IAAI;QACd,UAAU,EAAE,MAAM;KACnB,CAAC;IAEF,OAAO,qDAAK,GAAG,EAAE,GAAG,EAAE,KAAK,EAAE,MAAM,IAAM,IAAI,EAAI,CAAC;AACpD,CAAC,CAAC,CAAC;AAEH,YAAI,CAAC,WAAW,GAAG,MAAM,CAAC"}
1
+ {"version":3,"file":"flex.component.js","sourceRoot":"","sources":["../../../../src/core/flex/flex.component.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,kDAAyD;AACzD,iCAAkD;AA2DlD;;;;;;;GAOG;AACU,QAAA,IAAI,GAAG,IAAA,kBAAU,EAA4B,CAAC,KAAK,EAAE,GAAG,EAAE,EAAE;IACvE,MAAM,EAAE,SAAS,EAAE,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,KAAc,KAAK,EAAd,IAAI,UAAK,KAAK,EAAzE,oEAAiE,CAAQ,CAAC;IAEhF,MAAM,MAAM,GAAkB;QAC5B,OAAO,EAAE,MAAM;QACf,aAAa,EAAE,SAAS;QACxB,UAAU,EAAE,KAAK;QACjB,cAAc,EAAE,OAAO;QACvB,QAAQ,EAAE,IAAI;QACd,SAAS,EAAE,KAAK;QAChB,QAAQ,EAAE,IAAI;QACd,UAAU,EAAE,MAAM;KACnB,CAAC;IAEF,OAAO,qDAAK,GAAG,EAAE,GAAG,EAAE,KAAK,EAAE,MAAM,IAAM,IAAI,EAAI,CAAC;AACpD,CAAC,CAAC,CAAC;AAEH,YAAI,CAAC,WAAW,GAAG,MAAM,CAAC"}
@@ -1 +1,2 @@
1
1
  export * from './flex.style';
2
+ export * from './flex.component';
@@ -15,4 +15,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./flex.style"), exports);
18
+ __exportStar(require("./flex.component"), exports);
18
19
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/core/flex/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/core/flex/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B;AAC7B,mDAAiC"}
@@ -1,6 +1,6 @@
1
- import React, { ReactNode } from 'react';
1
+ import React, { HTMLAttributes, ReactNode } from 'react';
2
2
  import { AlignContent, FlexDirection, FlexGrow, FlexShrink, FlexWrap, JustifyContent } from '@uni-design-system/uni-core';
3
- export interface FlexOptions {
3
+ export interface FlexOptions extends HTMLAttributes<HTMLDivElement> {
4
4
  /**
5
5
  * Shorthand for `alignItems` style prop
6
6
  * @type AlignItems
@@ -1 +1 @@
1
- {"version":3,"file":"flex.component.js","sourceRoot":"","sources":["../../../../src/core/flex/flex.component.tsx"],"names":[],"mappings":";;;;;;;;;;;AAAA,OAAO,KAAoB,MAAM,OAAO,CAAC;AACzC,OAAO,EAAiB,UAAU,EAAE,MAAM,OAAO,CAAC;AA2DlD;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,IAAI,GAAG,UAAU,CAA4B,CAAC,KAAK,EAAE,GAAG,EAAE,EAAE;IACvE,MAAM,EAAE,SAAS,EAAE,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,KAAc,KAAK,EAAd,IAAI,UAAK,KAAK,EAAzE,oEAAiE,CAAQ,CAAC;IAEhF,MAAM,MAAM,GAAkB;QAC5B,OAAO,EAAE,MAAM;QACf,aAAa,EAAE,SAAS;QACxB,UAAU,EAAE,KAAK;QACjB,cAAc,EAAE,OAAO;QACvB,QAAQ,EAAE,IAAI;QACd,SAAS,EAAE,KAAK;QAChB,QAAQ,EAAE,IAAI;QACd,UAAU,EAAE,MAAM;KACnB,CAAC;IAEF,OAAO,2CAAK,GAAG,EAAE,GAAG,EAAE,KAAK,EAAE,MAAM,IAAM,IAAI,EAAI,CAAC;AACpD,CAAC,CAAC,CAAC;AAEH,IAAI,CAAC,WAAW,GAAG,MAAM,CAAC"}
1
+ {"version":3,"file":"flex.component.js","sourceRoot":"","sources":["../../../../src/core/flex/flex.component.tsx"],"names":[],"mappings":";;;;;;;;;;;AAAA,OAAO,KAAoC,MAAM,OAAO,CAAC;AACzD,OAAO,EAAiB,UAAU,EAAE,MAAM,OAAO,CAAC;AA2DlD;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,IAAI,GAAG,UAAU,CAA4B,CAAC,KAAK,EAAE,GAAG,EAAE,EAAE;IACvE,MAAM,EAAE,SAAS,EAAE,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,KAAc,KAAK,EAAd,IAAI,UAAK,KAAK,EAAzE,oEAAiE,CAAQ,CAAC;IAEhF,MAAM,MAAM,GAAkB;QAC5B,OAAO,EAAE,MAAM;QACf,aAAa,EAAE,SAAS;QACxB,UAAU,EAAE,KAAK;QACjB,cAAc,EAAE,OAAO;QACvB,QAAQ,EAAE,IAAI;QACd,SAAS,EAAE,KAAK;QAChB,QAAQ,EAAE,IAAI;QACd,UAAU,EAAE,MAAM;KACnB,CAAC;IAEF,OAAO,2CAAK,GAAG,EAAE,GAAG,EAAE,KAAK,EAAE,MAAM,IAAM,IAAI,EAAI,CAAC;AACpD,CAAC,CAAC,CAAC;AAEH,IAAI,CAAC,WAAW,GAAG,MAAM,CAAC"}
@@ -1 +1,2 @@
1
1
  export * from './flex.style';
2
+ export * from './flex.component';
@@ -1,2 +1,3 @@
1
1
  export * from './flex.style';
2
+ export * from './flex.component';
2
3
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/core/flex/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/core/flex/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,kBAAkB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uni-design-system/uni-react",
3
- "version": "0.0.5",
3
+ "version": "0.0.6",
4
4
  "description": "React component library for the UNI Design System.",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",