@omniumretail/component-library 1.0.1 → 1.0.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.
package/dist/main.css CHANGED
@@ -334,3 +334,121 @@
334
334
  height: 25px;
335
335
  align-self: flex-end;
336
336
  }
337
+ /*!**************************************************************************************************************************************************************************!*\
338
+ !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[0].use[1]!./node_modules/sass-loader/dist/cjs.js!./src/components/ModalConfirmation/styles.module.scss ***!
339
+ \**************************************************************************************************************************************************************************/
340
+ .yBVWvA0RtFgQb0zg7Zha .ant-modal-close {
341
+ width: auto;
342
+ color: var(--button-default-background);
343
+ }
344
+ .yBVWvA0RtFgQb0zg7Zha .ant-modal-close:hover {
345
+ background-color: transparent;
346
+ color: var(--button-default-background-hover-color);
347
+ }
348
+ .yBVWvA0RtFgQb0zg7Zha .ant-modal-content {
349
+ padding: 36px 24px;
350
+ display: flex;
351
+ align-items: center;
352
+ justify-content: center;
353
+ flex-direction: column;
354
+ text-align: center;
355
+ }
356
+ @media (min-width: 742px) {
357
+ .yBVWvA0RtFgQb0zg7Zha .ant-modal-content {
358
+ padding: 64px;
359
+ }
360
+ }
361
+ .yBVWvA0RtFgQb0zg7Zha .bIn9Tnsli5FWDJmVQ47h:hover .hAGMAlh5JyPDAiKMfgws {
362
+ color: red;
363
+ }
364
+ .yBVWvA0RtFgQb0zg7Zha .hAGMAlh5JyPDAiKMfgws {
365
+ display: flex;
366
+ align-items: center;
367
+ justify-content: center;
368
+ flex-direction: row;
369
+ gap: 8px;
370
+ color: inherit;
371
+ font-size: var(--font-size-body-3);
372
+ line-height: 100%;
373
+ font-weight: var(--font-weight-light);
374
+ text-transform: capitalize;
375
+ letter-spacing: 0.6px;
376
+ }
377
+ .yBVWvA0RtFgQb0zg7Zha .IEpOAjgZyRyE5md9cZvT {
378
+ color: var(--color-blue);
379
+ font-weight: var(--font-weight-semibold);
380
+ font-size: var(--font-size-body-6);
381
+ line-height: 100%;
382
+ }
383
+ .yBVWvA0RtFgQb0zg7Zha .iHFpZ9nbZF0FARnRj310 {
384
+ color: var(--color-black);
385
+ font-size: var(--font-size-body-4);
386
+ margin: 12px 0 24px 0;
387
+ padding: 0;
388
+ }
389
+ /*!***********************************************************************************************************************************************************************!*\
390
+ !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[0].use[1]!./node_modules/sass-loader/dist/cjs.js!./src/components/ModalWithTable/styles.module.scss ***!
391
+ \***********************************************************************************************************************************************************************/
392
+ .bMNL7jiNu8_mW6dwEyoS.luQHokN_GXPiYlWneKVa {
393
+ pointer-events: none;
394
+ position: relative;
395
+ }
396
+ .bMNL7jiNu8_mW6dwEyoS.luQHokN_GXPiYlWneKVa:after {
397
+ content: "";
398
+ position: absolute;
399
+ top: 0;
400
+ left: 0;
401
+ width: 100%;
402
+ height: 100%;
403
+ background-color: rgba(var(--color-white-rgb), 0.6);
404
+ z-index: 9999999;
405
+ }
406
+ .bMNL7jiNu8_mW6dwEyoS .ant-modal-close {
407
+ width: auto;
408
+ color: var(--button-default-background);
409
+ }
410
+ .bMNL7jiNu8_mW6dwEyoS .ant-modal-close:hover {
411
+ background-color: transparent;
412
+ color: var(--button-default-background-hover-color);
413
+ }
414
+ .bMNL7jiNu8_mW6dwEyoS .ant-modal-content {
415
+ padding: 36px 24px;
416
+ display: flex;
417
+ justify-content: center;
418
+ flex-direction: column;
419
+ text-align: center;
420
+ }
421
+ @media (min-width: 742px) {
422
+ .bMNL7jiNu8_mW6dwEyoS .ant-modal-content {
423
+ padding: 32px;
424
+ }
425
+ }
426
+ .bMNL7jiNu8_mW6dwEyoS .ant-modal-body {
427
+ width: 100%;
428
+ padding-top: 24px;
429
+ }
430
+ .bMNL7jiNu8_mW6dwEyoS .ant-modal-footer button {
431
+ margin-left: auto;
432
+ }
433
+ .bMNL7jiNu8_mW6dwEyoS .WCOz4jFqbuSsRmxOc2Dq {
434
+ display: flex;
435
+ align-items: center;
436
+ justify-content: center;
437
+ flex-direction: row;
438
+ gap: 8px;
439
+ color: inherit;
440
+ font-size: var(--font-size-body-3);
441
+ line-height: 100%;
442
+ font-weight: var(--font-weight-light);
443
+ text-transform: capitalize;
444
+ letter-spacing: 0.6px;
445
+ justify-self: flex-end;
446
+ }
447
+ .bMNL7jiNu8_mW6dwEyoS .WCOz4jFqbuSsRmxOc2Dq > p {
448
+ padding: 0;
449
+ margin: 0;
450
+ }
451
+ .bMNL7jiNu8_mW6dwEyoS .mt484L3ogFPJIZmEQ8q_ {
452
+ max-width: 640px;
453
+ text-align: left;
454
+ }
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export interface ModalConfirmationProps {
3
2
  closeText: string;
4
3
  title: string;
@@ -1,5 +1,4 @@
1
- /// <reference types="react" />
2
- import { tableFieldProps } from 'components/Table';
1
+ import { tableFieldProps } from '../Table';
3
2
  export interface ModalWithTableProps {
4
3
  closeText: string;
5
4
  buttonText: string;
@@ -11,3 +11,5 @@ export * from './Tag';
11
11
  export * from './DatePicker';
12
12
  export * from './Radio';
13
13
  export * from './Footer';
14
+ export * from './ModalConfirmation';
15
+ export * from './ModalWithTable';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@omniumretail/component-library",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "private": false,
5
5
  "main": "dist/bundle.js",
6
6
  "typings": "./dist/types/index",
@@ -1,10 +1,10 @@
1
1
  import { Button } from '../Button';
2
2
  import { Modal } from 'antd';
3
- import { useEffect, useRef, useState } from 'react';
3
+ import { useEffect, useState } from 'react';
4
4
  import { CloseOutlined } from '@ant-design/icons';
5
5
  import styles from './styles.module.scss';
6
- import { TagField } from 'components/Tag';
7
- import { TableField, tableFieldProps } from 'components/Table';
6
+ import { TagField } from '../Tag';
7
+ import { TableField, tableFieldProps } from '../Table';
8
8
  import classnames from 'classnames';
9
9
 
10
10
  export interface ModalWithTableProps {
@@ -11,3 +11,5 @@ export * from './Tag';
11
11
  export * from './DatePicker';
12
12
  export * from './Radio';
13
13
  export * from './Footer';
14
+ export * from './ModalConfirmation';
15
+ export * from './ModalWithTable';