Skip to content
Merged
11 changes: 11 additions & 0 deletions package-policy.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,17 @@
"rule": "scripts.test",
"reason": "design tokens only, no tests"
},
{
"packageName": "@sipe-team/tokens",
"rule": "scripts.build",
"reason": "tokens build runs tsup before generating Style Dictionary artifacts"
},
{
"packageName": "@sipe-team/tokens",
"rule": "extraScript",
"fieldPath": "scripts.build:tokens",
"reason": "token-specific Style Dictionary generation invoked by the package build"
},
{
"packageName": "@sipe-team/side",
"rule": "scripts.test",
Expand Down
18 changes: 18 additions & 0 deletions packages/accordion/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,23 @@
# @sipe-team/accordion

## 0.2.0

### Minor Changes

- 1e7bb22: Add single/multiple open mode support to Accordion component. When `type="single"` is set on `Accordion.Root`, only one item can be open at a time. Also supports controlled mode via `value` and `onValueChange` props.

### Patch Changes

- 0b02738: Compile vanilla-extract styles so `./styles.css` resolves. Both packages declared a local `tsup` config without the vanilla-extract plugin, so their `.css.ts` styles were never compiled and the `dist/index.css` referenced by `publishConfig.exports["./styles.css"]` was absent from the published tarball. They now reuse the shared root config like every other component package, and shipped without styles until now.
- 1e7bb22: Align existing `@sipe-team/*` `package.json` metadata with the canonical shape. Adds `publishConfig.registry` to divider/radio/side/switch, unifies `lint` scripts on `pnpm exec biome lint`, normalizes `workspace:^` → `workspace:*` in avatar/switch/typography, and moves accordion/theme/checkbox direct `react`, `@types/react`, `react-dom`, and `@vanilla-extract/css` specifiers to the pnpm catalog.
- 1e7bb22: Preserve CSS imports in `sideEffects` so consumer bundlers don't tree-shake `./styles.css`.
- Updated dependencies [1e7bb22]
- Updated dependencies [0b02738]
- Updated dependencies [1e7bb22]
- Updated dependencies [1e7bb22]
- Updated dependencies [0b02738]
- @sipe-team/tokens@1.0.0

## 0.1.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/accordion/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@sipe-team/accordion",
"description": "Accordion for Sipe Design System",
"version": "0.1.0",
"version": "0.2.0",
"license": "MIT",
"repository": {
"type": "git",
Expand Down
23 changes: 23 additions & 0 deletions packages/avatar/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,29 @@

### Patch Changes

- 0b02738: Fix two rendering bugs.
- **`onError` loop**: when a broken `src` fell back to `fallback` and that URL also failed, the
handler reassigned the same URL endlessly. It now clears itself (`onerror = null`) before
swapping, so a failing fallback stops cleanly.
- **`asChild` sizing**: the `image` style (`width/height: 100%`) was declared after `size`, so
when `asChild` merged both onto the same `<img>` the `100%` won and the avatar filled its parent
instead of keeping its size. `image` is now declared first, so `size` wins the tie.

- 1e7bb22: Align existing `@sipe-team/*` `package.json` metadata with the canonical shape. Adds `publishConfig.registry` to divider/radio/side/switch, unifies `lint` scripts on `pnpm exec biome lint`, normalizes `workspace:^` → `workspace:*` in avatar/switch/typography, and moves accordion/theme/checkbox direct `react`, `@types/react`, `react-dom`, and `@vanilla-extract/css` specifiers to the pnpm catalog.
- Updated dependencies [1e7bb22]
- Updated dependencies [0b02738]
- Updated dependencies [1e7bb22]
- Updated dependencies [1e7bb22]
- Updated dependencies [1e7bb22]
- Updated dependencies [1e7bb22]
- Updated dependencies [0b02738]
- @sipe-team/tokens@1.0.0
- @sipe-team/typography@0.0.6

## 0.0.2

### Patch Changes

- Updated dependencies [38faf10]
- @sipe-team/typography@0.0.6

Expand Down
2 changes: 1 addition & 1 deletion packages/avatar/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@sipe-team/avatar",
"description": "Avatar component for Sipe Design System",
"version": "0.0.1",
"version": "0.0.2",
"license": "MIT",
"repository": {
"type": "git",
Expand Down
15 changes: 15 additions & 0 deletions packages/badge/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,21 @@

### Patch Changes

- 1e7bb22: Preserve CSS imports in `sideEffects` so consumer bundlers don't tree-shake `./styles.css`.
- Updated dependencies [1e7bb22]
- Updated dependencies [0b02738]
- Updated dependencies [1e7bb22]
- Updated dependencies [1e7bb22]
- Updated dependencies [1e7bb22]
- Updated dependencies [1e7bb22]
- Updated dependencies [0b02738]
- @sipe-team/tokens@1.0.0
- @sipe-team/typography@0.0.6

## 0.0.5

### Patch Changes

- 38faf10: Preserve CSS imports in `sideEffects` so consumer bundlers don't tree-shake `./styles.css`.
- Updated dependencies [38faf10]
- @sipe-team/typography@0.0.6
Expand Down
2 changes: 1 addition & 1 deletion packages/badge/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@sipe-team/badge",
"description": "Badge component for Sipe Design System",
"version": "0.0.4",
"version": "0.0.5",
"license": "MIT",
"repository": {
"type": "git",
Expand Down
52 changes: 52 additions & 0 deletions packages/button/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,57 @@
# @sipe-team/button

## 1.0.0

### Major Changes

- 1e7bb22: Redesign Button component based on 5th generation design system
- **BREAKING**: Rename `ButtonVariant.filled` to `ButtonVariant.fill`
- **BREAKING**: Expand `ButtonSize` from `sm | lg` to `sm | md | lg | xl`
- Add `leftIcon` and `rightIcon` props for icon support
- Apply 5th design colors via `createVar()` (button-scoped CSS variables)
- Add interaction states: hover (gradient), pressed (`#FE4E07`), disabled (`gray500/600`)
- Fix disabled CSS specificity bug by moving styles into recipe base selectors
- Add `theme5th` color token to `@sipe-team/tokens`

### Patch Changes

- 1e7bb22: redesign token contract structure with semantic color, spacing, and radius hierarchy

## Breaking Changes

### `vars` path changes

| Token | Before | After |
| ------- | -------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| color | `vars.color.primary` `vars.color.background` `vars.color.text` | `vars.color.accent.{default\|hover\|subtle}` `vars.color.background.{base\|subtle\|muted}` `vars.color.foreground.{default\|subtle\|muted\|onAccent}` `vars.color.border.{default\|strong\|focus}` `vars.color.status.{success\|warning\|danger\|info}.{foreground\|background\|border}` |
| spacing | `vars.spacing.{xs\|sm\|md\|lg\|xl}` | `vars.spacing.component.{xs\|sm\|md\|lg\|xl}` `vars.spacing.layout.{sm\|md\|lg\|xl}` |
| radius | `vars.radius.{none\|sm\|md\|lg\|xl\|full}` | `vars.radius.component.{sm\|md\|lg\|xl\|full}` `vars.radius.layout.{sm\|md\|lg}` |

`vars.color.gradient` and `vars.color.secondary` have been removed.

### `defaultTheme` export removed

`defaultTheme` is no longer exported from `@sipe-team/tokens`. Theme variables are now applied automatically via `createGlobalTheme` on `:root`. Remove any explicit `defaultTheme` import or usage.

### Default color mode changed to dark

The `:root` theme now defaults to `mode: 'dark'` (previously `mode: 'light'`). If your app relied on the light-mode defaults from `:root`, you will need to apply a `[data-theme]` attribute or supply your own light-mode overrides.

### Deprecated named exports

`opacity`, `zIndex`, `borderWidth`, `borderStyle`, `shadows`, `breakpoints`, `breakpointQuery`, `responsiveStyle`, `grid` and their associated types are deprecated and will be removed in a future release.

- 1e7bb22: Preserve CSS imports in `sideEffects` so consumer bundlers don't tree-shake `./styles.css`.
- Updated dependencies [1e7bb22]
- Updated dependencies [0b02738]
- Updated dependencies [1e7bb22]
- Updated dependencies [1e7bb22]
- Updated dependencies [1e7bb22]
- Updated dependencies [1e7bb22]
- Updated dependencies [0b02738]
- @sipe-team/tokens@1.0.0
- @sipe-team/typography@0.0.6

## 0.0.3

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/button/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@sipe-team/button",
"description": "button for Sipe Design System",
"version": "0.0.2",
"version": "1.0.0",
"license": "MIT",
"repository": {
"type": "git",
Expand Down
16 changes: 16 additions & 0 deletions packages/card/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,21 @@
# @sipe-team/card

## 0.2.0

### Minor Changes

- 1e7bb22: Add ghost variant to Card component with transparent background, no border, and no padding

### Patch Changes

- 1e7bb22: Preserve CSS imports in `sideEffects` so consumer bundlers don't tree-shake `./styles.css`.
- Updated dependencies [1e7bb22]
- Updated dependencies [0b02738]
- Updated dependencies [1e7bb22]
- Updated dependencies [1e7bb22]
- Updated dependencies [0b02738]
- @sipe-team/tokens@1.0.0

## 0.1.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/card/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@sipe-team/card",
"description": "Card component for Sipe Design System",
"version": "0.1.1",
"version": "0.2.0",
"license": "MIT",
"repository": {
"type": "git",
Expand Down
17 changes: 17 additions & 0 deletions packages/checkbox/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,23 @@

### Patch Changes

- 0b02738: Fix two issues.
- **SVG assets**: `Checkbox.css.ts` referenced `url("public/check.svg")` / `url("public/indeterminate.svg")`, which esbuild (tsup) resolved but source-compiling consumers (webpack + `@vanilla-extract/webpack-plugin`, e.g. the Docusaurus docs site) could not, breaking their production build. The icons are now inlined as `data:` URIs so both bundlers render identical marks with no external asset resolution.
- **`checked` + `defaultChecked` warning**: `Root` did not consume `defaultChecked`, so it leaked through context onto the `<input>` alongside the always-set `checked`, triggering React's "input with both checked and defaultChecked" warning. `Root` now destructures `defaultChecked` (it only seeds the uncontrolled initial state), so the input receives just `checked`.

- 1e7bb22: Align existing `@sipe-team/*` `package.json` metadata with the canonical shape. Adds `publishConfig.registry` to divider/radio/side/switch, unifies `lint` scripts on `pnpm exec biome lint`, normalizes `workspace:^` → `workspace:*` in avatar/switch/typography, and moves accordion/theme/checkbox direct `react`, `@types/react`, `react-dom`, and `@vanilla-extract/css` specifiers to the pnpm catalog.
- 1e7bb22: Preserve CSS imports in `sideEffects` so consumer bundlers don't tree-shake `./styles.css`.
- Updated dependencies [1e7bb22]
- Updated dependencies [0b02738]
- Updated dependencies [1e7bb22]
- Updated dependencies [1e7bb22]
- Updated dependencies [0b02738]
- @sipe-team/tokens@1.0.0

## 0.0.2

### Patch Changes

- 38faf10: Preserve CSS imports in `sideEffects` so consumer bundlers don't tree-shake `./styles.css`.

## 0.0.1
Expand Down
2 changes: 1 addition & 1 deletion packages/checkbox/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@sipe-team/checkbox",
"description": "checkbox for Sipe Design System",
"version": "0.0.1",
"version": "0.0.2",
"license": "MIT",
"repository": {
"type": "git",
Expand Down
13 changes: 13 additions & 0 deletions packages/chip/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# @sipe-team/chip

## 0.0.2

### Patch Changes

- 1e7bb22: Normalize `@sipe-team/chip` package.json to match the canonical structure used across other `@sipe-team/*` packages. Adds `publishConfig` with `access`/`registry`/`exports`, moves source `exports` to `./src/index.ts`, adds `type: "module"`, `repository`, `sideEffects: ["**/*.css"]`, and aligns scripts/dependencies. Consumer module resolution now uses the `import`/`require` branches declared under `publishConfig.exports`.
- Updated dependencies [1e7bb22]
- Updated dependencies [0b02738]
- Updated dependencies [1e7bb22]
- Updated dependencies [1e7bb22]
- Updated dependencies [0b02738]
- @sipe-team/tokens@1.0.0
2 changes: 1 addition & 1 deletion packages/chip/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@sipe-team/chip",
"description": "Chip component for SIDE design system",
"version": "0.0.1",
"version": "0.0.2",
"license": "MIT",
"repository": {
"type": "git",
Expand Down
13 changes: 13 additions & 0 deletions packages/divider/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,19 @@

### Patch Changes

- 1e7bb22: Align existing `@sipe-team/*` `package.json` metadata with the canonical shape. Adds `publishConfig.registry` to divider/radio/side/switch, unifies `lint` scripts on `pnpm exec biome lint`, normalizes `workspace:^` → `workspace:*` in avatar/switch/typography, and moves accordion/theme/checkbox direct `react`, `@types/react`, `react-dom`, and `@vanilla-extract/css` specifiers to the pnpm catalog.
- 1e7bb22: Preserve CSS imports in `sideEffects` so consumer bundlers don't tree-shake `./styles.css`.
- Updated dependencies [1e7bb22]
- Updated dependencies [0b02738]
- Updated dependencies [1e7bb22]
- Updated dependencies [1e7bb22]
- Updated dependencies [0b02738]
- @sipe-team/tokens@1.0.0

## 0.0.4

### Patch Changes

- 38faf10: Preserve CSS imports in `sideEffects` so consumer bundlers don't tree-shake `./styles.css`.

## 0.0.3
Expand Down
2 changes: 1 addition & 1 deletion packages/divider/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@sipe-team/divider",
"description": "divider component for Sipe Design System",
"version": "0.0.3",
"version": "0.0.4",
"license": "MIT",
"repository": {
"type": "git",
Expand Down
10 changes: 10 additions & 0 deletions packages/flex/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# @sipe-team/flex

## 0.2.0

### Minor Changes

- 0b02738: Extend Flex props to accept responsive breakpoint values for direction, align, justify, wrap, and gap.

### Patch Changes

- 1e7bb22: Preserve CSS imports in `sideEffects` so consumer bundlers don't tree-shake `./styles.css`.

## 0.1.4

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/flex/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@sipe-team/flex",
"description": "Flex for Sipe Design System",
"version": "0.1.3",
"version": "0.2.0",
"license": "MIT",
"repository": {
"type": "git",
Expand Down
7 changes: 7 additions & 0 deletions packages/grid/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@

### Patch Changes

- 0b02738: Compile vanilla-extract styles so `./styles.css` resolves. Both packages declared a local `tsup` config without the vanilla-extract plugin, so their `.css.ts` styles were never compiled and the `dist/index.css` referenced by `publishConfig.exports["./styles.css"]` was absent from the published tarball. They now reuse the shared root config like every other component package, and shipped without styles until now.
- 1e7bb22: Preserve CSS imports in `sideEffects` so consumer bundlers don't tree-shake `./styles.css`.

## 0.1.2

### Patch Changes

- 38faf10: Preserve CSS imports in `sideEffects` so consumer bundlers don't tree-shake `./styles.css`.

## 0.1.1
Expand Down
2 changes: 1 addition & 1 deletion packages/grid/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@sipe-team/grid",
"description": "Grid for Sipe Design System",
"version": "0.1.1",
"version": "0.1.2",
"license": "MIT",
"repository": {
"type": "git",
Expand Down
12 changes: 12 additions & 0 deletions packages/input/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,18 @@

### Patch Changes

- 1e7bb22: Preserve CSS imports in `sideEffects` so consumer bundlers don't tree-shake `./styles.css`.
- Updated dependencies [1e7bb22]
- Updated dependencies [0b02738]
- Updated dependencies [1e7bb22]
- Updated dependencies [1e7bb22]
- Updated dependencies [0b02738]
- @sipe-team/tokens@1.0.0

## 0.0.5

### Patch Changes

- 38faf10: Preserve CSS imports in `sideEffects` so consumer bundlers don't tree-shake `./styles.css`.

## 0.0.4
Expand Down
2 changes: 1 addition & 1 deletion packages/input/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@sipe-team/input",
"description": "Input component for Sipe Design System",
"version": "0.0.4",
"version": "0.0.5",
"license": "MIT",
"repository": {
"type": "git",
Expand Down
Loading
Loading