Skip to content

Commit 1390b2a

Browse files
hobbescodescoopbri
andauthored
Update Dependencies (#178)
* refactor: update dependencies, adjust combobox props, add TODO regarding splitter * refactor(splitter): update types to enforce content and ids * fix(splitter): update prop usage for panel sections * chore(splitter): reorg imports * fix(popover): update story to avoid nested button * refactor(package): update notation for peerDependencies * refactor(splitter): allow style overrides for individual panels * fix: resolve linting issues * chore(changeset): add changesets * refactor(checkbox): resolve downstream prop issues * refactor(pagination): omit props that are handled internally * refactor(color-picker): omit props that are handled internally * docs(splitter): add JSDoc Co-authored-by: Brian Cooper <20056195+coopbri@users.noreply.github.com> * docs(icon): add JSDoc Co-authored-by: Brian Cooper <20056195+coopbri@users.noreply.github.com> * chore(icon): reorg imports Co-authored-by: Brian Cooper <20056195+coopbri@users.noreply.github.com> * chore(icon): remove grouping between type imports * build(deps): upgrade dependencies * fix(icon): improve props type safety * ci(changesets): add icon props changeset * ci(changesets): fix typo * fix(icon): correct props * refactor(icon): update type signature, update default StyledIcon * refactor(icon): allow render to use asChild if src is not provided * fix(icon): extract asChild prop to avoid duplicated props * Revert "fix(icon): extract asChild prop to avoid duplicated props" This reverts commit 402a18f. * Revert "refactor(icon): allow render to use asChild if src is not provided" This reverts commit 7814a36. --------- Co-authored-by: Brian Cooper <20056195+coopbri@users.noreply.github.com> Co-authored-by: Brian Cooper <brian@brian-cooper.com>
1 parent 0162ee1 commit 1390b2a

File tree

21 files changed

+3091
-1452
lines changed

21 files changed

+3091
-1452
lines changed

.changeset/curly-horses-drive.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@omnidev/sigil": patch
3+
---
4+
5+
Improve type safety of `Icon` props. Now, for example, the `onPointerDown` prop can be used with a proper pointer event type for the parameter.

.changeset/cute-meals-spend.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@omnidev/sigil": patch
3+
---
4+
5+
Use a neutral container element for `Icon` to prevent newly created components on every render

.changeset/full-dots-pick.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@omnidev/sigil": minor
3+
---
4+
5+
Omit props that are handled internally for `Pagination`

.changeset/good-items-find.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@omnidev/sigil": minor
3+
---
4+
5+
Update `Checkbox` to remove required `src` prop from `iconProps` and remove `pointerEvents` for icon(s) by default

.changeset/real-berries-live.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@omnidev/sigil": patch
3+
---
4+
5+
Prevent cascading renders with `useBreakpoint` usage

.changeset/rich-points-like.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@omnidev/sigil": minor
3+
---
4+
5+
Omit props that are handled internally for `ColorPicker`

.changeset/shy-days-grow.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@omnidev/sigil": minor
3+
---
4+
5+
Omit `item` from `itemProps` in `Combobox` as it is handled internally

.changeset/spotty-lines-hear.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@omnidev/sigil": minor
3+
---
4+
5+
Update props for `Splitter` to provide better type safety for differing `section` types

bun.lock

Lines changed: 2902 additions & 1323 deletions
Large diffs are not rendered by default.

docs/usage.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@ This workflow is ideal for local development.
7070
1. Install [knit](https://github.com/coopbri/knit)
7171
2. **Within the root UI library directory**, build the UI library: `bun run build` (or `bun dev` for continuous builds)
7272
3. **Within the project directory:**
73-
7473
1. Install dependencies: `bun i`
7574
2. Link the UI library: `knit link @omnidev/sigil`. Linking will not modify `package.json`, it will just symlink the package into your `node_modules`. Note that the package must be published to the `knit` store first (this happens automatically after a successful build of the UI library)
7675

0 commit comments

Comments
 (0)