@fpkit/acss 3.2.1 → 3.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (63) hide show
  1. package/libs/chunk-KAR3HDXK.js +8 -0
  2. package/libs/chunk-KAR3HDXK.js.map +1 -0
  3. package/libs/chunk-M5JARVJD.cjs +18 -0
  4. package/libs/chunk-M5JARVJD.cjs.map +1 -0
  5. package/libs/components/alert/alert.min.min.css +2 -0
  6. package/libs/components/badge/badge.min.min.css +2 -0
  7. package/libs/components/box/box.min.min.css +2 -0
  8. package/libs/components/breadcrumbs/breadcrumb.min.min.css +2 -0
  9. package/libs/components/buttons/button.min.min.css +2 -0
  10. package/libs/components/card.cjs +6 -6
  11. package/libs/components/card.js +1 -1
  12. package/libs/components/cards/card-style.min.min.css +2 -0
  13. package/libs/components/cards/card.min.min.css +2 -0
  14. package/libs/components/cluster/cluster.min.min.css +2 -0
  15. package/libs/components/details/details.min.min.css +2 -0
  16. package/libs/components/dialog/dialog.min.min.css +2 -0
  17. package/libs/components/flexbox/flex.min.min.css +2 -0
  18. package/libs/components/form/form.min.min.css +2 -0
  19. package/libs/components/grid/grid.min.min.css +2 -0
  20. package/libs/components/icons/icon.min.min.css +2 -0
  21. package/libs/components/images/img.min.min.css +2 -0
  22. package/libs/components/layout/landmarks.min.min.css +2 -0
  23. package/libs/components/link/link.min.min.css +2 -0
  24. package/libs/components/list/list.min.min.css +2 -0
  25. package/libs/components/nav/nav.min.min.css +2 -0
  26. package/libs/components/progress/progress.min.min.css +2 -0
  27. package/libs/components/stack/stack.min.min.css +2 -0
  28. package/libs/components/styles/index.min.min.css +2 -0
  29. package/libs/components/tag/tag.min.min.css +2 -0
  30. package/libs/components/text-to-speech/text-to-speech.min.min.css +2 -0
  31. package/libs/index.cjs +27 -25
  32. package/libs/index.cjs.map +1 -1
  33. package/libs/index.css +1 -1
  34. package/libs/index.css.map +1 -1
  35. package/libs/index.d.cts +275 -1
  36. package/libs/index.d.ts +275 -1
  37. package/libs/index.js +10 -10
  38. package/libs/index.js.map +1 -1
  39. package/package.json +2 -2
  40. package/src/components/cards/card.stories.tsx +1 -1
  41. package/src/components/cards/card.tsx +46 -41
  42. package/src/components/col/README.mdx +532 -0
  43. package/src/components/col/col.stories.tsx +424 -0
  44. package/src/components/col/col.test.tsx +321 -0
  45. package/src/components/col/col.tsx +105 -0
  46. package/src/components/col/col.types.ts +76 -0
  47. package/src/components/row/README.mdx +324 -0
  48. package/src/components/row/row.stories.tsx +595 -0
  49. package/src/components/row/row.test.tsx +358 -0
  50. package/src/components/row/row.tsx +121 -0
  51. package/src/components/row/row.types.ts +93 -0
  52. package/src/index.scss +1 -0
  53. package/src/index.ts +2 -0
  54. package/src/sass/README.mdx +597 -0
  55. package/src/sass/_columns.scss +198 -0
  56. package/src/sass/columns.stories.tsx +456 -0
  57. package/src/styles/index.css +340 -0
  58. package/src/styles/index.css.map +1 -1
  59. package/src/types/layout-primitives.ts +61 -0
  60. package/libs/chunk-OU52NIKA.js +0 -8
  61. package/libs/chunk-OU52NIKA.js.map +0 -1
  62. package/libs/chunk-WWPLBWCQ.cjs +0 -18
  63. package/libs/chunk-WWPLBWCQ.cjs.map +0 -1
