FuelLabs / fuel-ui

Fuel design system
https://design.fuel.network
Apache License 2.0
85 stars 29 forks source link

ci(changesets): versioning packages #229

Closed github-actions[bot] closed 1 year ago

github-actions[bot] commented 1 year ago

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to master, this PR will be updated.

Releases

@fuel-ui/config@0.14.0

Minor Changes

function ThemeWrapper(props: any) { const isDark = useSomeHookToDetectIsDark(); const { setTheme } = useFuelTheme();

useEffect(() => { setTheme(isDark ? darkTheme : lightTheme); }, [isDark]);

return {props.children}; }


- Feat: Added new design tokens in this release. All color tokens are now auto-generated using the `design-system/tokens `project, based on the [Stitches design tokens pattern](https://stitches.dev/docs/tokens) and [Radix Colors](https://www.radix-ui.com/colors). Important notes about the new tokens:
    -   Always reference the semantic value of a token when using a color, e.g., use `$intentsPrimary9` instead of `$green9`.
    -   Semantic colors are available for all necessary layer styles and inputs. A `layer` mixin has been introduced to simplify token usage (see `Button/styles.ts` implementation for more details).
    -   New tokens are generated in the `design-tokens/tokens/build/tokens-raw.ts` file after running `pnpm build` inside the package.
    -   Understanding and following the new token system is crucial for easy light/dark theme switching.
    -   The number of colors and variations in `Button`, `Tag`, and `Badge` has been reduced to only include design system intents.

- Chore: Removed `color` prop from `Button` and all derived/related components. Use `intent` instead.
```tsx
import { Button } from '@fuel-ui/react'
function Demo() {
return <Button intent='base'>Cancel</Button>
}

@fuel-ui/test-utils@0.14.0

Minor Changes

function ThemeWrapper(props: any) { const isDark = useSomeHookToDetectIsDark(); const { setTheme } = useFuelTheme();

useEffect(() => { setTheme(isDark ? darkTheme : lightTheme); }, [isDark]);

return {props.children}; }


- Feat: Added new design tokens in this release. All color tokens are now auto-generated using the `design-system/tokens `project, based on the [Stitches design tokens pattern](https://stitches.dev/docs/tokens) and [Radix Colors](https://www.radix-ui.com/colors). Important notes about the new tokens:
    -   Always reference the semantic value of a token when using a color, e.g., use `$intentsPrimary9` instead of `$green9`.
    -   Semantic colors are available for all necessary layer styles and inputs. A `layer` mixin has been introduced to simplify token usage (see `Button/styles.ts` implementation for more details).
    -   New tokens are generated in the `design-tokens/tokens/build/tokens-raw.ts` file after running `pnpm build` inside the package.
    -   Understanding and following the new token system is crucial for easy light/dark theme switching.
    -   The number of colors and variations in `Button`, `Tag`, and `Badge` has been reduced to only include design system intents.

- Chore: Removed `color` prop from `Button` and all derived/related components. Use `intent` instead.
```tsx
import { Button } from '@fuel-ui/react'
function Demo() {
return <Button intent='base'>Cancel</Button>
}

@fuel-ui/css@0.14.0

Minor Changes

function ThemeWrapper(props: any) { const isDark = useSomeHookToDetectIsDark(); const { setTheme } = useFuelTheme();

useEffect(() => { setTheme(isDark ? darkTheme : lightTheme); }, [isDark]);

return {props.children}; }


- Feat: Added new design tokens in this release. All color tokens are now auto-generated using the `design-system/tokens `project, based on the [Stitches design tokens pattern](https://stitches.dev/docs/tokens) and [Radix Colors](https://www.radix-ui.com/colors). Important notes about the new tokens:
    -   Always reference the semantic value of a token when using a color, e.g., use `$intentsPrimary9` instead of `$green9`.
    -   Semantic colors are available for all necessary layer styles and inputs. A `layer` mixin has been introduced to simplify token usage (see `Button/styles.ts` implementation for more details).
    -   New tokens are generated in the `design-tokens/tokens/build/tokens-raw.ts` file after running `pnpm build` inside the package.
    -   Understanding and following the new token system is crucial for easy light/dark theme switching.
    -   The number of colors and variations in `Button`, `Tag`, and `Badge` has been reduced to only include design system intents.

- Chore: Removed `color` prop from `Button` and all derived/related components. Use `intent` instead.
```tsx
import { Button } from '@fuel-ui/react'
function Demo() {
return <Button intent='base'>Cancel</Button>
}

@fuel-ui/react@0.14.0

Minor Changes

function ThemeWrapper(props: any) { const isDark = useSomeHookToDetectIsDark(); const { setTheme } = useFuelTheme();

useEffect(() => { setTheme(isDark ? darkTheme : lightTheme); }, [isDark]);

return {props.children}; }


- Feat: Added new design tokens in this release. All color tokens are now auto-generated using the `design-system/tokens `project, based on the [Stitches design tokens pattern](https://stitches.dev/docs/tokens) and [Radix Colors](https://www.radix-ui.com/colors). Important notes about the new tokens:
    -   Always reference the semantic value of a token when using a color, e.g., use `$intentsPrimary9` instead of `$green9`.
    -   Semantic colors are available for all necessary layer styles and inputs. A `layer` mixin has been introduced to simplify token usage (see `Button/styles.ts` implementation for more details).
    -   New tokens are generated in the `design-tokens/tokens/build/tokens-raw.ts` file after running `pnpm build` inside the package.
    -   Understanding and following the new token system is crucial for easy light/dark theme switching.
    -   The number of colors and variations in `Button`, `Tag`, and `Badge` has been reduced to only include design system intents.

- Chore: Removed `color` prop from `Button` and all derived/related components. Use `intent` instead.
```tsx
import { Button } from '@fuel-ui/react'
function Demo() {
return <Button intent='base'>Cancel</Button>
}

Patch Changes