react-restyle-components 0.1.45 → 0.1.46
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/lib/cjs/App.js +12 -36
- package/lib/cjs/App.test.js +8 -10
- package/lib/cjs/core-components/atoms/buttons/button.stories.js +24 -26
- package/lib/cjs/core-components/atoms/buttons/buttons.component.js +9 -27
- package/lib/cjs/core-components/atoms/buttons/buttons.test.js +7 -15
- package/lib/cjs/core-components/atoms/check-box/checkBox.component.js +35 -102
- package/lib/cjs/core-components/atoms/check-box/checkBox.stories.js +17 -17
- package/lib/cjs/core-components/atoms/check-box/checkBox.test.js +7 -15
- package/lib/cjs/core-components/atoms/date-picker/date-picker.component.js +37 -98
- package/lib/cjs/core-components/atoms/date-picker/date-picker.stories.js +15 -17
- package/lib/cjs/core-components/atoms/date-picker/date-picker.test.js +7 -16
- package/lib/cjs/core-components/atoms/form/form.component.js +159 -571
- package/lib/cjs/core-components/atoms/form/form.test.js +59 -87
- package/lib/cjs/core-components/atoms/icons/icons.component.js +58 -41
- package/lib/cjs/core-components/atoms/icons/icons.component.js.map +1 -1
- package/lib/cjs/core-components/atoms/icons/icons.stories.js +23 -0
- package/lib/cjs/core-components/atoms/icons/icons.stories.js.map +1 -0
- package/lib/cjs/core-components/atoms/icons/icons.test.js +16 -0
- package/lib/cjs/core-components/atoms/icons/icons.test.js.map +1 -0
- package/lib/cjs/core-components/atoms/input/input-otp.component.js +76 -118
- package/lib/cjs/core-components/atoms/input/input-pin.component.js +98 -180
- package/lib/cjs/core-components/atoms/input/input-pin.stories.js +14 -14
- package/lib/cjs/core-components/atoms/input/input-pin.test.js +10 -28
- package/lib/cjs/core-components/atoms/input/input.component.js +33 -104
- package/lib/cjs/core-components/atoms/input/input.stories.js +15 -15
- package/lib/cjs/core-components/atoms/input/input.test.js +10 -30
- package/lib/cjs/core-components/atoms/input-dropdown/input-dropdown.component.js +53 -127
- package/lib/cjs/core-components/atoms/input-dropdown/input-dropdown.stories.js +12 -12
- package/lib/cjs/core-components/atoms/input-dropdown/input-dropdown.test.js +7 -16
- package/lib/cjs/core-components/atoms/loader/loader.component.js +21 -83
- package/lib/cjs/core-components/atoms/loader/loader.stories.js +8 -8
- package/lib/cjs/core-components/atoms/loader/loader.test.js +7 -11
- package/lib/cjs/core-components/atoms/radio/radio.component.js +37 -102
- package/lib/cjs/core-components/atoms/radio/radio.stories.js +16 -16
- package/lib/cjs/core-components/atoms/radio/radio.test.js +7 -15
- package/lib/cjs/core-components/atoms/stepper/stepper.component.js +34 -77
- package/lib/cjs/core-components/atoms/stepper/stepper.stories.js +13 -13
- package/lib/cjs/core-components/atoms/stepper/stepper.test.js +7 -16
- package/lib/cjs/core-components/atoms/tabs/tabs.component.js +32 -81
- package/lib/cjs/core-components/atoms/tabs/tabs.stories.js +16 -16
- package/lib/cjs/core-components/atoms/tabs/tabs.stories.js.map +1 -1
- package/lib/cjs/core-components/atoms/tabs/tabs.test.js +13 -20
- package/lib/cjs/core-components/atoms/timer/timer.component.js +92 -119
- package/lib/cjs/core-components/atoms/timer/timer.test.js +10 -20
- package/lib/cjs/core-components/atoms/tooltip/tooltip.component.js +45 -85
- package/lib/cjs/core-components/atoms/tooltip/tooltip.component.test.js +9 -13
- package/lib/cjs/core-components/atoms/tooltip/tooltip.stories.js +8 -8
- package/lib/cjs/core-components/index.js +27 -64
- package/lib/cjs/core-components/molecules/auto-complete-filter-multiple-select-multiple-fields-display/auto-complete-filter-multiple-select-multiple-fields-display.component.js +106 -210
- package/lib/cjs/core-components/molecules/auto-complete-filter-multiple-select-multiple-fields-display/auto-complete-filter-multiple-select-multiple-fields-display.component.test.js +9 -23
- package/lib/cjs/core-components/molecules/auto-complete-filter-multiple-select-multiple-fields-display/auto-complete-filter-multiple-select-multiple-fields-display.stories.js +36 -38
- package/lib/cjs/core-components/molecules/auto-complete-filter-single-select-multiple-fields-display/auto-complete-filter-single-select-multiple-fields-display.component.js +104 -209
- package/lib/cjs/core-components/molecules/auto-complete-filter-single-select-multiple-fields-display/auto-complete-filter-single-select-multiple-fields-display.component.test.js +16 -28
- package/lib/cjs/core-components/molecules/auto-complete-filter-single-select-multiple-fields-display/auto-complete-filter-single-select-multiple-fields-display.stories.js +22 -24
- package/lib/cjs/core-components/molecules/css-multiline-input/css-multiline-input.component.js +106 -203
- package/lib/cjs/core-components/molecules/css-multiline-input/css-multiline-input.stories.js +8 -8
- package/lib/cjs/core-components/molecules/css-multiline-input/css-multiline-input.test.js +7 -14
- package/lib/cjs/core-components/molecules/css-multiline-input/css-properties.js +159 -159
- package/lib/cjs/core-utils/index.js +15 -31
- package/lib/cjs/core-utils/unit-test.utils.js +6 -8
- package/lib/cjs/index.js +15 -31
- package/lib/cjs/library/assets/svg/DownArrow.svg +14 -0
- package/lib/cjs/library/assets/svg/UpArrow.svg +14 -0
- package/lib/cjs/library/assets/svg/checkedBox.svg +14 -0
- package/lib/cjs/library/assets/svg/checkedRadio.svg +13 -0
- package/lib/cjs/library/assets/svg/datePicker.svg +3 -0
- package/lib/cjs/library/assets/svg/index.js +13 -39
- package/lib/cjs/library/assets/svg/index.ts +38 -0
- package/lib/cjs/library/assets/svg/timer copy.svg +3 -0
- package/lib/cjs/library/assets/svg/timer.svg +3 -0
- package/lib/cjs/library/assets/svg/unCheckbox.svg +3 -0
- package/lib/cjs/library/assets/svg/uncheckRadio.svg +3 -0
- package/lib/cjs/reportWebVitals.js +1 -1
- package/lib/cjs/setupTests.js +1 -1
- package/lib/esm/App.js +12 -34
- package/lib/esm/App.test.js +8 -8
- package/lib/esm/core-components/atoms/buttons/button.stories.js +24 -24
- package/lib/esm/core-components/atoms/buttons/buttons.component.js +7 -23
- package/lib/esm/core-components/atoms/buttons/buttons.test.js +7 -13
- package/lib/esm/core-components/atoms/check-box/checkBox.component.js +19 -65
- package/lib/esm/core-components/atoms/check-box/checkBox.stories.js +18 -18
- package/lib/esm/core-components/atoms/check-box/checkBox.test.js +7 -13
- package/lib/esm/core-components/atoms/date-picker/date-picker.component.js +21 -54
- package/lib/esm/core-components/atoms/date-picker/date-picker.stories.js +14 -14
- package/lib/esm/core-components/atoms/date-picker/date-picker.test.js +8 -15
- package/lib/esm/core-components/atoms/form/form.component.js +138 -513
- package/lib/esm/core-components/atoms/form/form.test.js +60 -78
- package/lib/esm/core-components/atoms/icons/icons.component.js +32 -36
- package/lib/esm/core-components/atoms/icons/icons.component.js.map +1 -1
- package/lib/esm/core-components/atoms/icons/icons.stories.js +20 -0
- package/lib/esm/core-components/atoms/icons/icons.stories.js.map +1 -0
- package/lib/esm/core-components/atoms/icons/icons.test.js +11 -0
- package/lib/esm/core-components/atoms/icons/icons.test.js.map +1 -0
- package/lib/esm/core-components/atoms/input/input-otp.component.js +59 -80
- package/lib/esm/core-components/atoms/input/input-pin.component.js +81 -142
- package/lib/esm/core-components/atoms/input/input-pin.stories.js +15 -15
- package/lib/esm/core-components/atoms/input/input-pin.test.js +10 -26
- package/lib/esm/core-components/atoms/input/input.component.js +16 -66
- package/lib/esm/core-components/atoms/input/input.stories.js +16 -16
- package/lib/esm/core-components/atoms/input/input.test.js +10 -28
- package/lib/esm/core-components/atoms/input-dropdown/input-dropdown.component.js +36 -95
- package/lib/esm/core-components/atoms/input-dropdown/input-dropdown.stories.js +13 -13
- package/lib/esm/core-components/atoms/input-dropdown/input-dropdown.test.js +7 -14
- package/lib/esm/core-components/atoms/loader/loader.component.js +20 -80
- package/lib/esm/core-components/atoms/loader/loader.stories.js +9 -9
- package/lib/esm/core-components/atoms/loader/loader.test.js +7 -7
- package/lib/esm/core-components/atoms/radio/radio.component.js +21 -65
- package/lib/esm/core-components/atoms/radio/radio.stories.js +17 -17
- package/lib/esm/core-components/atoms/radio/radio.test.js +7 -13
- package/lib/esm/core-components/atoms/stepper/stepper.component.js +32 -74
- package/lib/esm/core-components/atoms/stepper/stepper.stories.js +14 -14
- package/lib/esm/core-components/atoms/stepper/stepper.test.js +7 -14
- package/lib/esm/core-components/atoms/tabs/tabs.component.js +15 -43
- package/lib/esm/core-components/atoms/tabs/tabs.stories.js +17 -17
- package/lib/esm/core-components/atoms/tabs/tabs.stories.js.map +1 -1
- package/lib/esm/core-components/atoms/tabs/tabs.test.js +13 -18
- package/lib/esm/core-components/atoms/timer/timer.component.js +75 -81
- package/lib/esm/core-components/atoms/timer/timer.test.js +10 -10
- package/lib/esm/core-components/atoms/tooltip/tooltip.component.js +25 -46
- package/lib/esm/core-components/atoms/tooltip/tooltip.component.test.js +9 -9
- package/lib/esm/core-components/atoms/tooltip/tooltip.stories.js +9 -9
- package/lib/esm/core-components/index.js +19 -19
- package/lib/esm/core-components/molecules/auto-complete-filter-multiple-select-multiple-fields-display/auto-complete-filter-multiple-select-multiple-fields-display.component.js +88 -170
- package/lib/esm/core-components/molecules/auto-complete-filter-multiple-select-multiple-fields-display/auto-complete-filter-multiple-select-multiple-fields-display.component.test.js +9 -17
- package/lib/esm/core-components/molecules/auto-complete-filter-multiple-select-multiple-fields-display/auto-complete-filter-multiple-select-multiple-fields-display.stories.js +37 -38
- package/lib/esm/core-components/molecules/auto-complete-filter-single-select-multiple-fields-display/auto-complete-filter-single-select-multiple-fields-display.component.js +86 -169
- package/lib/esm/core-components/molecules/auto-complete-filter-single-select-multiple-fields-display/auto-complete-filter-single-select-multiple-fields-display.component.test.js +16 -22
- package/lib/esm/core-components/molecules/auto-complete-filter-single-select-multiple-fields-display/auto-complete-filter-single-select-multiple-fields-display.stories.js +23 -24
- package/lib/esm/core-components/molecules/css-multiline-input/css-multiline-input.component.js +90 -166
- package/lib/esm/core-components/molecules/css-multiline-input/css-multiline-input.stories.js +9 -9
- package/lib/esm/core-components/molecules/css-multiline-input/css-multiline-input.test.js +7 -9
- package/lib/esm/core-components/molecules/css-multiline-input/css-properties.js +159 -159
- package/lib/esm/core-utils/index.js +2 -2
- package/lib/esm/core-utils/unit-test.utils.js +5 -5
- package/lib/esm/index.js +2 -2
- package/lib/esm/library/assets/svg/index.js +10 -19
- package/lib/esm/reportWebVitals.js +1 -1
- package/lib/esm/setupTests.js +2 -2
- package/lib/package.json +125 -0
- package/package.json +3 -2
|
@@ -3,163 +3,163 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.properties = void 0;
|
|
4
4
|
/* eslint-disable no-sparse-arrays */
|
|
5
5
|
exports.properties = [
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
6
|
+
{
|
|
7
|
+
alignContent: [
|
|
8
|
+
'flex-start',
|
|
9
|
+
'flex-end',
|
|
10
|
+
'center',
|
|
11
|
+
'stretch',
|
|
12
|
+
'space-between',
|
|
13
|
+
'space-around',
|
|
14
|
+
],
|
|
15
|
+
},
|
|
16
|
+
{ alignItems: ['flex-start', 'flex-end', 'center', 'stretch', 'baseline'] },
|
|
17
|
+
{
|
|
18
|
+
alignSelf: [
|
|
19
|
+
'auto',
|
|
20
|
+
'flex-start',
|
|
21
|
+
'flex-end',
|
|
22
|
+
'center',
|
|
23
|
+
'baseline',
|
|
24
|
+
'stretch',
|
|
25
|
+
],
|
|
26
|
+
},
|
|
27
|
+
{ flex: ['number', 'string'] },
|
|
28
|
+
{ flexDirection: ['row', 'row-reverse', 'column', 'column-reverse'] },
|
|
29
|
+
{ flexWrap: ['nowrap', 'wrap', 'wrap-reverse'] },
|
|
30
|
+
{ flexFlow: ['number'] },
|
|
31
|
+
{ flexGrow: ['number'] },
|
|
32
|
+
{ flexShrink: ['number'] },
|
|
33
|
+
{ flexBasis: ['number', 'string'] },
|
|
34
|
+
{
|
|
35
|
+
justifyContent: [
|
|
36
|
+
,
|
|
37
|
+
'flex-start',
|
|
38
|
+
'flex-end',
|
|
39
|
+
'center',
|
|
40
|
+
'space-around',
|
|
41
|
+
'space-between',
|
|
42
|
+
'space-evenly',
|
|
43
|
+
],
|
|
44
|
+
},
|
|
45
|
+
{ gap: ['number', 'string'] },
|
|
46
|
+
{ rowGap: ['number'] },
|
|
47
|
+
{ columnGap: ['number'] },
|
|
48
|
+
// Layout
|
|
49
|
+
{ aspectRatio: ['number', 'string'] },
|
|
50
|
+
{ bottom: ['number', 'string'] },
|
|
51
|
+
{ display: ['flex', 'none'] },
|
|
52
|
+
{ left: ['number', 'string'] },
|
|
53
|
+
{ position: ['absolute', 'relative'] },
|
|
54
|
+
{ right: ['number', 'string'] },
|
|
55
|
+
{ top: ['number', 'string'] },
|
|
56
|
+
{ overflow: ['hidden'] },
|
|
57
|
+
{ zIndex: ['number', 'string'] },
|
|
58
|
+
// Dimension
|
|
59
|
+
{ height: ['number', 'string'] },
|
|
60
|
+
{ maxHeight: ['number', 'string'] },
|
|
61
|
+
{ maxWidth: ['number', 'string'] },
|
|
62
|
+
{ minHeight: ['number', 'string'] },
|
|
63
|
+
{ minWidth: ['number', 'string'] },
|
|
64
|
+
{ width: ['number', 'string'] },
|
|
65
|
+
// Color
|
|
66
|
+
{ backgroundColor: ['string'] },
|
|
67
|
+
{ color: ['string'] },
|
|
68
|
+
{ opacity: ['number'] },
|
|
69
|
+
// Text
|
|
70
|
+
{ fontSize: ['number', 'string'] },
|
|
71
|
+
{ fontFamily: ['string'] },
|
|
72
|
+
{ fontStyle: ['string', 'normal'] },
|
|
73
|
+
{
|
|
74
|
+
fontWeight: [
|
|
75
|
+
,
|
|
76
|
+
'number',
|
|
77
|
+
'thin',
|
|
78
|
+
'hairline',
|
|
79
|
+
'ultralight',
|
|
80
|
+
'extralight',
|
|
81
|
+
'light',
|
|
82
|
+
'normal',
|
|
83
|
+
'medium',
|
|
84
|
+
'semibold',
|
|
85
|
+
'demibold',
|
|
86
|
+
'bold',
|
|
87
|
+
'ultrabold',
|
|
88
|
+
'extrabold',
|
|
89
|
+
'heavy',
|
|
90
|
+
'black',
|
|
91
|
+
],
|
|
92
|
+
},
|
|
93
|
+
{ letterSpacing: ['number', 'string'] },
|
|
94
|
+
{ lineHeight: ['number', 'string'] },
|
|
95
|
+
{ maxLines: ['number'] },
|
|
96
|
+
{ textAlign: ['left', 'right', 'center', 'justify'] },
|
|
97
|
+
{
|
|
98
|
+
textDecoration: [
|
|
99
|
+
,
|
|
100
|
+
'line-through',
|
|
101
|
+
'underline',
|
|
102
|
+
'none',
|
|
103
|
+
'line-through underline',
|
|
104
|
+
'underline line-through',
|
|
105
|
+
],
|
|
106
|
+
},
|
|
107
|
+
{ textDecorationColor: ['string'] },
|
|
108
|
+
{ textDecorationStyle: ['dashed', 'dotted', 'solid', 'string'] },
|
|
109
|
+
{ textIndent: ['any'] },
|
|
110
|
+
{ textOverflow: ['ellipsis'] },
|
|
111
|
+
{ textTransform: ['capitalize', 'lowercase', 'uppercase'] },
|
|
112
|
+
{ verticalAlign: ['sub', 'super'] },
|
|
113
|
+
// Sizing/positioning
|
|
114
|
+
{ objectFit: ['string'] },
|
|
115
|
+
{ objectPosition: ['number', 'string'] },
|
|
116
|
+
{ objectPositionX: ['number', 'string'] },
|
|
117
|
+
{ objectPositionY: ['number', 'string'] },
|
|
118
|
+
// Margin/padding
|
|
119
|
+
{ margin: ['number', 'string'] },
|
|
120
|
+
{ marginHorizontal: ['number', 'string'] },
|
|
121
|
+
{ marginVertical: ['number', 'string'] },
|
|
122
|
+
{ marginTop: ['number', 'string'] },
|
|
123
|
+
{ marginRight: ['number', 'string'] },
|
|
124
|
+
{ marginBottom: ['number', 'string'] },
|
|
125
|
+
{ marginLeft: ['number', 'string'] },
|
|
126
|
+
{ padding: ['number', 'string'] },
|
|
127
|
+
{ paddingHorizontal: ['number', 'string'] },
|
|
128
|
+
{ paddingVertical: ['number', 'string'] },
|
|
129
|
+
{ paddingTop: ['number', 'string'] },
|
|
130
|
+
{ paddingRight: ['number', 'string'] },
|
|
131
|
+
{ paddingBottom: ['number', 'string'] },
|
|
132
|
+
{ paddingLeft: ['number', 'string'] },
|
|
133
|
+
// Transformations
|
|
134
|
+
{ transform: ['string'] },
|
|
135
|
+
{ transformOrigin: ['number', 'string'] },
|
|
136
|
+
{ transformOriginX: ['number', 'string'] },
|
|
137
|
+
{ transformOriginY: ['number', 'string'] },
|
|
138
|
+
// Borders
|
|
139
|
+
{ border: ['number', 'string'] },
|
|
140
|
+
{ borderWidth: ['number', 'string'] },
|
|
141
|
+
{ borderColor: ['string'] },
|
|
142
|
+
{ borderStyle: ['dashed', 'dotted', 'solid'] },
|
|
143
|
+
{ borderTop: ['number', 'string'] },
|
|
144
|
+
{ borderTopColor: ['string'] },
|
|
145
|
+
{ borderTopStyle: ['dashed', 'dotted', 'solid'] },
|
|
146
|
+
{ borderTopWidth: ['number', 'string'] },
|
|
147
|
+
{ borderRight: ['number', 'string'] },
|
|
148
|
+
{ borderRightColor: ['string'] },
|
|
149
|
+
{ borderRightStyle: ['dashed', 'dotted', 'solid'] },
|
|
150
|
+
{ borderRightWidth: ['number', 'string'] },
|
|
151
|
+
{ borderBottom: ['number', 'string'] },
|
|
152
|
+
{ borderBottomColor: ['string'] },
|
|
153
|
+
{ borderBottomStyle: ['dashed', 'dotted', 'solid'] },
|
|
154
|
+
{ borderBottomWidth: ['number', 'string'] },
|
|
155
|
+
{ borderLeft: ['number', 'string'] },
|
|
156
|
+
{ borderLeftColor: ['string'] },
|
|
157
|
+
{ borderLeftStyle: ['dashed', 'dotted', 'solid'] },
|
|
158
|
+
{ borderLeftWidth: ['number', 'string'] },
|
|
159
|
+
{ borderTopLeftRadius: ['number', 'string'] },
|
|
160
|
+
{ borderTopRightRadius: ['number', 'string'] },
|
|
161
|
+
{ borderBottomRightRadius: ['number', 'string'] },
|
|
162
|
+
{ borderBottomLeftRadius: ['number', 'string'] },
|
|
163
|
+
{ borderRadius: ['number', 'string'] },
|
|
164
164
|
];
|
|
165
|
-
//# sourceMappingURL=css-properties.js.map
|
|
165
|
+
//# sourceMappingURL=css-properties.js.map
|
|
@@ -1,34 +1,18 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __createBinding =
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
},
|
|
17
|
-
};
|
|
18
|
-
}
|
|
19
|
-
Object.defineProperty(o, k2, desc);
|
|
20
|
-
}
|
|
21
|
-
: function (o, m, k, k2) {
|
|
22
|
-
if (k2 === undefined) k2 = k;
|
|
23
|
-
o[k2] = m[k];
|
|
24
|
-
});
|
|
25
|
-
var __exportStar =
|
|
26
|
-
(this && this.__exportStar) ||
|
|
27
|
-
function (m, exports) {
|
|
28
|
-
for (var p in m)
|
|
29
|
-
if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p))
|
|
30
|
-
__createBinding(exports, m, p);
|
|
31
|
-
};
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
32
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
33
17
|
__exportStar(require("./unit-test.utils"), exports);
|
|
34
|
-
//# sourceMappingURL=index.js.map
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -1,19 +1,17 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __importDefault =
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
return mod && mod.__esModule ? mod : { default: mod };
|
|
6
|
-
};
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
7
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
6
|
exports.Providers = exports.render = void 0;
|
|
9
7
|
const react_1 = __importDefault(require("react"));
|
|
10
8
|
const react_2 = require("@testing-library/react");
|
|
11
9
|
const Providers = ({ children }) => {
|
|
12
|
-
|
|
10
|
+
return react_1.default.createElement("div", null, children);
|
|
13
11
|
};
|
|
14
12
|
exports.Providers = Providers;
|
|
15
13
|
const render = (Component) => {
|
|
16
|
-
|
|
14
|
+
return (0, react_2.render)(Component, { wrapper: Providers });
|
|
17
15
|
};
|
|
18
16
|
exports.render = render;
|
|
19
|
-
//# sourceMappingURL=unit-test.utils.js.map
|
|
17
|
+
//# sourceMappingURL=unit-test.utils.js.map
|
package/lib/cjs/index.js
CHANGED
|
@@ -1,34 +1,18 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __createBinding =
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
},
|
|
17
|
-
};
|
|
18
|
-
}
|
|
19
|
-
Object.defineProperty(o, k2, desc);
|
|
20
|
-
}
|
|
21
|
-
: function (o, m, k, k2) {
|
|
22
|
-
if (k2 === undefined) k2 = k;
|
|
23
|
-
o[k2] = m[k];
|
|
24
|
-
});
|
|
25
|
-
var __exportStar =
|
|
26
|
-
(this && this.__exportStar) ||
|
|
27
|
-
function (m, exports) {
|
|
28
|
-
for (var p in m)
|
|
29
|
-
if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p))
|
|
30
|
-
__createBinding(exports, m, p);
|
|
31
|
-
};
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
32
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
33
17
|
__exportStar(require("./core-components"), exports);
|
|
34
|
-
//# sourceMappingURL=index.js.map
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<svg
|
|
2
|
+
className="ml-2 w-4 h-4 absolute right-0"
|
|
3
|
+
fill="none"
|
|
4
|
+
stroke="#E7503E"
|
|
5
|
+
viewBox="0 -6 20 20"
|
|
6
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
7
|
+
>
|
|
8
|
+
<path
|
|
9
|
+
strokeLinecap="round"
|
|
10
|
+
strokeLinejoin="round"
|
|
11
|
+
strokeWidth="2"
|
|
12
|
+
d="M7.646 4.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1-.708.708L8 5.707l-5.646 5.647a.5.5 0 0 1-.708-.708l6-6z"
|
|
13
|
+
/>
|
|
14
|
+
</svg>
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<svg
|
|
2
|
+
className="ml-2 w-4 h-4 absolute right-0"
|
|
3
|
+
fill="none"
|
|
4
|
+
stroke="#E7503E"
|
|
5
|
+
viewBox="0 -6 20 20"
|
|
6
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
7
|
+
>
|
|
8
|
+
<path
|
|
9
|
+
strokeLinecap="round"
|
|
10
|
+
strokeLinejoin="round"
|
|
11
|
+
strokeWidth="2"
|
|
12
|
+
d="M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z"
|
|
13
|
+
/>
|
|
14
|
+
</svg>
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<svg width="15" height="15" viewBox="0 0 15 15" fill="none" >
|
|
2
|
+
<rect width="15" height="15" fill="#E5E5E5"/>
|
|
3
|
+
<g clip-path="url(#clip0_0_1)">
|
|
4
|
+
<rect width="360" height="640" transform="translate(-20 -399)" fill="white"/>
|
|
5
|
+
<rect x="0.5" y="0.5" width="14" height="14" rx="1.5" fill="white" />
|
|
6
|
+
<rect x="0.5" y="0.5" width="14" height="14" rx="1.5" />
|
|
7
|
+
<path d="M4 7.33333L6.33333 10L11.6667 5" stroke="white" stroke-linecap="round" stroke-linejoin="round"/>
|
|
8
|
+
</g>
|
|
9
|
+
<defs>
|
|
10
|
+
<clipPath id="clip0_0_1">
|
|
11
|
+
<rect width="360" height="640" fill="white" transform="translate(-20 -399)"/>
|
|
12
|
+
</clipPath>
|
|
13
|
+
</defs>
|
|
14
|
+
</svg>
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<svg width="20" height="20" viewBox="0 0 20 20" fill="none" >
|
|
2
|
+
<rect width="20" height="20" fill="#E5E5E5"/>
|
|
3
|
+
<g clip-path="url(#clip0_0_1)">
|
|
4
|
+
<rect width="360" height="2645" transform="translate(-253 -1410)" fill="white"/>
|
|
5
|
+
<circle cx="10" cy="10" r="9.5" stroke="#E7503D"/>
|
|
6
|
+
<circle cx="10" cy="10" r="6" fill="#E7503D"/>
|
|
7
|
+
</g>
|
|
8
|
+
<defs>
|
|
9
|
+
<clipPath id="clip0_0_1">
|
|
10
|
+
<rect width="360" height="2645" fill="white" transform="translate(-253 -1410)"/>
|
|
11
|
+
</clipPath>
|
|
12
|
+
</defs>
|
|
13
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg width="15" height="15" viewBox="0 0 15 15" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M14.4 1.2H11.4V0.3C11.4 0.220435 11.3684 0.144129 11.3121 0.087868C11.2559 0.0316071 11.1796 0 11.1 0C11.0204 0 10.9441 0.0316071 10.8879 0.087868C10.8316 0.144129 10.8 0.220435 10.8 0.3V1.2H4.2V0.3C4.2 0.220435 4.16839 0.144129 4.11213 0.087868C4.05587 0.0316071 3.97957 0 3.9 0C3.82044 0 3.74413 0.0316071 3.68787 0.087868C3.63161 0.144129 3.6 0.220435 3.6 0.3V1.2H0.6C0.44087 1.2 0.288258 1.26321 0.175736 1.37574C0.0632141 1.48826 0 1.64087 0 1.8L0 13.8C0 13.9591 0.0632141 14.1117 0.175736 14.2243C0.288258 14.3368 0.44087 14.4 0.6 14.4H14.4C14.5591 14.4 14.7117 14.3368 14.8243 14.2243C14.9368 14.1117 15 13.9591 15 13.8V1.8C15 1.64087 14.9368 1.48826 14.8243 1.37574C14.7117 1.26321 14.5591 1.2 14.4 1.2ZM14.4 13.8H0.6V4.8H14.4V13.8ZM14.4 4.2H0.6V1.8H14.4V4.2Z" fill="#E7503D" stroke="#E7503D" stroke-width="0.5"/>
|
|
3
|
+
</svg>
|
|
@@ -1,50 +1,24 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __importDefault =
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
return mod && mod.__esModule ? mod : { default: mod };
|
|
6
|
-
};
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
7
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.DownArrow =
|
|
9
|
-
|
|
10
|
-
exports.TimerSVG =
|
|
11
|
-
exports.UncheckRadio =
|
|
12
|
-
exports.CheckedRadio =
|
|
13
|
-
exports.DatePickerSvg =
|
|
14
|
-
exports.CheckedBox =
|
|
15
|
-
exports.UnCheckbox =
|
|
16
|
-
void 0;
|
|
17
|
-
const unCheckbox_svg_1 = __importDefault(
|
|
18
|
-
require("../../../library/assets/svg/unCheckbox.svg"),
|
|
19
|
-
);
|
|
6
|
+
exports.DownArrow = exports.UpArrow = exports.TimerSVG = exports.UncheckRadio = exports.CheckedRadio = exports.DatePickerSvg = exports.CheckedBox = exports.UnCheckbox = void 0;
|
|
7
|
+
const unCheckbox_svg_1 = __importDefault(require("../../../library/assets/svg/unCheckbox.svg"));
|
|
20
8
|
exports.UnCheckbox = unCheckbox_svg_1.default;
|
|
21
|
-
const checkedBox_svg_1 = __importDefault(
|
|
22
|
-
require("../../../library/assets/svg/checkedBox.svg"),
|
|
23
|
-
);
|
|
9
|
+
const checkedBox_svg_1 = __importDefault(require("../../../library/assets/svg/checkedBox.svg"));
|
|
24
10
|
exports.CheckedBox = checkedBox_svg_1.default;
|
|
25
|
-
const datePicker_svg_1 = __importDefault(
|
|
26
|
-
require("../../../library/assets/svg/datePicker.svg"),
|
|
27
|
-
);
|
|
11
|
+
const datePicker_svg_1 = __importDefault(require("../../../library/assets/svg/datePicker.svg"));
|
|
28
12
|
exports.DatePickerSvg = datePicker_svg_1.default;
|
|
29
|
-
const checkedRadio_svg_1 = __importDefault(
|
|
30
|
-
require("../../../library/assets/svg/checkedRadio.svg"),
|
|
31
|
-
);
|
|
13
|
+
const checkedRadio_svg_1 = __importDefault(require("../../../library/assets/svg/checkedRadio.svg"));
|
|
32
14
|
exports.CheckedRadio = checkedRadio_svg_1.default;
|
|
33
|
-
const uncheckRadio_svg_1 = __importDefault(
|
|
34
|
-
require("../../../library/assets/svg/uncheckRadio.svg"),
|
|
35
|
-
);
|
|
15
|
+
const uncheckRadio_svg_1 = __importDefault(require("../../../library/assets/svg/uncheckRadio.svg"));
|
|
36
16
|
exports.UncheckRadio = uncheckRadio_svg_1.default;
|
|
37
|
-
const timer_svg_1 = __importDefault(
|
|
38
|
-
require("../../../library/assets/svg/timer.svg"),
|
|
39
|
-
);
|
|
17
|
+
const timer_svg_1 = __importDefault(require("../../../library/assets/svg/timer.svg"));
|
|
40
18
|
exports.TimerSVG = timer_svg_1.default;
|
|
41
|
-
const UpArrow_svg_1 = __importDefault(
|
|
42
|
-
require("../../../library/assets/svg/UpArrow.svg"),
|
|
43
|
-
);
|
|
19
|
+
const UpArrow_svg_1 = __importDefault(require("../../../library/assets/svg/UpArrow.svg"));
|
|
44
20
|
exports.UpArrow = UpArrow_svg_1.default;
|
|
45
|
-
const DownArrow_svg_1 = __importDefault(
|
|
46
|
-
require("../../../library/assets/svg/DownArrow.svg"),
|
|
47
|
-
);
|
|
21
|
+
const DownArrow_svg_1 = __importDefault(require("../../../library/assets/svg/DownArrow.svg"));
|
|
48
22
|
exports.DownArrow = DownArrow_svg_1.default;
|
|
49
23
|
// import {ReactComponent as UnCheckbox} from '../../../library/assets/svg/unCheckbox.svg';
|
|
50
24
|
// import {ReactComponent as CheckedBox} from '../../../library/assets/svg/checkedBox.svg';
|
|
@@ -64,4 +38,4 @@ exports.DownArrow = DownArrow_svg_1.default;
|
|
|
64
38
|
// UpArrow,
|
|
65
39
|
// DownArrow,
|
|
66
40
|
// };
|
|
67
|
-
//# sourceMappingURL=index.js.map
|
|
41
|
+
//# sourceMappingURL=index.js.map
|