Skip to content

Issues#1538

Merged
shinokada merged 7 commits intothemesberg:mainfrom
jjagielka:issues
Feb 21, 2025
Merged

Issues#1538
shinokada merged 7 commits intothemesberg:mainfrom
jjagielka:issues

Conversation

@jjagielka
Copy link
Copy Markdown
Contributor

@jjagielka jjagielka commented Feb 21, 2025

Closes #1513 #1520 #1522 #1523 #1511 #1527

📑 Description

A few easy fixes from the issues list.

Status

  • Not Completed
  • Completed

✅ Checks

  • My pull request adheres to the code style of this project
  • My code requires changes to the documentation
  • I have updated the documentation as required
  • I have checked the page with https://validator.unl.edu/
  • All the tests have passed
  • My pull request is based on the latest commit (not the npm version).

ℹ Additional Information

Summary by CodeRabbit

  • New Features

    • Added support for passing custom CSS classes across many components, including device mockups, skeleton placeholders, and drawers.
    • Enabled customizable navigation titles for a more personalized menu experience.
  • Refactor

    • Standardized visual styling properties (e.g., rounded corners and shadows) across components to ensure consistent appearance.
  • Style

    • Updated input types for improved accessibility and refined UI behavior.

These updates enhance overall customization and maintain a consistent, flexible visual experience for end-users.

@vercel
Copy link
Copy Markdown

vercel bot commented Feb 21, 2025

@jjagielka is attempting to deploy a commit to the Themesberg Team on Vercel.

A member of the Team first needs to authorize it.

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai bot commented Feb 21, 2025

Walkthrough

This pull request refactors multiple Svelte components by updating their interface definitions and property types. New optional properties have been introduced (such as class, backdropClass, and title) to enhance styling flexibility, while existing props are standardized by replacing variant suffixes (e.g. rounded-sm and shadow-sm) with their base names. In addition, several files have had their import statements reordered or reformatted, and some component interfaces have been extended to inherit standard HTML attributes. No changes affect the underlying functionality or control flow.

Changes

File(s) Change Summary
src/lib/accordion/AccordionItem.svelte;
src/lib/device-mockups/[Android, DefaultMockup, Desktop, Ios, Laptop, Smartwatch, Tablet].svelte;
src/lib/skeleton/[CardPlaceholder, ImagePlaceholder, ListPlaceholder, Skeleton, TestimonialPlaceholder, VideoPlaceholder].svelte;
src/lib/drawer/Drawer.svelte;
src/lib/navbar/NavHamburger.svelte
Added new optional props (class, backdropClass, title) to component interfaces for enhanced styling and customization.
src/lib/avatar/Avatar.svelte;
src/lib/badge/Badge.svelte;
src/lib/buttons/[Button, GradientButton].svelte;
src/lib/dropdown/Dropdown.svelte;
src/lib/forms/[CheckboxButton, Radio, RadioButton].svelte;
src/lib/indicators/Indicator.svelte;
src/lib/table/Table.svelte;
src/lib/pagination/PaginationItem.svelte
Updated prop declarations by replacing rounded-sm with rounded and shadow-sm with shadow, with minor refinements in binding syntax and conditional logic.
src/lib/accordion/AccordionItem.svelte;
src/lib/charts/Chart.svelte;
src/lib/speed-dial/SpeedDial.svelte
Adjusted formatting and import order—reordering imports, removing unused type imports, and eliminating a debugging reactive statement.
src/lib/skeleton/[TextPlaceholder, WidgetPlaceholder].svelte;
src/lib/timeline/[ActivityItem, GroupItem, TimelineItem].svelte;
src/lib/utils/Frame.svelte
Extended component interfaces to inherit standard HTML attributes (HTMLAttributes or HTMLLiAttributes), increasing compatibility with common HTML props.

Possibly related PRs

  • Upgrade to Tailwind 4.0 #1532: Involves updates to the class property and usage of the twMerge function, aligning styling management across components.

Poem

