infinity-forge 13.6.6 → 13.6.7

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.
@@ -2,14 +2,8 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.NaoRemoverDaHomeUsadaParaTesteTestarAquiDentro = NaoRemoverDaHomeUsadaParaTesteTestarAquiDentro;
4
4
  var jsx_runtime_1 = require("react/jsx-runtime");
5
- var system_1 = require("../system/index.js");
5
+ var ui_1 = require("../ui/index.js");
6
6
  function NaoRemoverDaHomeUsadaParaTesteTestarAquiDentro() {
7
- var _a = (0, system_1.useFavorites)(), favorites = _a.favorites, toggleFavorite = _a.toggleFavorite;
8
- return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)("button", { onClick: function () {
9
- return toggleFavorite({
10
- id: 2,
11
- descricao: 'name do item',
12
- });
13
- }, children: "Add favorite" }), (0, jsx_runtime_1.jsx)("ul", { children: favorites.map(function (item) { return ((0, jsx_runtime_1.jsx)("li", { children: item.descricao }, item.id)); }) })] }));
7
+ return ((0, jsx_runtime_1.jsx)(ui_1.FormHandler, { schema: { test: ui_1.schema.required(), test2: ui_1.schema.required() }, children: (0, jsx_runtime_1.jsx)(ui_1.InputDatePicker, { name: 'test', date: { minDate: new Date() } }) }));
14
8
  }
15
9
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/test/index.tsx"],"names":[],"mappings":";;AAGA,wGAuBC;;AA1BD,mCAAuC;AAGvC,SAAgB,8CAA8C;IACtD,IAAA,KAAgC,IAAA,qBAAY,GAAE,EAA5C,SAAS,eAAA,EAAE,cAAc,oBAAmB,CAAA;IAEpD,OAAO,CACL,6DACE,mCACE,OAAO,EAAE;oBACP,OAAA,cAAc,CAAC;wBACb,EAAE,EAAE,CAAC;wBACL,SAAS,EAAE,cAAc;qBAC1B,CAAC;gBAHF,CAGE,6BAIG,EAET,yCACG,SAAS,CAAC,GAAG,CAAC,UAAC,IAAI,IAAK,OAAA,CACvB,yCAAmB,IAAI,CAAC,SAAS,IAAxB,IAAI,CAAC,EAAE,CAAuB,CACxC,EAFwB,CAExB,CAAC,GACC,IACJ,CACJ,CAAA;AACH,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/test/index.tsx"],"names":[],"mappings":";;AAEA,wGAMC;;AARD,2BAA4D;AAE5D,SAAgB,8CAA8C;IAC5D,OAAO,CACL,uBAAC,gBAAW,IAAC,MAAM,EAAE,EAAE,IAAI,EAAE,WAAM,CAAC,QAAQ,EAAE,EAAE,KAAK,EAAE,WAAM,CAAC,QAAQ,EAAE,EAAE,YACtE,uBAAC,oBAAe,IAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAE,EAAG,OAAO,EAAE,IAAI,IAAI,EAAE,EAAE,GAAK,GACtD,CACf,CAAA;AACH,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import { JSX } from 'react';
2
2
  import { IPrivatePage } from '../../../../../../system/context/auth/components/private-page/interfaces.js';
3
- export interface IFavoriteListProps extends IPrivatePage {
3
+ export interface IFavoriteListProps extends Omit<IPrivatePage, `children`> {
4
4
  Component: (props: any) => JSX.Element;
5
5
  }
6
6
  export declare function FavoriteList({ Component }: IFavoriteListProps): import("react/jsx-runtime").JSX.Element;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "infinity-forge",
3
- "version": "13.6.6",
3
+ "version": "13.6.7",
4
4
  "description": "codie Library",
5
5
  "main": "./dist/index",
6
6
  "module": "./dist/index",