package/libs/index.d.cts CHANGED
@@ -611,6 +611,38 @@ type GridElement = "div" | "section" | "article" | "ul" | "ol";
611
611
  * Semantic HTML element types for Grid.Item sub-component
612
612
  */
613
613
  type GridItemElement = "div" | "section" | "article" | "li";
614
+ /**
615
+ * Semantic HTML element types for Row component
616
+ */
617
+ type RowElement = "div" | "section" | "article" | "ul" | "ol" | "nav";
618
+ /**
619
+ * Semantic HTML element types for Col component
620
+ */
621
+ type ColElement = "div" | "section" | "article" | "li";
622
+ /**
623
+ * Column span values (1-12 columns)
624
+ */
625
+ type ColumnSpan = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
626
+ /**
627
+ * Column offset values (0-11 columns)
628
+ */
629
+ type ColumnOffset = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11;
630
+ /**
631
+ * Column order values
632
+ */
633
+ type ColumnOrder = "first" | "last" | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
634
+ /**
635
+ * Flex justify-content values
636
+ */
637
+ type JustifyContent = "start" | "center" | "end" | "between" | "around" | "evenly";
638
+ /**
639
+ * Flex align-items values
640
+ */
641
+ type AlignItems = "start" | "center" | "end" | "baseline" | "stretch";
642
+ /**
643
+ * Flex wrap values
644
+ */
645
+ type FlexWrap$1 = "wrap" | "nowrap" | "wrap-reverse";
614
646
 
