@spark-ui/theme-utils 4.1.1 → 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.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,63 @@
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
+ - doc ([5506203](https://github.com/adevinta/spark/commit/55062039dc67c3532be42a4661540052094163d9))
11
+ - force new release to all packages ([d7f5136](https://github.com/adevinta/spark/commit/d7f513698cf48dd9c102fafaeb336096818c6b2b))
12
+ - **theme-utils:** biump ([9728c8a](https://github.com/adevinta/spark/commit/9728c8a7f5ded44281080a697be34b4a61a72c75))
13
+ - **theme-utils:** bump ([51fa000](https://github.com/adevinta/spark/commit/51fa000d16fd0aab37163fe7dbe213bb29d11986))
14
+ - **theme-utils:** color mainContainer ([c92144a](https://github.com/adevinta/spark/commit/c92144a3f40a196b2952265e937c3b9bb2a8a137))
15
+ - **theme-utils:** doc ([3c74593](https://github.com/adevinta/spark/commit/3c745931f208f042a115bd4c21d5e29248c3b959))
16
+ - **theme-utils:** doc ([42872a5](https://github.com/adevinta/spark/commit/42872a55eb9c4a1bd6533bd04e49d90bd5c110ba))
17
+ - **theme-utils:** fix deps ([2393ce6](https://github.com/adevinta/spark/commit/2393ce6dda743255af020e9109e77df5ad27fc67))
18
+ - **theme-utils:** fix mainContainer dark value ([dd5c408](https://github.com/adevinta/spark/commit/dd5c4080e12643599c2b7f469bd997e3c2c4a6d9))
19
+ - **theme-utils:** fix theme token values ([9ccaa12](https://github.com/adevinta/spark/commit/9ccaa1272ff37be7ecc4fe094ce41aff40ea0033))
20
+ - **theme-utils:** meta-tags ([1bf0346](https://github.com/adevinta/spark/commit/1bf0346b4ba4f7e63ce8012b1fcb623d65cedf5c))
21
+ - **theme-utils:** prevent "px" suffix by using string values ([069c872](https://github.com/adevinta/spark/commit/069c87271526464d9a71283d408ece8b7ec7f82f)), closes [#476](https://github.com/adevinta/spark/issues/476)
22
+ - **theme-utils:** update neutral related tokens based on latest Figma iteration ([7f4c6c2](https://github.com/adevinta/spark/commit/7f4c6c2c643af28bde56ea2ae7bf69e9b5ce6d65)), closes [#1428](https://github.com/adevinta/spark/issues/1428)
23
+ - **theme-utils:** update package deps ([8fdd1ca](https://github.com/adevinta/spark/commit/8fdd1ca5317bfc5b58706d7de99dd59e908b9b69))
24
+
25
+ ### Features
26
+
27
+ - **button:** implement every button variants ([febdcb2](https://github.com/adevinta/spark/commit/febdcb2e5f0b7cb8ab9d986c2249c84026dc1361))
28
+ - **cli-utils:** flattened cli args for theme config ([ccb13de](https://github.com/adevinta/spark/commit/ccb13de785f2d6d2f8893bdff83b032af6416a38))
29
+ - set inner deps as latest ([bb1180a](https://github.com/adevinta/spark/commit/bb1180abc8a112b12a65108e53df5f3a6481659f))
30
+ - setup rem basis to 8px ([a7ffd2a](https://github.com/adevinta/spark/commit/a7ffd2a933d2785d7dbc1a25bdfab1844abcd45b))
31
+ - split the theme utils package into two distinct packages ([77def01](https://github.com/adevinta/spark/commit/77def01abd8b2ccf4f234093133294071e407231)), closes [#235](https://github.com/adevinta/spark/issues/235)
32
+ - **switch:** created switch component ([58b2456](https://github.com/adevinta/spark/commit/58b24563d239af40dc8243135a496d1076406f9e))
33
+ - **theme-utils:** add "basic" and "accents" color tokens to the Spark theme's color structure ([eed8a96](https://github.com/adevinta/spark/commit/eed8a96f9489cc331c41dc6aff3579a5bde3bb28)), closes [#1073](https://github.com/adevinta/spark/issues/1073)
34
+ - **theme-utils:** add support for various base font sizes in theme building process ([bb9f2a7](https://github.com/adevinta/spark/commit/bb9f2a72203d496edfe597a36425913b0953ff2d)), closes [#385](https://github.com/adevinta/spark/issues/385)
35
+ - **theme-utils:** add surface container colors ([802f924](https://github.com/adevinta/spark/commit/802f9241a962fae9f3cbdba0858ab7586ca72f3f))
36
+ - **theme-utils:** added opacity tokens in default theme ([4f46c4c](https://github.com/adevinta/spark/commit/4f46c4ce5144db7cd9ad658c1733cb4af6266797))
37
+ - **theme-utils:** bump theme-utils version to colours tag ([89387dd](https://github.com/adevinta/spark/commit/89387dd7e77e00505ce2f2ae9abbb2297cb77cd2))
38
+ - **theme-utils:** change suport color and addd basic state colours ([ab90588](https://github.com/adevinta/spark/commit/ab90588bd8e361a90911688b647d40ec95f33003))
39
+ - **theme-utils:** createTheme will mandate design tokens in every namespace ([bb7126f](https://github.com/adevinta/spark/commit/bb7126f68b562b329d2f80cdd20a057dba50fa24)), closes [#292](https://github.com/adevinta/spark/issues/292)
40
+ - **theme-utils:** doc ([bdfbe72](https://github.com/adevinta/spark/commit/bdfbe728c429ca7e152e7ef0a470b0748e9814d4))
41
+ - **theme-utils:** force first release ([77122ff](https://github.com/adevinta/spark/commit/77122ffea409244b8268c1e90096e60beedbcd86))
42
+ - **theme-utils:** improve build process for the theme-utils package ([7e53f89](https://github.com/adevinta/spark/commit/7e53f89bb80c7da4f5816b3bdb64b5b9a23d4874)), closes [#219](https://github.com/adevinta/spark/issues/219)
43
+ - **theme-utils:** make it possible to create a theme from a custom theme ([b7a5d93](https://github.com/adevinta/spark/commit/b7a5d9346f2183408a7d9e327f927692e498bb6e))
44
+ - **theme-utils:** monospaced font added ([f228e56](https://github.com/adevinta/spark/commit/f228e561dbcd1dac4c8d73a0f289b566dc9c7143))
45
+ - **theme-utils:** preserve default tailwind spacings ([77f74b1](https://github.com/adevinta/spark/commit/77f74b1de989316be5fd9264b0f3d586468a364e)), closes [#398](https://github.com/adevinta/spark/issues/398)
46
+ - **theme-utils:** remove disabled related tokens ([1699382](https://github.com/adevinta/spark/commit/1699382a28dd1b78439766bd6673cb4f5d5c9ff2))
47
+ - **theme-utils:** remove outline-related tokens from our Theme interface ([eb7bd95](https://github.com/adevinta/spark/commit/eb7bd95bc17bca4732c349b35f5156383d763116)), closes [#1351](https://github.com/adevinta/spark/issues/1351)
48
+ - **theme-utils:** removed background colors state tokens ([6f2349c](https://github.com/adevinta/spark/commit/6f2349c6f66f7f7689aca615d9fc80e0698f1210))
49
+ - **theme-utils:** rename "primary" to "main" & "secondary" to "support" in our theme color palette ([b16ef91](https://github.com/adevinta/spark/commit/b16ef911b7fe92be2ad188a2cdc99aa2b91dc0e9))
50
+ - **theme-utils:** separated hovered colors from pressed colors ([d3a78ce](https://github.com/adevinta/spark/commit/d3a78cecd11e4722bffb6bb83932711833e888de))
51
+ - **theme-utils:** setup shadow tokens ([947441a](https://github.com/adevinta/spark/commit/947441a6dbac59840e2fb775e2078a499ddf160d))
52
+ - **theme-utils:** spark dark mode theme setup in theme-utils ([a146560](https://github.com/adevinta/spark/commit/a1465609e1831c37599d484367084645c41a2f9b))
53
+ - **theme-utils:** theme contract for typography ([db41e6e](https://github.com/adevinta/spark/commit/db41e6e1131a6335e37d56c5a52004353915e728))
54
+ - **theme-utils:** updated default font name and fallbacks ([2550a60](https://github.com/adevinta/spark/commit/2550a6038827944b0db9b7c6791c2326853fe851))
55
+ - **theme-utils:** updated token structure for colors to match spark specs ([d082458](https://github.com/adevinta/spark/commit/d0824589ff61f30a703cc3a590279a739291fb72)), closes [#251](https://github.com/adevinta/spark/issues/251)
56
+ - update all dependencies to use caret versions in every packages ([35e329c](https://github.com/adevinta/spark/commit/35e329c39bdc661f477d22e770d82e72d7f93a75))
57
+
58
+ ### BREAKING CHANGES
59
+
60
+ - **theme-utils:** remove outline-related tokens from our Theme interface
61
+ - Split the theme utils package into two distinct packages
62
+
6
63
  ## [4.1.1](https://github.com/adevinta/spark/compare/@spark-ui/theme-utils@4.1.0...@spark-ui/theme-utils@4.1.1) (2023-10-13)
7
64
 
8
65
  ### Bug Fixes
package/README.md CHANGED
@@ -1,4 +1,5 @@
1
1
  # Theme
2
+
2
3
  > @spark-ui/theme-utils
3
4
 
4
5
  [![storybook](https://img.shields.io/badge/storybook-black?logo=storybook)](https://sparkui.vercel.app/?path=/docs/utils-theme--docs)
@@ -10,4 +11,4 @@
10
11
  This package is part of the [`@spark-ui`](https://github.com/adevinta/spark) react-js user interface component library project.
11
12
 
12
13
  [![Issues open](https://img.shields.io/github/issues-search/adevinta/spark?query=is%3Aopen%20label%3Autil%20label%3Atheme&logo=openbugbounty&logoColor=red&label=issues%20open&color=red)](https://github.com/adevinta/spark/issues?q=is%3Aopen+label%3Autil+label%3Atheme)
13
- [![NPM](https://img.shields.io/npm/l/%40spark-ui%2Ftheme-utils)](https://github.com/adevinta/spark/blob/main/packages/utils/chip/LICENSE.md)
14
+ [![NPM](https://img.shields.io/npm/l/%40spark-ui%2Ftheme-utils)](https://github.com/adevinta/spark/blob/main/packages/utils/chip/LICENSE.md)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spark-ui/theme-utils",
3
- "version": "4.1.1",
3
+ "version": "5.0.0",
4
4
  "description": "package for managing Spark theme configuration",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -35,5 +35,5 @@
35
35
  },
36
36
  "homepage": "https://sparkui.vercel.app",
37
37
  "license": "MIT",
38
- "gitHead": "0a4ed96bc01808c9867fb970a571c261f283c400"
38
+ "gitHead": "cda68c4d65aa3f6f1bd4c47c42e8e72aadb263fd"
39
39
  }