@rebilly/revel 4.21.2 → 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.
Files changed (77) hide show
  1. package/CHANGELOG.md +28 -46
  2. package/README.md +23 -14
  3. package/dist/common/date-picker-compat.d.ts +1 -0
  4. package/dist/common/datetime-formats.d.ts +28 -0
  5. package/dist/common/helpers/debounce.d.ts +2 -0
  6. package/dist/common/helpers/deep-clone.d.ts +2 -0
  7. package/dist/common/helpers/format-date.d.ts +4 -0
  8. package/dist/common/helpers/index.d.ts +6 -0
  9. package/dist/common/helpers/is-object.d.ts +2 -0
  10. package/dist/common/helpers/kebab-case.d.ts +2 -0
  11. package/dist/components/index.d.ts +27 -0
  12. package/dist/components/r-avatar/r-avatar.vue.d.ts +86 -0
  13. package/dist/components/r-badge/r-badge.vue.d.ts +40 -0
  14. package/dist/components/r-button/r-button.vue.d.ts +195 -0
  15. package/dist/components/r-button-group/r-button-group.vue.d.ts +18 -0
  16. package/dist/components/r-checkbox/r-checkbox.vue.d.ts +148 -0
  17. package/dist/components/r-date-input/calendar-presets.d.ts +36 -0
  18. package/dist/components/r-date-input/r-calendar.vue.d.ts +159 -0
  19. package/dist/components/r-date-input/r-date-input.vue.d.ts +297 -0
  20. package/dist/components/r-date-input/r-date-range-button-group.vue.d.ts +167 -0
  21. package/dist/components/r-date-input/r-range-calendar.vue.d.ts +211 -0
  22. package/dist/components/r-date-input/shared-calendar-options.d.ts +64 -0
  23. package/dist/components/r-date-input/types.d.ts +8 -0
  24. package/dist/components/r-date-input/v-calendar.es.d.ts +459 -0
  25. package/dist/components/r-file-upload/r-file-upload.vue.d.ts +68 -0
  26. package/dist/components/r-grid/columnTypes/badge.vue.d.ts +42 -0
  27. package/dist/components/r-grid/columnTypes/date.vue.d.ts +25 -0
  28. package/dist/components/r-grid/columnTypes/index.d.ts +93 -0
  29. package/dist/components/r-grid/columnTypes/numeric.vue.d.ts +24 -0
  30. package/dist/components/r-grid/columnTypes/text.vue.d.ts +26 -0
  31. package/dist/components/r-grid/columnTypes/types.d.ts +24 -0
  32. package/dist/components/r-grid/helpers/color-generator.d.ts +4 -0
  33. package/dist/components/r-grid/r-grid.vue.d.ts +196 -0
  34. package/dist/components/r-icon/r-icon-sprites.d.ts +128 -0
  35. package/dist/components/r-icon/r-icon.vue.d.ts +61 -0
  36. package/dist/components/r-icon-button/r-icon-button.vue.d.ts +133 -0
  37. package/dist/components/r-img/r-img.vue.d.ts +96 -0
  38. package/dist/components/r-input/r-input.vue.d.ts +411 -0
  39. package/dist/components/r-loader/r-loader.vue.d.ts +55 -0
  40. package/dist/components/r-modal/r-modal.vue.d.ts +132 -0
  41. package/dist/components/r-month-picker/months.d.ts +1 -0
  42. package/dist/components/r-month-picker/r-month-picker.vue.d.ts +122 -0
  43. package/dist/components/r-pagination/r-pagination.vue.d.ts +97 -0
  44. package/dist/components/r-pagination/types.d.ts +8 -0
  45. package/dist/components/r-pagination-control/r-pagination-control.vue.d.ts +33 -0
  46. package/dist/components/r-popper/r-popper.vue.d.ts +275 -0
  47. package/dist/components/r-radio/r-radio.vue.d.ts +132 -0
  48. package/dist/components/r-repeater/r-repeater.vue.d.ts +58 -0
  49. package/dist/components/r-select/async-extension.d.ts +91 -0
  50. package/dist/components/r-select/r-select.vue.d.ts +733 -0
  51. package/dist/components/r-select/types.d.ts +29 -0
  52. package/dist/components/r-tabs/r-tab.vue.d.ts +70 -0
  53. package/dist/components/r-tabs/r-tabs.vue.d.ts +6983 -0
  54. package/dist/components/r-tabs/types.d.ts +23 -0
  55. package/dist/components/r-tile/r-tile.vue.d.ts +2 -0
  56. package/dist/components/r-toast/default-error-handler.d.ts +4 -0
  57. package/dist/components/r-toast/r-toast-manager.d.ts +17 -0
  58. package/dist/components/r-toast/r-toast.vue.d.ts +141 -0
  59. package/dist/components/r-toast/types.d.ts +19 -0
  60. package/dist/components/r-toggle/r-toggle.vue.d.ts +69 -0
  61. package/dist/directives/index.d.ts +8 -0
  62. package/dist/directives/r-click-outside/r-click-outside.d.ts +10 -0
  63. package/dist/directives/r-content/r-content.d.ts +9 -0
  64. package/dist/directives/r-fs-exclude.d.ts +7 -0
  65. package/dist/directives/r-lazy.d.ts +5 -0
  66. package/dist/directives/r-tooltip/r-tooltip.d.ts +12 -0
  67. package/dist/index.d.ts +20 -0
  68. package/dist/playground/Playground-copyme.vue.d.ts +2 -0
  69. package/dist/playground/main.d.ts +1 -0
  70. package/dist/revel.mjs +5577 -4744
  71. package/dist/revel.umd.js +115 -115
  72. package/dist/style.css +1 -1
  73. package/dist/styles/config.d.ts +32 -0
  74. package/dist/styles/index.d.ts +5 -0
  75. package/dist/styles/tokens.d.ts +130 -0
  76. package/dist/types.d.ts +24 -0
  77. package/package.json +107 -85