615
647
  /**
616
648
  * Props for the Box component - a fundamental container primitive for spacing and sizing control.
@@ -1496,6 +1528,248 @@ declare const GridWithItem: React$1.ForwardRefExoticComponent<GridProps & React$
1496
1528
  Item: typeof GridItem;
1497
1529
  };
1498
1530
 
1531
+ /**
1532
+ * Props for the Row component
1533
+ *
1534
+ * Row provides a flex container for column layouts with customizable gap,
1535
+ * justify, align, and wrap properties. Always renders with the .col-row
1536
+ * base class and adds variant utilities based on props.
1537
+ *
1538
+ * @example
1539
+ * // Basic row with default settings
1540
+ * <Row>
1541
+ * <Col span={6}>Column 1</Col>
1542
+ * <Col span={6}>Column 2</Col>
1543
+ * </Row>
1544
+ *
1545
+ * @example
1546
+ * // Custom gap and centering
1547
+ * <Row gap="lg" justify="center" align="center">
1548
+ * <Col span={4}>Centered content</Col>
1549
+ * </Row>
1550
+ */
1551
+ interface RowProps extends Partial<ComponentProps$1>, Omit<React.HTMLAttributes<HTMLElement>, "className"> {
1552
+ /**
1553
+ * Gap size between columns
1554
+ * Maps to --spacing-* CSS custom properties
1555
+ * @default undefined (uses .col-row default gap)
1556
+ */
1557
+ gap?: SpacingScale;
1558
+ /**
1559
+ * Horizontal alignment of columns (justify-content)
1560
+ * @default undefined (flex-start)
1561
+ */
1562
+ justify?: JustifyContent;
1563
+ /**
1564
+ * Vertical alignment of columns (align-items)
1565
+ * @default undefined (stretch)
1566
+ */
1567
+ align?: AlignItems;
1568
+ /**
1569
+ * Flex wrap behavior
1570
+ * @default "wrap"
1571
+ */
1572
+ wrap?: FlexWrap$1;
1573
+ /**
1574
+ * When true, columns maintain their proportional layout on tablets and larger
1575
+ * instead of stacking to 100% width on all mobile devices (< 768px).
1576
+ *
1577
+ * Wrapping behavior with this prop:
1578
+ * - Mobile phones (< 480px): Columns still stack at 100% width
1579
+ * - Tablets & larger (≥ 480px): Columns maintain proportional layout
1580
+ *
1581
+ * Use this when you want columns to stay side-by-side on tablets and desktops
1582
+ * but still provide mobile-friendly stacking on phones.
1583
+ *
1584
+ * @default false
1585
+ * @example
1586
+ * <Row alwaysProportional>
1587
+ * <Col span={6}>Column 1</Col>
1588
+ * <Col span={6}>Column 2</Col>
1589
+ * </Row>
1590
+ */
1591
+ alwaysProportional?: boolean;
1592
+ /**
1593
+ * Element type to render
1594
+ * @default "div"
1595
+ */
1596
+ as?: RowElement;
1597
+ /**
1598
+ * Additional CSS classes
1599
+ */
1600
+ className?: string;
1601
+ /**
1602
+ * Child elements (typically Col components)
1603
+ */
1604
+ children?: React.ReactNode;
1605
+ }
1606
+
1607
+ /**
1608
+ * Row - A flex container component for 12-column layouts.
1609
+ *
1610
+ * Row provides a type-safe React wrapper around the .col-row utility class,
1611
+ * allowing developers to create responsive column layouts with customizable
1612
+ * gap, alignment, and wrapping behavior. Always includes the .col-row base
1613
+ * class and adds variant utilities based on props.
1614
+ *
1615
+ * ## Key Features
1616
+ * - **Flex Container**: Display flex with wrap enabled by default
1617
+ * - **Customizable Gap**: Control spacing between columns with gap prop
1618
+ * - **Alignment Control**: Justify and align props for layout control
1619
+ * - **Polymorphic**: Render as any semantic HTML element
1620
+ * - **Type-Safe**: Full TypeScript support with literal types
1621
+ *
1622
+ * ## Use Cases
1623
+ * - Multi-column layouts
1624
+ * - Responsive grid systems
1625
+ * - Card grids
1626
+ * - Dashboard layouts
1627
+ * - Form layouts
1628
+ *
1629
+ * @example
1630
+ * // Basic two-column layout
1631
+ * <Row>
1632
+ * <Col span={6}>Left column</Col>
1633
+ * <Col span={6}>Right column</Col>
1634
+ * </Row>
1635
+ *
1636
+ * @example
1637
+ * // Custom gap and centered alignment
1638
+ * <Row gap="lg" justify="center" align="center">
1639
+ * <Col span={4}>Column 1</Col>
1640
+ * <Col span={4}>Column 2</Col>
1641
+ * <Col span={4}>Column 3</Col>
1642
+ * </Row>
1643
+ *
1644
+ * @example
1645
+ * // Semantic HTML with list elements
1646
+ * <Row as="ul" gap="md">
1647
+ * <Col as="li" span={4}>Item 1</Col>
1648
+ * <Col as="li" span={4}>Item 2</Col>
1649
+ * <Col as="li" span={4}>Item 3</Col>
1650
+ * </Row>
1651
+ *
1652
+ * @example
1653
+ * // Proportional layout - maintains columns on tablets and larger
1654
+ * <Row alwaysProportional gap="lg">
1655
+ * <Col span={6}>Column 1 (50% on tablets+)</Col>
1656
+ * <Col span={6}>Column 2 (50% on tablets+)</Col>
1657
+ * </Row>
1658
+ *
1659
+ * @see {@link RowProps} for complete props documentation
1660
+ */
1661
+ declare const Row: React$1.ForwardRefExoticComponent<RowProps & React$1.RefAttributes<HTMLElement>>;
1662
+
1663
+ /**
1664
+ * Props for the Col component
1665
+ *
1666
+ * Col provides a column element for use within Row containers. Maps React
1667
+ * props to column utility classes (.col-*, .col-offset-*, .col-order-*,
1668
+ * .col-auto) without a base class. Pure utility class composition.
1669
+ *
1670
+ * @example
1671
+ * // Basic column with 50% width
1672
+ * <Col span={6}>Column content</Col>
1673
+ *
1674
+ * @example
1675
+ * // Column with offset and order
1676
+ * <Col span={4} offset={2} order={1}>
1677
+ * Offset and reordered
1678
+ * </Col>
1679
+ */
1680
+ interface ColProps extends Partial<ComponentProps$1>, Omit<React.HTMLAttributes<HTMLElement>, "className"> {
1681
+ /**
1682
+ * Column span (1-12)
1683
+ * Maps to .col-{span} utility class
1684
+ * Ignored if auto is true
1685
+ * @default undefined
1686
+ */
1687
+ span?: ColumnSpan;
1688
+ /**
1689
+ * Column offset (0-11)
1690
+ * Pushes column to the right using margin-inline-start
1691
+ * Maps to .col-offset-{offset} utility class
1692
+ * @default undefined
1693
+ */
1694
+ offset?: ColumnOffset;
1695
+ /**
1696
+ * Column order
1697
+ * Controls visual order using flexbox order property
1698
+ * Maps to .col-order-{order} utility class
1699
+ * @default undefined
1700
+ */
1701
+ order?: ColumnOrder;
1702
+ /**
1703
+ * Auto-width column
1704
+ * When true, uses .col-auto (content-based width)
1705
+ * Takes precedence over span prop
1706
+ * @default false
1707
+ */
1708
+ auto?: boolean;
1709
+ /**
1710
+ * Element type to render
1711
+ * @default "div"
1712
+ */
1713
+ as?: ColElement;
1714
+ /**
1715
+ * Additional CSS classes
1716
+ */
1717
+ className?: string;
1718
+ /**
1719
+ * Child elements
1720
+ */
1721
+ children?: React.ReactNode;
1722
+ }
1723
+
1724
+ /**
1725
+ * Col - A column component for 12-column layouts.
1726
+ *
1727
+ * Col provides a type-safe React wrapper around column utility classes,
1728
+ * allowing developers to create responsive columns with span, offset, order,
1729
+ * and auto-width options. Unlike Row, Col has no base class - it's pure
1730
+ * utility class composition.
1731
+ *
1732
+ * ## Key Features
1733
+ * - **No base class**: Pure utility class mapping (follows Grid.Item pattern)
1734
+ * - **Span control**: 1-12 column widths via span prop
1735
+ * - **Offset positioning**: Push columns right with offset prop
1736
+ * - **Visual reordering**: Change order with order prop
1737
+ * - **Auto-width**: Content-based width with auto prop
1738
+ * - **Polymorphic**: Render as any semantic HTML element
1739
+ * - **Type-Safe**: Full TypeScript support with literal types
1740
+ *
1741
+ * ## Use Cases
1742
+ * - Responsive column layouts
1743
+ * - Grid-based designs
1744
+ * - Content positioning
1745
+ * - Visual reordering
1746
+ *
1747
+ * @example
1748
+ * // Basic 50% column
1749
+ * <Col span={6}>Half width column</Col>
1750
+ *
1751
+ * @example
1752
+ * // Centered column with offset
1753
+ * <Col span={6} offset={3}>Centered column</Col>
1754
+ *
1755
+ * @example
1756
+ * // Auto-width column
1757
+ * <Col auto>Content-based width</Col>
1758
+ *
1759
+ * @example
1760
+ * // Reordered column
1761
+ * <Col span={6} order="first">Appears first visually</Col>
1762
+ *
1763
+ * @example
1764
+ * // Semantic HTML
1765
+ * <Row as="ul">
1766
+ * <Col as="li" span={4}>List item</Col>
1767
+ * </Row>
1768
+ *
1769
+ * @see {@link ColProps} for complete props documentation
1770
+ */
1771
+ declare const Col: React$1.ForwardRefExoticComponent<ColProps & React$1.RefAttributes<HTMLElement>>;
1772
+
1499
1773
  /**
1500
1774
  * Type definitions for Flex container components
1501
1775
  * Supports responsive flexbox layouts with CSS custom properties
@@ -2221,4 +2495,4 @@ type FPComponent = {
2221
2495
  */