I’m a rabbit in the code field, hopping free,
New props have bloomed for styles and clarity.
With classes and shadows now freshly defined,
Imports in order, and interfaces aligned.
My whiskers twitch at each refactor so neat—
In Svelte’s garden, every change is a treat! 🐇

Warning

There were issues while running some tools. Please review the errors and either fix the tool’s configuration or disable the tool if it’s a critical failure.

🔧 ESLint

If the error stems from missing dependencies, add them to the package.json file. For unrecoverable errors (e.g., due to private dependencies), disable the tool in the CodeRabbit configuration.

src/lib/accordion/AccordionItem.svelte

Oops! Something went wrong! :(

ESLint: 9.20.1

Error [ERR_MODULE_NOT_FOUND]: Cannot find package '@eslint/js' imported from /eslint.config.js
at packageResolve (node:internal/modules/esm/resolve:839:9)
at moduleResolve (node:internal/modules/esm/resolve:908:18)
at defaultResolve (node:internal/modules/esm/resolve:1038:11)
at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:557:12)
at ModuleLoader.resolve (node:internal/modules/esm/loader:525:25)
at ModuleLoader.getModuleJob (node:internal/modules/esm/loader:246:38)
at ModuleJob._link (node:internal/modules/esm/module_job:126:49)

src/lib/avatar/Avatar.svelte

Oops! Something went wrong! :(

ESLint: 9.20.1

Error [ERR_MODULE_NOT_FOUND]: Cannot find package '@eslint/js' imported from /eslint.config.js
at packageResolve (node:internal/modules/esm/resolve:839:9)
at moduleResolve (node:internal/modules/esm/resolve:908:18)
at defaultResolve (node:internal/modules/esm/resolve:1038:11)
at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:557:12)
at ModuleLoader.resolve (node:internal/modules/esm/loader:525:25)
at ModuleLoader.getModuleJob (node:internal/modules/esm/loader:246:38)
at ModuleJob._link (node:internal/modules/esm/module_job:126:49)

src/lib/badge/Badge.svelte

Oops! Something went wrong! :(

ESLint: 9.20.1

Error [ERR_MODULE_NOT_FOUND]: Cannot find package '@eslint/js' imported from /eslint.config.js
at packageResolve (node:internal/modules/esm/resolve:839:9)
at moduleResolve (node:internal/modules/esm/resolve:908:18)
at defaultResolve (node:internal/modules/esm/resolve:1038:11)
at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:557:12)
at ModuleLoader.resolve (node:internal/modules/esm/loader:525:25)
at ModuleLoader.getModuleJob (node:internal/modules/esm/loader:246:38)
at ModuleJob._link (node:internal/modules/esm/module_job:126:49)

  • 32 others

Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

❤️ 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. (Beta)
  • @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.

@vercel
Copy link
Copy Markdown

vercel bot commented Feb 21, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
flowbite-svelte ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 21, 2025 1:12pm

@shinokada shinokada merged commit a6a75ec into themesberg:main Feb 21, 2025
3 checks passed
Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

🧹 Nitpick comments (7)
src/lib/drawer/Drawer.svelte (1)

91-111: Add documentation for the new backdropClass prop.

The documentation section is missing the newly added backdropClass prop. Please add it to maintain comprehensive documentation.

Add the following line to the documentation section:

 @prop export let backdrop: $$Props['backdrop'] = true;
+@prop export let backdropClass: $$Props['backdropClass'] = '';
 @prop export let bgColor: $$Props['bgColor'] = 'bg-gray-900';
src/lib/skeleton/VideoPlaceholder.svelte (1)

3-13: Consider extracting shared skeleton logic.

The sizes interface, constants, and class merging logic are duplicated across skeleton components. Consider creating a shared utility or base component.

Example approach:

// src/lib/skeleton/utils.ts
export interface Sizes {
  [key: string]: string;
}

export const skeletonSizes: Sizes = {
  sm: 'max-w-sm',
  md: 'max-w-md',
  lg: 'max-w-lg',
  xl: 'max-w-xl',
  xxl: 'max-w-2xl'
};

