@spark-ui/checkbox 2.2.15 → 5.0.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.
Files changed (2) hide show
  1. package/CHANGELOG.md +81 -0
  2. package/package.json +8 -8
package/CHANGELOG.md CHANGED
@@ -3,6 +3,87 @@
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.1](https://github.com/adevinta/spark/compare/v5.0.0...v5.0.1) (2024-07-18)
7
+
8
+ **Note:** Version bump only for package @spark-ui/checkbox
9
+
10
+ # 5.0.0 (2024-07-18)
11
+
12
+ ### Bug Fixes
13
+
14
+ - **checkbox:** apply proper color on checkbox ticks per intent ([dc4e604](https://github.com/adevinta/spark/commit/dc4e604aa96fb4b53692a62a32003ba9dfb0721e))
15
+ - **checkbox:** checked icon not being displayed in safari ([0ea59cf](https://github.com/adevinta/spark/commit/0ea59cffe5a86b11c03611eb5e1c600d9ec78966))
16
+ - **checkbox:** doc ([629fbec](https://github.com/adevinta/spark/commit/629fbecf20c0c3f73cb3e83200c2ab49ae3c69e1))
17
+ - **checkbox:** doc ([2984cae](https://github.com/adevinta/spark/commit/2984caedda00cf659c6a8299f7d2e1e072d45b21))
18
+ - **checkbox:** fix and improve a11y on checkbox ([0ff0411](https://github.com/adevinta/spark/commit/0ff04110a909b72a6af9af47549c2a7c5f7ea0e6))
19
+ - **checkbox:** fix deps ([2525365](https://github.com/adevinta/spark/commit/2525365b1bde8459c48248ab1a419a698d63a6f1))
20
+ - **checkbox:** fix label alignment ([d5b2f23](https://github.com/adevinta/spark/commit/d5b2f238029f4e111892ed0a860fa103070b6460))
21
+ - **checkbox:** fix multiline labeled styles ([50f6852](https://github.com/adevinta/spark/commit/50f68520e93786e50a2bb5e3c39e0e7d458e0f87))
22
+ - **checkbox:** fix versioning ([724b957](https://github.com/adevinta/spark/commit/724b957a62ba0bf4968101901ba08eabc1c730ea))
23
+ - **checkbox:** id not being link to label ([031a59a](https://github.com/adevinta/spark/commit/031a59a006c2a437449fbc97f42f137affd5a78f))
24
+ - **checkbox:** meta-tags ([4e33757](https://github.com/adevinta/spark/commit/4e33757c5370c0059a40591be9d312014a902e68))
25
+ - **checkbox:** props table ([17a5dd2](https://github.com/adevinta/spark/commit/17a5dd2fe364275ab32560f61d4b8582950a8987))
26
+ - **checkbox:** remove misleading onChange props from types as it is not actually supported ([a83cc44](https://github.com/adevinta/spark/commit/a83cc44e22f1b319cc8fa805962fd17bea7dee03)), closes [#1320](https://github.com/adevinta/spark/issues/1320)
27
+ - **checkbox:** remove the required attr from checkboxes as soon as 1 checkbox is checked ([bea7ccf](https://github.com/adevinta/spark/commit/bea7ccf3d2c67821d85c937c2129d189e274c8a9)), closes [#2205](https://github.com/adevinta/spark/issues/2205)
28
+ - **checkbox:** set parent element's position to relative ([95bb6d6](https://github.com/adevinta/spark/commit/95bb6d6d00350da327e616d7220427a051b95113))
29
+ - **checkbox:** solve ts error ([e6fcea3](https://github.com/adevinta/spark/commit/e6fcea3a2ed9d5eb50be31f3e16af38e7b7a9b11))
30
+ - **checkbox:** update icon import ([f899aa2](https://github.com/adevinta/spark/commit/f899aa25c461105ced2d521c9a107961845dab36))
31
+ - doc ([5506203](https://github.com/adevinta/spark/commit/55062039dc67c3532be42a4661540052094163d9))
32
+ - fixed warnings in stories ([d258423](https://github.com/adevinta/spark/commit/d258423e2dcc8f220b3cc6164fcb3bf6319106a8))
33
+ - force new release to all packages ([d7f5136](https://github.com/adevinta/spark/commit/d7f513698cf48dd9c102fafaeb336096818c6b2b))
34
+ - global fix for custom styles and cva ([083e5ec](https://github.com/adevinta/spark/commit/083e5ec890f41b526a040282355757bc5501f040))
35
+ - packages deps ([3543766](https://github.com/adevinta/spark/commit/354376668ebb773d8efa553ce7f5ef1ecad42416))
36
+ - 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)
37
+ - updating deprecated formField versions ([a8aacc8](https://github.com/adevinta/spark/commit/a8aacc87818dcf7c7e5ca1ad75e9cd42bedeb4df))
38
+
39
+ ### Features
40
+
41
+ - add peerDeps field ([18e758d](https://github.com/adevinta/spark/commit/18e758d4796389711040fed1c9b738270c505abf))
42
+ - **checkbox:** add "reverse" prop to have label placed on the left side of the Checkbox ([c2eb2af](https://github.com/adevinta/spark/commit/c2eb2af338fa06aa7b70ba4ddae397a80872abeb))
43
+ - **checkbox:** add checkbox group and integrate form field ([e65df62](https://github.com/adevinta/spark/commit/e65df6283b708611d8ba213d93fe011fe7080291))
44
+ - **checkbox:** add cva dependency ([866929e](https://github.com/adevinta/spark/commit/866929e4a6bfb0c2ed5a79e7fa6d7ed81549305a))
45
+ - **checkbox:** add intent prop and use opacity-dim-3 class for disabled components ([54ac320](https://github.com/adevinta/spark/commit/54ac32040d9982daa37ea7ec9ee1d663581170a9))
46
+ - **checkbox:** add neutral and info intents ([50c5954](https://github.com/adevinta/spark/commit/50c5954c716861e65cc545b0ee876f875d93e7f3))
47
+ - **checkbox:** add to Form group ([3c89bf0](https://github.com/adevinta/spark/commit/3c89bf08c586e2fbf3bed805f65e4c62b78c2ad5))
48
+ - **checkbox:** apply motion on hover ([83f4bc6](https://github.com/adevinta/spark/commit/83f4bc66cb3a2854c014a66decb168bd4dc9a47a))
49
+ - **checkbox:** apply new colours strategy ([4206f39](https://github.com/adevinta/spark/commit/4206f39daeb0b057923c5ab0f569f478d939b9c9))
50
+ - **checkbox:** apply new custom ring for focus styles ([e275324](https://github.com/adevinta/spark/commit/e27532446422d3589f00a1d8b2e1b70b68f923de)), closes [#1437](https://github.com/adevinta/spark/issues/1437)
51
+ - **checkbox:** apply PR suggestions to checkbox ([40f353a](https://github.com/adevinta/spark/commit/40f353a7eb99be04ae8753831839c907cd5c38f6))
52
+ - **checkbox:** basic checkbox component, checkbox disabled and default checked examples ([425f325](https://github.com/adevinta/spark/commit/425f325eb4d2fe02d707fc358fc98c9ef6ddd3fc))
53
+ - **checkbox:** basic component files ([5d6ab52](https://github.com/adevinta/spark/commit/5d6ab52be1ffbbd5a8fa0c38cdae0b92d48444d4))
54
+ - **checkbox:** change unchecked border colors for intent variant ([4da81b5](https://github.com/adevinta/spark/commit/4da81b55c9848d19deca5d7d5ed740266aa12d76))
55
+ - **checkbox:** do not override colors ([cf2a5e0](https://github.com/adevinta/spark/commit/cf2a5e0271a215ad9175894d8b4711a793cffe1c))
56
+ - **checkbox:** fix vertical alignment ([3f7df59](https://github.com/adevinta/spark/commit/3f7df59075b19987eab6e13b4d94ab93f540aebd))
57
+ - **checkbox:** improve api and doc ([bc7c0fc](https://github.com/adevinta/spark/commit/bc7c0fcf54334fcedec2279a5c71ebf2aaba4f20))
58
+ - **checkbox:** indeterminate status ([f5f7fb8](https://github.com/adevinta/spark/commit/f5f7fb88843559b25b2abf69ac32023fed973b15))
59
+ - **checkbox:** indeterminate status ([e6a66f1](https://github.com/adevinta/spark/commit/e6a66f151f907b848e1947a2799343dc70f9679a))
60
+ - **checkbox:** indeterminate status ([7f41e99](https://github.com/adevinta/spark/commit/7f41e996ca2ec85137a8f5518e98222a2dd6471a))
61
+ - **checkbox:** keep versions ([a80adb5](https://github.com/adevinta/spark/commit/a80adb5b51680c4dc9a9b3e30d08c8f18698dbc6))
62
+ - **checkbox:** minor update ([a9e7ca6](https://github.com/adevinta/spark/commit/a9e7ca68bb9c2bfd3d572fdc9dd6516ac3801ce5))
63
+ - **checkbox:** minor updates and tests ([8ffd0c5](https://github.com/adevinta/spark/commit/8ffd0c51e3b2a843d31ad0438149d19fee67f384))
64
+ - **checkbox:** remove from Form directory ([222293b](https://github.com/adevinta/spark/commit/222293b90e7a3967667ed253d655dd1699fc9d61))
65
+ - **checkbox:** remove hardcoded check icon ([811e47f](https://github.com/adevinta/spark/commit/811e47fcacacfcdb0c521cdbfe59ffb5f7fca6dd))
66
+ - **checkbox:** renamed onChange to onCheckedChange ([2460a10](https://github.com/adevinta/spark/commit/2460a1010f1f124986a5088aba5642806db8b4f6))
67
+ - **checkbox:** replace variantPrefix radix by spark ([3c8997b](https://github.com/adevinta/spark/commit/3c8997bd9835d7c6954faec68434365e92d0ae0e))
68
+ - **checkbox:** separate checkbox checked and indeterminate arguments from onCheckedCahnge handler ([5d430ab](https://github.com/adevinta/spark/commit/5d430ab8d8899e535d00143d5f81d96f89ca726f))
69
+ - **checkbox:** update checkbox styles to allow full label width ([db13bf0](https://github.com/adevinta/spark/commit/db13bf05be9c485c1859b6574cc96c651f204c33))
70
+ - **checkbox:** update make variants function ([eb38d0f](https://github.com/adevinta/spark/commit/eb38d0f19967097023666bd666520b8fa0b91fda))
71
+ - **checkbox:** update typos and rename variables ([da21719](https://github.com/adevinta/spark/commit/da217196615f0df10aeebb9e44c36dc18339613a))
72
+ - **checkbox:** use validation state ([6d7a11c](https://github.com/adevinta/spark/commit/6d7a11ccf2139efbeac0e1edfc377c81e06051fe))
73
+ - **checkbox:** wrap every checkbox with its label ([19e8b6b](https://github.com/adevinta/spark/commit/19e8b6be965ec32a81e7b128f9fad373c3131a99))
74
+ - set all inner deps as latest ([dbc135e](https://github.com/adevinta/spark/commit/dbc135e41ddba29451fc2e0a036f189b94604d07))
75
+ - set inner deps as latest ([bb1180a](https://github.com/adevinta/spark/commit/bb1180abc8a112b12a65108e53df5f3a6481659f))
76
+ - **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)
77
+ - update all dependencies to use caret versions in every packages ([35e329c](https://github.com/adevinta/spark/commit/35e329c39bdc661f477d22e770d82e72d7f93a75))
78
+ - update deps ([91cdaa3](https://github.com/adevinta/spark/commit/91cdaa3ec2f084ab19b336ae4b52cdc23b95744d))
79
+ - update deps ([9a8e4e3](https://github.com/adevinta/spark/commit/9a8e4e3e9541d47a3e610a36ade9ddfd349e6e71))
80
+ - update eslint rules based on team consensus ([d20f04c](https://github.com/adevinta/spark/commit/d20f04c5f4e6b5ed381d3db412108f58196767a1))
81
+ - update form field version ([738b1b3](https://github.com/adevinta/spark/commit/738b1b3f86e541e10aa2499d5840972208370703))
82
+
83
+ ### BREAKING CHANGES
84
+
85
+ - **checkbox:** apply new colours strategy
86
+
6
87
  ## [2.2.15](https://github.com/adevinta/spark/compare/@spark-ui/checkbox@2.2.14...@spark-ui/checkbox@2.2.15) (2024-07-02)
7
88
 
8
89
  **Note:** Version bump only for package @spark-ui/checkbox
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spark-ui/checkbox",
3
- "version": "2.2.15",
3
+ "version": "5.0.1",
4
4
  "description": "A control that allows the user to toggle between checked and not checked.",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -24,12 +24,12 @@
24
24
  },
25
25
  "dependencies": {
26
26
  "@radix-ui/react-checkbox": "1.0.4",
27
- "@spark-ui/form-field": "^1.5.11",
28
- "@spark-ui/icon": "^2.1.8",
29
- "@spark-ui/icons": "^1.21.11",
30
- "@spark-ui/internal-utils": "^2.4.0",
31
- "@spark-ui/label": "^1.7.2",
32
- "@spark-ui/use-merge-refs": "^0.4.1",
27
+ "@spark-ui/form-field": "^5.0.1",
28
+ "@spark-ui/icon": "^5.0.1",
29
+ "@spark-ui/icons": "^5.0.1",
30
+ "@spark-ui/internal-utils": "^5.0.1",
31
+ "@spark-ui/label": "^5.0.1",
32
+ "@spark-ui/use-merge-refs": "^5.0.1",
33
33
  "class-variance-authority": "0.7.0"
34
34
  },
35
35
  "peerDependencies": {
@@ -52,5 +52,5 @@
52
52
  },
53
53
  "homepage": "https://sparkui.vercel.app",
54
54
  "license": "MIT",
55
- "gitHead": "8256e4daf20ae8657d4f27e8ad663a8130b927c0"
55
+ "gitHead": "ef1617cbbab5bd7cbc2e715bfcd06850e6d409fa"
56
56
  }