2222
2496
  declare const FP: FPComponent;
2223
2497
 
2224
- export { Alert, AlertProps, Article, Aside, Badge, BadgeProps, Box, BoxProps, Caption, Cluster, ClusterProps, ComponentProps$1 as ComponentProps, Details, FP, Flex, FlexAlign, FlexAlignContent, FlexAlignSelf, FlexContainerElement, FlexDirection, FlexGap, FlexItemElement, FlexItemProps, FlexJustify, FlexProps, FlexSpacerProps, FlexVariant, FlexWrap, Footer, GridWithItem as Grid, GridItem, GridItemProps, GridProps, Header, Img, ImgProps, Landmarks, Main, ResponsiveFlexProps, Section, Stack, StackProps, Table, Tag, TagProps, TagVariant, Tbody, Td, TextToSpeech, Thead, Tr, UI };
2498
+ export { Alert, AlertProps, Article, Aside, Badge, BadgeProps, Box, BoxProps, Caption, Cluster, ClusterProps, Col, ColProps, ComponentProps$1 as ComponentProps, Details, FP, Flex, FlexAlign, FlexAlignContent, FlexAlignSelf, FlexContainerElement, FlexDirection, FlexGap, FlexItemElement, FlexItemProps, FlexJustify, FlexProps, FlexSpacerProps, FlexVariant, FlexWrap, Footer, GridWithItem as Grid, GridItem, GridItemProps, GridProps, Header, Img, ImgProps, Landmarks, Main, ResponsiveFlexProps, Row, RowProps, Section, Stack, StackProps, Table, Tag, TagProps, TagVariant, Tbody, Td, TextToSpeech, Thead, Tr, UI };
package/libs/index.d.ts CHANGED
@@ -611,6 +611,38 @@ type GridElement = "div" | "section" | "article" | "ul" | "ol";
611
611
  * Semantic HTML element types for Grid.Item sub-component