export const createSkeletonClass = (
  size: keyof Sizes,
  divClass?: string,
  additionalClass?: string
) => twMerge(skeletonSizes[size], divClass, additionalClass);

Also applies to: 21-23

src/lib/device-mockups/Desktop.svelte (1)

32-43: Consider documenting the new class property.

The component documentation should be updated to include the new class property and explain how it interacts with other class-related properties.

 @prop export let classInner: $$Props['classInner'] = '';
 @prop export let classBot: $$Props['classBot'] = '';
 @prop export let classBotUnder: $$Props['classBotUnder'] = '';
+@prop class?: string - Additional classes to be merged with the main div element
src/lib/device-mockups/Laptop.svelte (1)

34-45: Consider documenting the new class property.

The component documentation should be updated to include the new class property and explain how it interacts with other class-related properties.

 @prop export let classInner: $$Props['classInner'] = '';
 @prop export let classBot: $$Props['classBot'] = '';
 @prop export let classBotCen: $$Props['classBotCen'] = '';
+@prop class?: string - Additional classes to be merged with the main div element
src/lib/forms/CheckboxButton.svelte (1)

65-65: Consider breaking down long line of input attributes.

While consolidating attributes to a single line can save space, breaking them into multiple lines might improve readability and maintainability.

-  <input use:init={group} type="checkbox" bind:checked value={value !== undefined ? value : 'on'} {...$$restProps} class="sr-only" on:keyup on:keydown on:keypress on:focus on:blur on:click on:mouseover on:mouseenter on:mouseleave on:paste on:change={onChange} on:change />
+  <input
+    use:init={group}
+    type="checkbox"
+    bind:checked
+    value={value !== undefined ? value : 'on'}
+    {...$$restProps}
+    class="sr-only"
+    on:keyup
+    on:keydown
+    on:keypress
+    on:focus
+    on:blur
+    on:click
+    on:mouseover
+    on:mouseenter
+    on:mouseleave
+    on:paste
+    on:change={onChange}
+    on:change
+  />
src/lib/device-mockups/Tablet.svelte (1)

18-18: Remove extra blank line.

For consistency with other files, remove the extra blank line.

src/lib/timeline/GroupItem.svelte (1)

53-66: Consider extracting SVG icons into separate components.

The privacy indicator SVGs could be extracted into reusable components to improve maintainability and reduce code duplication.

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between ebf498a and 4b09929.

📒 Files selected for processing (35)
  • src/lib/accordion/AccordionItem.svelte (2 hunks)
  • src/lib/avatar/Avatar.svelte (3 hunks)
  • src/lib/badge/Badge.svelte (3 hunks)
  • src/lib/buttons/Button.svelte (4 hunks)
  • src/lib/buttons/GradientButton.svelte (2 hunks)
  • src/lib/charts/Chart.svelte (2 hunks)
  • src/lib/device-mockups/Android.svelte (1 hunks)
  • src/lib/device-mockups/DefaultMockup.svelte (1 hunks)
  • src/lib/device-mockups/Desktop.svelte (1 hunks)
  • src/lib/device-mockups/Ios.svelte (1 hunks)
  • src/lib/device-mockups/Laptop.svelte (1 hunks)
  • src/lib/device-mockups/Smartwatch.svelte (1 hunks)
  • src/lib/device-mockups/Tablet.svelte (1 hunks)
  • src/lib/drawer/Drawer.svelte (4 hunks)
  • src/lib/dropdown/Dropdown.svelte (4 hunks)
  • src/lib/forms/CheckboxButton.svelte (4 hunks)
  • src/lib/forms/Radio.svelte (2 hunks)
  • src/lib/forms/RadioButton.svelte (2 hunks)
  • src/lib/indicators/Indicator.svelte (2 hunks)
  • src/lib/navbar/NavHamburger.svelte (1 hunks)
  • src/lib/pagination/PaginationItem.svelte (2 hunks)
  • src/lib/skeleton/CardPlaceholder.svelte (1 hunks)
  • src/lib/skeleton/ImagePlaceholder.svelte (1 hunks)
  • src/lib/skeleton/ListPlaceholder.svelte (1 hunks)
  • src/lib/skeleton/Skeleton.svelte (1 hunks)
  • src/lib/skeleton/TestimonialPlaceholder.svelte (1 hunks)
  • src/lib/skeleton/TextPlaceholder.svelte (2 hunks)
  • src/lib/skeleton/VideoPlaceholder.svelte (1 hunks)
  • src/lib/skeleton/WidgetPlaceholder.svelte (1 hunks)
  • src/lib/speed-dial/SpeedDial.svelte (1 hunks)
  • src/lib/table/Table.svelte (5 hunks)
  • src/lib/timeline/ActivityItem.svelte (1 hunks)
  • src/lib/timeline/GroupItem.svelte (2 hunks)
  • src/lib/timeline/TimelineItem.svelte (1 hunks)
  • src/lib/utils/Frame.svelte (1 hunks)
