@descope-ui/descope-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-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,14 +18,14 @@
14
18
  },
15
19
  "devDependencies": {
16
20
  "@playwright/test": "1.58.2",
17
- "e2e-utils": "3.5.0",
18
- "test-assets": "3.5.0"
21
+ "e2e-utils": "3.5.1",
22
+ "test-assets": "3.5.1"
19
23
  },
20
24
  "dependencies": {
21
25
  "@vaadin/button": "24.3.4",
22
- "@descope-ui/common": "3.5.0",
23
- "@descope-ui/theme-globals": "3.5.0",
24
- "@descope-ui/descope-icon": "3.5.0"
26
+ "@descope-ui/common": "3.5.1",
27
+ "@descope-ui/theme-globals": "3.5.1",
28
+ "@descope-ui/descope-icon": "3.5.1"
25
29
  },
26
30
  "publishConfig": {
27
31
  "link-workspace-packages": false
package/CHANGELOG.md DELETED
@@ -1,386 +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
- ## [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)
8
-
9
- ## [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)
10
-
11
- ## [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)
12
-
13
- ## [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)
14
-
15
- ## [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)
16
-
17
- ## [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)
18
-
19
- ## [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)
20
-
21
- ## [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)
22
-
23
- ## [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)
24
-
25
- ## [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)
26
-
27
- ## [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)
28
-
29
- ## [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)
30
-
31
- ## [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)
32
-
33
- ## [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)
34
-
35
- ## [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)
36
-
37
- ## [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)
38
-
39
- ## [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)
40
-
41
- ## [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)
42
-
43
- ## [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)
44
-
45
- ## [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)
46
-
47
- ## [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)
48
-
49
- ## [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)
50
-
51
- ## [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)
52
-
53
- ## [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)
54
-
55
- ## [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)
56
-
57
- ## [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)
58
-
59
- ## [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)
60
-
61
- ## [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)
62
-
63
- ## [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)
64
-
65
- ## [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)
66
-
67
- ## [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)
68
-
69
- ## [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)
70
-
71
- ## [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)
72
-
73
- ## [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)
74
-
75
- ## [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)
76
-
77
- ## [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)
78
-
79
- ## [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)
80
-
81
- ## [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)
82
-
83
- ## [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)
84
-
85
- ## [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)
86
-
87
- ## [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)
88
-
89
- ## [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)
90
-
91
- ## [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)
92
-
93
- ## [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)
94
-
95
- ## [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)
96
-
97
- ## [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)
98
-
99
- ## [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)
100
-
101
- ## [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)
102
-
103
- ## [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)
104
-
105
- ## [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)
106
-
107
- ## [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)
108
-
109
- ## [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)
110
-
111
- ### Bug Fixes
112
-
113
- - 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))
114
-
115
- ## [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)
116
-
117
- ## [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)
118
-
119
- ## [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)
120
-
121
- ## [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)
122
-
123
- ## [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)
124
-
125
- ## [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)
126
-
127
- ## [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)
128
-
129
- ## [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)
130
-
131
- ## [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)
132
-
133
- ## [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)
134
-
135
- ## [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)
136
-
137
- ## [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)
138
-
139
- ## [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)
140
-
141
- ## [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)
142
-
143
- ## [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)
144
-
145
- ## [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)
146
-
147
- ## [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)
148
-
149
- ## [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)
150
-
151
- ## [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)
152
-
153
- ## [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)
154
-
155
- ## [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)
156
-
157
- ## [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)
158
-
159
- ## [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)
160
-
161
- ## [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)
162
-
163
- ## [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)
164
-
165
- ## [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)
166
-
167
- ## [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)
168
-
169
- ## [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)
170
-
171
- ## [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)
172
-
173
- ## [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)
174
-
175
- ## [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)
176
-
177
- ## [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)
178
-
179
- ## [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)
180
-
181
- ## [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)
182
-
183
- ## [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)
184
-
185
- ## [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)
186
-
187
- ## [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)
188
-
189
- ## [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)
190
-
191
- ## [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)
192
-
193
- ## [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)
194
-
195
- ## [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)
196
-
197
- ## [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)
198
-
199
- ## [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)
200
-
201
- ## [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)
202
-
203
- ## [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)
204
-
205
- ## [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)
206
-
207
- ## [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)
208
-
209
- ## [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)
210
-
211
- ## [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)
212
-
213
- ## [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)
214
-
215
- ### Bug Fixes
216
-
217
- - exclude style attr from proxy sync ([#755](https://github.com/descope/web-components-ui/issues/755)) ([ca0bd1e](https://github.com/descope/web-components-ui/commit/ca0bd1e2a4e07435eec492b08d366c02dd5d687c))
218
-
219
- ## [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)
220
-
221
- ## [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)
222
-
223
- ## [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)
224
-
225
- ## [0.0.22](https://github.com/descope/web-components-ui/compare/@descope-ui/descope-button-0.0.21...@descope-ui/descope-button-0.0.22) (2025-09-30)
226
-
227
- ### Dependency Updates
228
-
229
- - `@descope-ui/common` updated to version `0.1.2`
230
- - `@descope-ui/theme-globals` updated to version `0.0.22`
231
- - `@descope-ui/descope-icon` updated to version `0.0.20`
232
-
233
- ## [0.0.21](https://github.com/descope/web-components-ui/compare/@descope-ui/descope-button-0.0.20...@descope-ui/descope-button-0.0.21) (2025-09-29)
234
-
235
- ### Dependency Updates
236
-
237
- - `@descope-ui/common` updated to version `0.1.1`
238
- - `@descope-ui/theme-globals` updated to version `0.0.21`
239
- - `@descope-ui/descope-icon` updated to version `0.0.19`
240
-
241
- ## [0.0.20](https://github.com/descope/web-components-ui/compare/@descope-ui/descope-button-0.0.19...@descope-ui/descope-button-0.0.20) (2025-09-02)
242
-
243
- ### Dependency Updates
244
-
245
- - `e2e-utils` updated to version `0.1.0`
246
- - `@descope-ui/common` updated to version `0.1.0`
247
- - `@descope-ui/theme-globals` updated to version `0.0.20`
248
- - `@descope-ui/descope-icon` updated to version `0.0.18`
249
-
250
- ## [0.0.19](https://github.com/descope/web-components-ui/compare/@descope-ui/descope-button-0.0.18...@descope-ui/descope-button-0.0.19) (2025-07-21)
251
-
252
- ## [0.0.18](https://github.com/descope/web-components-ui/compare/@descope-ui/descope-button-0.0.17...@descope-ui/descope-button-0.0.18) (2025-07-21)
253
-
254
- ### Dependency Updates
255
-
256
- - `@descope-ui/common` updated to version `0.0.18`
257
- - `@descope-ui/theme-globals` updated to version `0.0.19`
258
- - `@descope-ui/descope-icon` updated to version `0.0.17`
259
-
260
- ## [0.0.17](https://github.com/descope/web-components-ui/compare/@descope-ui/descope-button-0.0.16...@descope-ui/descope-button-0.0.17) (2025-07-16)
261
-
262
- ### Dependency Updates
263
-
264
- - `@descope-ui/descope-icon` updated to version `0.0.16`
265
-
266
- ## [0.0.16](https://github.com/descope/web-components-ui/compare/@descope-ui/descope-button-0.0.15...@descope-ui/descope-button-0.0.16) (2025-07-15)
267
-
268
- ### Dependency Updates
269
-
270
- - `@descope-ui/common` updated to version `0.0.17`
271
- - `@descope-ui/theme-globals` updated to version `0.0.18`
272
- - `@descope-ui/descope-icon` updated to version `0.0.15`
273
-
274
- ## [0.0.15](https://github.com/descope/web-components-ui/compare/@descope-ui/descope-button-0.0.14...@descope-ui/descope-button-0.0.15) (2025-06-30)
275
-
276
- ### Dependency Updates
277
-
278
- - `@descope-ui/theme-globals` updated to version `0.0.17`
279
- - `@descope-ui/descope-icon` updated to version `0.0.14`
280
-
281
- ## [0.0.14](https://github.com/descope/web-components-ui/compare/@descope-ui/descope-button-0.0.13...@descope-ui/descope-button-0.0.14) (2025-06-30)
282
-
283
- ### Dependency Updates
284
-
285
- - `@descope-ui/common` updated to version `0.0.16`
286
- - `@descope-ui/theme-globals` updated to version `0.0.16`
287
- - `@descope-ui/descope-icon` updated to version `0.0.13`
288
-
289
- ## [0.0.13](https://github.com/descope/web-components-ui/compare/@descope-ui/descope-button-0.0.12...@descope-ui/descope-button-0.0.13) (2025-06-29)
290
-
291
- ### Dependency Updates
292
-
293
- - `@descope-ui/common` updated to version `0.0.15`
294
- - `@descope-ui/theme-globals` updated to version `0.0.15`
295
- - `@descope-ui/descope-icon` updated to version `0.0.12`
296
-
297
- ## [0.0.12](https://github.com/descope/web-components-ui/compare/@descope-ui/descope-button-0.0.11...@descope-ui/descope-button-0.0.12) (2025-06-26)
298
-
299
- ### Dependency Updates
300
-
301
- - `@descope-ui/common` updated to version `0.0.14`
302
- - `@descope-ui/theme-globals` updated to version `0.0.14`
303
- - `@descope-ui/descope-icon` updated to version `0.0.11`
304
-
305
- ## [0.0.11](https://github.com/descope/web-components-ui/compare/@descope-ui/descope-button-0.0.10...@descope-ui/descope-button-0.0.11) (2025-06-19)
306
-
307
- ### Dependency Updates
308
-
309
- - `test-assets` updated to version `0.0.1`
310
- - `@descope-ui/descope-icon` updated to version `0.0.10`
311
-
312
- ## [0.0.10](https://github.com/descope/web-components-ui/compare/@descope-ui/descope-button-0.0.9...@descope-ui/descope-button-0.0.10) (2025-06-09)
313
-
314
- ### Dependency Updates
315
-
316
- - `@descope-ui/common` updated to version `0.0.13`
317
- - `@descope-ui/theme-globals` updated to version `0.0.13`
318
- - `@descope-ui/descope-icon` updated to version `0.0.9`
319
-
320
- ## [0.0.9](https://github.com/descope/web-components-ui/compare/@descope-ui/descope-button-0.0.8...@descope-ui/descope-button-0.0.9) (2025-06-03)
321
-
322
- ### Dependency Updates
323
-
324
- - `@descope-ui/descope-icon` updated to version `0.0.8`
325
-
326
- ## [0.0.8](https://github.com/descope/web-components-ui/compare/@descope-ui/descope-button-0.0.7...@descope-ui/descope-button-0.0.8) (2025-05-28)
327
-
328
- ### Dependency Updates
329
-
330
- - `e2e-utils` updated to version `0.0.1`
331
- - `@descope-ui/common` updated to version `0.0.12`
332
- - `@descope-ui/theme-globals` updated to version `0.0.12`
333
- - `@descope-ui/descope-icon` updated to version `0.0.7`
334
-
335
- ## [0.0.7](https://github.com/descope/web-components-ui/compare/@descope-ui/descope-button-0.0.6...@descope-ui/descope-button-0.0.7) (2025-04-29)
336
-
337
- ### Dependency Updates
338
-
339
- - `@descope-ui/common` updated to version `0.0.11`
340
- - `@descope-ui/theme-globals` updated to version `0.0.11`
341
- - `@descope-ui/descope-icon` updated to version `0.0.6`
342
-
343
- ## [0.0.6](https://github.com/descope/web-components-ui/compare/@descope-ui/descope-button-0.0.5...@descope-ui/descope-button-0.0.6) (2025-04-21)
344
-
345
- ## [0.0.5](https://github.com/descope/web-components-ui/compare/@descope-ui/descope-button-0.0.4...@descope-ui/descope-button-0.0.5) (2025-04-16)
346
-
347
- ### Dependency Updates
348
-
349
- - `@descope-ui/common` updated to version `0.0.10`
350
- - `@descope-ui/theme-globals` updated to version `0.0.10`
351
- - `@descope-ui/descope-icon` updated to version `0.0.5`
352
-
353
- ## [0.0.4](https://github.com/descope/web-components-ui/compare/@descope-ui/descope-button-0.0.3...@descope-ui/descope-button-0.0.4) (2025-03-06)
354
-
355
- ### Dependency Updates
356
-
357
- - `@descope-ui/common` updated to version `0.0.9`
358
- - `@descope-ui/theme-globals` updated to version `0.0.9`
359
- - `@descope-ui/descope-icon` updated to version `0.0.4`
360
-
361
- ## [0.0.3](https://github.com/descope/web-components-ui/compare/@descope-ui/descope-button-0.0.2...@descope-ui/descope-button-0.0.3) (2025-03-05)
362
-
363
- ### Dependency Updates
364
-
365
- - `test-assets` updated to version `0.0.1`
366
- - `@descope-ui/descope-icon` updated to version `0.0.3`
367
-
368
- ## [0.0.2](https://github.com/descope/web-components-ui/compare/@descope-ui/descope-button-0.0.1...@descope-ui/descope-button-0.0.2) (2025-03-05)
369
-
370
- ### Dependency Updates
371
-
372
- - `@descope-ui/common` updated to version `0.0.8`
373
- - `@descope-ui/theme-globals` updated to version `0.0.8`
374
- - `@descope-ui/descope-icon` updated to version `0.0.2`
375
-
376
- ## 0.0.1 (2025-03-04)
377
-
378
- ### Dependency Updates
379
-
380
- - `e2e-utils` updated to version `0.0.1`
381
- - `test-assets` updated to version `0.0.1`
382
- - `@descope-ui/common` updated to version `0.0.7`
383
- - `@descope-ui/theme-globals` updated to version `0.0.7`
384
- - `@descope-ui/descope-icon` updated to version `0.0.1`
385
-
386
- # Changelog
@@ -1,73 +0,0 @@
1
- import { expect, test } from '@playwright/test';
2
- import { getStoryUrl, loopConfig, loopPresets } from 'e2e-utils';
3
-
4
- const componentAttributes = {
5
- mode: ['primary', 'secondary', 'success', 'error'],
6
- variant: ['contained', 'outline', 'link'],
7
- size: ['xs', 'sm', 'md', 'lg'],
8
- 'full-width': ['true', 'false'],
9
- square: ['true', 'false'],
10
- icon: 'true',
11
- // loading: 'true',
12
- };
13
-
14
- const presets = {
15
- 'direction rtl': { direction: 'rtl', text: '-Click Me' },
16
- 'direction rtl with icon': { direction: 'rtl', text: '-Click Me', icon: 'true' },
17
- };
18
-
19
- const storyName = 'descope-button';
20
- const componentName = 'descope-button';
21
-
22
- test.describe('theme', () => {
23
- loopConfig(componentAttributes, (attr, value) => {
24
- test.describe(`${attr}: ${value}`, () => {
25
- test.beforeEach(async ({ page }) => {
26
- await page.goto(getStoryUrl(storyName, { [attr]: value }), { waitUntil: 'load' });
27
- });
28
- test('hover', async ({ page }) => {
29
- const component = page.locator(componentName);
30
-
31
- await component.hover();
32
-
33
- expect(await component.screenshot()).toMatchSnapshot();
34
- });
35
-
36
- test('focus', async ({ page }) => {
37
- const component = page.locator(componentName);
38
-
39
- await component.focus();
40
-
41
- expect(await component.screenshot()).toMatchSnapshot();
42
- });
43
-
44
- test('active', async ({ page }) => {
45
- const component = page.locator(componentName);
46
-
47
- await component.hover();
48
- await page.mouse.down();
49
-
50
- expect(await component.screenshot()).toMatchSnapshot();
51
- });
52
- });
53
- });
54
-
55
- loopPresets(presets, (preset, name) => {
56
- test(name, async ({ page }) => {
57
- await page.goto(getStoryUrl(storyName, preset));
58
- await page.waitForSelector(componentName);
59
- const component = page.locator(componentName);
60
- expect(
61
- await component.screenshot({ animations: 'disabled', timeout: 3000, caret: 'hide' })
62
- ).toMatchSnapshot();
63
- });
64
- });
65
- });
66
-
67
- test.describe('other', () => {
68
- test('disabled', async ({ page }) => {
69
- await page.goto(getStoryUrl(storyName, { disabled: 'true' }), { waitUntil: 'networkidle' });
70
- const component = page.locator(componentName);
71
- expect(await component.screenshot()).toMatchSnapshot();
72
- });
73
- });
package/project.json DELETED
@@ -1,8 +0,0 @@
1
- {
2
- "name": "@descope-ui/descope-button",
3
- "$schema": "../../node_modules/nx/schemas/project-schema.json",
4
- "sourceRoot": "packages/web-components/components/descope-button/src",
5
- "projectType": "library",
6
- "targets": {},
7
- "tags": []
8
- }