@rebilly/revel 4.21.3 → 5.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/CHANGELOG.md +22 -47
- package/README.md +23 -14
- package/dist/common/date-picker-compat.d.ts +1 -0
- package/dist/common/datetime-formats.d.ts +28 -0
- package/dist/common/helpers/debounce.d.ts +2 -0
- package/dist/common/helpers/deep-clone.d.ts +2 -0
- package/dist/common/helpers/format-date.d.ts +4 -0
- package/dist/common/helpers/index.d.ts +6 -0
- package/dist/common/helpers/is-object.d.ts +2 -0
- package/dist/common/helpers/kebab-case.d.ts +2 -0
- package/dist/components/index.d.ts +27 -0
- package/dist/components/r-avatar/r-avatar.vue.d.ts +86 -0
- package/dist/components/r-badge/r-badge.vue.d.ts +40 -0
- package/dist/components/r-button/r-button.vue.d.ts +195 -0
- package/dist/components/r-button-group/r-button-group.vue.d.ts +18 -0
- package/dist/components/r-checkbox/r-checkbox.vue.d.ts +148 -0
- package/dist/components/r-date-input/calendar-presets.d.ts +36 -0
- package/dist/components/r-date-input/r-calendar.vue.d.ts +159 -0
- package/dist/components/r-date-input/r-date-input.vue.d.ts +297 -0
- package/dist/components/r-date-input/r-date-range-button-group.vue.d.ts +167 -0
- package/dist/components/r-date-input/r-range-calendar.vue.d.ts +211 -0
- package/dist/components/r-date-input/shared-calendar-options.d.ts +64 -0
- package/dist/components/r-date-input/types.d.ts +8 -0
- package/dist/components/r-date-input/v-calendar.es.d.ts +459 -0
- package/dist/components/r-file-upload/r-file-upload.vue.d.ts +68 -0
- package/dist/components/r-grid/columnTypes/badge.vue.d.ts +42 -0
- package/dist/components/r-grid/columnTypes/date.vue.d.ts +25 -0
- package/dist/components/r-grid/columnTypes/index.d.ts +93 -0
- package/dist/components/r-grid/columnTypes/numeric.vue.d.ts +24 -0
- package/dist/components/r-grid/columnTypes/text.vue.d.ts +26 -0
- package/dist/components/r-grid/columnTypes/types.d.ts +24 -0
- package/dist/components/r-grid/helpers/color-generator.d.ts +4 -0
- package/dist/components/r-grid/r-grid.vue.d.ts +196 -0
- package/dist/components/r-icon/r-icon-sprites.d.ts +128 -0
- package/dist/components/r-icon/r-icon.vue.d.ts +61 -0
- package/dist/components/r-icon-button/r-icon-button.vue.d.ts +133 -0
- package/dist/components/r-img/r-img.vue.d.ts +96 -0
- package/dist/components/r-input/r-input.vue.d.ts +411 -0
- package/dist/components/r-loader/r-loader.vue.d.ts +55 -0
- package/dist/components/r-modal/r-modal.vue.d.ts +132 -0
- package/dist/components/r-month-picker/months.d.ts +1 -0
- package/dist/components/r-month-picker/r-month-picker.vue.d.ts +122 -0
- package/dist/components/r-pagination/r-pagination.vue.d.ts +97 -0
- package/dist/components/r-pagination/types.d.ts +8 -0
- package/dist/components/r-pagination-control/r-pagination-control.vue.d.ts +33 -0
- package/dist/components/r-popper/r-popper.vue.d.ts +275 -0
- package/dist/components/r-radio/r-radio.vue.d.ts +132 -0
- package/dist/components/r-repeater/r-repeater.vue.d.ts +58 -0
- package/dist/components/r-select/async-extension.d.ts +91 -0
- package/dist/components/r-select/r-select.vue.d.ts +733 -0
- package/dist/components/r-select/types.d.ts +29 -0
- package/dist/components/r-tabs/r-tab.vue.d.ts +70 -0
- package/dist/components/r-tabs/r-tabs.vue.d.ts +6983 -0
- package/dist/components/r-tabs/types.d.ts +23 -0
- package/dist/components/r-tile/r-tile.vue.d.ts +2 -0
- package/dist/components/r-toast/default-error-handler.d.ts +4 -0
- package/dist/components/r-toast/r-toast-manager.d.ts +17 -0
- package/dist/components/r-toast/r-toast.vue.d.ts +141 -0
- package/dist/components/r-toast/types.d.ts +19 -0
- package/dist/components/r-toggle/r-toggle.vue.d.ts +69 -0
- package/dist/directives/index.d.ts +8 -0
- package/dist/directives/r-click-outside/r-click-outside.d.ts +10 -0
- package/dist/directives/r-content/r-content.d.ts +9 -0
- package/dist/directives/r-fs-exclude.d.ts +7 -0
- package/dist/directives/r-lazy.d.ts +5 -0
- package/dist/directives/r-tooltip/r-tooltip.d.ts +12 -0
- package/dist/index.d.ts +20 -0
- package/dist/playground/Playground-copyme.vue.d.ts +2 -0
- package/dist/playground/main.d.ts +1 -0
- package/dist/revel.mjs +5577 -4744
- package/dist/revel.umd.js +115 -115
- package/dist/style.css +1 -1
- package/dist/styles/config.d.ts +32 -0
- package/dist/styles/index.d.ts +5 -0
- package/dist/styles/tokens.d.ts +130 -0
- package/dist/types.d.ts +24 -0
- package/package.json +107 -85
package/CHANGELOG.md
CHANGED
|
@@ -1,300 +1,278 @@
|
|
|
1
|
-
## [
|
|
1
|
+
## [5.0.0](https://github.com/Rebilly/rebilly/compare/revel-v4.21.3...revel-v5.0.0) (2023-08-08)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### ⚠ BREAKING CHANGES
|
|
5
|
+
|
|
6
|
+
* **revel:** Migrate revel to typescript (#661)
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* **revel:** Migrate revel to typescript ([#661](https://github.com/Rebilly/rebilly/issues/661)) ([ef63cbc](https://github.com/Rebilly/rebilly/commit/ef63cbc6a16c9c37d5bc17b10e003eb26c1c4e50)), closes [#608](https://github.com/Rebilly/rebilly/issues/608) [#630](https://github.com/Rebilly/rebilly/issues/630) [#636](https://github.com/Rebilly/rebilly/issues/636) [#658](https://github.com/Rebilly/rebilly/issues/658) [#642](https://github.com/Rebilly/rebilly/issues/642)
|
|
11
|
+
* **revel:** update yarn.lock ([#847](https://github.com/Rebilly/rebilly/issues/847)) ([7c6679f](https://github.com/Rebilly/rebilly/commit/7c6679f7cfeda76bffd1606c0af10e17a6414c83))
|
|
2
12
|
|
|
3
13
|
|
|
14
|
+
### Bug Fixes
|
|
15
|
+
|
|
16
|
+
* **revel:** replace npm-run-all with concurrently ([#850](https://github.com/Rebilly/rebilly/issues/850)) ([dea3d8e](https://github.com/Rebilly/rebilly/commit/dea3d8e71974162aba56fe9f4bff4072ed94bdf9))
|
|
17
|
+
|
|
18
|
+
## [4.22](https://github.com/Rebilly/rebilly/compare/revel-v4.21.3...revel-v4.22.0) (2023-08-03)
|
|
19
|
+
|
|
20
|
+
* **revel:** Migrate to Typescript
|
|
21
|
+
|
|
22
|
+
## [4.21.3](https://github.com/Rebilly/rebilly/compare/revel-v4.21.2...revel-v4.21.3)
|
|
23
|
+
|
|
4
24
|
### Bug Fixes
|
|
5
25
|
|
|
6
26
|
* **recomm:** Re-enable vite.configuration.spec.js test ([#825](https://github.com/Rebilly/rebilly/issues/825)) ([b8118e7](https://github.com/Rebilly/rebilly/commit/b8118e7455b71d1eb165d21de7201433a6905cad))
|
|
7
27
|
|
|
8
28
|
## [4.21.2](https://github.com/Rebilly/rebilly/compare/revel-v4.21.1...revel-v4.21.2) (2023-08-03)
|
|
9
29
|
|
|
10
|
-
|
|
11
30
|
### Bug Fixes
|
|
12
31
|
|
|
13
32
|
* **revel:** Update helpers styles and doc ([#817](https://github.com/Rebilly/rebilly/issues/817)) ([7474497](https://github.com/Rebilly/rebilly/commit/7474497e6fb2e75ffa1fd302fedfe3765a6a038e))
|
|
14
33
|
|
|
15
34
|
## [4.21.0](https://github.com/Rebilly/rebilly/compare/revel-v4.20.11...revel-v4.21.0) (2023-08-01)
|
|
16
35
|
|
|
17
|
-
|
|
18
36
|
### Features
|
|
19
37
|
|
|
20
38
|
* **revel:** Add text CSS helpers to Revel lib ([#803](https://github.com/Rebilly/rebilly/issues/803)) ([4fb3999](https://github.com/Rebilly/rebilly/commit/4fb39993f397fe84496924954400551adbf71721))
|
|
21
39
|
|
|
22
40
|
## [4.20.10](https://github.com/Rebilly/rebilly/compare/revel-v4.20.9...revel-v4.20.10) (2023-07-24)
|
|
23
41
|
|
|
24
|
-
|
|
25
42
|
### Bug Fixes
|
|
26
43
|
|
|
27
44
|
* **instruments:** Ensure dependencies are build as part of semantic-release ([#738](https://github.com/Rebilly/rebilly/issues/738)) ([cade641](https://github.com/Rebilly/rebilly/commit/cade6410236ed8b71a4bf65a591150709c645c90))
|
|
28
45
|
|
|
29
46
|
## [4.20.9](https://github.com/Rebilly/rebilly/compare/revel-v4.20.8...revel-v4.20.9) (2023-07-19)
|
|
30
47
|
|
|
31
|
-
|
|
32
48
|
### Bug Fixes
|
|
33
49
|
|
|
34
50
|
* **revel:** Foundations and content main links are not working ([#714](https://github.com/Rebilly/rebilly/issues/714)) ([42cde1c](https://github.com/Rebilly/rebilly/commit/42cde1c5b3929053e83c99ec9b7c194f4c72ce8a))
|
|
35
51
|
|
|
36
52
|
## [4.20.8](https://github.com/Rebilly/rebilly/compare/revel-v4.20.7...revel-v4.20.8) (2023-07-17)
|
|
37
53
|
|
|
38
|
-
|
|
39
54
|
### Bug Fixes
|
|
40
55
|
|
|
41
56
|
* **revel:** Update r-popper animation ([#705](https://github.com/Rebilly/rebilly/issues/705)) ([6847d8c](https://github.com/Rebilly/rebilly/commit/6847d8c4e4b2b4c437058f3dbca8d3e2f5dcf6a8))
|
|
42
57
|
|
|
43
58
|
## [4.20.7](https://github.com/Rebilly/rebilly/compare/revel-v4.20.6...revel-v4.20.7) (2023-07-17)
|
|
44
59
|
|
|
45
|
-
|
|
46
60
|
### Bug Fixes
|
|
47
61
|
|
|
48
62
|
* **revel:** Missing class on popover styles ([#698](https://github.com/Rebilly/rebilly/issues/698)) ([cb6a25b](https://github.com/Rebilly/rebilly/commit/cb6a25b0d8d043fe4805ba7b1a0fbdea9013fb45))
|
|
49
63
|
|
|
50
64
|
## [4.20.6](https://github.com/Rebilly/rebilly/compare/revel-v4.20.5...revel-v4.20.6) (2023-07-17)
|
|
51
65
|
|
|
52
|
-
|
|
53
66
|
### Bug Fixes
|
|
54
67
|
|
|
55
68
|
* **revel:** Update field group r-select styles ([#696](https://github.com/Rebilly/rebilly/issues/696)) ([4f01aca](https://github.com/Rebilly/rebilly/commit/4f01aca693e81e52db4f970de640e34a2d6ce6c4))
|
|
56
69
|
|
|
57
70
|
## [4.20.5](https://github.com/Rebilly/rebilly/compare/revel-v4.20.4...revel-v4.20.5) (2023-07-17)
|
|
58
71
|
|
|
59
|
-
|
|
60
72
|
### Bug Fixes
|
|
61
73
|
|
|
62
74
|
* **recomm:** Api definitions workflow ([#693](https://github.com/Rebilly/rebilly/issues/693)) ([998c957](https://github.com/Rebilly/rebilly/commit/998c957ff145f818cf0d74ed607ec0c10859909e))
|
|
63
75
|
|
|
64
76
|
## [4.20.4](https://github.com/Rebilly/rebilly/compare/revel-v4.20.3...revel-v4.20.4) (2023-07-14)
|
|
65
77
|
|
|
66
|
-
|
|
67
78
|
### Bug Fixes
|
|
68
79
|
|
|
69
80
|
* **revel:** Update tables styles ([#681](https://github.com/Rebilly/rebilly/issues/681)) ([5254628](https://github.com/Rebilly/rebilly/commit/52546283f4413e63fd183ca58051b65263c9b72f))
|
|
70
81
|
|
|
71
82
|
## [4.20.3](https://github.com/Rebilly/rebilly/compare/revel-v4.20.2...revel-v4.20.3) (2023-07-14)
|
|
72
83
|
|
|
73
|
-
|
|
74
84
|
### Bug Fixes
|
|
75
85
|
|
|
76
86
|
* **revel:** Update r-input styles ([#634](https://github.com/Rebilly/rebilly/issues/634)) ([66fa61c](https://github.com/Rebilly/rebilly/commit/66fa61c5063e92670e88584b3b796154801c33da))
|
|
77
87
|
|
|
78
88
|
## [4.20.2](https://github.com/Rebilly/rebilly/compare/revel-v4.20.1...revel-v4.20.2) (2023-07-14)
|
|
79
89
|
|
|
80
|
-
|
|
81
90
|
### Bug Fixes
|
|
82
91
|
|
|
83
92
|
* **revel:** Update popover styles ([#639](https://github.com/Rebilly/rebilly/issues/639)) ([619be8f](https://github.com/Rebilly/rebilly/commit/619be8fad292031e278f08e90e70f2c90e0b6ab4))
|
|
84
93
|
|
|
85
94
|
## [4.20.1](https://github.com/Rebilly/rebilly/compare/revel-v4.20.0...revel-v4.20.1) (2023-07-12)
|
|
86
95
|
|
|
87
|
-
|
|
88
96
|
### Bug Fixes
|
|
89
97
|
|
|
90
98
|
* **revel:** update tooltip z-index on modal ([#669](https://github.com/Rebilly/rebilly/issues/669)) ([2d974ea](https://github.com/Rebilly/rebilly/commit/2d974eae73dccea1322f1f7ab68dcf5f61e42d45))
|
|
91
99
|
|
|
92
100
|
## [4.20.0](https://github.com/Rebilly/rebilly/compare/revel-v4.19.2...revel-v4.20.0) (2023-07-04)
|
|
93
101
|
|
|
94
|
-
|
|
95
102
|
### Features
|
|
96
103
|
|
|
97
104
|
* **kyc-document-gatherer:** TypeScript, linting and formatting improvements ([#570](https://github.com/Rebilly/rebilly/issues/570)) ([a724088](https://github.com/Rebilly/rebilly/commit/a724088669b88437f4bee59bcd06f66c01a7b8d7))
|
|
98
105
|
|
|
99
106
|
## [4.19.2](https://github.com/Rebilly/rebilly/compare/revel-v4.19.1...revel-v4.19.2) (2023-06-26)
|
|
100
107
|
|
|
101
|
-
|
|
102
108
|
### Bug Fixes
|
|
103
109
|
|
|
104
110
|
* **revel:** Add style to radios that are disabled but checked ([#563](https://github.com/Rebilly/rebilly/issues/563)) ([01a2615](https://github.com/Rebilly/rebilly/commit/01a261583c3a3db86edb1a9445afc17a02159b95))
|
|
105
111
|
|
|
106
112
|
## [4.19.1](https://github.com/Rebilly/rebilly/compare/revel-v4.19.0...revel-v4.19.1) (2023-06-26)
|
|
107
113
|
|
|
108
|
-
|
|
109
114
|
### Bug Fixes
|
|
110
115
|
|
|
111
116
|
* **revel:** Fix r-select not showing no result message ([#562](https://github.com/Rebilly/rebilly/issues/562)) ([a6cb0f5](https://github.com/Rebilly/rebilly/commit/a6cb0f5faa4ad60f4f5f25ff9e93290d68979e74))
|
|
112
117
|
|
|
113
118
|
## [4.19.0](https://github.com/Rebilly/rebilly/compare/revel-v4.18.2...revel-v4.19.0) (2023-06-20)
|
|
114
119
|
|
|
115
|
-
|
|
116
120
|
### Features
|
|
117
121
|
|
|
118
122
|
* **revel:** Add breakpoints tokens ([#516](https://github.com/Rebilly/rebilly/issues/516)) ([b9f7eda](https://github.com/Rebilly/rebilly/commit/b9f7edad021df1eefea2414d8cbfe62775f0738b))
|
|
119
123
|
|
|
120
124
|
## [4.18.2](https://github.com/Rebilly/rebilly/compare/revel-v4.18.1...revel-v4.18.2) (2023-06-19)
|
|
121
125
|
|
|
122
|
-
|
|
123
126
|
### Bug Fixes
|
|
124
127
|
|
|
125
128
|
* **revel:** Update modal and tooltip z-index ([#536](https://github.com/Rebilly/rebilly/issues/536)) ([fd9f614](https://github.com/Rebilly/rebilly/commit/fd9f614174ec83f25723a414bb58cd9d10bf7769))
|
|
126
129
|
|
|
127
130
|
## [4.18.1](https://github.com/Rebilly/rebilly/compare/revel-v4.18.0...revel-v4.18.1) (2023-06-19)
|
|
128
131
|
|
|
129
|
-
|
|
130
132
|
### Bug Fixes
|
|
131
133
|
|
|
132
134
|
* **revel:** Dropdown shows on top of header on Recomm ([#529](https://github.com/Rebilly/rebilly/issues/529)) ([8d1cb61](https://github.com/Rebilly/rebilly/commit/8d1cb610e89588526be7443d45264402f13154c3))
|
|
133
135
|
|
|
134
136
|
## [4.18.0](https://github.com/Rebilly/rebilly/compare/revel-v4.17.0...revel-v4.18.0) (2023-06-15)
|
|
135
137
|
|
|
136
|
-
|
|
137
138
|
### Features
|
|
138
139
|
|
|
139
140
|
* **recomm:** Add reports page to Recomm ([#502](https://github.com/Rebilly/rebilly/issues/502)) ([2dba9db](https://github.com/Rebilly/rebilly/commit/2dba9dbb643499eec791f671d134c619d04bbba9))
|
|
140
141
|
|
|
141
142
|
## [4.17.0](https://github.com/Rebilly/rebilly/compare/revel-v4.16.0...revel-v4.17.0) (2023-06-14)
|
|
142
143
|
|
|
143
|
-
|
|
144
144
|
### Features
|
|
145
145
|
|
|
146
146
|
* **revel:** Add motion tokens ([#503](https://github.com/Rebilly/rebilly/issues/503)) ([da5b1a2](https://github.com/Rebilly/rebilly/commit/da5b1a229eccc47b7940e57a3eb14949d32ce86c))
|
|
147
147
|
|
|
148
148
|
## [4.16.0](https://github.com/Rebilly/rebilly/compare/revel-v4.15.0...revel-v4.16.0) (2023-06-13)
|
|
149
149
|
|
|
150
|
-
|
|
151
150
|
### Features
|
|
152
151
|
|
|
153
152
|
* **revel:** Added Z-index tokens to Revel ([#496](https://github.com/Rebilly/rebilly/issues/496)) ([9eeb7a9](https://github.com/Rebilly/rebilly/commit/9eeb7a91c588b4f529a968a8724cdf9f19cffca4))
|
|
154
153
|
|
|
155
154
|
## [4.15.0](https://github.com/Rebilly/rebilly/compare/revel-v4.14.0...revel-v4.15.0) (2023-06-13)
|
|
156
155
|
|
|
157
|
-
|
|
158
156
|
### Features
|
|
159
157
|
|
|
160
158
|
* **kyc-document-gatherer:** Improve TypeScript for unit-tests & minor improvements ([#459](https://github.com/Rebilly/rebilly/issues/459)) ([460ef39](https://github.com/Rebilly/rebilly/commit/460ef39cc893680820a913cd9decd7accaa6bc57))
|
|
161
159
|
|
|
162
160
|
## [4.14.0](https://github.com/Rebilly/rebilly/compare/revel-v4.13.0...revel-v4.14.0) (2023-06-08)
|
|
163
161
|
|
|
164
|
-
|
|
165
162
|
### Features
|
|
166
163
|
|
|
167
164
|
* **revel:** Shadows tokens ([#476](https://github.com/Rebilly/rebilly/issues/476)) ([cd1bfd2](https://github.com/Rebilly/rebilly/commit/cd1bfd22907ed77cdbf70fefaf41268eae7f197c))
|
|
168
165
|
|
|
169
166
|
## [4.13.0](https://github.com/Rebilly/rebilly/compare/revel-v4.12.0...revel-v4.13.0) (2023-06-07)
|
|
170
167
|
|
|
171
|
-
|
|
172
168
|
### Features
|
|
173
169
|
|
|
174
170
|
* **revel:** Make toast closeable by default ([#466](https://github.com/Rebilly/rebilly/issues/466)) ([6ba62c4](https://github.com/Rebilly/rebilly/commit/6ba62c4a316ef70fd43c0ba5b9a1bc8e3ed098fc))
|
|
175
171
|
|
|
176
172
|
## [4.12.0](https://github.com/Rebilly/rebilly/compare/revel-v4.11.1...revel-v4.12.0) (2023-06-07)
|
|
177
173
|
|
|
178
|
-
|
|
179
174
|
### Features
|
|
180
175
|
|
|
181
176
|
* **revel:** Add border radius tokens ([#455](https://github.com/Rebilly/rebilly/issues/455)) ([bd52bfe](https://github.com/Rebilly/rebilly/commit/bd52bfe55f2cd8754de94e336594f425a32c759f))
|
|
182
177
|
|
|
183
178
|
## [4.11.1](https://github.com/Rebilly/rebilly/compare/revel-v4.11.0...revel-v4.11.1) (2023-06-06)
|
|
184
179
|
|
|
185
|
-
|
|
186
180
|
### Bug Fixes
|
|
187
181
|
|
|
188
182
|
* **instruments:** Fix 3ds not showing in approval url ([#454](https://github.com/Rebilly/rebilly/issues/454)) ([e1895a1](https://github.com/Rebilly/rebilly/commit/e1895a1c9347e928078d32ae1597eddeff9eccc8))
|
|
189
183
|
|
|
190
184
|
## [4.11.0](https://github.com/Rebilly/rebilly/compare/revel-v4.10.1...revel-v4.11.0) (2023-06-06)
|
|
191
185
|
|
|
192
|
-
|
|
193
186
|
### Features
|
|
194
187
|
|
|
195
188
|
* **revel:** Update `Tokens.vue` component ([#445](https://github.com/Rebilly/rebilly/issues/445)) ([1c36772](https://github.com/Rebilly/rebilly/commit/1c3677212fc2283b7ce239bbe264fa4ba1649e2a))
|
|
196
189
|
|
|
197
190
|
## [4.10.1](https://github.com/Rebilly/rebilly/compare/revel-v4.10.0...revel-v4.10.1) (2023-05-24)
|
|
198
191
|
|
|
199
|
-
|
|
200
192
|
### Bug Fixes
|
|
201
193
|
|
|
202
194
|
* **recomm:** Fix update-column-schemas command ([#331](https://github.com/Rebilly/rebilly/issues/331)) ([165f5ba](https://github.com/Rebilly/rebilly/commit/165f5ba631fb6cdf6891683ea3b7d3901fd60f5b))
|
|
203
195
|
|
|
204
196
|
## [4.10.0](https://github.com/Rebilly/rebilly/compare/revel-v4.9.0...revel-v4.10.0) (2023-05-19)
|
|
205
197
|
|
|
206
|
-
|
|
207
198
|
### Features
|
|
208
199
|
|
|
209
200
|
* **kyc-document-gatherer:** Code formatting and TypeScript improvements ([#288](https://github.com/Rebilly/rebilly/issues/288)) ([52b1c5d](https://github.com/Rebilly/rebilly/commit/52b1c5d01783a11528575cef31e4e282f85de3a0))
|
|
210
201
|
|
|
211
202
|
## [4.9.0](https://github.com/Rebilly/rebilly/compare/revel-v4.8.0...revel-v4.9.0) (2023-05-18)
|
|
212
203
|
|
|
213
|
-
|
|
214
204
|
### Features
|
|
215
205
|
|
|
216
206
|
* **kyc-document-gatherer:** Migrate components to TypeScript ([#229](https://github.com/Rebilly/rebilly/issues/229)) ([ecedced](https://github.com/Rebilly/rebilly/commit/ecedced77f4f5fa2078ab17a6b74e3bc63fd2582))
|
|
217
207
|
|
|
218
208
|
## [4.8.0](https://github.com/Rebilly/rebilly/compare/revel-v4.7.0...revel-v4.8.0) (2023-05-18)
|
|
219
209
|
|
|
220
|
-
|
|
221
210
|
### Features
|
|
222
211
|
|
|
223
212
|
* **revel:** Update unstyled button style ([#271](https://github.com/Rebilly/rebilly/issues/271)) ([2d83ca7](https://github.com/Rebilly/rebilly/commit/2d83ca72d2657c5287cc75f9a9c38d775bace9b4))
|
|
224
213
|
|
|
225
214
|
## [4.7.0](https://github.com/Rebilly/rebilly/compare/revel-v4.6.0...revel-v4.7.0) (2023-05-17)
|
|
226
215
|
|
|
227
|
-
|
|
228
216
|
### Features
|
|
229
217
|
|
|
230
218
|
* **revel:** Update r-button icon loading states ([#264](https://github.com/Rebilly/rebilly/issues/264)) ([97896a5](https://github.com/Rebilly/rebilly/commit/97896a5cabcea9306fe46a377f0cac322661dec1))
|
|
231
219
|
|
|
232
220
|
## [4.6.0](https://github.com/Rebilly/rebilly/compare/revel-v4.5.1...revel-v4.6.0) (2023-05-16)
|
|
233
221
|
|
|
234
|
-
|
|
235
222
|
### Features
|
|
236
223
|
|
|
237
224
|
* **revel:** Add icon to r-button component ([#254](https://github.com/Rebilly/rebilly/issues/254)) ([e1aa0c6](https://github.com/Rebilly/rebilly/commit/e1aa0c6ff545f4f14caf8990cedea44bdc4583a5))
|
|
238
225
|
|
|
239
226
|
## [4.5.1](https://github.com/Rebilly/rebilly/compare/revel-v4.5.0...revel-v4.5.1) (2023-05-12)
|
|
240
227
|
|
|
241
|
-
|
|
242
228
|
### Bug Fixes
|
|
243
229
|
|
|
244
230
|
* **revel:** Update button style condition ([#240](https://github.com/Rebilly/rebilly/issues/240)) ([334d5dc](https://github.com/Rebilly/rebilly/commit/334d5dc3e0814712dbf96be537f2c7f1d8fc89e9))
|
|
245
231
|
|
|
246
232
|
## [4.5.0](https://github.com/Rebilly/rebilly/compare/revel-v4.4.0...revel-v4.5.0) (2023-05-10)
|
|
247
233
|
|
|
248
|
-
|
|
249
234
|
### Features
|
|
250
235
|
|
|
251
236
|
* **kyc-document-gatherer:** change eslint vue config ([#238](https://github.com/Rebilly/rebilly/issues/238)) ([7dc9475](https://github.com/Rebilly/rebilly/commit/7dc94759b3e758eddf4a4c8d729872551a380471))
|
|
252
237
|
|
|
253
238
|
## [4.4.0](https://github.com/Rebilly/rebilly/compare/revel-v4.3.1...revel-v4.4.0) (2023-05-09)
|
|
254
239
|
|
|
255
|
-
|
|
256
240
|
### Features
|
|
257
241
|
|
|
258
242
|
* **kyc-document-gatherer:** TypeScript setup and configuration ([#201](https://github.com/Rebilly/rebilly/issues/201)) ([d7f804c](https://github.com/Rebilly/rebilly/commit/d7f804c871a4bd868864c7c67895b3468db049fe))
|
|
259
243
|
|
|
260
244
|
## [4.3.1](https://github.com/Rebilly/rebilly/compare/revel-v4.3.0...revel-v4.3.1) (2023-05-09)
|
|
261
245
|
|
|
262
|
-
|
|
263
246
|
### Bug Fixes
|
|
264
247
|
|
|
265
248
|
* **revel:** Link button didn't display underline when hovered ([#233](https://github.com/Rebilly/rebilly/issues/233)) ([b9911ef](https://github.com/Rebilly/rebilly/commit/b9911ef3a9799109cebd81701e805ee87f334e89))
|
|
266
249
|
|
|
267
250
|
## [4.3.0](https://github.com/Rebilly/rebilly/compare/revel-v4.2.1...revel-v4.3.0) (2023-05-05)
|
|
268
251
|
|
|
269
|
-
|
|
270
252
|
### Features
|
|
271
253
|
|
|
272
254
|
* **instruments:** Use JSON schema to validate mount options ([#211](https://github.com/Rebilly/rebilly/issues/211)) ([f304128](https://github.com/Rebilly/rebilly/commit/f304128c4cfc85f367f64c952625d31d08f845f5))
|
|
273
255
|
|
|
274
256
|
## [4.2.1](https://github.com/Rebilly/rebilly/compare/revel-v4.2.0...revel-v4.2.1) (2023-04-28)
|
|
275
257
|
|
|
276
|
-
|
|
277
258
|
### Bug Fixes
|
|
278
259
|
|
|
279
260
|
* **revel:** r-avatar had wrong top margin applied ([#190](https://github.com/Rebilly/rebilly/issues/190)) ([23a166c](https://github.com/Rebilly/rebilly/commit/23a166c152653b6393cfe5db04129f5dec559857))
|
|
280
261
|
|
|
281
262
|
## [4.2.0](https://github.com/Rebilly/rebilly/compare/revel-v4.1.0...revel-v4.2.0) (2023-04-28)
|
|
282
263
|
|
|
283
|
-
|
|
284
264
|
### Features
|
|
285
265
|
|
|
286
266
|
* **revel:** Update button component ([#186](https://github.com/Rebilly/rebilly/issues/186)) ([c269206](https://github.com/Rebilly/rebilly/commit/c269206077471cd5eaf0547754d0632c34d39f88))
|
|
287
267
|
|
|
288
268
|
## [4.1.0](https://github.com/Rebilly/rebilly/compare/revel-v4.0.0...revel-v4.1.0) (2023-04-28)
|
|
289
269
|
|
|
290
|
-
|
|
291
270
|
### Features
|
|
292
271
|
|
|
293
272
|
* **revel:** Update icon component ([#187](https://github.com/Rebilly/rebilly/issues/187)) ([4f57cb1](https://github.com/Rebilly/rebilly/commit/4f57cb1b052825a7db6ce501a47678c852683446))
|
|
294
273
|
|
|
295
274
|
## [4.0.0](https://github.com/Rebilly/rebilly/compare/revel-v3.0.0...revel-v4.0.0) (2023-04-26)
|
|
296
275
|
|
|
297
|
-
|
|
298
276
|
### ⚠ BREAKING CHANGES
|
|
299
277
|
|
|
300
278
|
* **revel:** Update library name to Revel (#178)
|
|
@@ -305,17 +283,15 @@
|
|
|
305
283
|
|
|
306
284
|
## [3.0.0](https://github.com/Rebilly/rebilly/compare/revel-v2.6.0...revel-v3.0.0) (2023-04-19)
|
|
307
285
|
|
|
308
|
-
|
|
309
286
|
### ⚠ BREAKING CHANGES
|
|
310
287
|
|
|
311
288
|
* **revel:** Update spaces variables and helpers (#132)
|
|
312
289
|
|
|
313
290
|
### Features
|
|
314
291
|
|
|
315
|
-
|
|
292
|
+
- Migrate kyc-document-gatherer-vue3 ([#99](https://github.com/Rebilly/rebilly/issues/99)) ([06596dc](https://github.com/Rebilly/rebilly/commit/06596dce43efda66b7945dfcd88b20da617622d4)), closes [#48](https://github.com/Rebilly/rebilly/issues/48) [#45](https://github.com/Rebilly/rebilly/issues/45)
|
|
316
293
|
* **revel:** Update spaces variables and helpers ([#132](https://github.com/Rebilly/rebilly/issues/132)) ([d45be29](https://github.com/Rebilly/rebilly/commit/d45be29415c72e4b887ea90661136fe0856b3330))
|
|
317
294
|
|
|
318
|
-
|
|
319
295
|
### Bug Fixes
|
|
320
296
|
|
|
321
297
|
* **revel:** Force version bump and rename from `recomponents-next` ([#142](https://github.com/Rebilly/rebilly/issues/142)) ([1972c7e](https://github.com/Rebilly/rebilly/commit/1972c7eff197204a212c94a70bde2d59e47a88f1))
|
|
@@ -323,7 +299,6 @@
|
|
|
323
299
|
|
|
324
300
|
## [2.6.0](https://github.com/Rebilly/rebilly/compare/revel-v2.5.0...revel-v2.6.0) (2023-03-30)
|
|
325
301
|
|
|
326
|
-
|
|
327
302
|
### Features
|
|
328
303
|
|
|
329
304
|
* **revel:** Update library to use color tokens ([#89](https://github.com/Rebilly/rebilly/issues/89)) ([0e8de67](https://github.com/Rebilly/rebilly/commit/0e8de67dee7777ef79754f95e617e527d8c72021))
|
package/README.md
CHANGED
|
@@ -5,8 +5,11 @@
|
|
|
5
5
|
</p>
|
|
6
6
|
|
|
7
7
|
# Revel
|
|
8
|
+
|
|
8
9
|
### Design and develop clean, elegant, and performant Rebilly experiences.
|
|
10
|
+
|
|
9
11
|
---
|
|
12
|
+
|
|
10
13
|
<p>
|
|
11
14
|
<a href="https://revel.rebilly.dev/">
|
|
12
15
|
View Documentation
|
|
@@ -26,35 +29,41 @@
|
|
|
26
29
|
</p>
|
|
27
30
|
|
|
28
31
|
## About this repo
|
|
32
|
+
|
|
29
33
|
Revel is the design system used by designers and developers at Rebilly to build clean, elegant, and performant experiences for its merchants.
|
|
30
34
|
|
|
31
35
|
## Commands
|
|
36
|
+
|
|
32
37
|
### Install dependecies and start development
|
|
38
|
+
|
|
33
39
|
```
|
|
34
40
|
yarn && yarn docs:dev
|
|
35
41
|
```
|
|
36
42
|
|
|
37
43
|
### Commands
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
`
|
|
42
|
-
`docs:
|
|
43
|
-
`build`
|
|
44
|
-
`build
|
|
45
|
-
`
|
|
46
|
-
`
|
|
47
|
-
`lint:fix`
|
|
48
|
-
`
|
|
49
|
-
`test:unit
|
|
44
|
+
|
|
45
|
+
| Command | Description |
|
|
46
|
+
| ----------------- | ------------------------------------------------------------------- |
|
|
47
|
+
| `dev` | Run the dev server for the component documentation. See `docs:dev`. |
|
|
48
|
+
| `docs:dev` | Run the dev server for the component documentation. |
|
|
49
|
+
| `docs:build` | Build component documentation as a static HTML site. |
|
|
50
|
+
| `build` | Build the library. |
|
|
51
|
+
| `build:watch` | Build the library and rebuild on file changes. |
|
|
52
|
+
| `playground:dev` | Run the playground dev server (see [Playground](#playground)). |
|
|
53
|
+
| `lint:no-fix` | Run eslint. |
|
|
54
|
+
| `lint:fix` | Run eslint and automatically fix issues. |
|
|
55
|
+
| `test:unit` | Run the unit tests. |
|
|
56
|
+
| `test:unit:watch` | Run the unit tests on changed files, in watch mode. |
|
|
50
57
|
|
|
51
58
|
### Playground
|
|
59
|
+
|
|
52
60
|
Sometimes it is easier to test a complex configuration directly in a vue application, rather than through our vuepress documentation.
|
|
53
61
|
|
|
54
62
|
For this, we provide a playground server which can be run with:
|
|
63
|
+
|
|
55
64
|
```
|
|
56
65
|
yarn playground:dev
|
|
57
66
|
```
|
|
58
67
|
|
|
59
|
-
Note: You must copy the playground component file
|
|
60
|
-
`/src/playground/Playground-copyme.vue` to `Playground.vue`.
|
|
68
|
+
Note: You must copy the playground component file
|
|
69
|
+
`/src/playground/Playground-copyme.vue` to `Playground.vue`.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { DatePicker } from '../components/r-date-input/v-calendar.es';
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
* App time formats.
|
|
4
|
+
* TODO: set correct names for time formats (rename all).
|
|
5
|
+
* constants should be independent of functionality (common names through the app),
|
|
6
|
+
* for example "datetime", "month", "date month", not "timelineTime".
|
|
7
|
+
*/
|
|
8
|
+
export declare const DateTimeFormats: {
|
|
9
|
+
readonly datePickerDate: "YYYY-MM-DD";
|
|
10
|
+
readonly datetime: "MMM Do, YYYY [at] h:mm a";
|
|
11
|
+
readonly date: "MMM Do, YYYY";
|
|
12
|
+
readonly shortDate: "MMM D, YYYY";
|
|
13
|
+
readonly shortDateTime: "MMM D, YYYY h:mm a";
|
|
14
|
+
readonly shortDate24HrTime: "MMM D, YYYY HH:mm";
|
|
15
|
+
readonly time: "HH:mm:ssZ";
|
|
16
|
+
readonly shortTime: "hh:mm a";
|
|
17
|
+
readonly timeApiFormat: "HH:mm:ssZ";
|
|
18
|
+
readonly longDate: "MMMM Do, YYYY";
|
|
19
|
+
readonly longDateTime: "MMMM Do, YYYY [at] hh:mmA";
|
|
20
|
+
readonly timelineDateTime: "MMMM Do hh:mm:ss A";
|
|
21
|
+
readonly timelineTime: "h:mm:ss A";
|
|
22
|
+
readonly timelineHeader: "MMMM D";
|
|
23
|
+
readonly inlineDateValue: "MMM Do YYYY";
|
|
24
|
+
readonly orderDatetime: "MMM Do, YYYY h:mm a";
|
|
25
|
+
readonly orderDate: "MMM Do";
|
|
26
|
+
};
|
|
27
|
+
export type DateTimeFormatsVariant = keyof typeof DateTimeFormats;
|
|
28
|
+
export type DateTimeFormat = (typeof DateTimeFormats)[DateTimeFormatsVariant];
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { Moment } from 'moment';
|
|
2
|
+
import { type DateTimeFormatsVariant } from '../datetime-formats';
|
|
3
|
+
import type { Voidable } from '../../types';
|
|
4
|
+
export declare const formatDate: (value: Voidable<Moment | string | Date>, format?: DateTimeFormatsVariant | string, timezone?: string) => string;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { debounce } from './debounce';
|
|
2
|
+
import { deepClone } from './deep-clone';
|
|
3
|
+
import { formatDate } from './format-date';
|
|
4
|
+
import { kebabCase } from './kebab-case';
|
|
5
|
+
import { isObject } from './is-object';
|
|
6
|
+
export { debounce, deepClone, formatDate, kebabCase, isObject };
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import '../styles';
|
|
2
|
+
export { default as RAvatar } from './r-avatar/r-avatar.vue';
|
|
3
|
+
export { default as RBadge } from './r-badge/r-badge.vue';
|
|
4
|
+
export { default as RButton } from './r-button/r-button.vue';
|
|
5
|
+
export { default as RButtonGroup } from './r-button-group/r-button-group.vue';
|
|
6
|
+
export { default as RCheckbox } from './r-checkbox/r-checkbox.vue';
|
|
7
|
+
export { default as RDateInput } from './r-date-input/r-date-input.vue';
|
|
8
|
+
export { default as RFileUpload } from './r-file-upload/r-file-upload.vue';
|
|
9
|
+
export { default as RGrid } from './r-grid/r-grid.vue';
|
|
10
|
+
export { default as RIcon } from './r-icon/r-icon.vue';
|
|
11
|
+
export { default as RIconButton } from './r-icon-button/r-icon-button.vue';
|
|
12
|
+
export { default as RImg } from './r-img/r-img.vue';
|
|
13
|
+
export { default as RInput } from './r-input/r-input.vue';
|
|
14
|
+
export { default as RLoader } from './r-loader/r-loader.vue';
|
|
15
|
+
export { default as RModal } from './r-modal/r-modal.vue';
|
|
16
|
+
export { default as RMonthPicker } from './r-month-picker/r-month-picker.vue';
|
|
17
|
+
export { default as RPagination } from './r-pagination/r-pagination.vue';
|
|
18
|
+
export { default as RPaginationControl } from './r-pagination-control/r-pagination-control.vue';
|
|
19
|
+
export { default as RPopper } from './r-popper/r-popper.vue';
|
|
20
|
+
export { default as RRadio } from './r-radio/r-radio.vue';
|
|
21
|
+
export { default as RRepeater } from './r-repeater/r-repeater.vue';
|
|
22
|
+
export { default as RSelect } from './r-select/r-select.vue';
|
|
23
|
+
export { default as RTab } from './r-tabs/r-tab.vue';
|
|
24
|
+
export { default as RTabs } from './r-tabs/r-tabs.vue';
|
|
25
|
+
export { default as RTile } from './r-tile/r-tile.vue';
|
|
26
|
+
export { default as RToast } from './r-toast/r-toast.vue';
|
|
27
|
+
export { default as RToggle } from './r-toggle/r-toggle.vue';
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import { type PropType } from 'vue';
|
|
2
|
+
import type { Nullable } from '../../types';
|
|
3
|
+
declare const _default: import("vue").DefineComponent<{
|
|
4
|
+
/**
|
|
5
|
+
* Display initials
|
|
6
|
+
*/
|
|
7
|
+
initials: {
|
|
8
|
+
type: PropType<Nullable<string>>;
|
|
9
|
+
validator: (value: string) => boolean;
|
|
10
|
+
default: null;
|
|
11
|
+
};
|
|
12
|
+
/**
|
|
13
|
+
* A text to describe the avatar
|
|
14
|
+
*/
|
|
15
|
+
description: {
|
|
16
|
+
type: StringConstructor;
|
|
17
|
+
default: null;
|
|
18
|
+
};
|
|
19
|
+
/**
|
|
20
|
+
* The avatar image
|
|
21
|
+
*/
|
|
22
|
+
image: {
|
|
23
|
+
type: StringConstructor;
|
|
24
|
+
default: null;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Color for the avatar
|
|
28
|
+
*/
|
|
29
|
+
color: {
|
|
30
|
+
type: PropType<Nullable<string>>;
|
|
31
|
+
default: null;
|
|
32
|
+
};
|
|
33
|
+
/**
|
|
34
|
+
* Icon for the avatar
|
|
35
|
+
*/
|
|
36
|
+
icon: {
|
|
37
|
+
type: StringConstructor;
|
|
38
|
+
default: null;
|
|
39
|
+
};
|
|
40
|
+
}, unknown, unknown, {
|
|
41
|
+
initialsColor(): string;
|
|
42
|
+
}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
43
|
+
/**
|
|
44
|
+
* Display initials
|
|
45
|
+
*/
|
|
46
|
+
initials: {
|
|
47
|
+
type: PropType<Nullable<string>>;
|
|
48
|
+
validator: (value: string) => boolean;
|
|
49
|
+
default: null;
|
|
50
|
+
};
|
|
51
|
+
/**
|
|
52
|
+
* A text to describe the avatar
|
|
53
|
+
*/
|
|
54
|
+
description: {
|
|
55
|
+
type: StringConstructor;
|
|
56
|
+
default: null;
|
|
57
|
+
};
|
|
58
|
+
/**
|
|
59
|
+
* The avatar image
|
|
60
|
+
*/
|
|
61
|
+
image: {
|
|
62
|
+
type: StringConstructor;
|
|
63
|
+
default: null;
|
|
64
|
+
};
|
|
65
|
+
/**
|
|
66
|
+
* Color for the avatar
|
|
67
|
+
*/
|
|
68
|
+
color: {
|
|
69
|
+
type: PropType<Nullable<string>>;
|
|
70
|
+
default: null;
|
|
71
|
+
};
|
|
72
|
+
/**
|
|
73
|
+
* Icon for the avatar
|
|
74
|
+
*/
|
|
75
|
+
icon: {
|
|
76
|
+
type: StringConstructor;
|
|
77
|
+
default: null;
|
|
78
|
+
};
|
|
79
|
+
}>>, {
|
|
80
|
+
icon: string;
|
|
81
|
+
color: Nullable<string>;
|
|
82
|
+
image: string;
|
|
83
|
+
initials: Nullable<string>;
|
|
84
|
+
description: string;
|
|
85
|
+
}>;
|
|
86
|
+
export default _default;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
/**
|
|
3
|
+
* Changes background color
|
|
4
|
+
*/
|
|
5
|
+
type: {
|
|
6
|
+
type: StringConstructor;
|
|
7
|
+
default: string;
|
|
8
|
+
};
|
|
9
|
+
/**
|
|
10
|
+
* Show optional close button
|
|
11
|
+
*/
|
|
12
|
+
close: {
|
|
13
|
+
type: BooleanConstructor;
|
|
14
|
+
default: boolean;
|
|
15
|
+
};
|
|
16
|
+
}, unknown, unknown, {
|
|
17
|
+
classes(): Record<string, boolean>;
|
|
18
|
+
}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "click")[], "close" | "click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
19
|
+
/**
|
|
20
|
+
* Changes background color
|
|
21
|
+
*/
|
|
22
|
+
type: {
|
|
23
|
+
type: StringConstructor;
|
|
24
|
+
default: string;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Show optional close button
|
|
28
|
+
*/
|
|
29
|
+
close: {
|
|
30
|
+
type: BooleanConstructor;
|
|
31
|
+
default: boolean;
|
|
32
|
+
};
|
|
33
|
+
}>> & {
|
|
34
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
35
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
36
|
+
}, {
|
|
37
|
+
close: boolean;
|
|
38
|
+
type: string;
|
|
39
|
+
}>;
|
|
40
|
+
export default _default;
|