✅ Files skipped from review due to trivial changes (3)
  • src/lib/speed-dial/SpeedDial.svelte
  • src/lib/pagination/PaginationItem.svelte
  • src/lib/charts/Chart.svelte
🔇 Additional comments (41)
src/lib/drawer/Drawer.svelte (3)

18-18: LGTM! Well-defined interface extension.

The new backdropClass property is properly typed and follows the component's naming conventions.


37-37: LGTM! Proper prop declaration.

The backdropClass prop is correctly exported with appropriate typing and default value.


72-72: LGTM! Proper class composition.

The class composition follows TailwindCSS best practices with appropriate ordering and conditional application of classes.

src/lib/skeleton/TestimonialPlaceholder.svelte (1)

5-5: LGTM! Good enhancement to component flexibility.

The addition of the optional class property and its integration with twMerge follows the library's pattern for customizable styling while maintaining existing functionality.

Also applies to: 12-12

src/lib/navbar/NavHamburger.svelte (1)

13-13: Great accessibility improvement!

Adding a customizable title property enhances accessibility by allowing context-specific button labels while maintaining the default behavior.

Also applies to: 19-19, 27-27

src/lib/skeleton/Skeleton.svelte (1)

19-19: LGTM! Well-implemented class customization.

The addition of the class property and its reactive merging with size and divClass provides good styling flexibility while maintaining type safety.

Also applies to: 24-24

src/lib/skeleton/VideoPlaceholder.svelte (1)

18-18: LGTM! Class customization properly implemented.

The addition of the class property and its integration with twMerge follows the library's pattern correctly.

Also applies to: 23-23

src/lib/skeleton/WidgetPlaceholder.svelte (1)

2-2: LGTM! Good enhancement to component flexibility.

Extending the interface with HTMLAttributes is a good practice that allows the component to accept standard HTML attributes while maintaining type safety.

Also applies to: 5-5

src/lib/forms/RadioButton.svelte (1)

25-25: LGTM! Good standardization of property types.

The changes improve consistency by standardizing the shadow property type and maintain proper event handling while improving code readability.

Also applies to: 32-32

src/lib/device-mockups/Desktop.svelte (1)

12-12: LGTM! Enhanced styling flexibility.

The addition of the class property allows for better customization while maintaining the existing styling system.

src/lib/device-mockups/Laptop.svelte (1)

12-12: LGTM! Enhanced styling flexibility.

The addition of the class property allows for better customization while maintaining the existing styling system.

src/lib/skeleton/ImagePlaceholder.svelte (1)

8-8: LGTM! Good addition of customizable styling.

The addition of the optional class prop and its integration with twMerge enhances component flexibility while maintaining existing functionality.

Also applies to: 18-18

src/lib/skeleton/ListPlaceholder.svelte (1)

6-6: LGTM! Consistent implementation of customizable styling.

The addition of the class prop and its usage with twMerge follows the same pattern as other components, maintaining consistency across the library.

Also applies to: 12-12

