buildo / bento-design-system

A customizable and extensible Design System framework for React.js projects
https://www.bento-ds.com
MIT License
118 stars 14 forks source link

chore(deps): update dependency @vanilla-extract/dynamic to v2.1.2 #911

Closed renovate[bot] closed 2 months ago

renovate[bot] commented 2 months ago

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@vanilla-extract/dynamic (source) 2.0.3 -> 2.1.2 age adoption passing confidence

Release Notes

vanilla-extract-css/vanilla-extract (@​vanilla-extract/dynamic) ### [`v2.1.2`](https://redirect.github.com/vanilla-extract-css/vanilla-extract/blob/HEAD/packages/dynamic/CHANGELOG.md#212) [Compare Source](https://redirect.github.com/vanilla-extract-css/vanilla-extract/compare/@vanilla-extract/dynamic@2.1.1...@vanilla-extract/dynamic@2.1.2) ##### Patch Changes - Updated dependencies \[[`61878f5fb21a33190ef242551c639e216ba4748a`](https://redirect.github.com/vanilla-extract-css/vanilla-extract/commit/61878f5fb21a33190ef242551c639e216ba4748a)]: - [@​vanilla-extract/private](https://redirect.github.com/vanilla-extract/private)[@​1](https://redirect.github.com/1).0.6 ### [`v2.1.1`](https://redirect.github.com/vanilla-extract-css/vanilla-extract/blob/HEAD/packages/dynamic/CHANGELOG.md#211) [Compare Source](https://redirect.github.com/vanilla-extract-css/vanilla-extract/compare/@vanilla-extract/dynamic@2.1.0...@vanilla-extract/dynamic@2.1.1) ##### Patch Changes - [#​1335](https://redirect.github.com/vanilla-extract-css/vanilla-extract/pull/1335) [`b8a99e4980710a34692034d5da43e584edbc3d17`](https://redirect.github.com/vanilla-extract-css/vanilla-extract/commit/b8a99e4980710a34692034d5da43e584edbc3d17) Thanks [@​askoufis](https://redirect.github.com/askoufis)! - Add `types` field to `package.json` - Updated dependencies \[[`b8a99e4980710a34692034d5da43e584edbc3d17`](https://redirect.github.com/vanilla-extract-css/vanilla-extract/commit/b8a99e4980710a34692034d5da43e584edbc3d17)]: - [@​vanilla-extract/private](https://redirect.github.com/vanilla-extract/private)[@​1](https://redirect.github.com/1).0.5 ### [`v2.1.0`](https://redirect.github.com/vanilla-extract-css/vanilla-extract/blob/HEAD/packages/dynamic/CHANGELOG.md#210) [Compare Source](https://redirect.github.com/vanilla-extract-css/vanilla-extract/compare/@vanilla-extract/dynamic@2.0.3...@vanilla-extract/dynamic@2.1.0) ##### Minor Changes - [#​1175](https://redirect.github.com/vanilla-extract-css/vanilla-extract/pull/1175) [`ca854f5`](https://redirect.github.com/vanilla-extract-css/vanilla-extract/commit/ca854f51d5068fb1105a44b3d9af2852d4b61839) Thanks [@​youngkyo0504](https://redirect.github.com/youngkyo0504)! - `assignInlineVars` now accepts `null` and `undefined` values Variables with a value of `null` or `undefined` will be omitted from the resulting inline style. **NOTE:** This only applies to the case where a theme contract is not provided. ```tsx import { assignInlineVars } from '@​vanilla-extract/dynamic'; import { container, brandColor, textColor } from './styles.css.ts'; // If `tone` is `undefined`, the following inline style becomes: // { '--brandColor__8uideo0': 'pink' } const MyComponent = ({ tone }: { tone?: critical }) => (
...
); ``` - [#​1175](https://redirect.github.com/vanilla-extract-css/vanilla-extract/pull/1175) [`ca854f5`](https://redirect.github.com/vanilla-extract-css/vanilla-extract/commit/ca854f51d5068fb1105a44b3d9af2852d4b61839) Thanks [@​youngkyo0504](https://redirect.github.com/youngkyo0504)! - `setElementVars` now accepts `null` and `undefined` values Variables with a value of `null` or `undefined` will not be assigned a value. **NOTE:** This only applies to the case where a theme contract is not provided. ```ts import { setElementVars } from '@​vanilla-extract/dynamic'; import { brandColor, textColor } from './styles.css.ts'; const el = document.getElementById('myElement'); setElementVars(el, { [brandColor]: 'pink', [textColor]: null, }); ```

Configuration

📅 Schedule: Branch creation - "after 1am and before 10am on Monday" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.



This PR was generated by Mend Renovate. View the repository job log.