@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/bundle.js +387 -2
- package/dist/main.css +118 -0
- package/dist/types/components/ModalConfirmation/index.d.ts +0 -1
- package/dist/types/components/ModalWithTable/index.d.ts +1 -2
- package/dist/types/components/index.d.ts +2 -0
- package/package.json +1 -1
- package/src/components/ModalWithTable/index.tsx +3 -3
- package/src/components/index.tsx +2 -0
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
|
+
}
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { Button } from '../Button';
|
|
2
2
|
import { Modal } from 'antd';
|
|
3
|
-
import { useEffect,
|
|
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 '
|
|
7
|
-
import { TableField, tableFieldProps } from '
|
|
6
|
+
import { TagField } from '../Tag';
|
|
7
|
+
import { TableField, tableFieldProps } from '../Table';
|
|
8
8
|
import classnames from 'classnames';
|
|
9
9
|
|
|
10
10
|
export interface ModalWithTableProps {
|