612
612
  */
613
613
  type GridItemElement = "div" | "section" | "article" | "li";
614
+ /**
615
+ * Semantic HTML element types for Row component
616
+ */
617
+ type RowElement = "div" | "section" | "article" | "ul" | "ol" | "nav";
618
+ /**
619
+ * Semantic HTML element types for Col component
620
+ */
621
+ type ColElement = "div" | "section" | "article" | "li";
622
+ /**
623
+ * Column span values (1-12 columns)
624
+ */
625
+ type ColumnSpan = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
626
+ /**
627
+ * Column offset values (0-11 columns)
628
+ */
629
+ type ColumnOffset = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11;
630
+ /**
631
+ * Column order values
632
+ */
633
+ type ColumnOrder = "first" | "last" | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
634
+ /**
635
+ * Flex justify-content values
636
+ */
637
+ type JustifyContent = "start" | "center" | "end" | "between" | "around" | "evenly";
638
+ /**
639
+ * Flex align-items values
640
+ */
641
+ type AlignItems = "start" | "center" | "end" | "baseline" | "stretch";
642
+ /**
643
+ * Flex wrap values
644
+ */
645
+ type FlexWrap$1 = "wrap" | "nowrap" | "wrap-reverse";
614
646
 
615
647
  /**
616
648
  * Props for the Box component - a fundamental container primitive for spacing and sizing control.
@@ -1496,6 +1528,248 @@ declare const GridWithItem: React$1.ForwardRefExoticComponent<GridProps & React$
1496
1528
  Item: typeof GridItem;
1497
1529
  };
1498
1530
 
1531
+ /**
1532
+ * Props for the Row component
1533
+ *
1534
+ * Row provides a flex container for column layouts with customizable gap,
1535
+ * justify, align, and wrap properties. Always renders with the .col-row
1536
+ * base class and adds variant utilities based on props.
1537
+ *
1538
+ * @example
1539
+ * // Basic row with default settings
1540
+ * <Row>
1541
+ * <Col span={6}>Column 1</Col>
1542
+ * <Col span={6}>Column 2</Col>
1543
+ * </Row>
1544
+ *
1545
+ * @example
1546
+ * // Custom gap and centering
1547
+ * <Row gap="lg" justify="center" align="center">
1548
+ * <Col span={4}>Centered content</Col>
1549
+ * </Row>
1550
+ */
1551
+ interface RowProps extends Partial<ComponentProps$1>, Omit<React.HTMLAttributes<HTMLElement>, "className"> {
1552
+ /**
1553
+ * Gap size between columns
1554
+ * Maps to --spacing-* CSS custom properties
1555
+ * @default undefined (uses .col-row default gap)
1556
+ */
1557
+ gap?: SpacingScale;
1558
+ /**
1559
+ * Horizontal alignment of columns (justify-content)
1560
+ * @default undefined (flex-start)
1561
+ */
1562
+ justify?: JustifyContent;
1563
+ /**
1564
+ * Vertical alignment of columns (align-items)
1565
+ * @default undefined (stretch)
1566
+ */
1567
+ align?: AlignItems;
1568
+ /**
1569
+ * Flex wrap behavior
1570
+ * @default "wrap"
1571
+ */
1572
+ wrap?: FlexWrap$1;
1573
+ /**
1574
+ * When true, columns maintain their proportional layout on tablets and larger
1575
+ * instead of stacking to 100% width on all mobile devices (< 768px).
1576
+ *
1577
+ * Wrapping behavior with this prop:
1578
+ * - Mobile phones (< 480px): Columns still stack at 100% width
1579
+ * - Tablets & larger (≥ 480px): Columns maintain proportional layout
1580
+ *
1581
+ * Use this when you want columns to stay side-by-side on tablets and desktops
1582
+ * but still provide mobile-friendly stacking on phones.
1583
+ *
1584
+ * @default false
1585
+ * @example
1586
+ * <Row alwaysProportional>
1587
+ * <Col span={6}>Column 1</Col>
1588
+ * <Col span={6}>Column 2</Col>
1589
+ * </Row>
1590
+ */
1591
+ alwaysProportional?: boolean;
1592
+ /**
1593
+ * Element type to render
1594
+ * @default "div"
1595
+ */
1596
+ as?: RowElement;
1597
+ /**
1598
+ * Additional CSS classes
1599
+ */
1600
+ className?: string;
1601
+ /**
1602
+ * Child elements (typically Col components)
1603
+ */
1604
+ children?: React.ReactNode;
1605
+ }
1606
+
1607
+ /**
1608
+ * Row - A flex container component for 12-column layouts.
1609
+ *
1610
+ * Row provides a type-safe React wrapper around the .col-row utility class,
1611
+ * allowing developers to create responsive column layouts with customizable
1612
+ * gap, alignment, and wrapping behavior. Always includes the .col-row base
1613
+ * class and adds variant utilities based on props.
1614
+ *
1615
+ * ## Key Features
1616
+ * - **Flex Container**: Display flex with wrap enabled by default
1617
+ * - **Customizable Gap**: Control spacing between columns with gap prop
1618
+ * - **Alignment Control**: Justify and align props for layout control
1619
+ * - **Polymorphic**: Render as any semantic HTML element
1620
+ * - **Type-Safe**: Full TypeScript support with literal types
1621
+ *
1622
+ * ## Use Cases
1623
+ * - Multi-column layouts
1624
+ * - Responsive grid systems
1625
+ * - Card grids
1626
+ * - Dashboard layouts
1627
+ * - Form layouts
1628
+ *
1629
+ * @example
1630
+ * // Basic two-column layout
1631
+ * <Row>
1632
+ * <Col span={6}>Left column</Col>
1633
+ * <Col span={6}>Right column</Col>
1634
+ * </Row>
1635
+ *
1636
+ * @example
1637
+ * // Custom gap and centered alignment
1638
+ * <Row gap="lg" justify="center" align="center">
1639
+ * <Col span={4}>Column 1</Col>
1640
+ * <Col span={4}>Column 2</Col>
1641
+ * <Col span={4}>Column 3</Col>
1642
+ * </Row>
1643
+ *
1644
+ * @example
1645
+ * // Semantic HTML with list elements
1646
+ * <Row as="ul" gap="md">
1647
+ * <Col as="li" span={4}>Item 1</Col>
1648
+ * <Col as="li" span={4}>Item 2</Col>
1649
+ * <Col as="li" span={4}>Item 3</Col>
1650
+ * </Row>
1651
+ *
1652
+ * @example
1653
+ * // Proportional layout - maintains columns on tablets and larger
1654
+ * <Row alwaysProportional gap="lg">
1655
+ * <Col span={6}>Column 1 (50% on tablets+)</Col>
1656
+ * <Col span={6}>Column 2 (50% on tablets+)</Col>
1657
+ * </Row>
1658
+ *
1659
+ * @see {@link RowProps} for complete props documentation
1660
+ */
1661
+ declare const Row: React$1.ForwardRefExoticComponent<RowProps & React$1.RefAttributes<HTMLElement>>;
1662
+
1663
+ /**
1664
+ * Props for the Col component
1665
+ *
1666
+ * Col provides a column element for use within Row containers. Maps React
1667
+ * props to column utility classes (.col-*, .col-offset-*, .col-order-*,
1668
+ * .col-auto) without a base class. Pure utility class composition.
1669
+ *
1670
+ * @example
1671
+ * // Basic column with 50% width
1672
+ * <Col span={6}>Column content</Col>
1673
+ *
1674
+ * @example
1675
+ * // Column with offset and order
1676
+ * <Col span={4} offset={2} order={1}>
1677
+ * Offset and reordered
1678
+ * </Col>
1679
+ */
1680
+ interface ColProps extends Partial<ComponentProps$1>, Omit<React.HTMLAttributes<HTMLElement>, "className"> {
1681
+ /**
1682
+ * Column span (1-12)
1683
+ * Maps to .col-{span} utility class
1684
+ * Ignored if auto is true
1685
+ * @default undefined
1686
+ */
1687
+ span?: ColumnSpan;
1688
+ /**
1689
+ * Column offset (0-11)
1690
+ * Pushes column to the right using margin-inline-start
1691
+ * Maps to .col-offset-{offset} utility class
1692
+ * @default undefined
1693
+ */
1694
+ offset?: ColumnOffset;
1695
+ /**
1696
+ * Column order
1697
+ * Controls visual order using flexbox order property
1698
+ * Maps to .col-order-{order} utility class
1699
+ * @default undefined
1700
+ */
1701
+ order?: ColumnOrder;
1702
+ /**
1703
+ * Auto-width column
1704
+ * When true, uses .col-auto (content-based width)
1705
+ * Takes precedence over span prop
1706
+ * @default false
1707
+ */
1708
+ auto?: boolean;
1709
+ /**
1710
+ * Element type to render
1711
+ * @default "div"
1712
+ */
1713
+ as?: ColElement;
1714
+ /**
1715
+ * Additional CSS classes
1716
+ */
1717
+ className?: string;
1718
+ /**
1719
+ * Child elements
1720
+ */
1721
+ children?: React.ReactNode;
1722
+ }
1723
+
1724
+ /**
1725
+ * Col - A column component for 12-column layouts.
1726
+ *
1727
+ * Col provides a type-safe React wrapper around column utility classes,
1728
+ * allowing developers to create responsive columns with span, offset, order,
1729
+ * and auto-width options. Unlike Row, Col has no base class - it's pure
1730
+ * utility class composition.
1731
+ *
1732
+ * ## Key Features
1733
+ * - **No base class**: Pure utility class mapping (follows Grid.Item pattern)
1734
+ * - **Span control**: 1-12 column widths via span prop
1735
+ * - **Offset positioning**: Push columns right with offset prop
1736
+ * - **Visual reordering**: Change order with order prop
1737
+ * - **Auto-width**: Content-based width with auto prop
1738
+ * - **Polymorphic**: Render as any semantic HTML element
1739
+ * - **Type-Safe**: Full TypeScript support with literal types
1740
+ *
1741
+ * ## Use Cases
1742
+ * - Responsive column layouts
1743
+ * - Grid-based designs
1744
+ * - Content positioning
1745
+ * - Visual reordering
1746
+ *
1747
+ * @example
1748
+ * // Basic 50% column
1749
+ * <Col span={6}>Half width column</Col>
1750
+ *
1751
+ * @example
1752
+ * // Centered column with offset
1753
+ * <Col span={6} offset={3}>Centered column</Col>
1754
+ *
1755
+ * @example
1756
+ * // Auto-width column
1757
+ * <Col auto>Content-based width</Col>
1758
+ *
1759
+ * @example
1760
+ * // Reordered column
1761
+ * <Col span={6} order="first">Appears first visually</Col>
1762
+ *
1763
+ * @example
1764
+ * // Semantic HTML
1765
+ * <Row as="ul">
1766
+ * <Col as="li" span={4}>List item</Col>
1767
+ * </Row>
1768
+ *
1769
+ * @see {@link ColProps} for complete props documentation
1770
+ */
1771
+ declare const Col: React$1.ForwardRefExoticComponent<ColProps & React$1.RefAttributes<HTMLElement>>;
1772
+
1499
1773
  /**
1500
1774
  * Type definitions for Flex container components
1501
1775
  * Supports responsive flexbox layouts with CSS custom properties
@@ -2221,4 +2495,4 @@ type FPComponent = {
2221
2495
  */