package/CHANGELOG.md CHANGED
@@ -1,5 +1,31 @@
1
- ## [4.21.2](https://github.com/Rebilly/rebilly/compare/revel-v4.21.1...revel-v4.21.2) (2023-08-03)
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))
12
+
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
+
24
+ ### Bug Fixes
25
+
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))
2
27
 
28
+ ## [4.21.2](https://github.com/Rebilly/rebilly/compare/revel-v4.21.1...revel-v4.21.2) (2023-08-03)
3
29
 
4
30
  ### Bug Fixes
5
31
 
@@ -7,287 +33,246 @@
7
33
 
8
34
  ## [4.21.0](https://github.com/Rebilly/rebilly/compare/revel-v4.20.11...revel-v4.21.0) (2023-08-01)
9
35
 
10
-
11
36
  ### Features
12
37
 
13
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))
14
39
 
15
40
  ## [4.20.10](https://github.com/Rebilly/rebilly/compare/revel-v4.20.9...revel-v4.20.10) (2023-07-24)
16
41
 
17
-
18
42
  ### Bug Fixes
19
43
 
20
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))
21
45
 
22
46
  ## [4.20.9](https://github.com/Rebilly/rebilly/compare/revel-v4.20.8...revel-v4.20.9) (2023-07-19)
23
47
 
24
-
25
48
  ### Bug Fixes
26
49
 
27
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))
28
51
 
29
52
  ## [4.20.8](https://github.com/Rebilly/rebilly/compare/revel-v4.20.7...revel-v4.20.8) (2023-07-17)
30
53
 
31
-
32
54
  ### Bug Fixes
33
55
 
34
56
  * **revel:** Update r-popper animation ([#705](https://github.com/Rebilly/rebilly/issues/705)) ([6847d8c](https://github.com/Rebilly/rebilly/commit/6847d8c4e4b2b4c437058f3dbca8d3e2f5dcf6a8))
35
57
 
36
58
  ## [4.20.7](https://github.com/Rebilly/rebilly/compare/revel-v4.20.6...revel-v4.20.7) (2023-07-17)
37
59
 
38
-
39
60
  ### Bug Fixes
40
61
 
41
62
  * **revel:** Missing class on popover styles ([#698](https://github.com/Rebilly/rebilly/issues/698)) ([cb6a25b](https://github.com/Rebilly/rebilly/commit/cb6a25b0d8d043fe4805ba7b1a0fbdea9013fb45))
42
63
 
43
64
  ## [4.20.6](https://github.com/Rebilly/rebilly/compare/revel-v4.20.5...revel-v4.20.6) (2023-07-17)
44
65
 
45
-
46
66
  ### Bug Fixes
47
67
 
48
68
  * **revel:** Update field group r-select styles ([#696](https://github.com/Rebilly/rebilly/issues/696)) ([4f01aca](https://github.com/Rebilly/rebilly/commit/4f01aca693e81e52db4f970de640e34a2d6ce6c4))
49
69
 
50
70
  ## [4.20.5](https://github.com/Rebilly/rebilly/compare/revel-v4.20.4...revel-v4.20.5) (2023-07-17)
51
71
 
52
-
53
72
  ### Bug Fixes
54
73
 
55
74
  * **recomm:** Api definitions workflow ([#693](https://github.com/Rebilly/rebilly/issues/693)) ([998c957](https://github.com/Rebilly/rebilly/commit/998c957ff145f818cf0d74ed607ec0c10859909e))
56
75
 
57
76
  ## [4.20.4](https://github.com/Rebilly/rebilly/compare/revel-v4.20.3...revel-v4.20.4) (2023-07-14)
58
77
 
59
-
60
78
  ### Bug Fixes
61
79
 
62
80
  * **revel:** Update tables styles ([#681](https://github.com/Rebilly/rebilly/issues/681)) ([5254628](https://github.com/Rebilly/rebilly/commit/52546283f4413e63fd183ca58051b65263c9b72f))
63
81
 
64
82
  ## [4.20.3](https://github.com/Rebilly/rebilly/compare/revel-v4.20.2...revel-v4.20.3) (2023-07-14)
65
83
 
66
-
67
84
  ### Bug Fixes
68
85
 
69
86
  * **revel:** Update r-input styles ([#634](https://github.com/Rebilly/rebilly/issues/634)) ([66fa61c](https://github.com/Rebilly/rebilly/commit/66fa61c5063e92670e88584b3b796154801c33da))
70
87
 
71
88
  ## [4.20.2](https://github.com/Rebilly/rebilly/compare/revel-v4.20.1...revel-v4.20.2) (2023-07-14)
72
89
 
73
-
74
90
  ### Bug Fixes
75
91
 
76
92
  * **revel:** Update popover styles ([#639](https://github.com/Rebilly/rebilly/issues/639)) ([619be8f](https://github.com/Rebilly/rebilly/commit/619be8fad292031e278f08e90e70f2c90e0b6ab4))
77
93
 
78
94
  ## [4.20.1](https://github.com/Rebilly/rebilly/compare/revel-v4.20.0...revel-v4.20.1) (2023-07-12)
79
95
 
80
-
81
96
  ### Bug Fixes
82
97
 
83
98
  * **revel:** update tooltip z-index on modal ([#669](https://github.com/Rebilly/rebilly/issues/669)) ([2d974ea](https://github.com/Rebilly/rebilly/commit/2d974eae73dccea1322f1f7ab68dcf5f61e42d45))
84
99
 
85
100
  ## [4.20.0](https://github.com/Rebilly/rebilly/compare/revel-v4.19.2...revel-v4.20.0) (2023-07-04)
86
101
 
87
-
88
102
  ### Features
89
103
 
90
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))
91
105
 
92
106
  ## [4.19.2](https://github.com/Rebilly/rebilly/compare/revel-v4.19.1...revel-v4.19.2) (2023-06-26)
93
107
 
94
-
95
108
  ### Bug Fixes
96
109
 
97
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))
98
111
 
99
112
  ## [4.19.1](https://github.com/Rebilly/rebilly/compare/revel-v4.19.0...revel-v4.19.1) (2023-06-26)
100
113
 
101
-
102
114
  ### Bug Fixes
103
115
 
104
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))
105
117
 
106
118
  ## [4.19.0](https://github.com/Rebilly/rebilly/compare/revel-v4.18.2...revel-v4.19.0) (2023-06-20)
107
119
 
108
-
109
120
  ### Features
110
121
 
111
122
  * **revel:** Add breakpoints tokens ([#516](https://github.com/Rebilly/rebilly/issues/516)) ([b9f7eda](https://github.com/Rebilly/rebilly/commit/b9f7edad021df1eefea2414d8cbfe62775f0738b))
112
123
 
113
124
  ## [4.18.2](https://github.com/Rebilly/rebilly/compare/revel-v4.18.1...revel-v4.18.2) (2023-06-19)
114
125
 
115
-
116
126
  ### Bug Fixes
117
127
 
118
128
  * **revel:** Update modal and tooltip z-index ([#536](https://github.com/Rebilly/rebilly/issues/536)) ([fd9f614](https://github.com/Rebilly/rebilly/commit/fd9f614174ec83f25723a414bb58cd9d10bf7769))
119
129
 
120
130
  ## [4.18.1](https://github.com/Rebilly/rebilly/compare/revel-v4.18.0...revel-v4.18.1) (2023-06-19)
121
131
 
122
-
123
132
  ### Bug Fixes
124
133
 
125
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))
126
135
 
127
136
  ## [4.18.0](https://github.com/Rebilly/rebilly/compare/revel-v4.17.0...revel-v4.18.0) (2023-06-15)
128
137
 
129
-
130
138
  ### Features
131
139
 
132
140
  * **recomm:** Add reports page to Recomm ([#502](https://github.com/Rebilly/rebilly/issues/502)) ([2dba9db](https://github.com/Rebilly/rebilly/commit/2dba9dbb643499eec791f671d134c619d04bbba9))
133
141
 
134
142
  ## [4.17.0](https://github.com/Rebilly/rebilly/compare/revel-v4.16.0...revel-v4.17.0) (2023-06-14)
135
143
 
136
-
137
144
  ### Features
138
145
 
139
146
  * **revel:** Add motion tokens ([#503](https://github.com/Rebilly/rebilly/issues/503)) ([da5b1a2](https://github.com/Rebilly/rebilly/commit/da5b1a229eccc47b7940e57a3eb14949d32ce86c))
140
147
 
141
148
  ## [4.16.0](https://github.com/Rebilly/rebilly/compare/revel-v4.15.0...revel-v4.16.0) (2023-06-13)
142
149
 
143
-
144
150
  ### Features
145
151
 
146
152
  * **revel:** Added Z-index tokens to Revel ([#496](https://github.com/Rebilly/rebilly/issues/496)) ([9eeb7a9](https://github.com/Rebilly/rebilly/commit/9eeb7a91c588b4f529a968a8724cdf9f19cffca4))
147
153
 
148
154
  ## [4.15.0](https://github.com/Rebilly/rebilly/compare/revel-v4.14.0...revel-v4.15.0) (2023-06-13)
149
155
 
150
-
151
156
  ### Features
152
157
 
153
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))
154
159
 
155
160
  ## [4.14.0](https://github.com/Rebilly/rebilly/compare/revel-v4.13.0...revel-v4.14.0) (2023-06-08)
156
161
 
157
-
158
162
  ### Features
159
163
 
160
164
  * **revel:** Shadows tokens ([#476](https://github.com/Rebilly/rebilly/issues/476)) ([cd1bfd2](https://github.com/Rebilly/rebilly/commit/cd1bfd22907ed77cdbf70fefaf41268eae7f197c))
161
165
 
162
166
  ## [4.13.0](https://github.com/Rebilly/rebilly/compare/revel-v4.12.0...revel-v4.13.0) (2023-06-07)
163
167
 
164
-
165
168
  ### Features
166
169
 
167
170
  * **revel:** Make toast closeable by default ([#466](https://github.com/Rebilly/rebilly/issues/466)) ([6ba62c4](https://github.com/Rebilly/rebilly/commit/6ba62c4a316ef70fd43c0ba5b9a1bc8e3ed098fc))
168
171
 
169
172
  ## [4.12.0](https://github.com/Rebilly/rebilly/compare/revel-v4.11.1...revel-v4.12.0) (2023-06-07)
170
173
 
171
-
172
174
  ### Features
173
175
 
174
176
  * **revel:** Add border radius tokens ([#455](https://github.com/Rebilly/rebilly/issues/455)) ([bd52bfe](https://github.com/Rebilly/rebilly/commit/bd52bfe55f2cd8754de94e336594f425a32c759f))
175
177
 
176
178
  ## [4.11.1](https://github.com/Rebilly/rebilly/compare/revel-v4.11.0...revel-v4.11.1) (2023-06-06)
177
179
 
178
-
179
180
  ### Bug Fixes
180
181
 
181
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))
182
183
 
183
184
  ## [4.11.0](https://github.com/Rebilly/rebilly/compare/revel-v4.10.1...revel-v4.11.0) (2023-06-06)
184
185
 
185
-
186
186
  ### Features
187
187
 
188
188
  * **revel:** Update `Tokens.vue` component ([#445](https://github.com/Rebilly/rebilly/issues/445)) ([1c36772](https://github.com/Rebilly/rebilly/commit/1c3677212fc2283b7ce239bbe264fa4ba1649e2a))
189
189
 
190
190
  ## [4.10.1](https://github.com/Rebilly/rebilly/compare/revel-v4.10.0...revel-v4.10.1) (2023-05-24)
191
191
 
192
-
193
192
  ### Bug Fixes
194
193
 
195
194
  * **recomm:** Fix update-column-schemas command ([#331](https://github.com/Rebilly/rebilly/issues/331)) ([165f5ba](https://github.com/Rebilly/rebilly/commit/165f5ba631fb6cdf6891683ea3b7d3901fd60f5b))
196
195
 
197
196
  ## [4.10.0](https://github.com/Rebilly/rebilly/compare/revel-v4.9.0...revel-v4.10.0) (2023-05-19)
198
197
 
199
-
200
198
  ### Features
201
199
 
202
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))
203
201
 
204
202
  ## [4.9.0](https://github.com/Rebilly/rebilly/compare/revel-v4.8.0...revel-v4.9.0) (2023-05-18)
205
203
 
206
-
207
204
  ### Features
208
205
 
209
206
  * **kyc-document-gatherer:** Migrate components to TypeScript ([#229](https://github.com/Rebilly/rebilly/issues/229)) ([ecedced](https://github.com/Rebilly/rebilly/commit/ecedced77f4f5fa2078ab17a6b74e3bc63fd2582))
210
207
 
211
208
  ## [4.8.0](https://github.com/Rebilly/rebilly/compare/revel-v4.7.0...revel-v4.8.0) (2023-05-18)
212
209
 
213
-
214
210
  ### Features
215
211
 
216
212
  * **revel:** Update unstyled button style ([#271](https://github.com/Rebilly/rebilly/issues/271)) ([2d83ca7](https://github.com/Rebilly/rebilly/commit/2d83ca72d2657c5287cc75f9a9c38d775bace9b4))
217
213
 
218
214
  ## [4.7.0](https://github.com/Rebilly/rebilly/compare/revel-v4.6.0...revel-v4.7.0) (2023-05-17)
219
215
 
220
-
221
216
  ### Features
222
217
 
223
218
  * **revel:** Update r-button icon loading states ([#264](https://github.com/Rebilly/rebilly/issues/264)) ([97896a5](https://github.com/Rebilly/rebilly/commit/97896a5cabcea9306fe46a377f0cac322661dec1))
224
219
 
225
220
  ## [4.6.0](https://github.com/Rebilly/rebilly/compare/revel-v4.5.1...revel-v4.6.0) (2023-05-16)
226
221
 
227
-
228
222
  ### Features
229
223
 
230
224
  * **revel:** Add icon to r-button component ([#254](https://github.com/Rebilly/rebilly/issues/254)) ([e1aa0c6](https://github.com/Rebilly/rebilly/commit/e1aa0c6ff545f4f14caf8990cedea44bdc4583a5))
231
225
 
232
226
  ## [4.5.1](https://github.com/Rebilly/rebilly/compare/revel-v4.5.0...revel-v4.5.1) (2023-05-12)
233
227
 
234
-
235
228
  ### Bug Fixes
236
229
 
237
230
  * **revel:** Update button style condition ([#240](https://github.com/Rebilly/rebilly/issues/240)) ([334d5dc](https://github.com/Rebilly/rebilly/commit/334d5dc3e0814712dbf96be537f2c7f1d8fc89e9))
238
231
 
239
232
  ## [4.5.0](https://github.com/Rebilly/rebilly/compare/revel-v4.4.0...revel-v4.5.0) (2023-05-10)
240
233
 
241
-
242
234
  ### Features
243
235
 
244
236
  * **kyc-document-gatherer:** change eslint vue config ([#238](https://github.com/Rebilly/rebilly/issues/238)) ([7dc9475](https://github.com/Rebilly/rebilly/commit/7dc94759b3e758eddf4a4c8d729872551a380471))
245
237
 
246
238
  ## [4.4.0](https://github.com/Rebilly/rebilly/compare/revel-v4.3.1...revel-v4.4.0) (2023-05-09)
247
239
 
248
-
249
240
  ### Features
250
241
 
251
242
  * **kyc-document-gatherer:** TypeScript setup and configuration ([#201](https://github.com/Rebilly/rebilly/issues/201)) ([d7f804c](https://github.com/Rebilly/rebilly/commit/d7f804c871a4bd868864c7c67895b3468db049fe))
252
243
 
253
244
  ## [4.3.1](https://github.com/Rebilly/rebilly/compare/revel-v4.3.0...revel-v4.3.1) (2023-05-09)
254
245
 
255
-
256
246
  ### Bug Fixes
257
247
 
258
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))
259
249
 
260
250
  ## [4.3.0](https://github.com/Rebilly/rebilly/compare/revel-v4.2.1...revel-v4.3.0) (2023-05-05)
261
251
 
262
-
263
252
  ### Features
264
253
 
265
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))
266
255
 
267
256
  ## [4.2.1](https://github.com/Rebilly/rebilly/compare/revel-v4.2.0...revel-v4.2.1) (2023-04-28)
268
257
 
269
-
270
258
  ### Bug Fixes
271
259
 
272
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))
273
261
 
274
262
  ## [4.2.0](https://github.com/Rebilly/rebilly/compare/revel-v4.1.0...revel-v4.2.0) (2023-04-28)
275
263
 
276
-
277
264
  ### Features
278
265
 
279
266
  * **revel:** Update button component ([#186](https://github.com/Rebilly/rebilly/issues/186)) ([c269206](https://github.com/Rebilly/rebilly/commit/c269206077471cd5eaf0547754d0632c34d39f88))
280
267
 
281
268
  ## [4.1.0](https://github.com/Rebilly/rebilly/compare/revel-v4.0.0...revel-v4.1.0) (2023-04-28)
282
269
 
283
-
284
270
  ### Features
285
271
 
286
272
  * **revel:** Update icon component ([#187](https://github.com/Rebilly/rebilly/issues/187)) ([4f57cb1](https://github.com/Rebilly/rebilly/commit/4f57cb1b052825a7db6ce501a47678c852683446))
287
273
 
288
274
  ## [4.0.0](https://github.com/Rebilly/rebilly/compare/revel-v3.0.0...revel-v4.0.0) (2023-04-26)
289
275
 
290
-
291
276
  ### ⚠ BREAKING CHANGES
292
277
 
293
278
  * **revel:** Update library name to Revel (#178)
@@ -298,17 +283,15 @@
298
283
 
299
284
  ## [3.0.0](https://github.com/Rebilly/rebilly/compare/revel-v2.6.0...revel-v3.0.0) (2023-04-19)
300
285
 
301
-
302
286
  ### ⚠ BREAKING CHANGES
303
287
 
304
288
  * **revel:** Update spaces variables and helpers (#132)
305
289
 
306
290
  ### Features
307
291
 
308
- * 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)
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)
309
293
  * **revel:** Update spaces variables and helpers ([#132](https://github.com/Rebilly/rebilly/issues/132)) ([d45be29](https://github.com/Rebilly/rebilly/commit/d45be29415c72e4b887ea90661136fe0856b3330))
310
294
 
311
-
312
295
  ### Bug Fixes
313
296
 
314
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))
@@ -316,7 +299,6 @@
316
299
 
317
300
  ## [2.6.0](https://github.com/Rebilly/rebilly/compare/revel-v2.5.0...revel-v2.6.0) (2023-03-30)
318
301
 
319
-
320
302
  ### Features
321
303
 
322
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
- Command | Description
39
- -|-
40
- `dev` | Run the dev server for the component documentation. See `docs:dev`.
41
- `docs:dev` | Run the dev server for the component documentation.
42
- `docs:build` | Build component documentation as a static HTML site.
43
- `build` | Build the library.
44
- `build:watch` | Build the library and rebuild on file changes.
45
- `playground:dev` | Run the playground dev server (see [Playground](#playground)).
46
- `lint:no-fix` | Run eslint.
47
- `lint:fix` | Run eslint and automatically fix issues.
48
- `test:unit` | Run the unit tests.
49
- `test:unit:watch` | Run the unit tests on changed files, in watch mode.
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,2 @@
1
+ import debounce from 'lodash.debounce';
2
+ export { debounce };
@@ -0,0 +1,2 @@
1
+ import deepClone from 'lodash.clonedeep';
2
+ export { deepClone };
@@ -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,2 @@
1
+ import type { Nullable } from '../../types';
2
+ export declare function isObject(value?: Nullable<object>): boolean;
@@ -0,0 +1,2 @@
1
+ import kebabCase from 'lodash.kebabcase';
2
+ export { kebabCase };
@@ -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;