Skip to content

Fiddle: update build-js to add style linting#233

Merged
krishan711 merged 1 commit into
mainfrom
updatebuildjs
Dec 4, 2025
Merged

Fiddle: update build-js to add style linting#233
krishan711 merged 1 commit into
mainfrom
updatebuildjs

Conversation

@krishan711
Copy link
Copy Markdown
Contributor

Description

Screenshots:

Checklist:

  • I have updated the CHANGELOG with a summary of my changes
  • I have updated the documentation accordingly

Copilot AI review requested due to automatic review settings December 4, 2025 17:01
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the build tooling to add style linting (stylelint) support by upgrading the @kibalabs/build package from version 0.13.3-next.13 to ^0.13.3-next.14. The changes add stylelint disable comments to existing SCSS files to address legitimate CSS patterns, and include new documentation about creating custom components.

Key Changes

  • Updated @kibalabs/build dependency to enable stylelint support
  • Added stylelint disable comments to SCSS files for intentional CSS overrides and browser fallbacks
  • Added "Creating Custom Components" section to README with example code

Reviewed changes

Copilot reviewed 7 out of 8 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
package.json Updated @kibalabs/build dependency to version 0.13.3-next.14
package-lock.json Updated dependency lockfile with new stylelint-related packages
src/styles/reset.scss Added stylelint disable comments for intentional font property overrides and duplicate selectors in reset styles
src/styles/global.scss Added stylelint disable comment for browser fallback pattern (pixelated image rendering)
src/molecules/carousel/styles.scss Added stylelint disable comment for IE11 overflow fallback
src/atoms/iconButton/styles.scss Added stylelint disable comment for background shorthand override
src/atoms/button/styles.scss Added stylelint disable comment for background shorthand override
README.md Added new "Creating Custom Components" section with usage examples

Comment thread README.md
When creating custom components in your project, extend `IComponentProps` and pass the styling props to your root element:

```tsx
import { IComponentProps, Stack, Text } from '@kibalabs/ui-react';
Copy link

Copilot AI Dec 4, 2025

Choose a reason for hiding this comment

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

Missing import for Direction enum. The code example uses Direction.Vertical but doesn't import it. Should add Direction to the import statement:

import { IComponentProps, Stack, Text, Direction } from '@kibalabs/ui-react';
Suggested change
import { IComponentProps, Stack, Text } from '@kibalabs/ui-react';
import { IComponentProps, Stack, Text, Direction } from '@kibalabs/ui-react';

Copilot uses AI. Check for mistakes.
@krishan711 krishan711 merged commit f53a204 into main Dec 4, 2025
10 checks passed
@krishan711 krishan711 deleted the updatebuildjs branch December 4, 2025 17:04
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.

2 participants