@xaypay/tui 0.0.114 → 0.0.116

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.
Files changed (32) hide show
  1. package/dist/index.es.js +359 -257
  2. package/dist/index.js +359 -257
  3. package/package.json +1 -1
  4. package/src/components/button/index.js +3 -2
  5. package/src/components/captcha/index.js +5 -4
  6. package/src/components/checkbox/checkbox.module.css +0 -59
  7. package/src/components/checkbox/checkbox.stories.js +70 -4
  8. package/src/components/checkbox/index.js +103 -70
  9. package/src/components/input/index.js +27 -7
  10. package/src/components/modal/index.js +15 -3
  11. package/src/components/newAutocomplete/index.js +4 -5
  12. package/src/components/newFile/index.js +45 -42
  13. package/src/components/pagination/index.js +9 -2
  14. package/src/components/select/index.js +4 -2
  15. package/src/components/singleCheckbox/Checkbox.js +30 -19
  16. package/src/components/singleCheckbox/index.js +15 -9
  17. package/src/components/stepper/index.js +9 -2
  18. package/src/components/table/index.js +45 -4
  19. package/src/components/table/table.stories.js +2 -11
  20. package/src/components/table/td.js +38 -5
  21. package/src/components/table/th.js +19 -3
  22. package/src/components/textarea/index.js +5 -1
  23. package/src/components/toaster/index.js +7 -2
  24. package/src/components/tooltip/index.js +3 -3
  25. package/src/components/typography/index.js +1 -1
  26. package/src/index.js +0 -1
  27. package/src/stories/configuration.stories.mdx +40 -3
  28. package/src/stories/static/checkbox-group-usage-2.png +0 -0
  29. package/src/stories/static/checkbox-group-usage.png +0 -0
  30. package/src/stories/static/single-checkbox-usage.png +0 -0
  31. package/src/stories/usage.stories.mdx +11 -1
  32. package/tui.config.js +39 -7
@@ -29,7 +29,7 @@ const headerData = [
29
29
  checkedColor: 'orange',
30
30
  unCheckedColor: 'orange',
31
31
  },
32
- sortingArrows: true,
32
+ sortingArrows: false,
33
33
  },
34
34
  {
35
35
  type: 'show',
@@ -490,16 +490,7 @@ const Template = (args) => {
490
490
  console.log(tData, ' data from table click action, with getData props')
491
491
  }
492
492
 
493
- return (
494
- <Table
495
- {...args}
496
- arrowColumn={2}
497
- arrowShow
498
- dataBody={bodyData}
499
- dataHeader={headerData}
500
- getData={handleGetData}
501
- />
502
- )
493
+ return <Table {...args} dataBody={bodyData} dataHeader={headerData} getData={handleGetData} />
503
494
  }
504
495
 
505
496
  export const Default = Template.bind({})
@@ -7,8 +7,12 @@ import { hasOwnerProperty } from './../../utils'
7
7
  import styles from './table.module.css'
8
8
 