src/lib/skeleton/CardPlaceholder.svelte (1)

18-18: LGTM! Well-implemented class customization with size variants.

The addition of the class prop and its integration in the reactive statement correctly handles the merging of size-based classes, divClass, and custom classes.

Also applies to: 23-23

src/lib/forms/CheckboxButton.svelte (1)

27-27: LGTM! Shadow prop type standardization.

The change from shadow-sm to shadow aligns with the standardization of shadow properties across components.

src/lib/avatar/Avatar.svelte (1)

21-21: LGTM! Standardizing the rounded property improves consistency.

The changes simplify the rounded property by using Tailwind's base utility class rounded instead of the specific rounded-sm. This makes the component more flexible and aligns with Tailwind's utility-first approach.

Also applies to: 40-40, 46-46, 50-50

src/lib/skeleton/TextPlaceholder.svelte (1)

2-2: LGTM! Enhanced type safety with HTMLAttributes.

Extending HTMLAttributes<HTMLDivElement> improves type safety and allows the component to accept all standard HTML div attributes, making it more flexible and easier to use.

Also applies to: 16-16

src/lib/device-mockups/Ios.svelte (1)

16-16: LGTM! Added class property for enhanced styling flexibility.

The addition of the optional class property and its usage with twMerge allows for better styling customization while preserving the default styles.

Also applies to: 32-32

src/lib/device-mockups/Smartwatch.svelte (1)

16-16: LGTM! Consistent class property implementation.

The addition of the class property maintains consistency with other device mockup components and enhances styling flexibility.

Also applies to: 32-32

src/lib/device-mockups/DefaultMockup.svelte (1)

16-16: LGTM! The class prop addition enhances styling flexibility.

The implementation correctly uses twMerge to combine the new class prop with existing classes, maintaining proper precedence.

Also applies to: 32-32

src/lib/device-mockups/Tablet.svelte (1)

16-16: LGTM! The class prop addition enhances styling flexibility.

The implementation correctly uses twMerge to combine the new class prop with existing classes, maintaining proper precedence.

Also applies to: 32-32

src/lib/device-mockups/Android.svelte (1)

18-18: LGTM! The class prop addition enhances styling flexibility.

The implementation correctly uses twMerge to combine the new class prop with existing classes, maintaining proper precedence.

Also applies to: 36-36

src/lib/indicators/Indicator.svelte (2)

84-84: LGTM! Improved code formatting.

Removed unnecessary space before the closing div tag.


16-16:

Details

❓ Verification inconclusive

Verify the rounded style change impact.

The change from rounded-sm to rounded modifies the visual appearance of the component. Please ensure this change:

  1. Is intentional and part of the issues being addressed
  2. Maintains visual consistency with other components
  3. Doesn't break existing implementations

Also applies to: 80-81


🏁 Script executed:

#!/bin/bash
# Search for other components using rounded-sm to ensure consistency
rg "rounded-sm" --type svelte

Length of output: 60


Rounded Style Change Impact – Verification Required

The update changes the style from rounded-sm to rounded in src/lib/indicators/Indicator.svelte (lines 16 and 80-81). Please verify that this change is intentional, maintains visual consistency across components, and doesn't break existing implementations. Additionally, run the provided script to check for any remaining usages of rounded-sm in all Svelte files to ensure consistency throughout the codebase.


🏁 Script executed:

#!/bin/bash
# Re-run the search for "rounded-sm" usage in all Svelte files using glob pattern,
# as the previous command failed due to the unrecognized file type.
rg "rounded-sm" --glob "*.svelte"

Length of output: 4629


Rounded Style Change Impact – Manual Verification Required

The update in src/lib/indicators/Indicator.svelte (lines 16 and 80-81) changes the styling from using rounded-sm to a new rounded setting via a boolean prop. Our repository search shows that many other components (e.g., in src/lib/mega-menu/MegaMenu.svelte, src/lib/navbar/NavLi.svelte, and several rating, sidebar, skeleton, and typography components) still rely on the rounded-sm class. Please ensure that:

  • This change is intentional and aligned with the broader design goals.
  • Visual consistency is maintained across components that use similar rounded styling.
  • No unintended side-effects occur in components still using rounded-sm.