2222
2496
  declare const FP: FPComponent;
2223
2497
 
2224
- export { Alert, AlertProps, Article, Aside, Badge, BadgeProps, Box, BoxProps, Caption, Cluster, ClusterProps, ComponentProps$1 as ComponentProps, Details, FP, Flex, FlexAlign, FlexAlignContent, FlexAlignSelf, FlexContainerElement, FlexDirection, FlexGap, FlexItemElement, FlexItemProps, FlexJustify, FlexProps, FlexSpacerProps, FlexVariant, FlexWrap, Footer, GridWithItem as Grid, GridItem, GridItemProps, GridProps, Header, Img, ImgProps, Landmarks, Main, ResponsiveFlexProps, Section, Stack, StackProps, Table, Tag, TagProps, TagVariant, Tbody, Td, TextToSpeech, Thead, Tr, UI };
2498
+ export { Alert, AlertProps, Article, Aside, Badge, BadgeProps, Box, BoxProps, Caption, Cluster, ClusterProps, Col, ColProps, ComponentProps$1 as ComponentProps, Details, FP, Flex, FlexAlign, FlexAlignContent, FlexAlignSelf, FlexContainerElement, FlexDirection, FlexGap, FlexItemElement, FlexItemProps, FlexJustify, FlexProps, FlexSpacerProps, FlexVariant, FlexWrap, Footer, GridWithItem as Grid, GridItem, GridItemProps, GridProps, Header, Img, ImgProps, Landmarks, Main, ResponsiveFlexProps, Row, RowProps, Section, Stack, StackProps, Table, Tag, TagProps, TagVariant, Tbody, Td, TextToSpeech, Thead, Tr, UI };