@descope-ui/descope-timer-button 3.5.0 → 3.5.1

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/package.json CHANGED
@@ -1,6 +1,10 @@
1
1
  {
2
2
  "name": "@descope-ui/descope-timer-button",
3
- "version": "3.5.0",
3
+ "version": "3.5.1",
4
+ "files": [
5
+ "src",
6
+ "stories"
7
+ ],
4
8
  "exports": {
5
9
  ".": {
6
10
  "import": "./src/component/index.js"
@@ -14,15 +18,15 @@
14
18
  },
15
19
  "devDependencies": {
16
20
  "@playwright/test": "1.58.2",
17
- "e2e-utils": "3.5.0",
18
- "test-drivers": "3.5.0",
19
- "test-assets": "3.5.0"
21
+ "e2e-utils": "3.5.1",
22
+ "test-drivers": "3.5.1",
23
+ "test-assets": "3.5.1"
20
24
  },
21
25
  "dependencies": {
22
- "@descope-ui/common": "3.5.0",
23
- "@descope-ui/theme-globals": "3.5.0",
24
- "@descope-ui/descope-timer": "3.5.0",
25
- "@descope-ui/descope-button": "3.5.0"
26
+ "@descope-ui/theme-globals": "3.5.1",
27
+ "@descope-ui/descope-timer": "3.5.1",
28
+ "@descope-ui/descope-button": "3.5.1",
29
+ "@descope-ui/common": "3.5.1"
26
30
  },
27
31
  "publishConfig": {
28
32
  "link-workspace-packages": false
package/CHANGELOG.md DELETED
@@ -1,412 +0,0 @@
1
- # Changelog
2
-
3
- This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
4
-
5
- ## [3.5.0](https://github.com/descope/web-components-ui/compare/web-components-ui-3.4.0...web-components-ui-3.5.0) (2026-05-07)
6
-
7
-
8
- ### Features
9
-
10
- * **timer-button:** add timer-reversed and timer-inside options ([#1017](https://github.com/descope/web-components-ui/issues/1017)) ([bf99f17](https://github.com/descope/web-components-ui/commit/bf99f1742bbe44639e4630661dfbf2ef6418d563))
11
-
12
- ## [3.4.0](https://github.com/descope/web-components-ui/compare/web-components-ui-3.3.5...web-components-ui-3.4.0) (2026-05-07)
13
-
14
- ## [3.3.5](https://github.com/descope/web-components-ui/compare/web-components-ui-3.3.4...web-components-ui-3.3.5) (2026-05-06)
15
-
16
- ## [3.3.4](https://github.com/descope/web-components-ui/compare/web-components-ui-3.3.3...web-components-ui-3.3.4) (2026-05-06)
17
-
18
- ## [3.3.3](https://github.com/descope/web-components-ui/compare/web-components-ui-3.3.2...web-components-ui-3.3.3) (2026-05-03)
19
-
20
- ## [3.3.2](https://github.com/descope/web-components-ui/compare/web-components-ui-3.3.1...web-components-ui-3.3.2) (2026-04-26)
21
-
22
- ## [3.3.1](https://github.com/descope/web-components-ui/compare/web-components-ui-3.3.0...web-components-ui-3.3.1) (2026-04-23)
23
-
24
- ## [3.3.0](https://github.com/descope/web-components-ui/compare/web-components-ui-3.2.2...web-components-ui-3.3.0) (2026-04-19)
25
-
26
- ## [3.2.2](https://github.com/descope/web-components-ui/compare/web-components-ui-3.2.1...web-components-ui-3.2.2) (2026-04-16)
27
-
28
- ## [3.2.1](https://github.com/descope/web-components-ui/compare/web-components-ui-3.2.0...web-components-ui-3.2.1) (2026-04-16)
29
-
30
- ## [3.2.0](https://github.com/descope/web-components-ui/compare/web-components-ui-3.1.13...web-components-ui-3.2.0) (2026-04-16)
31
-
32
- ## [3.1.13](https://github.com/descope/web-components-ui/compare/web-components-ui-3.1.12...web-components-ui-3.1.13) (2026-04-15)
33
-
34
- ## [3.1.12](https://github.com/descope/web-components-ui/compare/web-components-ui-3.1.11...web-components-ui-3.1.12) (2026-04-15)
35
-
36
- ## [3.1.11](https://github.com/descope/web-components-ui/compare/web-components-ui-3.1.10...web-components-ui-3.1.11) (2026-04-15)
37
-
38
- ## [3.1.10](https://github.com/descope/web-components-ui/compare/web-components-ui-3.1.9...web-components-ui-3.1.10) (2026-04-14)
39
-
40
- ## [3.1.9](https://github.com/descope/web-components-ui/compare/web-components-ui-3.1.8...web-components-ui-3.1.9) (2026-04-13)
41
-
42
- ## [3.1.8](https://github.com/descope/web-components-ui/compare/web-components-ui-3.1.7...web-components-ui-3.1.8) (2026-04-13)
43
-
44
- ## [3.1.7](https://github.com/descope/web-components-ui/compare/web-components-ui-3.1.6...web-components-ui-3.1.7) (2026-04-13)
45
-
46
- ## [3.1.6](https://github.com/descope/web-components-ui/compare/web-components-ui-3.1.5...web-components-ui-3.1.6) (2026-04-13)
47
-
48
- ## [3.1.5](https://github.com/descope/web-components-ui/compare/web-components-ui-3.1.4...web-components-ui-3.1.5) (2026-04-07)
49
-
50
- ## [3.1.4](https://github.com/descope/web-components-ui/compare/web-components-ui-3.1.3...web-components-ui-3.1.4) (2026-04-07)
51
-
52
- ## [3.1.3](https://github.com/descope/web-components-ui/compare/web-components-ui-3.1.2...web-components-ui-3.1.3) (2026-04-06)
53
-
54
- ## [3.1.2](https://github.com/descope/web-components-ui/compare/web-components-ui-3.1.1...web-components-ui-3.1.2) (2026-04-06)
55
-
56
- ## [3.1.1](https://github.com/descope/web-components-ui/compare/web-components-ui-3.1.0...web-components-ui-3.1.1) (2026-03-31)
57
-
58
- ## [3.1.0](https://github.com/descope/web-components-ui/compare/web-components-ui-3.0.10...web-components-ui-3.1.0) (2026-03-31)
59
-
60
- ## [3.0.10](https://github.com/descope/web-components-ui/compare/web-components-ui-3.0.9...web-components-ui-3.0.10) (2026-03-30)
61
-
62
- ## [3.0.9](https://github.com/descope/web-components-ui/compare/web-components-ui-3.0.8...web-components-ui-3.0.9) (2026-03-26)
63
-
64
- ## [3.0.8](https://github.com/descope/web-components-ui/compare/web-components-ui-3.0.7...web-components-ui-3.0.8) (2026-03-26)
65
-
66
- ## [3.0.7](https://github.com/descope/web-components-ui/compare/web-components-ui-3.0.6...web-components-ui-3.0.7) (2026-03-25)
67
-
68
- ## [3.0.6](https://github.com/descope/web-components-ui/compare/web-components-ui-3.0.5...web-components-ui-3.0.6) (2026-03-23)
69
-
70
- ## [3.0.5](https://github.com/descope/web-components-ui/compare/web-components-ui-3.0.4...web-components-ui-3.0.5) (2026-03-22)
71
-
72
- ## [3.0.4](https://github.com/descope/web-components-ui/compare/web-components-ui-3.0.3...web-components-ui-3.0.4) (2026-03-22)
73
-
74
- ## [3.0.3](https://github.com/descope/web-components-ui/compare/web-components-ui-3.0.2...web-components-ui-3.0.3) (2026-03-18)
75
-
76
- ## [3.0.2](https://github.com/descope/web-components-ui/compare/web-components-ui-3.0.1...web-components-ui-3.0.2) (2026-03-08)
77
-
78
- ## [3.0.1](https://github.com/descope/web-components-ui/compare/web-components-ui-3.0.0...web-components-ui-3.0.1) (2026-03-08)
79
-
80
- ## [3.0.0](https://github.com/descope/web-components-ui/compare/web-components-ui-2.3.3...web-components-ui-3.0.0) (2026-03-08)
81
-
82
- ## [2.3.3](https://github.com/descope/web-components-ui/compare/web-components-ui-2.3.2...web-components-ui-2.3.3) (2026-03-05)
83
-
84
- ## [2.3.2](https://github.com/descope/web-components-ui/compare/web-components-ui-2.3.1...web-components-ui-2.3.2) (2026-03-05)
85
-
86
- ## [2.3.1](https://github.com/descope/web-components-ui/compare/web-components-ui-2.3.0...web-components-ui-2.3.1) (2026-03-01)
87
-
88
- ## [2.3.0](https://github.com/descope/web-components-ui/compare/web-components-ui-2.2.59...web-components-ui-2.3.0) (2026-03-01)
89
-
90
- ## [2.2.59](https://github.com/descope/web-components-ui/compare/web-components-ui-2.2.58...web-components-ui-2.2.59) (2026-02-28)
91
-
92
- ## [2.2.58](https://github.com/descope/web-components-ui/compare/web-components-ui-2.2.57...web-components-ui-2.2.58) (2026-02-26)
93
-
94
- ## [2.2.57](https://github.com/descope/web-components-ui/compare/web-components-ui-2.2.56...web-components-ui-2.2.57) (2026-02-25)
95
-
96
- ## [2.2.56](https://github.com/descope/web-components-ui/compare/web-components-ui-2.2.55...web-components-ui-2.2.56) (2026-02-24)
97
-
98
- ## [2.2.55](https://github.com/descope/web-components-ui/compare/web-components-ui-2.2.54...web-components-ui-2.2.55) (2026-02-23)
99
-
100
- ## [2.2.54](https://github.com/descope/web-components-ui/compare/web-components-ui-2.2.53...web-components-ui-2.2.54) (2026-02-23)
101
-
102
- ## [2.2.53](https://github.com/descope/web-components-ui/compare/web-components-ui-2.2.52...web-components-ui-2.2.53) (2026-02-23)
103
-
104
- ## [2.2.52](https://github.com/descope/web-components-ui/compare/web-components-ui-2.2.51...web-components-ui-2.2.52) (2026-02-23)
105
-
106
- ## [2.2.51](https://github.com/descope/web-components-ui/compare/web-components-ui-2.2.50...web-components-ui-2.2.51) (2026-02-21)
107
-
108
- ## [2.2.50](https://github.com/descope/web-components-ui/compare/web-components-ui-2.2.49...web-components-ui-2.2.50) (2026-02-10)
109
-
110
- ## [2.2.49](https://github.com/descope/web-components-ui/compare/web-components-ui-2.2.48...web-components-ui-2.2.49) (2026-02-09)
111
-
112
- ## [2.2.48](https://github.com/descope/web-components-ui/compare/web-components-ui-2.2.47...web-components-ui-2.2.48) (2026-02-09)
113
-
114
- ## [2.2.47](https://github.com/descope/web-components-ui/compare/web-components-ui-2.2.46...web-components-ui-2.2.47) (2026-02-05)
115
-
116
- ### Bug Fixes
117
-
118
- - Migrate to Playwright 1.58.1 ([#873](https://github.com/descope/web-components-ui/issues/873)) ([ff16007](https://github.com/descope/web-components-ui/commit/ff16007b6316abd82050ce9bcbce8180a5660d95))
119
-
120
- ## [2.2.46](https://github.com/descope/web-components-ui/compare/web-components-ui-2.2.45...web-components-ui-2.2.46) (2026-02-05)
121
-
122
- ## [2.2.45](https://github.com/descope/web-components-ui/compare/web-components-ui-2.2.44...web-components-ui-2.2.45) (2026-02-05)
123
-
124
- ## [2.2.44](https://github.com/descope/web-components-ui/compare/web-components-ui-2.2.43...web-components-ui-2.2.44) (2026-02-05)
125
-
126
- ## [2.2.43](https://github.com/descope/web-components-ui/compare/web-components-ui-2.2.42...web-components-ui-2.2.43) (2026-02-04)
127
-
128
- ## [2.2.42](https://github.com/descope/web-components-ui/compare/web-components-ui-2.2.41...web-components-ui-2.2.42) (2026-02-04)
129
-
130
- ## [2.2.41](https://github.com/descope/web-components-ui/compare/web-components-ui-2.2.40...web-components-ui-2.2.41) (2026-02-01)
131
-
132
- ## [2.2.40](https://github.com/descope/web-components-ui/compare/web-components-ui-2.2.39...web-components-ui-2.2.40) (2026-01-29)
133
-
134
- ## [2.2.39](https://github.com/descope/web-components-ui/compare/web-components-ui-2.2.38...web-components-ui-2.2.39) (2026-01-29)
135
-
136
- ## [2.2.38](https://github.com/descope/web-components-ui/compare/web-components-ui-2.2.37...web-components-ui-2.2.38) (2026-01-28)
137
-
138
- ## [2.2.37](https://github.com/descope/web-components-ui/compare/web-components-ui-2.2.36...web-components-ui-2.2.37) (2026-01-28)
139
-
140
- ## [2.2.36](https://github.com/descope/web-components-ui/compare/web-components-ui-2.2.35...web-components-ui-2.2.36) (2026-01-28)
141
-
142
- ## [2.2.35](https://github.com/descope/web-components-ui/compare/web-components-ui-2.2.34...web-components-ui-2.2.35) (2026-01-22)
143
-
144
- ## [2.2.34](https://github.com/descope/web-components-ui/compare/web-components-ui-2.2.33...web-components-ui-2.2.34) (2026-01-21)
145
-
146
- ## [2.2.33](https://github.com/descope/web-components-ui/compare/web-components-ui-2.2.32...web-components-ui-2.2.33) (2026-01-21)
147
-
148
- ## [2.2.32](https://github.com/descope/web-components-ui/compare/web-components-ui-2.2.31...web-components-ui-2.2.32) (2026-01-21)
149
-
150
- ## [2.2.31](https://github.com/descope/web-components-ui/compare/web-components-ui-2.2.30...web-components-ui-2.2.31) (2026-01-21)
151
-
152
- ## [2.2.30](https://github.com/descope/web-components-ui/compare/web-components-ui-2.2.29...web-components-ui-2.2.30) (2026-01-19)
153
-
154
- ## [2.2.29](https://github.com/descope/web-components-ui/compare/web-components-ui-2.2.28...web-components-ui-2.2.29) (2026-01-19)
155
-
156
- ## [2.2.28](https://github.com/descope/web-components-ui/compare/web-components-ui-2.2.27...web-components-ui-2.2.28) (2026-01-19)
157
-
158
- ## [2.2.27](https://github.com/descope/web-components-ui/compare/web-components-ui-2.2.26...web-components-ui-2.2.27) (2026-01-18)
159
-
160
- ## [2.2.26](https://github.com/descope/web-components-ui/compare/web-components-ui-2.2.25...web-components-ui-2.2.26) (2026-01-18)
161
-
162
- ## [2.2.25](https://github.com/descope/web-components-ui/compare/web-components-ui-2.2.24...web-components-ui-2.2.25) (2026-01-15)
163
-
164
- ## [2.2.24](https://github.com/descope/web-components-ui/compare/web-components-ui-2.2.23...web-components-ui-2.2.24) (2026-01-13)
165
-
166
- ## [2.2.23](https://github.com/descope/web-components-ui/compare/web-components-ui-2.2.22...web-components-ui-2.2.23) (2026-01-13)
167
-
168
- ## [2.2.22](https://github.com/descope/web-components-ui/compare/web-components-ui-2.2.21...web-components-ui-2.2.22) (2026-01-13)
169
-
170
- ## [2.2.21](https://github.com/descope/web-components-ui/compare/web-components-ui-2.2.20...web-components-ui-2.2.21) (2026-01-12)
171
-
172
- ## [2.2.20](https://github.com/descope/web-components-ui/compare/web-components-ui-2.2.19...web-components-ui-2.2.20) (2026-01-12)
173
-
174
- ## [2.2.19](https://github.com/descope/web-components-ui/compare/web-components-ui-2.2.18...web-components-ui-2.2.19) (2026-01-11)
175
-
176
- ## [2.2.18](https://github.com/descope/web-components-ui/compare/web-components-ui-2.2.17...web-components-ui-2.2.18) (2026-01-06)
177
-
178
- ## [2.2.17](https://github.com/descope/web-components-ui/compare/web-components-ui-2.2.16...web-components-ui-2.2.17) (2026-01-05)
179
-
180
- ## [2.2.16](https://github.com/descope/web-components-ui/compare/web-components-ui-2.2.15...web-components-ui-2.2.16) (2025-12-28)
181
-
182
- ## [2.2.15](https://github.com/descope/web-components-ui/compare/web-components-ui-2.2.14...web-components-ui-2.2.15) (2025-12-23)
183
-
184
- ## [2.2.14](https://github.com/descope/web-components-ui/compare/web-components-ui-2.2.13...web-components-ui-2.2.14) (2025-12-22)
185
-
186
- ## [2.2.13](https://github.com/descope/web-components-ui/compare/web-components-ui-2.2.12...web-components-ui-2.2.13) (2025-12-21)
187
-
188
- ## [2.2.12](https://github.com/descope/web-components-ui/compare/web-components-ui-2.2.11...web-components-ui-2.2.12) (2025-12-18)
189
-
190
- ## [2.2.11](https://github.com/descope/web-components-ui/compare/web-components-ui-2.2.10...web-components-ui-2.2.11) (2025-12-02)
191
-
192
- ## [2.2.10](https://github.com/descope/web-components-ui/compare/web-components-ui-2.2.9...web-components-ui-2.2.10) (2025-11-10)
193
-
194
- ## [2.2.9](https://github.com/descope/web-components-ui/compare/web-components-ui-2.2.8...web-components-ui-2.2.9) (2025-11-09)
195
-
196
- ## [2.2.8](https://github.com/descope/web-components-ui/compare/web-components-ui-2.2.7...web-components-ui-2.2.8) (2025-11-06)
197
-
198
- ## [2.2.7](https://github.com/descope/web-components-ui/compare/web-components-ui-2.2.6...web-components-ui-2.2.7) (2025-11-05)
199
-
200
- ## [2.2.6](https://github.com/descope/web-components-ui/compare/web-components-ui-2.2.5...web-components-ui-2.2.6) (2025-11-05)
201
-
202
- ## [2.2.5](https://github.com/descope/web-components-ui/compare/web-components-ui-2.2.4...web-components-ui-2.2.5) (2025-10-30)
203
-
204
- ## [2.2.4](https://github.com/descope/web-components-ui/compare/web-components-ui-2.2.3...web-components-ui-2.2.4) (2025-10-30)
205
-
206
- ## [2.2.3](https://github.com/descope/web-components-ui/compare/web-components-ui-2.2.2...web-components-ui-2.2.3) (2025-10-29)
207
-
208
- ## [2.2.2](https://github.com/descope/web-components-ui/compare/web-components-ui-2.2.1...web-components-ui-2.2.2) (2025-10-28)
209
-
210
- ## [2.2.1](https://github.com/descope/web-components-ui/compare/web-components-ui-2.2.0...web-components-ui-2.2.1) (2025-10-27)
211
-
212
- ## [2.2.0](https://github.com/descope/web-components-ui/compare/web-components-ui-2.1.18...web-components-ui-2.2.0) (2025-10-26)
213
-
214
- ## [2.1.18](https://github.com/descope/web-components-ui/compare/web-components-ui-2.1.17...web-components-ui-2.1.18) (2025-10-26)
215
-
216
- ## [2.1.17](https://github.com/descope/web-components-ui/compare/web-components-ui-2.1.16...web-components-ui-2.1.17) (2025-10-20)
217
-
218
- ## [2.1.16](https://github.com/descope/web-components-ui/compare/web-components-ui-2.1.15...web-components-ui-2.1.16) (2025-10-19)
219
-
220
- ## [2.1.15](https://github.com/descope/web-components-ui/compare/web-components-ui-2.1.14...web-components-ui-2.1.15) (2025-10-16)
221
-
222
- ## [2.1.14](https://github.com/descope/web-components-ui/compare/web-components-ui-2.1.13...web-components-ui-2.1.14) (2025-10-12)
223
-
224
- ## [1.139.1](https://github.com/descope/web-components-ui/compare/web-components-ui-1.139.0...web-components-ui-1.139.1) (2025-10-08)
225
-
226
- ## [0.0.23](https://github.com/descope/web-components-ui/compare/@descope-ui/descope-timer-button-0.0.22...@descope-ui/descope-timer-button-0.0.23) (2025-09-30)
227
-
228
- ### Dependency Updates
229
-
230
- - `@descope-ui/common` updated to version `0.1.2`
231
- - `@descope-ui/theme-globals` updated to version `0.0.22`
232
- - `@descope-ui/descope-timer` updated to version `0.0.20`
233
- - `@descope-ui/descope-button` updated to version `0.0.22`
234
-
235
- ## [0.0.22](https://github.com/descope/web-components-ui/compare/@descope-ui/descope-timer-button-0.0.21...@descope-ui/descope-timer-button-0.0.22) (2025-09-29)
236
-
237
- ### Dependency Updates
238
-
239
- - `@descope-ui/common` updated to version `0.1.1`
240
- - `@descope-ui/theme-globals` updated to version `0.0.21`
241
- - `@descope-ui/descope-timer` updated to version `0.0.19`
242
- - `@descope-ui/descope-button` updated to version `0.0.21`
243
-
244
- ## [0.0.21](https://github.com/descope/web-components-ui/compare/@descope-ui/descope-timer-button-0.0.20...@descope-ui/descope-timer-button-0.0.21) (2025-09-02)
245
-
246
- ### Dependency Updates
247
-
248
- - `e2e-utils` updated to version `0.1.0`
249
- - `@descope-ui/common` updated to version `0.1.0`
250
- - `@descope-ui/theme-globals` updated to version `0.0.20`
251
- - `@descope-ui/descope-timer` updated to version `0.0.18`
252
- - `@descope-ui/descope-button` updated to version `0.0.20`
253
-
254
- ## [0.0.20](https://github.com/descope/web-components-ui/compare/@descope-ui/descope-timer-button-0.0.19...@descope-ui/descope-timer-button-0.0.20) (2025-07-21)
255
-
256
- ### Dependency Updates
257
-
258
- - `@descope-ui/descope-button` updated to version `0.0.19`
259
-
260
- ## [0.0.19](https://github.com/descope/web-components-ui/compare/@descope-ui/descope-timer-button-0.0.18...@descope-ui/descope-timer-button-0.0.19) (2025-07-21)
261
-
262
- ### Dependency Updates
263
-
264
- - `@descope-ui/common` updated to version `0.0.18`
265
- - `@descope-ui/theme-globals` updated to version `0.0.19`
266
- - `@descope-ui/descope-timer` updated to version `0.0.17`
267
- - `@descope-ui/descope-button` updated to version `0.0.18`
268
-
269
- ## [0.0.18](https://github.com/descope/web-components-ui/compare/@descope-ui/descope-timer-button-0.0.17...@descope-ui/descope-timer-button-0.0.18) (2025-07-16)
270
-
271
- ### Dependency Updates
272
-
273
- - `@descope-ui/descope-timer` updated to version `0.0.16`
274
- - `@descope-ui/descope-button` updated to version `0.0.17`
275
-
276
- ## [0.0.17](https://github.com/descope/web-components-ui/compare/@descope-ui/descope-timer-button-0.0.16...@descope-ui/descope-timer-button-0.0.17) (2025-07-15)
277
-
278
- ### Dependency Updates
279
-
280
- - `@descope-ui/common` updated to version `0.0.17`
281
- - `@descope-ui/theme-globals` updated to version `0.0.18`
282
- - `@descope-ui/descope-timer` updated to version `0.0.15`
283
- - `@descope-ui/descope-button` updated to version `0.0.16`
284
-
285
- ## [0.0.16](https://github.com/descope/web-components-ui/compare/@descope-ui/descope-timer-button-0.0.15...@descope-ui/descope-timer-button-0.0.16) (2025-07-03)
286
-
287
- ### Dependency Updates
288
-
289
- - `test-drivers` updated to version `0.0.1`
290
- - `@descope-ui/descope-timer` updated to version `0.0.14`
291
-
292
- ## [0.0.15](https://github.com/descope/web-components-ui/compare/@descope-ui/descope-timer-button-0.0.14...@descope-ui/descope-timer-button-0.0.15) (2025-06-30)
293
-
294
- ### Dependency Updates
295
-
296
- - `@descope-ui/theme-globals` updated to version `0.0.17`
297
- - `@descope-ui/descope-timer` updated to version `0.0.13`
298
- - `@descope-ui/descope-button` updated to version `0.0.15`
299
-
300
- ## [0.0.14](https://github.com/descope/web-components-ui/compare/@descope-ui/descope-timer-button-0.0.13...@descope-ui/descope-timer-button-0.0.14) (2025-06-30)
301
-
302
- ### Dependency Updates
303
-
304
- - `@descope-ui/common` updated to version `0.0.16`
305
- - `@descope-ui/theme-globals` updated to version `0.0.16`
306
- - `@descope-ui/descope-timer` updated to version `0.0.12`
307
- - `@descope-ui/descope-button` updated to version `0.0.14`
308
-
309
- ## [0.0.13](https://github.com/descope/web-components-ui/compare/@descope-ui/descope-timer-button-0.0.12...@descope-ui/descope-timer-button-0.0.13) (2025-06-29)
310
-
311
- ### Dependency Updates
312
-
313
- - `@descope-ui/common` updated to version `0.0.15`
314
- - `@descope-ui/theme-globals` updated to version `0.0.15`
315
- - `@descope-ui/descope-timer` updated to version `0.0.11`
316
- - `@descope-ui/descope-button` updated to version `0.0.13`
317
-
318
- ## [0.0.12](https://github.com/descope/web-components-ui/compare/@descope-ui/descope-timer-button-0.0.11...@descope-ui/descope-timer-button-0.0.12) (2025-06-26)
319
-
320
- ### Dependency Updates
321
-
322
- - `@descope-ui/common` updated to version `0.0.14`
323
- - `@descope-ui/theme-globals` updated to version `0.0.14`
324
- - `@descope-ui/descope-timer` updated to version `0.0.10`
325
- - `@descope-ui/descope-button` updated to version `0.0.12`
326
-
327
- ## [0.0.11](https://github.com/descope/web-components-ui/compare/@descope-ui/descope-timer-button-0.0.10...@descope-ui/descope-timer-button-0.0.11) (2025-06-19)
328
-
329
- ### Dependency Updates
330
-
331
- - `test-assets` updated to version `0.0.1`
332
- - `@descope-ui/descope-timer` updated to version `0.0.9`
333
- - `@descope-ui/descope-button` updated to version `0.0.11`
334
-
335
- ## [0.0.10](https://github.com/descope/web-components-ui/compare/@descope-ui/descope-timer-button-0.0.9...@descope-ui/descope-timer-button-0.0.10) (2025-06-09)
336
-
337
- ### Dependency Updates
338
-
339
- - `@descope-ui/common` updated to version `0.0.13`
340
- - `@descope-ui/theme-globals` updated to version `0.0.13`
341
- - `@descope-ui/descope-timer` updated to version `0.0.8`
342
- - `@descope-ui/descope-button` updated to version `0.0.10`
343
-
344
- ## [0.0.9](https://github.com/descope/web-components-ui/compare/@descope-ui/descope-timer-button-0.0.8...@descope-ui/descope-timer-button-0.0.9) (2025-06-03)
345
-
346
- ### Dependency Updates
347
-
348
- - `@descope-ui/descope-timer` updated to version `0.0.7`
349
- - `@descope-ui/descope-button` updated to version `0.0.9`
350
-
351
- ## [0.0.8](https://github.com/descope/web-components-ui/compare/@descope-ui/descope-timer-button-0.0.7...@descope-ui/descope-timer-button-0.0.8) (2025-05-28)
352
-
353
- ### Dependency Updates
354
-
355
- - `e2e-utils` updated to version `0.0.1`
356
- - `@descope-ui/common` updated to version `0.0.12`
357
- - `@descope-ui/theme-globals` updated to version `0.0.12`
358
- - `@descope-ui/descope-timer` updated to version `0.0.6`
359
- - `@descope-ui/descope-button` updated to version `0.0.8`
360
-
361
- ## [0.0.7](https://github.com/descope/web-components-ui/compare/@descope-ui/descope-timer-button-0.0.6...@descope-ui/descope-timer-button-0.0.7) (2025-04-29)
362
-
363
- ### Dependency Updates
364
-
365
- - `@descope-ui/common` updated to version `0.0.11`
366
- - `@descope-ui/theme-globals` updated to version `0.0.11`
367
- - `@descope-ui/descope-timer` updated to version `0.0.5`
368
- - `@descope-ui/descope-button` updated to version `0.0.7`
369
-
370
- ## [0.0.6](https://github.com/descope/web-components-ui/compare/@descope-ui/descope-timer-button-0.0.5...@descope-ui/descope-timer-button-0.0.6) (2025-04-21)
371
-
372
- ### Dependency Updates
373
-
374
- - `@descope-ui/descope-button` updated to version `0.0.6`
375
-
376
- ## [0.0.5](https://github.com/descope/web-components-ui/compare/@descope-ui/descope-timer-button-0.0.4...@descope-ui/descope-timer-button-0.0.5) (2025-04-16)
377
-
378
- ### Dependency Updates
379
-
380
- - `@descope-ui/common` updated to version `0.0.10`
381
- - `@descope-ui/theme-globals` updated to version `0.0.10`
382
- - `@descope-ui/descope-timer` updated to version `0.0.4`
383
- - `@descope-ui/descope-button` updated to version `0.0.5`
384
-
385
- ## [0.0.4](https://github.com/descope/web-components-ui/compare/@descope-ui/descope-timer-button-0.0.3...@descope-ui/descope-timer-button-0.0.4) (2025-04-01)
386
-
387
- ## [0.0.3](https://github.com/descope/web-components-ui/compare/@descope-ui/descope-timer-button-0.0.2...@descope-ui/descope-timer-button-0.0.3) (2025-03-20)
388
-
389
- ### Dependency Updates
390
-
391
- - `test-drivers` updated to version `0.0.1`
392
- - `@descope-ui/descope-timer` updated to version `0.0.3`
393
-
394
- ## [0.0.2](https://github.com/descope/web-components-ui/compare/@descope-ui/descope-timer-button-0.0.1...@descope-ui/descope-timer-button-0.0.2) (2025-03-13)
395
-
396
- ### Dependency Updates
397
-
398
- - `@descope-ui/descope-timer` updated to version `0.0.2`
399
-
400
- ## 0.0.1 (2025-03-11)
401
-
402
- ### Dependency Updates
403
-
404
- - `e2e-utils` updated to version `0.0.1`
405
- - `test-drivers` updated to version `0.0.1`
406
- - `test-assets` updated to version `0.0.1`
407
- - `@descope-ui/common` updated to version `0.0.9`
408
- - `@descope-ui/theme-globals` updated to version `0.0.9`
409
- - `@descope-ui/descope-timer` updated to version `0.0.1`
410
- - `@descope-ui/descope-button` updated to version `0.0.4`
411
-
412
- # Changelog
@@ -1,174 +0,0 @@
1
- import { test, expect } from '@playwright/test';
2
- import { getStoryUrl, loopConfig, loopPresets } from 'e2e-utils';
3
- import { createTimerButtonTestDriver } from 'test-drivers';
4
-
5
- const componentAttributes = {
6
- size: ['xs', 'sm', 'md', 'lg'],
7
- horizontal: ['true', 'false'],
8
- 'timer-hide-icon': ['true', 'false'],
9
- 'timer-position': ['start', 'end'],
10
- 'timer-inside': ['true', 'false'],
11
- 'full-width': ['true', 'false'],
12
- 'button-variant': ['contained', 'outline', 'link'],
13
- 'button-mode': ['primary', 'secondary'],
14
- icon: ['true', 'false'],
15
- 'st-gap': ['0', '10', '20'],
16
- };
17
-
18
- const storyName = 'descope-timer-button';
19
- const componentName = 'descope-timer-button';
20
-
21
- const presets = {
22
- 'full width horizontal': { 'full-width': 'true', horizontal: 'true' },
23
- 'full width vertical': { 'full-width': 'true' },
24
- 'horizontal with gap': { horizontal: 'true', 'st-gap': '35' },
25
- 'timer reversed horizontal': { 'timer-position': 'end', horizontal: 'true' },
26
- 'timer inside reversed': {
27
- 'timer-inside': 'true',
28
- 'timer-position': 'end',
29
- },
30
- 'timer inside full width': {
31
- 'timer-inside': 'true',
32
- 'full-width': 'true',
33
- },
34
- 'timer inside full width reversed': {
35
- 'timer-inside': 'true',
36
- 'full-width': 'true',
37
- 'timer-position': 'end',
38
- },
39
- 'timer inside outline': {
40
- 'timer-inside': 'true',
41
- 'button-variant': 'outline',
42
- },
43
- 'timer inside link': {
44
- 'timer-inside': 'true',
45
- 'button-variant': 'link',
46
- },
47
- };
48
-
49
- test.describe('theme', () => {
50
- loopConfig(componentAttributes, (attr, value) => {
51
- test(`${attr}: ${value}`, async ({ page }) => {
52
- await page.goto(getStoryUrl(storyName, { [attr]: value }), {
53
- waitUntil: 'load',
54
- });
55
- const component = createTimerButtonTestDriver(
56
- page.locator(componentName),
57
- );
58
- await component.timer.pause();
59
- expect(await component.screenshot()).toMatchSnapshot();
60
- });
61
- });
62
-
63
- ['left', 'center', 'right'].forEach((alignment) => {
64
- test(`text-align: ${alignment}`, async ({ page }) => {
65
- await page.goto(
66
- getStoryUrl(storyName, {
67
- 'text-align': alignment,
68
- 'full-width': 'true',
69
- }),
70
- { waitUntil: 'load' },
71
- );
72
- const component = createTimerButtonTestDriver(
73
- page.locator(componentName),
74
- );
75
- await component.timer.pause();
76
- expect(await component.screenshot()).toMatchSnapshot();
77
- });
78
- });
79
- });
80
-
81
- test.describe('logic', () => {
82
- test(`button restarts timer`, async ({ page }) => {
83
- await page.goto(
84
- getStoryUrl(storyName, {
85
- 'timer-seconds': '2',
86
- }),
87
- {
88
- waitUntil: 'load',
89
- },
90
- );
91
- const component = createTimerButtonTestDriver(page.locator(componentName));
92
-
93
- await component.timer.stop();
94
- expect(await component.screenshot({ delay: 3000 })).toMatchSnapshot();
95
-
96
- await component.button.click();
97
- await component.timer.pause();
98
-
99
- expect(await component.screenshot({ delay: 3000 })).toMatchSnapshot();
100
- });
101
-
102
- test(`disable button if timer is running`, async ({ page }) => {
103
- await page.goto(
104
- getStoryUrl(storyName, {
105
- 'timer-seconds': '3',
106
- }),
107
- {
108
- waitUntil: 'load',
109
- },
110
- );
111
- const component = createTimerButtonTestDriver(page.locator(componentName));
112
-
113
- await component.timer.pause();
114
- expect(await component.screenshot()).toMatchSnapshot();
115
-
116
- await component.timer.resume();
117
- await page.waitForTimeout(1000);
118
-
119
- await component.timer.pause();
120
- expect(await component.screenshot()).toMatchSnapshot();
121
- });
122
-
123
- test(`enable button if timer finished`, async ({ page }) => {
124
- await page.goto(getStoryUrl(storyName, { 'timer-seconds': '2' }), {
125
- waitUntil: 'load',
126
- });
127
-
128
- const component = createTimerButtonTestDriver(page.locator(componentName));
129
-
130
- await component.timer.stop();
131
- await component.timer.reset();
132
- await component.timer.pause();
133
- expect(await component.screenshot()).toMatchSnapshot();
134
-
135
- await component.timer.resume();
136
- await page.waitForTimeout(4000);
137
- expect(await component.screenshot()).toMatchSnapshot();
138
- });
139
-
140
- ['', '-1', '0', '1', '10', '100', '10000', '100000', '100000000'].forEach(
141
- (seconds) => {
142
- test(`format time: ${seconds || 'empty'} seconds`, async ({ page }) => {
143
- await page.goto(getStoryUrl(storyName, { seconds }), {
144
- waitUntil: 'load',
145
- });
146
- const component = createTimerButtonTestDriver(
147
- page.locator(componentName),
148
- );
149
- await component.timer.pause();
150
- expect(await component.screenshot()).toMatchSnapshot();
151
- });
152
- },
153
- );
154
- });
155
-
156
- test.describe('presets', () => {
157
- ['ltr', 'rtl'].forEach((direction) => {
158
- loopPresets(presets, (preset, name) => {
159
- test(`${name} - ${direction}`, async ({ page }) => {
160
- await page.goto(getStoryUrl(storyName, { ...preset, direction }));
161
-
162
- const component = createTimerButtonTestDriver(
163
- page.locator(componentName),
164
- );
165
-
166
- await component.timer.pause();
167
-
168
- expect(
169
- await component.screenshot({ animations: 'disabled' }),
170
- ).toMatchSnapshot();
171
- });
172
- });
173
- });
174
- });
package/project.json DELETED
@@ -1,8 +0,0 @@
1
- {
2
- "name": "@descope-ui/descope-timer-button",
3
- "$schema": "../../node_modules/nx/schemas/project-schema.json",
4
- "sourceRoot": "packages/web-components/components/descope-timer-button/src",
5
- "projectType": "library",
6
- "targets": {},
7
- "tags": []
8
- }