Skip to content

[WIP] v1.0.0 #85

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

Draft
wants to merge 10 commits into
base: main
Choose a base branch
from
Draft

[WIP] v1.0.0 #85

wants to merge 10 commits into from

Conversation

louisescher
Copy link
Member

@louisescher louisescher commented Feb 26, 2025

Description

This is a bulk PR for StudioCMS UI v1.0. The following needs to be completed before this PR can merge:

  • Tables / Data Lists
  • Loading Skeletons
  • File Upload Input
  • Iconify-JSON icon support
  • Tooltips
  • Reduced Motion Support
  • Descriptions for inputs
  • Screen Reader compatibility
  • Update the way color variables work to support different color spaces

Copy link

changeset-bot bot commented Feb 26, 2025

🦋 Changeset detected

Latest commit: 0e1b99a

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@studiocms/ui Major

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@withstudiocms-deployments
Copy link

withstudiocms-deployments bot commented Feb 26, 2025

The preview deployment is ready. 🟢

Open Preview | Open Build Logs

Last updated at: 2025-04-16 12:41:24 CET

* Remove ThemeToggle component and related files; recommend using ThemeHelper directly to avoid errors.

* Update docs/src/components/landing/HeroSection.astro

* Update .changeset/sixty-rice-peel.md

Co-authored-by: Paul Valladares <[email protected]>

---------

Co-authored-by: Louis Escher <[email protected]>
Co-authored-by: Paul Valladares <[email protected]>
Copy link

pkg-pr-new bot commented Feb 27, 2025

Open in StackBlitz

npm i https://pkg.pr.new/@studiocms/ui@85

commit: 0e1b99a

RATIU5 and others added 6 commits February 28, 2025 19:23
* feat(skeleton): add basic skeleton loading state component

* edit(skeleton): add changeset, adjusted types for Skeleton

* edit(skeleton): use zog types for type safety

* edit(skeleton): convert spaces to tabs in styles

* edit(skeleton): updated docs title casing
…88)

* feat(icons): update icon handling to use AvailableIcons type and adjust icon imports

* feat(icons): update icon imports to use HeroIcons format and adjust related components

* feat(icon): enhance error handling for icon collection and name validation

* feat(icon): enhance error handling with detailed hints for invalid icons

* feat(icon): enforce required height and width properties for icons and improve error handling

* feat(icon): improve error handling for invalid icon names with detailed hints

* feat(tsconfig): include icons.d.ts in TypeScript configuration

* feat(events): add custom event handling with CustomEventMap and global Document interface extension

* feat(icon): add validation for icon names to prevent invalid formats

* feat(icon): enhance validation for icon names to handle edge cases

* fix(icon): correct validation logic for icon name format

* fix(icon): correct icon name validation logic and variable naming

* feat(icon): enhance icon validation and error handling with detailed documentation

* feat(icon): update Icon component to support iconifyJSON icons with new naming convention

* feat(icon): add detailed JSDoc comments for IconBase component and its props

* fix(icon): update default dimensions in renderData function to use iconCollection values

* fix(icon): update renderData function to prioritize iconData dimensions over defaults

* fix(icon): simplify error message for missing icons in IconBase component
…ated types (#89)

* feat(studiocms_ui): update TypeScript configurations and remove obsolete scripts.d.ts file

* feat(types): migrate from injected types to ambient types for static virtual modules

* feat(dependencies): update package versions and add knip configuration
* feat: add the prose class ported from tailwindcss

* remove old sidebar badges, adjust prose styling, finish prose docs and adjustments

* Create twelve-otters-pull.md

* Update .changeset/twelve-otters-pull.md

Co-authored-by: Adam Matthiesen <[email protected]>

---------

Co-authored-by: Louis Escher <[email protected]>
Co-authored-by: Louis Escher <[email protected]>
Co-authored-by: Adam Matthiesen <[email protected]>
Copy link

coderabbitai bot commented Apr 6, 2025

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

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.

4 participants