9
9
  const TD = ({
10
+ row,
10
11
  item,
11
12
  index,
13
+ rowItem,
14
+ rowRadius,
15
+ hideBorder,
12
16
  innerIndex,
13
17
  tBodyColor,
14
18
  borderRight,
@@ -81,7 +85,12 @@ const TD = ({
81
85
  textAlign: tBodyTextAlign,
82
86
  fontFamily: tBodyFontFamily,
83
87
  fontWeight: tBodyFontWeight,
88
+ borderColor: hideBorder ? 'transparent' : '#eeeeee',
84
89
  boxShadow: hasOwnerProperty(item, 'colorStatus') ? `inset 3px 0px 0px 0px ${item.colorStatus}` : '',
90
+ borderTopLeftRadius: rowItem && innerIndex === 0 ? rowRadius : '0px',
91
+ borderBottomLeftRadius: rowItem && innerIndex === 0 ? rowRadius : '0px',
92
+ borderTopRightRadius: rowItem && innerIndex === row.length - 1 ? rowRadius : '0px',
93
+ borderBottomRightRadius: rowItem && innerIndex === row.length - 1 ? rowRadius : '0px',
85
94
  }}
86
95
  >
87
96
  {Array.isArray(item) ? (
@@ -102,7 +111,11 @@ const TD = ({
102
111
  key={`${newItem.id}_${newIndex}`}
103
112
  onClick={(e) => handleCheckActions(e, newItem, 'type', newIndex)}
104
113
  >
105
- {newItem.content}
114
+ {newItem.content === 0
115
+ ? newItem.content.toString()
116
+ : newItem.content
117
+ ? newItem.content
118
+ : ''}
106
119
  </span>
107
120
  )
108
121
  } else if (newItem && Array.isArray(newItem)) {
@@ -131,7 +144,11 @@ const TD = ({
131
144
  onClick={(e) => handleCheckActions(e, iT, 'type', iN)}
132
145
  key={`${iT.id || iT.content}_${iN}`}
133
146
  >
134
- {iT.content}
147
+ {iT.content === 0
148
+ ? iT.content.toString()
149
+ : iT.content
150
+ ? iT.content
151
+ : ''}
135
152
  </span>
136
153
  )
137
154
  })}
@@ -149,7 +166,15 @@ const TD = ({
149
166
  style={{
150
167
  display: 'flex',
151
168
  alignItems: 'flex-start',
152
- justifyContent: hasOwnerProperty(item, 'checkBox') ? 'space-between' : 'center',
169
+ justifyContent: hasOwnerProperty(item, 'checkBox')
170
+ ? 'space-between'
171
+ : tBodyTextAlign
172
+ ? tBodyTextAlign === 'left'
173
+ ? 'flex-start'
174
+ : tBodyTextAlign === 'right'
175
+ ? 'flex-end'
176
+ : 'center'
177
+ : 'center',
153
178
  }}
154
179
  >
155
180
  {!hasOwnerProperty(item, 'hideArrow') &&
@@ -300,7 +325,11 @@ const TD = ({
300
325
  }}
301
326
  title={optionItem.content}
302
327
  >
303
- {optionItem.content}
328
+ {optionItem.content === 0
329
+ ? optionItem.content.toString()
330
+ : optionItem.content
331
+ ? optionItem.content
332
+ : ''}
304
333
  </span>
305
334
  </span>
306
335
  )
@@ -344,7 +373,11 @@ const TD = ({
344
373
  )
345
374
  }
346
375
  >
347
- {innerItem.content}
376
+ {innerItem.content === 0
377
+ ? innerItem.content.toString()
378
+ : innerItem.content
379
+ ? innerItem.content
380
+ : ''}
348
381
  </p>
349
382
  )
350
383
  })}
@@ -9,9 +9,11 @@ import styles from './table.module.css'
9
9
 
10
10
  const TH = ({
11
11
  item,
12
+ hideBorder,
12
13
  tHeadFamily,
13
14
  tHeadPadding,
14
15
  tHeadFontSize,
16
+ tHeadTextAlign,
15
17
  tHeadFontWeight,
16
18
  handleCheckedHeader,
17
19
  borderTopLeftRadius,
@@ -38,21 +40,35 @@ const TH = ({
38
40
  fontWeight: tHeadFontWeight,
39
41
  borderTopLeftRadius: borderTopLeftRadius,
40
42
  borderTopRightRadius: borderTopRightRadius,
43
+ borderColor: hideBorder ? 'transparent' : '#eeeeee',
41
44
  }}
42
45
  onClick={handleHeaderItemClick}
43
- className={`${item.sortingArrows && styles['sorting-arrows']}`}
46
+ className={`${
47
+ hasOwnerProperty(item, 'sortingArrows')
48
+ ? item.sortingArrows === true
49
+ ? styles['sorting-arrows']
50
+ : ''
51
+ : ''
52
+ }`}
44
53
  >
45
54
  <div
46
55
  style={{
47
56
  display: 'flex',
48
57
  alignItems: 'flex-start',
49
- justifyContent: hasOwnerProperty(item, 'checkBox') ? 'space-between' : 'center',
58
+ justifyContent: hasOwnerProperty(item, 'checkBox')
59
+ ? 'space-between'
60
+ : tHeadTextAlign
61
+ ? tHeadTextAlign === 'left'
62
+ ? 'flex-start'
63
+ : tHeadTextAlign === 'right'
64
+ ? 'flex-end'
65
+ : 'center'
66
+ : 'center',
50
67
  }}
51
68
  >
52
69
  {hasOwnerProperty(item, 'checkBox') ? (
53
70
  <SingleCheckbox
54
71
  data={item}
55
- float="left"
56
72
  checked={item.checkBox.checked}
57
73
  disabled={item.checkBox.disabled}
58
74
  handleChecked={!item.checkBox.disabled ? handleCheckedHeader : (_) => _}
@@ -1,6 +1,6 @@
1
1
  import React, { useEffect, useState } from 'react'
2
2
  import PropTypes from 'prop-types'
3
-
3
+ import classnames from 'classnames'
4
4
  import { compereConfigs } from './../../utils'
5
5
 
6
6
  import SvgRequired from './../icon/Required'
@@ -29,6 +29,7 @@ export const Textarea = ({
29
29
  labelSize,
30
30
  errorSize,
31
31
  marginTop,
32
+ className,
32
33
  labelColor,
33
34
  errorColor,
34
35
  labelWeight,
@@ -46,6 +47,7 @@ export const Textarea = ({
46
47
  const [isFocus, setIsFocus] = useState(false)
47
48
  const [innerValue, setInnerValue] = useState('')
48
49
 
50
+ const classProps = classnames(className ? className : configStyles.TEXTAREA.className)
49
51
  const configStyles = compereConfigs()
50
52
 
51
53
  const handleMouseEnter = () => {
@@ -107,6 +109,7 @@ export const Textarea = ({
107
109
  style={{
108
110
  width: width ? width : configStyles.TEXTAREA.width,
109
111
  }}
112
+ className={classProps}
110
113
  >
111
114
  <div
112
115
  style={{
@@ -228,6 +231,7 @@ Textarea.propTypes = {
228
231
  maxLength: PropTypes.number,
229
232
  labelSize: PropTypes.string,
230
233
  errorSize: PropTypes.string,
234
+ className: PropTypes.string,
231
235
  labelColor: PropTypes.string,
232
236
  errorColor: PropTypes.string,
233
237
  labelWeight: PropTypes.string,
@@ -1,5 +1,7 @@
1
1
  import React from 'react'
2
2
  import ReactDOM from 'react-dom'
3
+ import classnames from 'classnames'
4
+ import { compereConfigs } from './../../utils'
3
5
 
4
6
  import { Toast } from './Toast'
5
7
 
@@ -104,7 +106,10 @@ export const toast = {
104
106
  },
105
107
  }
106
108
 
107
- export const Toaster = () => {
109
+ export const Toaster = ({ className }) => {
110
+ const configStyles = compereConfigs()
111
+ const classProps = classnames(className ? className : configStyles.TOASTER.className)
112
+
108
113
  window.addEventListener('popstate', () => {
109
114
  if (path !== window.location.href) {
110
115
  if (!toastify) {
@@ -122,5 +127,5 @@ export const Toaster = () => {
122
127
  e.stopPropagation()
123
128
  }
124
129
 
125
- return <div onClick={handleToasterClick} id="toastify"></div>
130
+ return <div onClick={handleToasterClick} className={classProps} id="toastify"></div>
126
131
  }
@@ -29,7 +29,7 @@ export const Tooltip = ({
29
29
  const [showTooltip, setShowTooltip] = useState(false)
30
30
 
31
31
  const configStyles = compereConfigs()
32
- const classProps = classnames(styles['tooltip'], className)
32
+ const classProps = classnames(styles['tooltip-block'], className ? className : configStyles.TOOLTIP.className)
33
33
 
34
34
  const handleShow = () => {
35
35
  setShowTooltip(!showTooltip)
@@ -51,7 +51,7 @@ export const Tooltip = ({
51
51
 
52
52
  return (
53
53
  <div
54
- className={`${styles['tooltip-block']}`}
54
+ className={classProps}
55
55
  style={{
56
56
  width: width ? width : configStyles.TOOLTIP.width,
57
57
  height: height ? height : configStyles.TOOLTIP.height,
@@ -62,7 +62,7 @@ export const Tooltip = ({
62
62
  {showTooltip ? (
63
63
  <div
64
64
  ref={tooltipRef}
65
- className={classProps}
65
+ className={`${styles['tooltip']}`}
66
66
  style={{
67
67
  width: tooltipWidth ? tooltipWidth : configStyles.TOOLTIP.tooltipWidth,
68
68
  borderRadius: tooltipRadius ? tooltipRadius : configStyles.TOOLTIP.tooltipRadius,
@@ -38,7 +38,7 @@ export const Typography = ({
38
38
  ...props
39
39
  }) => {
40
40
  const configStyles = compereConfigs()
41
- const classProps = classnames(className)
41
+ const classProps = classnames(className ? className : configStyles.TYPOGRAPHY.className)
42
42
 
43
43
  const [isHover, setIsHover] = useState(false)
44
44
  const [validVariant, setValidVariant] = useState(false)
package/src/index.js CHANGED
@@ -16,5 +16,4 @@ export * from './components/icon/Icon'
16
16
  export * from './components/typography'
17
17
  export * from './components/pagination'
18
18
  export * from './components/autocomplate'
19
- export * from './components/singleCheckbox'
20
19
  export * from './components/newAutocomplete'
@@ -129,6 +129,7 @@ import StackAlt from './assets/stackalt.svg';
129
129
  radius: '6px', // for border radius
130
130
  width: '100%', // for width
131
131
  weight: '400', // for font weight
132
+ className: '', // for button class
132
133
  type: 'button', // for type
133
134
  height: '46px', // for height
134
135
  color: 'white', // for color
@@ -220,6 +221,7 @@ import StackAlt from './assets/stackalt.svg';
220
221
  border: 'none', // for border
221
222
  cursor: 'default', // for cursor
222
223
  textShadow: 'none', // for text shadow
224
+ className: '', // for typography class
223
225
 
224
226
  colorp: '#3C393E', // for variant p color
225
227
  colorh1: '#3C393E', // for variant h1 color
@@ -328,6 +330,7 @@ import StackAlt from './assets/stackalt.svg';
328
330
  {
329
331
  dots: false, // for options, cut text and add dots
330
332
  showCloseIcon: false, // for select reset icon, when prop exist or true is show, otherwise is hide
333
+ className: '', // for select class
331
334
  marginTop: '10px', // for error message postion from top
332
335
  labelWeight: '500', // for label font weight
333
336
  labelColor: '#3C393E', // for label color
@@ -419,6 +422,7 @@ import StackAlt from './assets/stackalt.svg';
419
422
  {
420
423
  size: '16px', // for font size
421
424
  radius: '6px', // for border radius
425
+ className: '', // for Textarera class
422
426
  width: '400px', // for width
423
427
  resize: 'none', // for resize
424
428
  height: '134px', // for height
@@ -529,24 +533,27 @@ import StackAlt from './assets/stackalt.svg';
529
533
  {
530
534
  size: '16px', // for captcha label font size (configurable from config.js)
531
535
  color: '#3C393E', // for captcha label color (configurable from config.js)
536
+ className: '', // for captach class
532
537
  label: 'for example. Captcha', // for captcha label (add itself on each component)
533
538
  range: 'for example. 72', // for captcha range (add itself on each component)
534
539
  getRange: 'is must be function', // for captcha get current range (add itself on each component)
535
540
  }
536
541
  ```
537
542
 
538
- ### NewFile
543
+ ### File
539
544
  ```
540
545
  {
541
546
  or: 'կամ', // for file place text
542
547
  weight: 400, // for file place font weight
543
548
  size: '12px', // for file font size
544
549
  radius: '6px', // for file place border radius
550
+ className: '', // for file class
545
551
  width: '440px', // for file width
546
552
  height: '200px', // for file choose place height
547
553
  color: '#3C393E', // for file place color
548
554
  upload: 'Բեռնել', // for file place text
549
555
  labelSize: '16px', // for file font size
556
+ errorSize: '12px', // for file error font size
550
557
  border: '2px dashed', // for file choose place border
551
558
  errorColor: '#ee0000', // for file error message color
552
559
  labelColor: '#4A4A4D', // for file color
@@ -585,6 +592,7 @@ import StackAlt from './assets/stackalt.svg';
585
592
  {
586
593
  alignItems: 'center', // for modal ( flex-start, center, flex-end ) --> align-items
587
594
  justifyContent: 'center', // for modal ( flex-start, center, flex-end ) --> justify-content
595
+ className: '', // for modal class
588
596
  mMaxWidth: '95%', // for modal max width
589
597
  mMaxHeight: '95vh', // for modal max height
590
598
  outsideClose: true, // for modal close when happened outside click
@@ -612,11 +620,14 @@ import StackAlt from './assets/stackalt.svg';
612
620
  }
613
621
  ```
614
622
 
615
- ### SingleCheckbox
623
+ ### Checkbox
616
624
  ```
617
625
  {
618
626
  checkedColor: '#00236A', // for checkbox background ( fill ) color
619
627
  unCheckedColor: '#D1D1D1', // for checkbox border color
628
+ labelMarginLeft: '10px', // for checkbox label margin left
629
+ checkBoxMarginBottom: '10px' // for checkbox margin bottom
630
+ className: '' // for checkbox class
620
631
  }
621
632
  ```
622
633
 
@@ -626,6 +637,7 @@ import StackAlt from './assets/stackalt.svg';
626
637
  tHeadFontSize: '16px', // for table header font size
627
638
  tHeadFontWeight: 600, // for table header font weight
628
639
  tHeadColor: '#FBFBFB', // for table header color
640
+ tHeadTextAlign: 'center', // for table header text align
629
641
  tHeadPadding: '11px 20px', // for table header padding
630
642
  tHeadBorderRadius: '14px', // for table header border radius
631
643
  tHeadBackgroundColor: '#00236A', // for table header background color
@@ -637,9 +649,34 @@ import StackAlt from './assets/stackalt.svg';
637
649
  tBodyTextAlign: 'center', // for table body text align
638
650
  tBodyPadding: '11px 20px', // for table body padding
639
651
  tBodyFontFamily: 'Noto Sans Armenia', // for table body font family
652
+ tBodyRowMarginTop: '10px', // for table tr margin top
653
+ tBodyBoxShadow: '0px 10px 30px rgba(0, 35, 106, 0.06)', // for table body box shadow
640
654
 
641
655
  tBodyRowBorder: '1px solid #eeeeee', // for table body row border
656
+ openListColor: '#A3A5A9', // for table body opened list color
657
+ className: '', // for table class
658
+ tableRowItem: false, // for table tr show item ( boolean prop )
659
+ tableRowBGColor: 'transparent', // for table tr background color
660
+ tableRowRadius: '6px', // for table tr border radius
661
+ tableRowBoxShadow: '0px 10px 30px 0px #00236A0F' // for table tr box shadow
662
+ }
663
+ ```
642
664
 
643
- openListColor: '#A3A5A9' // for table body opened list color
665
+ ### PAGINATION
666
+ ```
667
+ {
668
+ className: '' // for pagination class
669
+ }
670
+ ```
671
+ ### Toaster
672
+ ```
673
+ {
674
+ className: '' // for pagination class
675
+ }
676
+ ```
677
+ ### Stepper
678
+ ```
679
+ {
680
+ className: '' // for pagination class
644
681
  }
645
682
  ```
@@ -19,9 +19,12 @@ import tooltipImage from './static/tooltip-usage.png';
19
19
  import textareaImage from './static/textarea-usage.png';
20
20
  import buttonImageIcon from './static/button-usage-icon.png';
21
21
  import fileSingleImage from './static/file-single-usage.png';
22
+ import checkboxGroup from './static/checkbox-group-usage.png';
23
+ import singleCheckbox from './static/single-checkbox-usage.png';
22
24
  import tableComponent from './static/table-component-usage.png';
23
25
  import toasterImage from './static/toaster-container-usage.png';
24
26
  import autocompleteImage from './static/autocomplete-usage.png';
27
+ import checkboxGroup2 from './static/checkbox-group-usage-2.png';
25
28
  import tableBodyStructureNew from './static/table-new-data-structure-usage.png';
26
29
  import tableHeaderStructure from './static/table-header-data-structure-usage.png';
27
30
  import tableBodyStructureFirst from './static/table-body-data-structure-first-part-usage.png';
@@ -187,4 +190,11 @@ import tableBodyStructureSecond from './static/table-body-data-structure-second-
187
190
  <img src={tableBodyStructureFirst} alt="file image" />
188
191
  <img src={tableBodyStructureSecond} alt="file image" />
189
192
  <img src={tableBodyStructureNew} alt="file image" />
190
- <img src={tableBodyStructureThird} alt="file image" />
193
+ <img src={tableBodyStructureThird} alt="file image" />
194
+
195
+ ### Single checkbox
196
+ <img src={singleCheckbox} alt="file image" />
197
+
198
+ ### Checkbox Group
199
+ <img src={checkboxGroup} alt="file image" />
200
+ <img src={checkboxGroup2} alt="file image" />
package/tui.config.js CHANGED
@@ -12,6 +12,7 @@ module.exports = {
12
12
  border: 'none', // for border
13
13
  disabled: false, // for disabled
14
14
  cursor: 'pointer', // for cursor
15
+ className: '', // for button class
15
16
  contentWidth: false, // for auto width, if contentWidth prop is exsit, then button get size automatically from inner content
16
17
  padding: '12px 20px', // for padding
17
18
  textTransform: 'none', // for text transform
@@ -32,6 +33,7 @@ module.exports = {
32
33
  width: '100%', // for width
33
34
  radius: '0px', // for input and also (if there exist left or right icons) icons block border-radius
34
35
  className: '', // for input classname (you can set custom class for your custom css)
36
+ maxLength: 255, // for characters maximum count
35
37
  height: '46px', // for height
36
38
  required: false, // for showing required mark on label (it meens input is required)
37
39
  disabled: false, // for disabled
@@ -89,6 +91,7 @@ module.exports = {
89
91
  border: 'none', // for border
90
92
  cursor: 'default', // for cursor
91
93
  textShadow: 'none', // for text shadow
94
+ className: '', // for typography class
92
95
 
93
96
  colorp: '#3C393E', // for variant p color
94
97
  colorh1: '#3C393E', // for variant h1 color
@@ -184,6 +187,7 @@ module.exports = {
184
187
  SELECT: {
185
188
  dots: false, // for options, cut text and add dots
186
189
  showCloseIcon: true, // for select reset icon, when prop exist or true is show, otherwise is hide
190
+ className: '', // for select class
187
191
  marginTop: '10px', // for error message postion from top
188
192
  labelWeight: '500', // for label font weight
189
193
  labelColor: '#3C393E', // for label color
@@ -239,6 +243,7 @@ module.exports = {
239
243
  height: '134px', // for height
240
244
  maxLength: 1500, // for characters maximum count
241
245
  color: '#3C393E', // for color
246
+ className: '', // for Textarera class
242
247
  marginTop: '10px', // for error message position from top
243
248
  minWidth: '200px', // for minimum width
244
249
  maxWidth: '500px', // for maximum width
@@ -332,24 +337,27 @@ module.exports = {
332
337
  backgroundDisableColor: '#FBFBFB', // for autocomplete disable background color
333
338
  },
334
339
  // default properties for <Captcha /> component
335
- Captcha: {
340
+ CAPTCHA: {
336
341
  size: '16px', // for captcha label font size
337
342
  color: '#3C393E', // for captcha label color
343
+ className: '', // for captach class
338
344
  },
339
345
  // default properties for <File /> component
340
- File: {
346
+ FILE: {
341
347
  or: 'կամ', // for file place text
342
348
  weight: 400, // for file place font weight
343
349
  size: '12px', // for file font size
344
350
  radius: '6px', // for file place border radius
351
+ className: '', // for FILE class
345
352
  height: '200px', // for file choose place height
346
353
  color: '#3C393E', // for file place color
347
354
  upload: 'Բեռնել', // for file place text
348
355
  maxWidth: '440px', // for file width
349
356
  labelSize: '16px', // for file font size
357
+ errorSize: '12px', // for file error font size
350
358
  border: '2px dashed', // for file choose place border
351
- labelColor: '#4A4A4D', // for file color
352
- timeForRemoveError: 4000, // for file error hide time when format is wrong
359
+ labelColor: '#4A4A4D', // for file color
360
+ timeForRemoveError: 4000, // for file error hide time when format is wrong
353
361
  errorColor: '#ee0000', // for file place and error message error color
354
362
  borderColor: '#D1D1D1', // for file choose place border color
355
363
  listItemHeight: '70px', // for file list item height
@@ -381,6 +389,7 @@ module.exports = {
381
389
  MODAL: {
382
390
  alignItems: 'center', // for modal ( flex-start, center, flex-end ) --> align-items
383
391
  justifyContent: 'center', // for modal ( flex-start, center, flex-end ) --> justify-content
392
+ className: '', // for modal class
384
393
  mMaxWidth: '95%', // for modal max width
385
394
  mMaxHeight: '95vh', // for modal max height
386
395
  outsideClose: true, // for modal close when happened outside click
@@ -407,15 +416,20 @@ module.exports = {
407
416
  imageWrapHeight: '80vh', // for image wrap
408
417
  imageWrapWidth: '100%', // for image wrap
409
418
  },
410
- SINGLECHECKBOX: {
419
+ // default properties for <Checkbox /> component
420
+ CHECKBOX: {
411
421
  checkedColor: '#00236A', // for checkbox background ( fill ) color
412
422
  unCheckedColor: '#D1D1D1', // for checkbox border color
423
+ labelMarginLeft: '10px', // for checkbox label margin left
424
+ checkBoxMarginBottom: '10px', // for checkbox margin bottom
425
+ className: '' // for checkbox class
413
426
  },
414
427
  // default properties for <Table /> component
415
428
  TABLE: {
416
429
  tHeadFontSize: '16px', // for table header font size
417
430
  tHeadFontWeight: 600, // for table header font weight
418
431
  tHeadColor: '#FBFBFB', // for table header color
432
+ tHeadTextAlign: 'center', // for table header text align
419
433
  tHeadPadding: '11px 20px', // for table header padding
420
434
  tHeadBorderRadius: '14px', // for table header border radius
421
435
  tHeadBackgroundColor: '#00236A', // for table header background color
@@ -427,9 +441,27 @@ module.exports = {
427
441
  tBodyTextAlign: 'center', // for table body text align
428
442
  tBodyPadding: '11px 20px', // for table body padding
429
443
  tBodyFontFamily: 'Noto Sans Armenia', // for table body font family
444
+ tBodyRowMarginTop: '10px', // for table tr margin top
445
+ tBodyBoxShadow: '0px 10px 30px rgba(0, 35, 106, 0.06)', // for table body box shadow
430
446
 
431
447
  tBodyRowBorder: '1px solid #eeeeee', // for table body row border
432
-
433
- openListColor: '#A3A5A9' // for table body opened list color
448
+ openListColor: '#A3A5A9', // for table body opened list color
449
+ className: '', // for table class
450
+ tableRowItem: false, // for table tr show item ( boolean prop )
451
+ tableRowBGColor: 'transparent', // for table tr background color
452
+ tableRowRadius: '6px', // for table tr border radius
453
+ tableRowBoxShadow: '0px 10px 30px 0px #00236A0F' // for table tr box shadow
454
+ },
455
+ // default properties for <Pagination /> component
456
+ PAGINATION: {
457
+ className: '' // for pagination class
458
+ },
459
+ // default properties for <Toaster /> component
460
+ TOASTER: {
461
+ className: ''
434
462
  },
463
+ // default properties for <Stepper /> component
464
+ STEPPER: {
465
+ className: '' // for stepper class
466
+ }
435
467
  }