diff --git a/apps/docs/src/app/_components/footer/footer.tsx b/apps/docs/src/app/_components/footer/footer.tsx index 3a42fafc..837fab4b 100644 --- a/apps/docs/src/app/_components/footer/footer.tsx +++ b/apps/docs/src/app/_components/footer/footer.tsx @@ -45,7 +45,7 @@ const footer = () => {
- + Your comprehensive solution for modern web development. Reusable UI components, React hooks, icons, and tools designed with accessibility and scalability in mind. Empower your web applications effortlessly diff --git a/apps/stories/stories/IconButton.stories.tsx b/apps/stories/stories/IconButton.stories.tsx index 9c25cfb2..e90fee73 100644 --- a/apps/stories/stories/IconButton.stories.tsx +++ b/apps/stories/stories/IconButton.stories.tsx @@ -84,7 +84,7 @@ export function ButtonCornerDefaults() { } color="p" /> - + } color="p" /> @@ -99,7 +99,7 @@ export function ButtonCornerDefaults() { } color="p" /> - + } color="p" /> @@ -115,7 +115,7 @@ export function ButtonCornerDefaults() { } color="p" /> - + } color="p" /> diff --git a/apps/stories/stories/alert.stories.tsx b/apps/stories/stories/alert.stories.tsx index 5ce5a177..3d94941b 100644 --- a/apps/stories/stories/alert.stories.tsx +++ b/apps/stories/stories/alert.stories.tsx @@ -202,7 +202,7 @@ export function AlertCornerDefaults() { return (
Alert Corner 20px corner - + diff --git a/apps/stories/stories/badge.stories.tsx b/apps/stories/stories/badge.stories.tsx index eeab3cd8..d8b09488 100644 --- a/apps/stories/stories/badge.stories.tsx +++ b/apps/stories/stories/badge.stories.tsx @@ -118,33 +118,11 @@ export const BadgeNumericColor = () => { + ) } -export const BadgeHighContrastColor = () => { - return ( -
- - - - - - - - - - - - - - - - -
- ) -} - export const BadgeCorner = () => { return (
diff --git a/apps/stories/stories/blockquote.stories.tsx b/apps/stories/stories/blockquote.stories.tsx index ddac6b50..a71be64b 100644 --- a/apps/stories/stories/blockquote.stories.tsx +++ b/apps/stories/stories/blockquote.stories.tsx @@ -169,128 +169,30 @@ export const BlockquoteCustomStyle = () => { export function ButtonCornerDefaults() { return (
- - -
- Lorem ipsum dolor sit amet consectetur adipisicing elit. Ullam beatae, iure, eligendi, quisquam unde tempore - fugit numquam aut accusamus cupiditate sit iste facere excepturi consectetur debitis vel iusto eos quae! -
-
- -
- Lorem ipsum dolor sit amet consectetur adipisicing elit. Ullam beatae, iure, eligendi, quisquam unde tempore - fugit numquam aut accusamus cupiditate sit iste facere excepturi consectetur debitis vel iusto eos quae! -
-
- -
- Lorem ipsum dolor sit amet consectetur adipisicing elit. Ullam beatae, iure, eligendi, quisquam unde tempore - fugit numquam aut accusamus cupiditate sit iste facere excepturi consectetur debitis vel iusto eos quae! -
-
- -
- Lorem ipsum dolor sit amet consectetur adipisicing elit. Ullam beatae, iure, eligendi, quisquam unde tempore - fugit numquam aut accusamus cupiditate sit iste facere excepturi consectetur debitis vel iusto eos quae! -
-
-
+ +
Lorem ipsum dolor sit amet consectetur adipisicing elit. Ullam beatae, iure, eligendi, quisquam unde tempore fugit numquam aut accusamus cupiditate sit iste facere excepturi consectetur debitis vel iusto eos quae!
- - - - -
- Lorem ipsum dolor sit amet consectetur adipisicing elit. Ullam beatae, iure, eligendi, quisquam unde tempore - fugit numquam aut accusamus cupiditate sit iste facere excepturi consectetur debitis vel iusto eos quae! -
-
- -
- Lorem ipsum dolor sit amet consectetur adipisicing elit. Ullam beatae, iure, eligendi, quisquam unde tempore - fugit numquam aut accusamus cupiditate sit iste facere excepturi consectetur debitis vel iusto eos quae! -
-
- -
- Lorem ipsum dolor sit amet consectetur adipisicing elit. Ullam beatae, iure, eligendi, quisquam unde tempore - fugit numquam aut accusamus cupiditate sit iste facere excepturi consectetur debitis vel iusto eos quae! -
-
- -
- Lorem ipsum dolor sit amet consectetur adipisicing elit. Ullam beatae, iure, eligendi, quisquam unde tempore - fugit numquam aut accusamus cupiditate sit iste facere excepturi consectetur debitis vel iusto eos quae! -
-
-
+ + +
Lorem ipsum dolor sit amet consectetur adipisicing elit. Ullam beatae, iure, eligendi, quisquam unde tempore fugit numquam aut accusamus cupiditate sit iste facere excepturi consectetur debitis vel iusto eos quae!
- - - -
- Lorem ipsum dolor sit amet consectetur adipisicing elit. Ullam beatae, iure, eligendi, quisquam unde tempore - fugit numquam aut accusamus cupiditate sit iste facere excepturi consectetur debitis vel iusto eos quae! -
-
- -
- Lorem ipsum dolor sit amet consectetur adipisicing elit. Ullam beatae, iure, eligendi, quisquam unde tempore - fugit numquam aut accusamus cupiditate sit iste facere excepturi consectetur debitis vel iusto eos quae! -
-
- -
- Lorem ipsum dolor sit amet consectetur adipisicing elit. Ullam beatae, iure, eligendi, quisquam unde tempore - fugit numquam aut accusamus cupiditate sit iste facere excepturi consectetur debitis vel iusto eos quae! -
-
- -
- Lorem ipsum dolor sit amet consectetur adipisicing elit. Ullam beatae, iure, eligendi, quisquam unde tempore - fugit numquam aut accusamus cupiditate sit iste facere excepturi consectetur debitis vel iusto eos quae! -
-
-
+ + +
Lorem ipsum dolor sit amet consectetur adipisicing elit. Ullam beatae, iure, eligendi, quisquam unde tempore fugit numquam aut accusamus cupiditate sit iste facere excepturi consectetur debitis vel iusto eos quae!
- - - - -
- Lorem ipsum dolor sit amet consectetur adipisicing elit. Ullam beatae, iure, eligendi, quisquam unde tempore - fugit numquam aut accusamus cupiditate sit iste facere excepturi consectetur debitis vel iusto eos quae! -
-
- -
- Lorem ipsum dolor sit amet consectetur adipisicing elit. Ullam beatae, iure, eligendi, quisquam unde tempore - fugit numquam aut accusamus cupiditate sit iste facere excepturi consectetur debitis vel iusto eos quae! -
-
- -
- Lorem ipsum dolor sit amet consectetur adipisicing elit. Ullam beatae, iure, eligendi, quisquam unde tempore - fugit numquam aut accusamus cupiditate sit iste facere excepturi consectetur debitis vel iusto eos quae! -
-
- -
- Lorem ipsum dolor sit amet consectetur adipisicing elit. Ullam beatae, iure, eligendi, quisquam unde tempore - fugit numquam aut accusamus cupiditate sit iste facere excepturi consectetur debitis vel iusto eos quae! -
-
-
+ + +
Lorem ipsum dolor sit amet consectetur adipisicing elit. Ullam beatae, iure, eligendi, quisquam unde tempore fugit numquam aut accusamus cupiditate sit iste facere excepturi consectetur debitis vel iusto eos quae!
- +
) } diff --git a/apps/stories/stories/button.stories.tsx b/apps/stories/stories/button.stories.tsx index 070b4f10..e5787931 100644 --- a/apps/stories/stories/button.stories.tsx +++ b/apps/stories/stories/button.stories.tsx @@ -39,6 +39,7 @@ export function ButtonsColors() { + ) } @@ -111,19 +112,19 @@ export function ButtonsTransforms() {

with Global Capitalize

- +

with Global lowercase

- +

with Global uppercase

- + @@ -212,7 +213,7 @@ export function ButtonsCorners() {

Specify the button Corner circle

- + @@ -223,7 +224,7 @@ export function ButtonsCorners() {

Specify the button Corner Medium

- + @@ -391,7 +392,7 @@ export function ButtonCornerDefaults() { - + @@ -406,23 +407,15 @@ export function ButtonCornerDefaults() { - - - - - - - - - - - - - + + + + + - + @@ -444,11 +437,11 @@ export function ButtonCornerDefaults() { export function ButtonTransformDefaults() { return (
- + - diff --git a/apps/stories/stories/checkbox.stories.tsx b/apps/stories/stories/checkbox.stories.tsx index e7ac49b5..5b4720ec 100644 --- a/apps/stories/stories/checkbox.stories.tsx +++ b/apps/stories/stories/checkbox.stories.tsx @@ -48,7 +48,8 @@ export const CheckboxColor = () => { - + + ) } @@ -63,6 +64,7 @@ export const CheckboxDisabled = () => { + @@ -71,6 +73,7 @@ export const CheckboxDisabled = () => { +
) diff --git a/apps/stories/stories/chips.stories.tsx b/apps/stories/stories/chips.stories.tsx index 33b3c4b6..4fd42f6d 100644 --- a/apps/stories/stories/chips.stories.tsx +++ b/apps/stories/stories/chips.stories.tsx @@ -12,7 +12,9 @@ const meta: Meta = { } export default meta -export const Playground = {} +export const Playground = { + children: 'Hello world', +} export const ChipsColor = () => ( @@ -36,6 +38,9 @@ export const ChipsColor = () => ( Hello + + Hello + ) @@ -64,6 +69,9 @@ export const ChipsVariants = () => ( Hello + + Hello +
))}
@@ -301,18 +309,10 @@ export function ChipsCornerDefaults() {
- - Hello - - - Hello - - - Hello - - - Hello - + Hello + Hello + Hello + Hello Hello
diff --git a/apps/stories/stories/code.stories.tsx b/apps/stories/stories/code.stories.tsx index 1997b756..c77ab0d9 100644 --- a/apps/stories/stories/code.stories.tsx +++ b/apps/stories/stories/code.stories.tsx @@ -18,6 +18,7 @@ export const CodeColors = () => { {`console.log('Hello world Every thing is OK')`} {`console.log('Hello world Every thing is OK')`} {`console.log('Hello world Every thing is OK')`} + {`console.log('Hello world Every thing is OK')`}
) } @@ -25,6 +26,7 @@ export const CodeColors = () => { export const CodeSizes = () => { return ( + {`console.log('Hello world Every thing is OK')`} {`console.log('Hello world Every thing is OK')`} {`console.log('Hello world Every thing is OK')`} {`console.log('Hello world Every thing is OK')`} @@ -32,6 +34,7 @@ export const CodeSizes = () => { {`console.log('Hello world Every thing is OK')`} {`console.log('Hello world Every thing is OK')`} {`console.log('Hello world Every thing is OK')`} + {`console.log('Hello world Every thing is OK')`} ) } diff --git a/apps/stories/stories/heading.stories.tsx b/apps/stories/stories/heading.stories.tsx index 2f30ad66..689341bd 100644 --- a/apps/stories/stories/heading.stories.tsx +++ b/apps/stories/stories/heading.stories.tsx @@ -151,7 +151,7 @@ export function HeadingTrasforms() { Lorem ipsum dolor sit amet consectetur adipisicing elit. Lorem ipsum dolor sit amet consectetur adipisicing elit. Lorem ipsum dolor sit amet consectetur adipisicing elit. - Lorem ipsum dolor sit amet consectetur adipisicing elit. + Lorem ipsum dolor sit amet consectetur adipisicing elit.
) } diff --git a/apps/stories/stories/kbd.stories.tsx b/apps/stories/stories/kbd.stories.tsx index 1ad65c2b..71272855 100644 --- a/apps/stories/stories/kbd.stories.tsx +++ b/apps/stories/stories/kbd.stories.tsx @@ -22,6 +22,7 @@ export const KbdColors = () => { + ) } @@ -40,6 +41,7 @@ export const KbdVariants = () => { + ))} @@ -57,6 +59,7 @@ export const KbdSizes = () => { + ) } diff --git a/apps/stories/stories/link.stories.tsx b/apps/stories/stories/link.stories.tsx index 22e1400e..a245ac10 100644 --- a/apps/stories/stories/link.stories.tsx +++ b/apps/stories/stories/link.stories.tsx @@ -116,7 +116,7 @@ export function LinkTrasforms() { Lorem ipsum dolor sit amet consectetur adipisicing elit. - + Lorem ipsum dolor sit amet consectetur adipisicing elit. diff --git a/apps/stories/stories/radio.stories.tsx b/apps/stories/stories/radio.stories.tsx index bbb1831f..e9659aba 100644 --- a/apps/stories/stories/radio.stories.tsx +++ b/apps/stories/stories/radio.stories.tsx @@ -27,8 +27,9 @@ export function RadioColors() { - + + ) @@ -44,6 +45,7 @@ export function RadioDefaultCheck() { + @@ -52,6 +54,7 @@ export function RadioDefaultCheck() { + @@ -60,6 +63,7 @@ export function RadioDefaultCheck() { + ) diff --git a/apps/stories/stories/text.stories.tsx b/apps/stories/stories/text.stories.tsx index 949c7b2f..4c9e6894 100644 --- a/apps/stories/stories/text.stories.tsx +++ b/apps/stories/stories/text.stories.tsx @@ -151,7 +151,7 @@ export function TextTrasforms() { Lorem ipsum dolor sit amet consectetur adipisicing elit. Lorem ipsum dolor sit amet consectetur adipisicing elit. Lorem ipsum dolor sit amet consectetur adipisicing elit. - Lorem ipsum dolor sit amet consectetur adipisicing elit. + Lorem ipsum dolor sit amet consectetur adipisicing elit. ) } diff --git a/packages/pillar-core/src/core/@alert/_alert.css b/packages/pillar-core/src/core/@alert/_alert.css index 3094d8fe..687f822b 100644 --- a/packages/pillar-core/src/core/@alert/_alert.css +++ b/packages/pillar-core/src/core/@alert/_alert.css @@ -7,8 +7,8 @@ unavailable, these properties take priority. However, if specific props related to avatars are provided, they will override these properties. */ - border-radius: var(--alert-rad, 0); - font-size: var(--alert-size, 1rem); + border-radius: var(--al-rad, 0); + font-size: var(--al-size, 1rem); } /* diff --git a/packages/pillar-core/src/core/@alert/index.tsx b/packages/pillar-core/src/core/@alert/index.tsx index 6437ba52..ba3675b8 100644 --- a/packages/pillar-core/src/core/@alert/index.tsx +++ b/packages/pillar-core/src/core/@alert/index.tsx @@ -48,7 +48,7 @@ export const Alert = forwardRef(
{icon && {icon}}
- {title &&
{title}
} + {title &&
{title}
} {message && {message}}
{closable && } title="close alert" color={color} />} diff --git a/packages/pillar-core/src/core/@avatar/index.tsx b/packages/pillar-core/src/core/@avatar/index.tsx index b4d138c8..c68edc71 100644 --- a/packages/pillar-core/src/core/@avatar/index.tsx +++ b/packages/pillar-core/src/core/@avatar/index.tsx @@ -78,7 +78,7 @@ export const Avatar = forwardRef((props, forwardRef) => { const [isError, setIsError] = useState(!image) const classNames = cx(`a-v a-v-${variant} C${color} u_s-equal Fc`, { - [`u_${animate}`]: animate, + [`A${animate}`]: animate, [`Fs${size}`]: size, [`R${corner}`]: corner, [className!]: className, diff --git a/packages/pillar-core/src/core/@breadcrumb/index.tsx b/packages/pillar-core/src/core/@breadcrumb/index.tsx index 35bb47db..88c1f737 100644 --- a/packages/pillar-core/src/core/@breadcrumb/index.tsx +++ b/packages/pillar-core/src/core/@breadcrumb/index.tsx @@ -21,7 +21,7 @@ export const BreadcrumbItem = forwardRef((props, forwardedRef) => { const classNames = cx(`b-r_lnk Sg2 Fc`, { [className!]: className }) return ( -
  • +
  • {children} @@ -45,7 +45,7 @@ BreadcrumbItem.displayName = 'BreadcrumbItem' export const Breadcrumb = forwardRef( ({ children, separator, size, color = 'b', className, as: Tag = 'nav', ...rest }, ref) => { const breadcrumbContext = { separator } - const classNames = cx(`f-l fl-wrap Sgsm C${color}`, { + const classNames = cx(`f-l fl-wrap Sg4 C${color}`, { [`Fs${size}`]: size, [className!]: className, }) diff --git a/packages/pillar-core/src/core/@counterButton/index.tsx b/packages/pillar-core/src/core/@counterButton/index.tsx index e61861c6..f852aa7d 100644 --- a/packages/pillar-core/src/core/@counterButton/index.tsx +++ b/packages/pillar-core/src/core/@counterButton/index.tsx @@ -6,11 +6,11 @@ import type { CounterButtonProps } from './counterButton.type' const shared = { type: 'button', className: 'c-b Fc' } as const export const CounterButton = ({ value = 1, min = 1, max = Infinity, step = 1 }: CounterButtonProps) => { - const init = { value, min, max, step } - const { count, setCount, increment, decrement } = useCounter(init) + const init = { min, max, step } + const { count, setCount, increment, decrement } = useCounter({ value, ...init }) return ( -
    +
    @@ -18,6 +18,7 @@ export const CounterButton = ({ value = 1, min = 1, max = Infinity, step = 1 }: setCount(+e.target.value)} aria-label="Counter value" diff --git a/packages/pillar-core/src/core/@pagination/_pagination.css b/packages/pillar-core/src/core/@pagination/_pagination.css index 53ff5071..ddb3a823 100644 --- a/packages/pillar-core/src/core/@pagination/_pagination.css +++ b/packages/pillar-core/src/core/@pagination/_pagination.css @@ -28,6 +28,6 @@ .p-a_lst { display: flex; align-items: center; - gap: var(--Ssm); - list-style: none; + /* list-style: none; + */ } diff --git a/packages/pillar-core/src/core/@pagination/index.tsx b/packages/pillar-core/src/core/@pagination/index.tsx index bfc92941..5cbdb6c0 100644 --- a/packages/pillar-core/src/core/@pagination/index.tsx +++ b/packages/pillar-core/src/core/@pagination/index.tsx @@ -56,7 +56,7 @@ export const Pagination = ({ count = 10, ...rest }: PaginationProps) => { return (