infinity-forge 0.0.5 → 0.0.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "infinity-forge",
3
- "version": "0.0.5",
3
+ "version": "0.0.7",
4
4
  "description": "codie Library",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",
@@ -15,8 +15,7 @@
15
15
  "build": "npm run build:cjs",
16
16
  "nextBuild": "next build",
17
17
  "build:esm": "tsc",
18
- "build:cjs": "tsc --module commonjs --outDir dist && tsc-alias -p tsconfig.json && for /r src %i in (*.otf, *.ttf) do copy \"%i\" dist\\ && for /r src %i in (*.css) do copy \"%i\" dist\\"
19
- },
18
+ "build:cjs": "tsc --module commonjs --outDir dist && tsc-alias -p tsconfig.json && for /r src %i in (.otf, *.ttf) do copy \"%i\" dist\\ && for /r src %i in (.css) do copy \"%i\" dist\\" },
20
19
  "peerDependencies": {
21
20
  "react": ">=16"
22
21
  },
@@ -1,2 +0,0 @@
1
- import { SwiperOptions } from 'swiper';
2
- export declare const SwiperConfigs: SwiperOptions;
@@ -1,18 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SwiperConfigs = void 0;
4
- exports.SwiperConfigs = {
5
- slidesPerView: 'auto',
6
- spaceBetween: 30,
7
- loop: true,
8
- autoplay: {
9
- delay: 4000,
10
- },
11
- breakpoints: {
12
- 520: { slidesPerView: 2, spaceBetween: 10 },
13
- 768: { slidesPerView: 3, spaceBetween: 10 },
14
- 1024: { slidesPerView: 4, spaceBetween: 20 },
15
- 1400: { slidesPerView: 4, spaceBetween: 30 },
16
- },
17
- };
18
- //# sourceMappingURL=swiper-configs.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"swiper-configs.js","sourceRoot":"","sources":["../../../../src/sites/components/brands-carousel/swiper-configs.ts"],"names":[],"mappings":";;;AAEa,QAAA,aAAa,GAAkB;IAC1C,aAAa,EAAE,MAAM;IACrB,YAAY,EAAE,EAAE;IAChB,IAAI,EAAE,IAAI;IACV,QAAQ,EAAE;QACR,KAAK,EAAE,IAAI;KACZ;IACD,WAAW,EAAE;QACX,GAAG,EAAE,EAAE,aAAa,EAAE,CAAC,EAAE,YAAY,EAAE,EAAE,EAAE;QAC3C,GAAG,EAAE,EAAE,aAAa,EAAE,CAAC,EAAE,YAAY,EAAE,EAAE,EAAE;QAC3C,IAAI,EAAE,EAAE,aAAa,EAAE,CAAC,EAAE,YAAY,EAAE,EAAE,EAAE;QAC5C,IAAI,EAAE,EAAE,aAAa,EAAE,CAAC,EAAE,YAAY,EAAE,EAAE,EAAE;KAC7C;CACF,CAAA"}
@@ -1,3 +0,0 @@
1
- declare const _default: Meta;
2
- export default _default;
3
- export declare const Default: any;
@@ -1,55 +0,0 @@
1
- "use strict";
2
- var __assign = (this && this.__assign) || function () {
3
- __assign = Object.assign || function(t) {
4
- for (var s, i = 1, n = arguments.length; i < n; i++) {
5
- s = arguments[i];
6
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
7
- t[p] = s[p];
8
- }
9
- return t;
10
- };
11
- return __assign.apply(this, arguments);
12
- };
13
- Object.defineProperty(exports, "__esModule", { value: true });
14
- exports.Default = void 0;
15
- var jsx_runtime_1 = require("react/jsx-runtime");
16
- var component_1 = require("./component");
17
- exports.default = {
18
- component: component_1.Carousel,
19
- title: 'Components/Generics/Carousel',
20
- };
21
- var Template = function (args) { return (0, jsx_runtime_1.jsx)(component_1.Carousel, __assign({}, args)); };
22
- var SwiperConfigs = {
23
- slidesPerView: 'auto',
24
- spaceBetween: 30,
25
- loop: true,
26
- autoplay: {
27
- delay: 4000,
28
- },
29
- breakpoints: {
30
- 520: { slidesPerView: 2, spaceBetween: 10 },
31
- 768: { slidesPerView: 3, spaceBetween: 10 },
32
- 1024: { slidesPerView: 4, spaceBetween: 20 },
33
- 1400: { slidesPerView: 4, spaceBetween: 30 },
34
- },
35
- };
36
- var LIST = [
37
- { id: 1, titulo: 'teste', descricao: 'dfasdfouasfh' },
38
- { id: 1, titulo: 'teste' },
39
- { id: 1, titulo: 'teste' },
40
- ];
41
- function CardTest(_a) {
42
- var titulo = _a.titulo, descricao = _a.descricao;
43
- return ((0, jsx_runtime_1.jsxs)("div", { children: [(0, jsx_runtime_1.jsx)("h1", { children: titulo }), (0, jsx_runtime_1.jsx)("p", { children: descricao })] }));
44
- }
45
- exports.Default = Template.bind({});
46
- exports.Default.args = {
47
- version: 'Version01',
48
- data: {
49
- id: 'uniqueId',
50
- list: LIST,
51
- Card: CardTest,
52
- swiperConfigs: SwiperConfigs,
53
- },
54
- };
55
- //# sourceMappingURL=componente.stories.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"componente.stories.js","sourceRoot":"","sources":["../../../../src/sites/components/carousel/componente.stories.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;AAEA,yCAAsC;AAKtC,kBAAe;IACb,SAAS,EAAE,oBAAQ;IACnB,KAAK,EAAE,8BAA8B;CAC9B,CAAA;AAET,IAAM,QAAQ,GAAwB,UAAC,IAAI,IAAK,OAAA,uBAAC,oBAAQ,eAAK,IAAI,EAAI,EAAtB,CAAsB,CAAA;AAEtE,IAAM,aAAa,GAAkB;IACnC,aAAa,EAAE,MAAM;IACrB,YAAY,EAAE,EAAE;IAChB,IAAI,EAAE,IAAI;IACV,QAAQ,EAAE;QACR,KAAK,EAAE,IAAI;KACZ;IACD,WAAW,EAAE;QACX,GAAG,EAAE,EAAE,aAAa,EAAE,CAAC,EAAE,YAAY,EAAE,EAAE,EAAE;QAC3C,GAAG,EAAE,EAAE,aAAa,EAAE,CAAC,EAAE,YAAY,EAAE,EAAE,EAAE;QAC3C,IAAI,EAAE,EAAE,aAAa,EAAE,CAAC,EAAE,YAAY,EAAE,EAAE,EAAE;QAC5C,IAAI,EAAE,EAAE,aAAa,EAAE,CAAC,EAAE,YAAY,EAAE,EAAE,EAAE;KAC7C;CACF,CAAA;AAED,IAAM,IAAI,GAAG;IACX,EAAE,EAAE,EAAE,CAAC,EAAE,MAAM,EAAE,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE;IACrD,EAAE,EAAE,EAAE,CAAC,EAAE,MAAM,EAAE,OAAO,EAAE;IAC1B,EAAE,EAAE,EAAE,CAAC,EAAE,MAAM,EAAE,OAAO,EAAE;CAC3B,CAAA;AAED,SAAS,QAAQ,CAAC,EAAmC;QAAjC,MAAM,YAAA,EAAE,SAAS,eAAA;IACnC,OAAO,CACL,4CACE,yCAAK,MAAM,GAAM,EAEjB,wCAAI,SAAS,GAAK,IACd,CACP,CAAA;AACH,CAAC;AAEY,QAAA,OAAO,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAA;AACxC,eAAO,CAAC,IAAI,GAAG;IACb,OAAO,EAAE,WAAW;IACpB,IAAI,EAAE;QACJ,EAAE,EAAE,UAAU;QACd,IAAI,EAAE,IAAI;QACV,IAAI,EAAE,QAAQ;QACd,aAAa,EAAE,aAAa;KAC7B;CACF,CAAA"}
@@ -1,3 +0,0 @@
1
- declare const _default: Meta;
2
- export default _default;
3
- export declare const Version01Carousel: any;
@@ -1,66 +0,0 @@
1
- "use strict";
2
- var __assign = (this && this.__assign) || function () {
3
- __assign = Object.assign || function(t) {
4
- for (var s, i = 1, n = arguments.length; i < n; i++) {
5
- s = arguments[i];
6
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
7
- t[p] = s[p];
8
- }
9
- return t;
10
- };
11
- return __assign.apply(this, arguments);
12
- };
13
- Object.defineProperty(exports, "__esModule", { value: true });
14
- exports.Version01Carousel = void 0;
15
- var jsx_runtime_1 = require("react/jsx-runtime");
16
- var component_01_1 = require("./component-01");
17
- var SwiperConfigs = {
18
- slidesPerView: 'auto',
19
- spaceBetween: 30,
20
- loop: true,
21
- autoplay: {
22
- delay: 4000,
23
- },
24
- breakpoints: {
25
- 520: { slidesPerView: 2, spaceBetween: 10 },
26
- 768: { slidesPerView: 3, spaceBetween: 10 },
27
- 1024: { slidesPerView: 4, spaceBetween: 20 },
28
- 1400: { slidesPerView: 4, spaceBetween: 30 },
29
- },
30
- };
31
- function CardTest(_a) {
32
- var titulo = _a.titulo, descricao = _a.descricao;
33
- return ((0, jsx_runtime_1.jsxs)("div", { children: [(0, jsx_runtime_1.jsx)("h1", { children: titulo }), (0, jsx_runtime_1.jsx)("p", { children: descricao })] }));
34
- }
35
- exports.default = {
36
- title: 'Components/Generics/Carousel',
37
- component: component_01_1.Version01,
38
- argTypes: {
39
- swiperConfigs: { control: 'object', description: 'Swiper configuration options' },
40
- },
41
- };
42
- var Template = function (args) { return (0, jsx_runtime_1.jsx)(component_01_1.Version01, __assign({}, args)); };
43
- exports.Version01Carousel = Template.bind({});
44
- exports.Version01Carousel.args = {
45
- id: 'Unique id',
46
- list: [
47
- {
48
- id: 1,
49
- titulo: 'Title Test',
50
- descricao: 'Description Test',
51
- },
52
- {
53
- id: 1,
54
- titulo: 'Title Test',
55
- descricao: 'Description Test',
56
- },
57
- {
58
- id: 1,
59
- titulo: 'Title Test',
60
- descricao: 'Description Test',
61
- },
62
- ],
63
- Card: CardTest,
64
- swiperConfigs: SwiperConfigs,
65
- };
66
- //# sourceMappingURL=component-01.stories.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"component-01.stories.js","sourceRoot":"","sources":["../../../../../../src/sites/components/carousel/versions/version-01/component-01.stories.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;AAIA,+CAA0C;AAK1C,IAAM,aAAa,GAAkB;IACnC,aAAa,EAAE,MAAM;IACrB,YAAY,EAAE,EAAE;IAChB,IAAI,EAAE,IAAI;IACV,QAAQ,EAAE;QACR,KAAK,EAAE,IAAI;KACZ;IACD,WAAW,EAAE;QACX,GAAG,EAAE,EAAE,aAAa,EAAE,CAAC,EAAE,YAAY,EAAE,EAAE,EAAE;QAC3C,GAAG,EAAE,EAAE,aAAa,EAAE,CAAC,EAAE,YAAY,EAAE,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