Review and verify these points manually to avoid breaking existing implementations.

src/lib/forms/Radio.svelte (2)

19-19: LGTM! Standardizing rounded styling.

The change from rounded-sm to rounded aligns with the broader effort to standardize styling conventions across components.


54-54: LGTM! Simplified binding syntax.

The simplified bind:group syntax is more concise while maintaining the same functionality.

src/lib/timeline/TimelineItem.svelte (1)

4-4: LGTM! Enhanced type safety with HTMLLiAttributes.

Extending HTMLLiAttributes properly types the component to accept standard HTML list item attributes, improving type safety and component flexibility.

Also applies to: 6-6

src/lib/dropdown/Dropdown.svelte (2)

14-14: LGTM! Improved import formatting.

Added space after type keyword for better readability.


49-50: LGTM! Standardized styling props.

Removed -sm suffix from shadow and rounded props to align with the standardized approach across components.

src/lib/timeline/ActivityItem.svelte (1)

4-4: LGTM! Enhanced type safety with HTMLLiAttributes.

Extending HTMLLiAttributes properly types the component to accept standard HTML list item attributes, improving type safety and component flexibility. This change is consistent with similar updates in other timeline components.

Also applies to: 6-6

src/lib/timeline/GroupItem.svelte (1)

4-4: LGTM! Enhanced type safety with HTMLLiAttributes.

The addition of HTMLLiAttributes improves type safety and ensures proper HTML attribute support for the list item element.

Also applies to: 6-6

src/lib/badge/Badge.svelte (1)

30-30: LGTM! Simplified rounded property implementation.

The change from 'rounded-sm' to 'rounded' with conditional 'rounded-full' provides a cleaner and more intuitive API while maintaining the same functionality.

Also applies to: 81-81

src/lib/buttons/GradientButton.svelte (1)

15-15: LGTM! Simplified shadow property type.

The change from 'shadow-sm' to 'shadow' aligns with the codebase-wide simplification of property types.

src/lib/table/Table.svelte (3)

32-32: LGTM! Simplified shadow property type.

The change from 'shadow-sm' to 'shadow' maintains consistency with other components.


91-91: LGTM! Improved search input accessibility.

Changing the input type from 'text' to 'search' improves semantic meaning and provides better accessibility features.


73-73: LGTM! Added missing semicolon.

Added missing semicolon in the filterStore conditional for better code consistency.

src/lib/accordion/AccordionItem.svelte (2)

4-6: LGTM! Import statements are properly organized.

The imports are now organized with framework imports first, followed by utility imports.


27-27: LGTM! Added class prop for styling customization.

The new class prop allows for external styling customization, which enhances component flexibility.

src/lib/utils/Frame.svelte (1)

30-30: LGTM! Improved type flexibility with HTMLAttributes.

The change from HTMLAnchorAttributes to HTMLAttributes better matches the component's ability to render different HTML elements via the tag prop.

Also applies to: 38-38

src/lib/buttons/Button.svelte (2)

14-14: LGTM! Improved type definitions formatting.

The type definitions are now more readable with proper line breaks and consistent spacing.

Also applies to: 18-27


39-39: LGTM! Standardized shadow prop type.

The shadow prop type has been standardized to use 'shadow' instead of 'shadow-sm', aligning with other components.

@jjagielka jjagielka deleted the issues branch February 21, 2025 15:06
@coderabbitai coderabbitai bot mentioned this pull request Aug 12, 2025
8 tasks
@coderabbitai coderabbitai bot mentioned this pull request Aug 31, 2025
8 tasks
@coderabbitai coderabbitai bot mentioned this pull request Dec 19, 2025
42 tasks
This was referenced Dec 27, 2025
@coderabbitai coderabbitai bot mentioned this pull request Mar 26, 2026
15 tasks
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.

console.log statement in SpeedDial.

2 participants