contentoh-components-library 12.0.0 → 13.0.0

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/dist/index.js CHANGED
@@ -1,39 +1,13 @@
1
1
  "use strict";
2
2
 
3
- var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
4
-
5
3
  Object.defineProperty(exports, "__esModule", {
6
4
  value: true
7
5
  });
8
- var _exportNames = {
9
- fonts: true,
10
- globalStyles: true,
11
- variables: true,
12
- assets: true
13
- };
14
- exports.variables = exports.globalStyles = exports.fonts = exports.assets = void 0;
15
-
16
- var fonts = _interopRequireWildcard(require("./global-files/fonts"));
17
-
18
- exports.fonts = fonts;
19
-
20
- var globalStyles = _interopRequireWildcard(require("./global-files/global-styles"));
21
-
22
- exports.globalStyles = globalStyles;
23
-
24
- var variables = _interopRequireWildcard(require("./global-files/variables"));
25
-
26
- exports.variables = variables;
27
-
28
- var assets = _interopRequireWildcard(require("./assets/images"));
29
-
30
- exports.assets = assets;
31
6
 
32
7
  var _index = require("./components/atoms/ActivedFilter/index");
33
8
 
34
9
  Object.keys(_index).forEach(function (key) {
35
10
  if (key === "default" || key === "__esModule") return;
36
- if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
37
11
  if (key in exports && exports[key] === _index[key]) return;
38
12
  Object.defineProperty(exports, key, {
39
13
  enumerable: true,
@@ -47,7 +21,6 @@ var _index2 = require("./components/atoms/AsignationOption/index");
47
21
 
48
22
  Object.keys(_index2).forEach(function (key) {
49
23
  if (key === "default" || key === "__esModule") return;
50
- if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
51
24
  if (key in exports && exports[key] === _index2[key]) return;
52
25
  Object.defineProperty(exports, key, {
53
26
  enumerable: true,
@@ -61,7 +34,6 @@ var _index3 = require("./components/atoms/AtomList/index");
61
34
 
62
35
  Object.keys(_index3).forEach(function (key) {
63
36
  if (key === "default" || key === "__esModule") return;
64
- if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
65
37
  if (key in exports && exports[key] === _index3[key]) return;
66
38
  Object.defineProperty(exports, key, {
67
39
  enumerable: true,
@@ -75,7 +47,6 @@ var _index4 = require("./components/atoms/Avatar/index");
75
47
 
76
48
  Object.keys(_index4).forEach(function (key) {
77
49
  if (key === "default" || key === "__esModule") return;
78
- if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
79
50
  if (key in exports && exports[key] === _index4[key]) return;
80
51
  Object.defineProperty(exports, key, {
81
52
  enumerable: true,
@@ -89,7 +60,6 @@ var _index5 = require("./components/atoms/CheckBox/index");
89
60
 
90
61
  Object.keys(_index5).forEach(function (key) {
91
62
  if (key === "default" || key === "__esModule") return;
92
- if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
93
63
  if (key in exports && exports[key] === _index5[key]) return;
94
64
  Object.defineProperty(exports, key, {
95
65
  enumerable: true,
@@ -103,7 +73,6 @@ var _index6 = require("./components/atoms/CustomerTypeImage/index");
103
73
 
104
74
  Object.keys(_index6).forEach(function (key) {
105
75
  if (key === "default" || key === "__esModule") return;
106
- if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
107
76
  if (key in exports && exports[key] === _index6[key]) return;
108
77
  Object.defineProperty(exports, key, {
109
78
  enumerable: true,
@@ -117,7 +86,6 @@ var _index7 = require("./components/atoms/DropDownButton/index");
117
86
 
118
87
  Object.keys(_index7).forEach(function (key) {
119
88
  if (key === "default" || key === "__esModule") return;
120
- if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
121
89
  if (key in exports && exports[key] === _index7[key]) return;
122
90
  Object.defineProperty(exports, key, {
123
91
  enumerable: true,
@@ -131,7 +99,6 @@ var _index8 = require("./components/atoms/FeatureTag/index");
131
99
 
132
100
  Object.keys(_index8).forEach(function (key) {
133
101
  if (key === "default" || key === "__esModule") return;
134
- if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
135
102
  if (key in exports && exports[key] === _index8[key]) return;
136
103
  Object.defineProperty(exports, key, {
137
104
  enumerable: true,
@@ -145,7 +112,6 @@ var _index9 = require("./components/atoms/GeneralButton/index");
145
112
 
146
113
  Object.keys(_index9).forEach(function (key) {
147
114
  if (key === "default" || key === "__esModule") return;
148
- if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
149
115
  if (key in exports && exports[key] === _index9[key]) return;
150
116
  Object.defineProperty(exports, key, {
151
117
  enumerable: true,
@@ -159,7 +125,6 @@ var _index10 = require("./components/atoms/GeneralInput/index");
159
125
 
160
126
  Object.keys(_index10).forEach(function (key) {
161
127
  if (key === "default" || key === "__esModule") return;
162
- if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
163
128
  if (key in exports && exports[key] === _index10[key]) return;
164
129
  Object.defineProperty(exports, key, {
165
130
  enumerable: true,
@@ -173,7 +138,6 @@ var _index11 = require("./components/atoms/GeneralTextBox/index");
173
138
 
174
139
  Object.keys(_index11).forEach(function (key) {
175
140
  if (key === "default" || key === "__esModule") return;
176
- if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
177
141
  if (key in exports && exports[key] === _index11[key]) return;
178
142
  Object.defineProperty(exports, key, {
179
143
  enumerable: true,
@@ -187,7 +151,6 @@ var _index12 = require("./components/atoms/GradientPanel/index");
187
151
 
188
152
  Object.keys(_index12).forEach(function (key) {
189
153
  if (key === "default" || key === "__esModule") return;
190
- if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
191
154
  if (key in exports && exports[key] === _index12[key]) return;
192
155
  Object.defineProperty(exports, key, {
193
156
  enumerable: true,
@@ -201,7 +164,6 @@ var _index13 = require("./components/atoms/PriorityFlag/index");
201
164
 
202
165
  Object.keys(_index13).forEach(function (key) {
203
166
  if (key === "default" || key === "__esModule") return;
204
- if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
205
167
  if (key in exports && exports[key] === _index13[key]) return;
206
168
  Object.defineProperty(exports, key, {
207
169
  enumerable: true,
@@ -215,7 +177,6 @@ var _index14 = require("./components/atoms/ProductImage/index");
215
177
 
216
178
  Object.keys(_index14).forEach(function (key) {
217
179
  if (key === "default" || key === "__esModule") return;
218
- if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
219
180
  if (key in exports && exports[key] === _index14[key]) return;
220
181
  Object.defineProperty(exports, key, {
221
182
  enumerable: true,
@@ -229,7 +190,6 @@ var _index15 = require("./components/atoms/ProgressBar/index");
229
190
 
230
191
  Object.keys(_index15).forEach(function (key) {
231
192
  if (key === "default" || key === "__esModule") return;
232
- if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
233
193
  if (key in exports && exports[key] === _index15[key]) return;
234
194
  Object.defineProperty(exports, key, {
235
195
  enumerable: true,
@@ -243,7 +203,6 @@ var _index16 = require("./components/atoms/ScreenHeader/index");
243
203
 
244
204
  Object.keys(_index16).forEach(function (key) {
245
205
  if (key === "default" || key === "__esModule") return;
246
- if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
247
206
  if (key in exports && exports[key] === _index16[key]) return;
248
207
  Object.defineProperty(exports, key, {
249
208
  enumerable: true,
@@ -257,7 +216,6 @@ var _index17 = require("./components/atoms/SideMenuButton/index");
257
216
 
258
217
  Object.keys(_index17).forEach(function (key) {
259
218
  if (key === "default" || key === "__esModule") return;
260
- if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
261
219
  if (key in exports && exports[key] === _index17[key]) return;
262
220
  Object.defineProperty(exports, key, {
263
221
  enumerable: true,
@@ -271,7 +229,6 @@ var _index18 = require("./components/atoms/StatusTag/index");
271
229
 
272
230
  Object.keys(_index18).forEach(function (key) {
273
231
  if (key === "default" || key === "__esModule") return;
274
- if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
275
232
  if (key in exports && exports[key] === _index18[key]) return;
276
233
  Object.defineProperty(exports, key, {
277
234
  enumerable: true,
@@ -285,7 +242,6 @@ var _index19 = require("./components/atoms/TabSection/index");
285
242
 
286
243
  Object.keys(_index19).forEach(function (key) {
287
244
  if (key === "default" || key === "__esModule") return;
288
- if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
289
245
  if (key in exports && exports[key] === _index19[key]) return;
290
246
  Object.defineProperty(exports, key, {
291
247
  enumerable: true,
@@ -299,7 +255,6 @@ var _index20 = require("./components/atoms/ValidationPanel/index");
299
255
 
300
256
  Object.keys(_index20).forEach(function (key) {
301
257
  if (key === "default" || key === "__esModule") return;
302
- if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
303
258
  if (key in exports && exports[key] === _index20[key]) return;
304
259
  Object.defineProperty(exports, key, {
305
260
  enumerable: true,
@@ -313,7 +268,6 @@ var _index21 = require("./components/molecules/AvatarAndValidation/index");
313
268
 
314
269
  Object.keys(_index21).forEach(function (key) {
315
270
  if (key === "default" || key === "__esModule") return;
316
- if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
317
271
  if (key in exports && exports[key] === _index21[key]) return;
318
272
  Object.defineProperty(exports, key, {
319
273
  enumerable: true,
@@ -327,7 +281,6 @@ var _index22 = require("./components/molecules/EditionActiveImage/index");
327
281
 
328
282
  Object.keys(_index22).forEach(function (key) {
329
283
  if (key === "default" || key === "__esModule") return;
330
- if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
331
284
  if (key in exports && exports[key] === _index22[key]) return;
332
285
  Object.defineProperty(exports, key, {
333
286
  enumerable: true,
@@ -341,7 +294,6 @@ var _index23 = require("./components/molecules/FeaturesBar/index");
341
294
 
342
295
  Object.keys(_index23).forEach(function (key) {
343
296
  if (key === "default" || key === "__esModule") return;
344
- if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
345
297
  if (key in exports && exports[key] === _index23[key]) return;
346
298
  Object.defineProperty(exports, key, {
347
299
  enumerable: true,
@@ -355,7 +307,6 @@ var _index24 = require("./components/molecules/GalleryElement/index");
355
307
 
356
308
  Object.keys(_index24).forEach(function (key) {
357
309
  if (key === "default" || key === "__esModule") return;
358
- if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
359
310
  if (key in exports && exports[key] === _index24[key]) return;
360
311
  Object.defineProperty(exports, key, {
361
312
  enumerable: true,
@@ -369,7 +320,6 @@ var _index25 = require("./components/molecules/HeaderTop/index");
369
320
 
370
321
  Object.keys(_index25).forEach(function (key) {
371
322
  if (key === "default" || key === "__esModule") return;
372
- if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
373
323
  if (key in exports && exports[key] === _index25[key]) return;
374
324
  Object.defineProperty(exports, key, {
375
325
  enumerable: true,
@@ -383,7 +333,6 @@ var _index26 = require("./components/molecules/ImageSelector/index");
383
333
 
384
334
  Object.keys(_index26).forEach(function (key) {
385
335
  if (key === "default" || key === "__esModule") return;
386
- if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
387
336
  if (key in exports && exports[key] === _index26[key]) return;
388
337
  Object.defineProperty(exports, key, {
389
338
  enumerable: true,
@@ -397,7 +346,6 @@ var _index27 = require("./components/molecules/PlanSelection/index");
397
346
 
398
347
  Object.keys(_index27).forEach(function (key) {
399
348
  if (key === "default" || key === "__esModule") return;
400
- if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
401
349
  if (key in exports && exports[key] === _index27[key]) return;
402
350
  Object.defineProperty(exports, key, {
403
351
  enumerable: true,
@@ -411,7 +359,6 @@ var _index28 = require("./components/molecules/ProductNameHeader/index");
411
359
 
412
360
  Object.keys(_index28).forEach(function (key) {
413
361
  if (key === "default" || key === "__esModule") return;
414
- if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
415
362
  if (key in exports && exports[key] === _index28[key]) return;
416
363
  Object.defineProperty(exports, key, {
417
364
  enumerable: true,
@@ -425,7 +372,6 @@ var _index29 = require("./components/molecules/StatusAsignationInfo/index");
425
372
 
426
373
  Object.keys(_index29).forEach(function (key) {
427
374
  if (key === "default" || key === "__esModule") return;
428
- if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
429
375
  if (key in exports && exports[key] === _index29[key]) return;
430
376
  Object.defineProperty(exports, key, {
431
377
  enumerable: true,
@@ -439,7 +385,6 @@ var _index30 = require("./components/molecules/TableHeader/index");
439
385
 
440
386
  Object.keys(_index30).forEach(function (key) {
441
387
  if (key === "default" || key === "__esModule") return;
442
- if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
443
388
  if (key in exports && exports[key] === _index30[key]) return;
444
389
  Object.defineProperty(exports, key, {
445
390
  enumerable: true,
@@ -453,7 +398,6 @@ var _index31 = require("./components/molecules/TableRow/index");
453
398
 
454
399
  Object.keys(_index31).forEach(function (key) {
455
400
  if (key === "default" || key === "__esModule") return;
456
- if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
457
401
  if (key in exports && exports[key] === _index31[key]) return;
458
402
  Object.defineProperty(exports, key, {
459
403
  enumerable: true,
@@ -467,7 +411,6 @@ var _index32 = require("./components/molecules/TabsMenu/index");
467
411
 
468
412
  Object.keys(_index32).forEach(function (key) {
469
413
  if (key === "default" || key === "__esModule") return;
470
- if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
471
414
  if (key in exports && exports[key] === _index32[key]) return;
472
415
  Object.defineProperty(exports, key, {
473
416
  enumerable: true,
@@ -481,7 +424,6 @@ var _index33 = require("./components/molecules/TagAndInput/index");
481
424
 
482
425
  Object.keys(_index33).forEach(function (key) {
483
426
  if (key === "default" || key === "__esModule") return;
484
- if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
485
427
  if (key in exports && exports[key] === _index33[key]) return;
486
428
  Object.defineProperty(exports, key, {
487
429
  enumerable: true,
@@ -495,7 +437,6 @@ var _index34 = require("./components/molecules/TextAndGradient/index");
495
437
 
496
438
  Object.keys(_index34).forEach(function (key) {
497
439
  if (key === "default" || key === "__esModule") return;
498
- if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
499
440
  if (key in exports && exports[key] === _index34[key]) return;
500
441
  Object.defineProperty(exports, key, {
501
442
  enumerable: true,
@@ -509,7 +450,6 @@ var _index35 = require("./components/organisms/Fullplan/index");
509
450
 
510
451
  Object.keys(_index35).forEach(function (key) {
511
452
  if (key === "default" || key === "__esModule") return;
512
- if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
513
453
  if (key in exports && exports[key] === _index35[key]) return;
514
454
  Object.defineProperty(exports, key, {
515
455
  enumerable: true,
@@ -523,7 +463,6 @@ var _index36 = require("./components/organisms/FullProductNameHeader/index");
523
463
 
524
464
  Object.keys(_index36).forEach(function (key) {
525
465
  if (key === "default" || key === "__esModule") return;
526
- if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
527
466
  if (key in exports && exports[key] === _index36[key]) return;
528
467
  Object.defineProperty(exports, key, {
529
468
  enumerable: true,
@@ -537,7 +476,6 @@ var _index37 = require("./components/organisms/FullTabsMenu/index");
537
476
 
538
477
  Object.keys(_index37).forEach(function (key) {
539
478
  if (key === "default" || key === "__esModule") return;
540
- if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
541
479
  if (key in exports && exports[key] === _index37[key]) return;
542
480
  Object.defineProperty(exports, key, {
543
481
  enumerable: true,
@@ -551,7 +489,6 @@ var _index38 = require("./components/organisms/ImageDataTable/index");
551
489
 
552
490
  Object.keys(_index38).forEach(function (key) {
553
491
  if (key === "default" || key === "__esModule") return;
554
- if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
555
492
  if (key in exports && exports[key] === _index38[key]) return;
556
493
  Object.defineProperty(exports, key, {
557
494
  enumerable: true,
@@ -565,7 +502,6 @@ var _index39 = require("./components/organisms/ImagePreviewer/index");
565
502
 
566
503
  Object.keys(_index39).forEach(function (key) {
567
504
  if (key === "default" || key === "__esModule") return;
568
- if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
569
505
  if (key in exports && exports[key] === _index39[key]) return;
570
506
  Object.defineProperty(exports, key, {
571
507
  enumerable: true,
@@ -579,7 +515,6 @@ var _index40 = require("./components/organisms/ImagesGroup/index");
579
515
 
580
516
  Object.keys(_index40).forEach(function (key) {
581
517
  if (key === "default" || key === "__esModule") return;
582
- if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
583
518
  if (key in exports && exports[key] === _index40[key]) return;
584
519
  Object.defineProperty(exports, key, {
585
520
  enumerable: true,
@@ -593,7 +528,6 @@ var _index41 = require("./components/organisms/InputGroup/index");
593
528
 
594
529
  Object.keys(_index41).forEach(function (key) {
595
530
  if (key === "default" || key === "__esModule") return;
596
- if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
597
531
  if (key in exports && exports[key] === _index41[key]) return;
598
532
  Object.defineProperty(exports, key, {
599
533
  enumerable: true,
@@ -607,7 +541,6 @@ var _index42 = require("./components/organisms/ProductImageModal/index");
607
541
 
608
542
  Object.keys(_index42).forEach(function (key) {
609
543
  if (key === "default" || key === "__esModule") return;
610
- if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
611
544
  if (key in exports && exports[key] === _index42[key]) return;
612
545
  Object.defineProperty(exports, key, {
613
546
  enumerable: true,
@@ -621,7 +554,6 @@ var _CustomerType = require("./components/pages/CustomerType");
621
554
 
622
555
  Object.keys(_CustomerType).forEach(function (key) {
623
556
  if (key === "default" || key === "__esModule") return;
624
- if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
625
557
  if (key in exports && exports[key] === _CustomerType[key]) return;
626
558
  Object.defineProperty(exports, key, {
627
559
  enumerable: true,
@@ -635,7 +567,6 @@ var _OnboardPlan = require("./components/pages/OnboardPlan");
635
567
 
636
568
  Object.keys(_OnboardPlan).forEach(function (key) {
637
569
  if (key === "default" || key === "__esModule") return;
638
- if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
639
570
  if (key in exports && exports[key] === _OnboardPlan[key]) return;
640
571
  Object.defineProperty(exports, key, {
641
572
  enumerable: true,
@@ -649,7 +580,6 @@ var _RetailerProductEdition = require("./components/pages/RetailerProductEdition
649
580
 
650
581
  Object.keys(_RetailerProductEdition).forEach(function (key) {
651
582
  if (key === "default" || key === "__esModule") return;
652
- if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
653
583
  if (key in exports && exports[key] === _RetailerProductEdition[key]) return;
654
584
  Object.defineProperty(exports, key, {
655
585
  enumerable: true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "contentoh-components-library",
3
- "version": "12.0.0",
3
+ "version": "13.0.0",
4
4
  "dependencies": {
5
5
  "@babel/runtime": "^7.17.2",
6
6
  "@storybook/addon-postcss": "^2.0.0",
package/src/index.js CHANGED
@@ -1,10 +1,3 @@
1
- import * as fonts from "./global-files/fonts";
2
- import * as globalStyles from "./global-files/global-styles";
3
- import * as variables from "./global-files/variables";
4
- import * as assets from "./assets/images";
5
-
6
- export { fonts, globalStyles, variables, assets };
7
-
8
1
  //atoms
9
2
  export * from "./components/atoms/ActivedFilter/index";
10
3
  export * from "./components/atoms/AsignationOption/index";