@spark-ui/button 3.0.5 → 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 (2) hide show
  1. package/CHANGELOG.md +67 -0
  2. package/package.json +5 -5
package/CHANGELOG.md CHANGED
@@ -3,6 +3,73 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # 5.0.0 (2024-07-18)
7
+
8
+ ### Bug Fixes
9
+
10
+ - **button:** add display name ([4d1e9d7](https://github.com/adevinta/spark/commit/4d1e9d7e99bcfde3524eb83a06120d3a224f4160))
11
+ - **button:** doc ([fc77cc3](https://github.com/adevinta/spark/commit/fc77cc38489cf4cbb4531a0d0f85c14fe8283d40))
12
+ - **button:** doc ([f578dcb](https://github.com/adevinta/spark/commit/f578dcb48bca7a5075916239fa1da36cc1735fa1))
13
+ - **button:** doc ([d79a1f9](https://github.com/adevinta/spark/commit/d79a1f95bda8aeb1ee7acac4d9833bd70cd77b5e))
14
+ - **button:** fix deps ([eed9c2b](https://github.com/adevinta/spark/commit/eed9c2b7f14036be1f0a9f35acdcff3762c7b992))
15
+ - **button:** fix hover styles not being applied correctly when using the 'asChild' prop on button ([0be6df0](https://github.com/adevinta/spark/commit/0be6df0031831eadbbf7cab189f97546ef09b030)), closes [#950](https://github.com/adevinta/spark/issues/950)
16
+ - **button:** fixed default font size of buttons ([1af92fe](https://github.com/adevinta/spark/commit/1af92fee8dad296b5cbd2af915b02602cf6b1f14))
17
+ - **button:** fixed keyboard focus on outlined buttons ([e93790a](https://github.com/adevinta/spark/commit/e93790a71bd7063af7b120a00be0ec8928816722))
18
+ - **button:** get rid of TS errors ([ccd31d6](https://github.com/adevinta/spark/commit/ccd31d656beb5da72217099de50b5e139fa1515e))
19
+ - **button:** meta-tags ([0cfa1db](https://github.com/adevinta/spark/commit/0cfa1db81098a7d02be1f2d03c89963cd4f12368))
20
+ - **button:** ring styles ([afc280f](https://github.com/adevinta/spark/commit/afc280f95027c2e9b0ebdfdf0f1c1c967c3f6471)), closes [#388](https://github.com/adevinta/spark/issues/388)
21
+ - **button:** set button type by default to prevent unwanted form submissions ([b4b15c6](https://github.com/adevinta/spark/commit/b4b15c65fbd3eff87463144553d7fbc5701a1fca))
22
+ - **button:** update invalid tw classnames ([9926570](https://github.com/adevinta/spark/commit/9926570a3534807a2d79a522e9b5030721a181d4)), closes [#500](https://github.com/adevinta/spark/issues/500)
23
+ - **button:** update sm size ([1dd0440](https://github.com/adevinta/spark/commit/1dd0440a2d56ce00ebfade575f8822275ef909bd))
24
+ - **button:** update version ([35a8b1b](https://github.com/adevinta/spark/commit/35a8b1baf32a0de33d9813eac83055112c3bef72))
25
+ - force new release to all packages ([d7f5136](https://github.com/adevinta/spark/commit/d7f513698cf48dd9c102fafaeb336096818c6b2b))
26
+ - packages deps ([3543766](https://github.com/adevinta/spark/commit/354376668ebb773d8efa553ce7f5ef1ecad42416))
27
+ - revise code in accordance with the updated vite configuration ([4f4174a](https://github.com/adevinta/spark/commit/4f4174a0ef8df71f28af5c77acf0c5f7c7837e58)), closes [#503](https://github.com/adevinta/spark/issues/503)
28
+
29
+ ### Features
30
+
31
+ - add lerna ([4a0c74c](https://github.com/adevinta/spark/commit/4a0c74c64391d80f941723ae781c866b9de4b117))
32
+ - add module separation ([4c543b7](https://github.com/adevinta/spark/commit/4c543b7b1396ef9032352e6392d93663fc7e0d48))
33
+ - add peerDeps field ([18e758d](https://github.com/adevinta/spark/commit/18e758d4796389711040fed1c9b738270c505abf))
34
+ - **button:** add button type ([ba05add](https://github.com/adevinta/spark/commit/ba05add1bb66f659af1b9704129920de2422c35a))
35
+ - **button:** add contrast design, surface intent and remove reverse button ([1a59450](https://github.com/adevinta/spark/commit/1a594508040a35c6cca1d09231c06320e6b25893))
36
+ - **button:** add first main combinations ([8e243de](https://github.com/adevinta/spark/commit/8e243de27ea0deee46db6117a103551c9a7b5628))
37
+ - **button:** add info intent to all designs ([3111709](https://github.com/adevinta/spark/commit/3111709785924c9259a4aaffbb0df1ce9a3d8900))
38
+ - **button:** add link support ([48ee339](https://github.com/adevinta/spark/commit/48ee339e7dfb7ff5dc1ef489322b5d701ddedeac))
39
+ - **button:** add spinner colour dependancy ([e6890e3](https://github.com/adevinta/spark/commit/e6890e391295175caeca2b4d7440a005821ec686))
40
+ - **button:** apply new custom ring for focus styles ([3f75be7](https://github.com/adevinta/spark/commit/3f75be7cc94a58563e7c9350d9bf5168c18f108a)), closes [#1437](https://github.com/adevinta/spark/issues/1437)
41
+ - **button:** bump ([f444e99](https://github.com/adevinta/spark/commit/f444e99df05dc2c5a8a30487ed0fcaa1daf4c7c2))
42
+ - **button:** ci process ready ([48c9ad9](https://github.com/adevinta/spark/commit/48c9ad9d6f5cca53a2e9fcd09986fa30a3454187))
43
+ - **button:** doc ([efefed2](https://github.com/adevinta/spark/commit/efefed2772b8b8bbfdd862ef895f3ac3f69c0ccf))
44
+ - **button:** filter the proper design constants adopted by the button ([2b210a7](https://github.com/adevinta/spark/commit/2b210a7d4199baa76a91449b654fbeffe960df3c))
45
+ - **button:** fix button hover-focus states ([696ddab](https://github.com/adevinta/spark/commit/696ddabda874501983d17abbd703794df14064c9))
46
+ - **button:** implement every button variants ([febdcb2](https://github.com/adevinta/spark/commit/febdcb2e5f0b7cb8ab9d986c2249c84026dc1361))
47
+ - **button:** improve button styles ([c796d57](https://github.com/adevinta/spark/commit/c796d57c501d7a595d0c9976de0b9a6e1acd4941))
48
+ - **button:** loading state for button ([e0e5a06](https://github.com/adevinta/spark/commit/e0e5a06e12ff28cece560010b03046df1120c332))
49
+ - **button:** remove not needed space ([b9faaa4](https://github.com/adevinta/spark/commit/b9faaa4f922af53197ca6032f978b1a8607cd3e8))
50
+ - **button:** remove the isLoading spinner placement fixing it as a trailing icon of the loadingText ([68e8e1d](https://github.com/adevinta/spark/commit/68e8e1df44bbdc11d7b6d0ffb00c45b269f903f2)), closes [#1957](https://github.com/adevinta/spark/issues/1957)
51
+ - **button:** setup button component ([99077a9](https://github.com/adevinta/spark/commit/99077a92f675c7c4135961c7e279e59bd542454a))
52
+ - **button:** spinner placement for loading button ([2f0fc18](https://github.com/adevinta/spark/commit/2f0fc183c137b6ac94fca92f85809b1363644108))
53
+ - **button:** toggle button example ([eb96a7a](https://github.com/adevinta/spark/commit/eb96a7a95f749794724dca8f661159c74ecddbe8))
54
+ - **button:** update make variants function ([64e700d](https://github.com/adevinta/spark/commit/64e700dd65cecc98466bf8675f9819a343bc4424))
55
+ - **button:** update new colors strategy ([c53d5e9](https://github.com/adevinta/spark/commit/c53d5e96a687f068d4190fb5e30781924674e374))
56
+ - got some beta packages out of beta ([599e348](https://github.com/adevinta/spark/commit/599e3487d1fee532d93015dbac495cf230452c8a))
57
+ - **icon-button:** loading state ([3181b32](https://github.com/adevinta/spark/commit/3181b32d4bf11cae5858f50fe10fa64af187a274))
58
+ - **input:** first iteration of border ([4aeb861](https://github.com/adevinta/spark/commit/4aeb861844d13437c8c1f9b4a97123512083b6b2))
59
+ - remove button component for now ([36d1475](https://github.com/adevinta/spark/commit/36d1475c112b242bd6afc4142d972a5c5cbfc47a))
60
+ - set all inner deps as latest ([dbc135e](https://github.com/adevinta/spark/commit/dbc135e41ddba29451fc2e0a036f189b94604d07))
61
+ - set inner deps as latest ([bb1180a](https://github.com/adevinta/spark/commit/bb1180abc8a112b12a65108e53df5f3a6481659f))
62
+ - **slot:** wrapPolymorphicSlot method ([5ba6615](https://github.com/adevinta/spark/commit/5ba661528d9e375b8720f8cf9c62cf222fb34c95))
63
+ - **tailwind-plugins:** add new "shadow-border-transition" utility class ([289ff71](https://github.com/adevinta/spark/commit/289ff71d39e2c064132ed0d8c55e758a1ab21695)), closes [#676](https://github.com/adevinta/spark/issues/676)
64
+ - **tailwind-plugins:** spark plugin now offer retina screens tailwind classes ([0ff5027](https://github.com/adevinta/spark/commit/0ff502759cd734ab1a7b696ec5490853318c9df3))
65
+ - update all dependencies to use caret versions in every packages ([35e329c](https://github.com/adevinta/spark/commit/35e329c39bdc661f477d22e770d82e72d7f93a75))
66
+
67
+ ### BREAKING CHANGES
68
+
69
+ - **button:** removes the spinner placement prop of the button not allowing to set it as a
70
+ leading icon when loading state is abled
71
+ - **button:** new colors strategy
72
+
6
73
  ## [3.0.5](https://github.com/adevinta/spark/compare/@spark-ui/button@3.0.4...@spark-ui/button@3.0.5) (2024-07-02)
7
74
 
8
75
  **Note:** Version bump only for package @spark-ui/button
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spark-ui/button",
3
- "version": "3.0.5",
3
+ "version": "5.0.0",
4
4
  "description": "Button component is used to trigger an action or event, such as submitting a form, opening a Dialog, canceling an action, or performing a delete operation.",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -23,9 +23,9 @@
23
23
  "build": "vite build"
24
24
  },
25
25
  "dependencies": {
26
- "@spark-ui/internal-utils": "^2.4.0",
27
- "@spark-ui/slot": "^1.7.2",
28
- "@spark-ui/spinner": "^2.2.7",
26
+ "@spark-ui/internal-utils": "^5.0.0",
27
+ "@spark-ui/slot": "^5.0.0",
28
+ "@spark-ui/spinner": "^5.0.0",
29
29
  "class-variance-authority": "0.7.0"
30
30
  },
31
31
  "peerDependencies": {
@@ -48,5 +48,5 @@
48
48
  },
49
49
  "homepage": "https://sparkui.vercel.app",
50
50
  "license": "MIT",
51
- "gitHead": "8256e4daf20ae8657d4f27e8ad663a8130b927c0"
51
+ "gitHead": "cda68c4d65aa3f6f1bd4c47c42e8e72aadb263fd"
52
52
  }