Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add component, add mark definition to portabletext, including fixes and refactoring #144

Merged
merged 14 commits into from
Apr 25, 2024

Conversation

theisel
Copy link
Owner

@theisel theisel commented Apr 25, 2024

Features

  • Added Counter component
  • Added link mark definition to portable text data

Fixes

  • Updated dependencies to latest version
  • Fixed types
  • Fixed Stackblitz config
  • Update CodeSandbox Node version

Refactored

  • Components and styles

theisel added 14 commits April 25, 2024 09:11
Update dependencies to latest version
import type `List` was aliased as the same
Drop `throwError`, fix `style`, and render it as a block element regardless if `isInline` is true
Remove `data-listitem` as it has no purpose
Changed style to a lightyellow box with rounded corners and a drop shadow
Pass only `value` and `components` to component. Refactor `Props` type
It decides which render component to use and uses scoped styles as base styles for render component
@theisel theisel merged commit e779758 into main Apr 25, 2024
2 checks passed
@theisel theisel deleted the fix-demo branch April 25, 2024 00:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant