@pine-ds/core 3.5.0 → 3.5.2

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 (170) hide show
  1. package/components/pds-box2.js +34 -4
  2. package/components/pds-box2.js.map +1 -1
  3. package/components/pds-row.js +8 -2
  4. package/components/pds-row.js.map +1 -1
  5. package/components/pds-table-body.js +1 -1
  6. package/components/pds-table-body.js.map +1 -1
  7. package/components/pds-table-cell2.js +2 -2
  8. package/components/pds-table-cell2.js.map +1 -1
  9. package/components/pds-table-head-cell2.js +2 -2
  10. package/components/pds-table-head-cell2.js.map +1 -1
  11. package/components/pds-table-head.js +1 -1
  12. package/components/pds-table-head.js.map +1 -1
  13. package/components/pds-table-row.js +1 -1
  14. package/components/pds-table-row.js.map +1 -1
  15. package/components/pds-table.js +2 -2
  16. package/components/pds-table.js.map +1 -1
  17. package/dist/cjs/loader.cjs.js +1 -1
  18. package/dist/cjs/pds-box.cjs.entry.js +17 -2
  19. package/dist/cjs/pds-box.cjs.entry.js.map +1 -1
  20. package/dist/cjs/pds-box.entry.cjs.js.map +1 -1
  21. package/dist/cjs/pds-row.cjs.entry.js +6 -2
  22. package/dist/cjs/pds-row.cjs.entry.js.map +1 -1
  23. package/dist/cjs/pds-row.entry.cjs.js.map +1 -1
  24. package/dist/cjs/pds-table-body.cjs.entry.js +1 -1
  25. package/dist/cjs/pds-table-body.cjs.entry.js.map +1 -1
  26. package/dist/cjs/pds-table-body.entry.cjs.js.map +1 -1
  27. package/dist/cjs/pds-table-cell.cjs.entry.js +2 -2
  28. package/dist/cjs/pds-table-cell.cjs.entry.js.map +1 -1
  29. package/dist/cjs/pds-table-cell.entry.cjs.js.map +1 -1
  30. package/dist/cjs/pds-table-head-cell.cjs.entry.js +2 -2
  31. package/dist/cjs/pds-table-head-cell.cjs.entry.js.map +1 -1
  32. package/dist/cjs/pds-table-head-cell.entry.cjs.js.map +1 -1
  33. package/dist/cjs/pds-table-head.cjs.entry.js +1 -1
  34. package/dist/cjs/pds-table-head.cjs.entry.js.map +1 -1
  35. package/dist/cjs/pds-table-head.entry.cjs.js.map +1 -1
  36. package/dist/cjs/pds-table-row.cjs.entry.js +1 -1
  37. package/dist/cjs/pds-table-row.cjs.entry.js.map +1 -1
  38. package/dist/cjs/pds-table-row.entry.cjs.js.map +1 -1
  39. package/dist/cjs/pds-table.cjs.entry.js +2 -2
  40. package/dist/cjs/pds-table.cjs.entry.js.map +1 -1
  41. package/dist/cjs/pds-table.entry.cjs.js.map +1 -1
  42. package/dist/cjs/pine-core.cjs.js +1 -1
  43. package/dist/collection/components/pds-box/pds-box.css +282 -3
  44. package/dist/collection/components/pds-box/pds-box.js +337 -7
  45. package/dist/collection/components/pds-box/pds-box.js.map +1 -1
  46. package/dist/collection/components/pds-row/pds-row.js +56 -2
  47. package/dist/collection/components/pds-row/pds-row.js.map +1 -1
  48. package/dist/collection/components/pds-table/pds-table-body/pds-table-body.js +1 -1
  49. package/dist/collection/components/pds-table/pds-table-body/pds-table-body.js.map +1 -1
  50. package/dist/collection/components/pds-table/pds-table-cell/pds-table-cell.js +2 -2
  51. package/dist/collection/components/pds-table/pds-table-cell/pds-table-cell.js.map +1 -1
  52. package/dist/collection/components/pds-table/pds-table-head/pds-table-head.js +1 -1
  53. package/dist/collection/components/pds-table/pds-table-head/pds-table-head.js.map +1 -1
  54. package/dist/collection/components/pds-table/pds-table-head-cell/pds-table-head-cell.js +2 -2
  55. package/dist/collection/components/pds-table/pds-table-head-cell/pds-table-head-cell.js.map +1 -1
  56. package/dist/collection/components/pds-table/pds-table-row/pds-table-row.js +1 -1
  57. package/dist/collection/components/pds-table/pds-table-row/pds-table-row.js.map +1 -1
  58. package/dist/collection/components/pds-table/pds-table.js +2 -2
  59. package/dist/collection/components/pds-table/pds-table.js.map +1 -1
  60. package/dist/docs.json +914 -58
  61. package/dist/esm/loader.js +1 -1
  62. package/dist/esm/pds-box.entry.js +17 -2
  63. package/dist/esm/pds-box.entry.js.map +1 -1
  64. package/dist/esm/pds-row.entry.js +6 -2
  65. package/dist/esm/pds-row.entry.js.map +1 -1
  66. package/dist/esm/pds-table-body.entry.js +1 -1
  67. package/dist/esm/pds-table-body.entry.js.map +1 -1
  68. package/dist/esm/pds-table-cell.entry.js +2 -2
  69. package/dist/esm/pds-table-cell.entry.js.map +1 -1
  70. package/dist/esm/pds-table-head-cell.entry.js +2 -2
  71. package/dist/esm/pds-table-head-cell.entry.js.map +1 -1
  72. package/dist/esm/pds-table-head.entry.js +1 -1
  73. package/dist/esm/pds-table-head.entry.js.map +1 -1
  74. package/dist/esm/pds-table-row.entry.js +1 -1
  75. package/dist/esm/pds-table-row.entry.js.map +1 -1
  76. package/dist/esm/pds-table.entry.js +2 -2
  77. package/dist/esm/pds-table.entry.js.map +1 -1
  78. package/dist/esm/pine-core.js +1 -1
  79. package/dist/esm-es5/loader.js +1 -1
  80. package/dist/esm-es5/pds-box.entry.js +1 -1
  81. package/dist/esm-es5/pds-box.entry.js.map +1 -1
  82. package/dist/esm-es5/pds-row.entry.js +1 -1
  83. package/dist/esm-es5/pds-row.entry.js.map +1 -1
  84. package/dist/esm-es5/pds-table-body.entry.js +1 -1
  85. package/dist/esm-es5/pds-table-body.entry.js.map +1 -1
  86. package/dist/esm-es5/pds-table-cell.entry.js +1 -1
  87. package/dist/esm-es5/pds-table-cell.entry.js.map +1 -1
  88. package/dist/esm-es5/pds-table-head-cell.entry.js +1 -1
  89. package/dist/esm-es5/pds-table-head-cell.entry.js.map +1 -1
  90. package/dist/esm-es5/pds-table-head.entry.js +1 -1
  91. package/dist/esm-es5/pds-table-head.entry.js.map +1 -1
  92. package/dist/esm-es5/pds-table-row.entry.js +1 -1
  93. package/dist/esm-es5/pds-table-row.entry.js.map +1 -1
  94. package/dist/esm-es5/pds-table.entry.js +1 -1
  95. package/dist/esm-es5/pds-table.entry.js.map +1 -1
  96. package/dist/esm-es5/pine-core.js +1 -1
  97. package/dist/pine-core/p-007b61e9.system.entry.js +2 -0
  98. package/dist/pine-core/p-007b61e9.system.entry.js.map +1 -0
  99. package/dist/pine-core/{p-Dx9XkHH8.system.js.map → p-0TIvNV5c.system.js.map} +1 -1
  100. package/dist/pine-core/{p-28f7c0d8.system.entry.js → p-0de9f8da.system.entry.js} +2 -2
  101. package/dist/pine-core/{p-28f7c0d8.system.entry.js.map → p-0de9f8da.system.entry.js.map} +1 -1
  102. package/dist/pine-core/{p-fc457c65.entry.js → p-44087d1c.entry.js} +2 -2
  103. package/dist/pine-core/{p-fc457c65.entry.js.map → p-44087d1c.entry.js.map} +1 -1
  104. package/dist/pine-core/{p-ab82338f.entry.js → p-464dd476.entry.js} +2 -2
  105. package/dist/pine-core/{p-ab82338f.entry.js.map → p-464dd476.entry.js.map} +1 -1
  106. package/dist/pine-core/{p-2e491c3d.entry.js → p-50c9e865.entry.js} +2 -2
  107. package/dist/pine-core/p-50c9e865.entry.js.map +1 -0
  108. package/dist/pine-core/p-54061a33.entry.js +2 -0
  109. package/dist/pine-core/p-54061a33.entry.js.map +1 -0
  110. package/dist/pine-core/p-7004d1ea.system.entry.js +2 -0
  111. package/dist/pine-core/p-7004d1ea.system.entry.js.map +1 -0
  112. package/dist/pine-core/{p-a472af99.system.entry.js → p-73158adf.system.entry.js} +2 -2
  113. package/dist/pine-core/{p-a472af99.system.entry.js.map → p-73158adf.system.entry.js.map} +1 -1
  114. package/dist/pine-core/{p-db1956e5.entry.js → p-7cb4f0de.entry.js} +2 -2
  115. package/dist/pine-core/p-7cb4f0de.entry.js.map +1 -0
  116. package/dist/pine-core/{p-3ccb6b0c.system.entry.js → p-8999b63d.system.entry.js} +2 -2
  117. package/dist/pine-core/p-8999b63d.system.entry.js.map +1 -0
  118. package/dist/pine-core/{p-DBw5MRwj.system.js.map → p-BRygGju8.system.js.map} +1 -1
  119. package/dist/pine-core/p-Bv5PJxD8.system.js.map +1 -0
  120. package/dist/pine-core/{p-DZggSEPe.system.js.map → p-CE6b_LzB.system.js.map} +1 -1
  121. package/dist/pine-core/{p-B6Znd6C5.system.js.map → p-CpdNWpfd.system.js.map} +1 -1
  122. package/dist/pine-core/{p-CYiuzbNk.system.js.map → p-DHmJZxQk.system.js.map} +1 -1
  123. package/dist/pine-core/p-De9tROL-.system.js +1 -1
  124. package/dist/pine-core/p-EYhpJx2s.system.js.map +1 -0
  125. package/dist/pine-core/{p-rBOkvo-C.system.js.map → p-IhWWc2L_.system.js.map} +1 -1
  126. package/dist/pine-core/{p-174506b9.entry.js → p-ac37cf0d.entry.js} +2 -2
  127. package/dist/pine-core/p-ac37cf0d.entry.js.map +1 -0
  128. package/dist/pine-core/{p-5aed29fe.system.entry.js → p-b2b1b7a9.system.entry.js} +2 -2
  129. package/dist/pine-core/p-b2b1b7a9.system.entry.js.map +1 -0
  130. package/dist/pine-core/p-be939cb0.entry.js +2 -0
  131. package/dist/pine-core/p-be939cb0.entry.js.map +1 -0
  132. package/dist/pine-core/{p-3abc0f49.system.entry.js → p-da367b5e.system.entry.js} +2 -2
  133. package/dist/pine-core/p-da367b5e.system.entry.js.map +1 -0
  134. package/dist/pine-core/{p-79e2782b.entry.js → p-ecb9edf8.entry.js} +2 -2
  135. package/dist/pine-core/p-ecb9edf8.entry.js.map +1 -0
  136. package/dist/pine-core/{p-7d2c43df.system.entry.js → p-fd091234.system.entry.js} +2 -2
  137. package/dist/pine-core/p-fd091234.system.entry.js.map +1 -0
  138. package/dist/pine-core/pds-box.entry.esm.js.map +1 -1
  139. package/dist/pine-core/pds-row.entry.esm.js.map +1 -1
  140. package/dist/pine-core/pds-table-body.entry.esm.js.map +1 -1
  141. package/dist/pine-core/pds-table-cell.entry.esm.js.map +1 -1
  142. package/dist/pine-core/pds-table-head-cell.entry.esm.js.map +1 -1
  143. package/dist/pine-core/pds-table-head.entry.esm.js.map +1 -1
  144. package/dist/pine-core/pds-table-row.entry.esm.js.map +1 -1
  145. package/dist/pine-core/pds-table.entry.esm.js.map +1 -1
  146. package/dist/pine-core/pine-core.esm.js +1 -1
  147. package/dist/types/components/pds-box/pds-box.d.ts +78 -3
  148. package/dist/types/components/pds-row/pds-row.d.ts +8 -0
  149. package/dist/types/components.d.ts +162 -6
  150. package/hydrate/index.js +52 -16
  151. package/hydrate/index.mjs +52 -16
  152. package/package.json +2 -2
  153. package/dist/pine-core/p-0d9e28a2.entry.js +0 -2
  154. package/dist/pine-core/p-0d9e28a2.entry.js.map +0 -1
  155. package/dist/pine-core/p-174506b9.entry.js.map +0 -1
  156. package/dist/pine-core/p-2e491c3d.entry.js.map +0 -1
  157. package/dist/pine-core/p-3abc0f49.system.entry.js.map +0 -1
  158. package/dist/pine-core/p-3ccb6b0c.system.entry.js.map +0 -1
  159. package/dist/pine-core/p-487859a1.system.entry.js +0 -2
  160. package/dist/pine-core/p-487859a1.system.entry.js.map +0 -1
  161. package/dist/pine-core/p-48b658fc.system.entry.js +0 -2
  162. package/dist/pine-core/p-48b658fc.system.entry.js.map +0 -1
  163. package/dist/pine-core/p-5aed29fe.system.entry.js.map +0 -1
  164. package/dist/pine-core/p-5c0803c3.entry.js +0 -2
  165. package/dist/pine-core/p-5c0803c3.entry.js.map +0 -1
  166. package/dist/pine-core/p-79e2782b.entry.js.map +0 -1
  167. package/dist/pine-core/p-7d2c43df.system.entry.js.map +0 -1
  168. package/dist/pine-core/p-BOHu_LEs.system.js.map +0 -1
  169. package/dist/pine-core/p-DAwJ242E.system.js.map +0 -1
  170. package/dist/pine-core/p-db1956e5.entry.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"pds-table.entry.esm.js","sources":["src/components/pds-table/pds-table.scss?tag=pds-table&encapsulation=shadow","src/components/pds-table/pds-table.tsx"],"sourcesContent":[":host {\n --color-background-default: var(--pine-color-white);\n\n background: var(--color-background-default);\n border-collapse: separate;\n border-radius: inherit;\n box-sizing: border-box;\n display: table;\n width: 100%;\n}\n\n:host(:focus-visible) {\n outline: var(--pine-outline-focus);\n}\n\n/*\n * Responsive Table Architecture\n *\n * When responsive=true, the table uses a nested structure to provide horizontal scrolling\n * while maintaining proper width behavior and scroll shadows:\n *\n * Host (.pds-table-responsive-host)\n * ├── Shadow Left (positioned fixed to left edge)\n * ├── Shadow Right (positioned fixed to right edge)\n * └── Container (.pds-table-responsive-container)\n * └── Wrapper (.pds-table-responsive-wrapper)\n * └── Table (.pds-table)\n *\n * - Host: Constrains everything to parent width, clips shadows to border-radius\n * - Shadows: Stay fixed during scroll, provide visual scroll indicators\n * - Container: Handles horizontal scrolling (overflow-x: auto)\n * - Table: Expands to full width or scrolls based on content\n */\n:host(.pds-table-responsive-host) {\n border-radius: inherit;\n box-sizing: border-box !important;\n display: block !important;\n max-width: 100% !important;\n overflow: hidden !important;\n position: relative !important;\n width: 100% !important;\n}\n\n.pds-table-responsive-container {\n border-radius: inherit;\n box-sizing: border-box !important;\n overflow-x: auto !important;\n overflow-y: visible !important;\n position: relative !important;\n width: 100% !important;\n}\n\n.pds-table-responsive-wrapper {\n border-radius: inherit;\n box-sizing: border-box !important;\n display: block !important;\n position: relative !important;\n width: 100% !important;\n}\n\n.pds-table-responsive-wrapper .pds-table {\n display: table !important;\n min-width: max-content !important;\n table-layout: auto !important;\n white-space: nowrap !important;\n width: 100% !important;\n}\n\n/* Shadows positioned relative to host (non-scrolling), covering container edges */\n.scroll-shadow-left,\n.scroll-shadow-right {\n height: 100%;\n opacity: 0;\n pointer-events: none;\n position: absolute;\n top: 0;\n transition: opacity 0.1s ease;\n width: 4px;\n z-index: 10;\n}\n\n.scroll-shadow-left {\n background: linear-gradient(to right, rgba(0, 0, 0, 0.1), transparent);\n border-bottom-left-radius: inherit;\n border-top-left-radius: inherit;\n left: 0;\n}\n\n.scroll-shadow-right {\n background: linear-gradient(to left, rgba(0, 0, 0, 0.1), transparent);\n border-bottom-right-radius: inherit;\n border-top-right-radius: inherit;\n right: 0;\n}\n","import { Component, Element, Event, EventEmitter, Host, h, Prop, State, Listen } from '@stencil/core';\n\n@Component({\n tag: 'pds-table',\n styleUrls: ['pds-table.scss'],\n shadow: true,\n})\nexport class PdsTable {\n @Element() el: HTMLPdsTableElement;\n private scrollContainer: HTMLElement | null = null;\n private _responsiveHandleScroll: (() => void) | null = null;\n private _responsiveHandleResize: (() => void) | null = null;\n private _responsiveResizeObserver: ResizeObserver | null = null;\n private _teardownResponsive: (() => void) | null = null;\n\n /**\n * Determines if the table displays with reduced table cell padding.\n */\n @Prop() compact: boolean;\n\n /**\n * A unique identifier used for the table `id` attribute.\n */\n @Prop() componentId!: string;\n\n /**\n * Enables the table to be responsive by horizontally scrolling on smaller screens.\n */\n @Prop() responsive: boolean;\n\n /**\n * Determines if the should display a fixed first column.\n */\n @Prop() fixedColumn: boolean;\n\n /**\n * Determines if the table displays checkboxes for selectable rows.\n */\n @Prop() selectable: boolean;\n\n /**\n * The name of the column being sorted.\n * @defaultValue null\n */\n @State() sortingColumn: string | null = null;\n\n /**\n * The direction of sorting.\n * @defaultValue 'asc'\n */\n @State() sortingDirection: 'asc' | 'desc' = 'asc';\n\n\n /**\n * Event that is emitted when the checkbox is clicked, carrying the rowIndex and selected value.\n */\n @Event() pdsTableSelect: EventEmitter<{ rowIndex: number; isSelected: boolean }>;\n\n /**\n * Event that is emitted when the select all checkbox is clicked, carrying the selected value.\n */\n @Event() pdsTableSelectAll: EventEmitter<{ isSelected: boolean }>;\n\n componentWillLoad() {\n this.sortingColumn = null;\n }\n\n componentDidLoad() {\n if (this.responsive) {\n this.setupResponsiveScrolling();\n }\n }\n\n disconnectedCallback() {\n if (this._teardownResponsive) {\n this._teardownResponsive();\n this._teardownResponsive = null;\n }\n }\n\n /**\n * Sets up responsive scrolling behavior for the table.\n *\n * This method creates a horizontal scrolling system where:\n * - The table content can scroll horizontally when it exceeds the container width\n * - Scroll shadows appear at the left/right edges to indicate scrollable content\n * - Fixed columns remain sticky during horizontal scrolling\n * - Shadows respect border-radius and don't appear when there's nothing to scroll\n *\n * Architecture:\n * - Host element: Contains everything, respects parent constraints\n * - Container element: Handles horizontal scrolling (overflow-x: auto)\n * - Shadow elements: Positioned fixed relative to host, show scroll indicators\n *\n * @private\n */\n private setupResponsiveScrolling() {\n const container = this.el.shadowRoot?.querySelector('.pds-table-responsive-container') as HTMLElement;\n const leftShadow = this.el.shadowRoot?.querySelector('.scroll-shadow-left') as HTMLElement;\n const rightShadow = this.el.shadowRoot?.querySelector('.scroll-shadow-right') as HTMLElement;\n\n if (!container || !leftShadow || !rightShadow) return;\n\n // Store container reference for cleanup\n this.scrollContainer = container;\n\n /**\n * Updates the visibility of scroll shadows based on current scroll position.\n * Left shadow: Shows when scrolled away from start (hidden if fixedColumn is enabled)\n * Right shadow: Shows when there's content to scroll and not at the end\n */\n this._responsiveHandleScroll = () => {\n if (!this.scrollContainer) return;\n\n const scrollLeft = this.scrollContainer.scrollLeft;\n const maxScrollLeft = this.scrollContainer.scrollWidth - this.scrollContainer.clientWidth;\n\n // Show left shadow when scrolled away from start, but not if there's a fixed column\n leftShadow.style.opacity = (scrollLeft > 0 && !this.fixedColumn) ? '1' : '0';\n\n // Show right shadow only if there's content to scroll AND not at end\n rightShadow.style.opacity = (maxScrollLeft > 0 && scrollLeft < maxScrollLeft - 1) ? '1' : '0';\n };\n\n // Add scroll event listener to container element\n this.scrollContainer.addEventListener('scroll', this._responsiveHandleScroll, { passive: true });\n\n // Add resize observer to update shadows when container size changes\n if (typeof window !== 'undefined' && window.ResizeObserver) {\n try {\n this._responsiveResizeObserver = new ResizeObserver(() => {\n this._responsiveHandleScroll?.();\n });\n this._responsiveResizeObserver.observe(this.scrollContainer);\n } catch (error) {\n // ResizeObserver not available in some environments (e.g., tests)\n // Fall back to window resize listener only\n }\n }\n\n // Listen for window resize as fallback\n if (typeof window !== 'undefined') {\n this._responsiveHandleResize = () => {\n this._responsiveHandleScroll?.();\n };\n window.addEventListener('resize', this._responsiveHandleResize);\n }\n\n // Create teardown function for cleanup\n this._teardownResponsive = () => {\n if (this.scrollContainer && this._responsiveHandleScroll) {\n this.scrollContainer.removeEventListener('scroll', this._responsiveHandleScroll);\n this.scrollContainer = null;\n }\n\n if (this._responsiveResizeObserver) {\n this._responsiveResizeObserver.disconnect();\n this._responsiveResizeObserver = null;\n }\n\n if (typeof window !== 'undefined' && this._responsiveHandleResize) {\n window.removeEventListener('resize', this._responsiveHandleResize);\n this._responsiveHandleResize = null;\n }\n\n this._responsiveHandleScroll = null;\n };\n\n // Initial check after setup\n this._responsiveHandleScroll();\n }\n\n\n private classNames() {\n const classNames = ['pds-table'];\n\n if (this.compact) {\n classNames.push('is-compact');\n }\n\n if (this.responsive) {\n classNames.push('is-responsive');\n }\n\n return classNames.join(' ');\n }\n\n private sortTable(column: string, direction: 'asc' | 'desc') {\n const tableBody = this.el.querySelector('pds-table-body');\n\n // Get the rows in the table body\n const tableRows = Array.from(tableBody.querySelectorAll('pds-table-row'));\n\n // Find the column index based on the column name\n const columnHeaderCells: HTMLElement[] = Array.from(\n this.el.querySelectorAll('pds-table-head-cell[sortable]')\n );\n\n const columnHeaderCell = columnHeaderCells.find(\n (cell) => cell.innerText.trim() === column\n );\n\n if (!columnHeaderCell) {\n console.warn(`Column \"${column}\" not found.`);\n return;\n }\n\n const columnIndex = columnHeaderCells.indexOf(columnHeaderCell);\n\n // Sort the rows based on the content of the specified column\n tableRows.sort((a, b) => {\n const valueA = a.querySelector(`pds-table-cell:nth-child(${columnIndex + 1})`).textContent.trim();\n const valueB = b.querySelector(`pds-table-cell:nth-child(${columnIndex + 1})`).textContent.trim();\n\n if (direction === 'asc') {\n return valueA.localeCompare(valueB, undefined, { sensitivity: 'base' });\n } else {\n return valueB.localeCompare(valueA, undefined, { sensitivity: 'base' });\n }\n });\n\n // Clear and append the sorted rows back to the table body\n tableBody.innerHTML = '';\n tableRows.forEach((row) => {\n tableBody.appendChild(row);\n });\n }\n\n @Listen('pdsTableSort')\n handleTableSort(event: CustomEvent<{ column: string; direction: 'asc' | 'desc' }>) {\n const { direction } = event.detail;\n this.sortTable(event.detail.column, direction);\n this.sortingColumn = event.detail.column;\n this.sortingDirection = direction;\n }\n\n @Listen('pdsTableSelectAll')\n handleTableSelectAll(event: CustomEvent<{ isSelected: boolean }>) {\n if (event.defaultPrevented) return;\n\n const pdsTableBody = this.el.querySelector('pds-table-body');\n const tableRows = Array.from(pdsTableBody.querySelectorAll('pds-table-row'));\n\n tableRows.forEach((row) => {\n row.isSelected = event.detail.isSelected;\n });\n }\n\n @Listen('pdsTableRowSelected')\n async handleTableSelect(event: CustomEvent<{ rowIndex: number; isSelected: boolean }>) {\n if (event.defaultPrevented) return;\n\n const allTableRows = this.el.querySelectorAll('pds-table-row');\n const allSelectedRows = Array.from(allTableRows).every((row) => row.isSelected);\n const noneSelectedRows = Array.from(allTableRows).every((row) => !row.isSelected);\n const pdsTableHead = this.el.querySelector('pds-table-head');\n if (!pdsTableHead) return;\n\n const headerCheckbox = pdsTableHead.shadowRoot.querySelector('pds-checkbox');\n headerCheckbox.checked = allSelectedRows;\n headerCheckbox.indeterminate = !allSelectedRows && !noneSelectedRows;\n }\n\n render() {\n if (this.responsive) {\n return (\n <Host\n class=\"pds-table is-responsive pds-table-responsive-host\"\n id={this.componentId}\n role=\"grid\"\n selectable={this.selectable}\n tabindex=\"0\"\n >\n <div class=\"scroll-shadow-left\"></div>\n <div class=\"scroll-shadow-right\"></div>\n <div class=\"pds-table-responsive-container\">\n <div class=\"pds-table-responsive-wrapper\">\n <div class={this.classNames()}>\n <slot></slot>\n </div>\n </div>\n </div>\n </Host>\n );\n }\n\n return (\n <Host\n class={this.classNames()}\n id={this.componentId}\n role=\"grid\"\n selectable={this.selectable}\n tabindex=\"0\"\n >\n <slot></slot>\n </Host>\n );\n }\n}\n"],"names":[],"mappings":";;AAAA,MAAM,WAAW,GAAG,07DAA07D;;MCOj8D,QAAQ,GAAA,MAAA;AALrB,IAAA,WAAA,CAAA,OAAA,EAAA;;;;AAOU,QAAA,IAAe,CAAA,eAAA,GAAuB,IAAI;AAC1C,QAAA,IAAuB,CAAA,uBAAA,GAAwB,IAAI;AACnD,QAAA,IAAuB,CAAA,uBA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;AAC5D,QAAA,IAAI,CAAC,YAAY;YAAE;QAEnB,MAAM,cAAc,GAAG,YAAY,CAAC,UAAU,CAAC,aAAa,CAAC,cAAc,CAAC;AAC5E,QAAA,cAAc,CAAC,OAAO,GAAG,eAAe;QACxC,cAAc,CAAC,aAAa,GAAG,CAAC,eAAe,IAAI,CAAC,gBAAgB;;IAGtE,MAAM,GAAA;AACJ,QAAA,IAAI,IAAI,CAAC,UAAU,EAAE;YACnB,QACE,CAAC,CAAA,IAAI,EACH,EAAA,KAAK,EAAC,mDAAmD,EACzD,EAAE,EAAE,IAAI,CAAC,WAAW,EACpB,IAAI,EAAC,MAAM,EACX,UAAU,EAAE,IAAI,CAAC,UAAU,EAC3B,QAAQ,EAAC,GAAG,EAAA,EAEZ,CAAK,CAAA,KAAA,EAAA,EAAA,KAAK,EAAC,oBAAoB,EAAO,CAAA,EACtC,CAAK,CAAA,KAAA,EAAA,EAAA,KAAK,EAAC,qBAAqB,EAAO,CAAA,EACvC,CAAK,CAAA,KAAA,EAAA,EAAA,KAAK,EAAC,gCAAgC,EAAA,EACzC,CAAK,CAAA,KAAA,EAAA,EAAA,KAAK,EAAC,8BAA8B,EAAA,EACvC,CAAA,CAAA,KAAA,EAAA,EAAK,KAAK,EAAE,IAAI,CAAC,UAAU,EAAE,EAAA,EAC3B,CAAA,CAAA,MAAA,EAAA,IAAA,CAAa,CACT,CACF,CACF,CACD;;AAIX,QAAA,QACE,CAAA,CAAC,IAAI,EAAA,EACH,KAAK,EAAE,IAAI,CAAC,UAAU,EAAE,EACxB,EAAE,EAAE,IAAI,CAAC,WAAW,EACpB,IAAI,EAAC,MAAM,EACX,UAAU,EAAE,IAAI,CAAC,UAAU,EAC3B,QAAQ,EAAC,GAAG,EAAA,EAEZ,CAAa,CAAA,MAAA,EAAA,IAAA,CAAA,CACR;;;;;;;;"}
1
+ {"version":3,"file":"pds-table.entry.esm.js","sources":["src/components/pds-table/pds-table.scss?tag=pds-table&encapsulation=shadow","src/components/pds-table/pds-table.tsx"],"sourcesContent":[":host {\n --color-background-default: var(--pine-color-white);\n\n background: var(--color-background-default);\n border-collapse: separate;\n border-radius: inherit;\n box-sizing: border-box;\n display: table;\n width: 100%;\n}\n\n:host(:focus-visible) {\n outline: var(--pine-outline-focus);\n}\n\n/*\n * Responsive Table Architecture\n *\n * When responsive=true, the table uses a nested structure to provide horizontal scrolling\n * while maintaining proper width behavior and scroll shadows:\n *\n * Host (.pds-table-responsive-host)\n * ├── Shadow Left (positioned fixed to left edge)\n * ├── Shadow Right (positioned fixed to right edge)\n * └── Container (.pds-table-responsive-container)\n * └── Wrapper (.pds-table-responsive-wrapper)\n * └── Table (.pds-table)\n *\n * - Host: Constrains everything to parent width, clips shadows to border-radius\n * - Shadows: Stay fixed during scroll, provide visual scroll indicators\n * - Container: Handles horizontal scrolling (overflow-x: auto)\n * - Table: Expands to full width or scrolls based on content\n */\n:host(.pds-table-responsive-host) {\n border-radius: inherit;\n box-sizing: border-box !important;\n display: block !important;\n max-width: 100% !important;\n overflow: hidden !important;\n position: relative !important;\n width: 100% !important;\n}\n\n.pds-table-responsive-container {\n border-radius: inherit;\n box-sizing: border-box !important;\n overflow-x: auto !important;\n overflow-y: visible !important;\n position: relative !important;\n width: 100% !important;\n}\n\n.pds-table-responsive-wrapper {\n border-radius: inherit;\n box-sizing: border-box !important;\n display: block !important;\n position: relative !important;\n width: 100% !important;\n}\n\n.pds-table-responsive-wrapper .pds-table {\n display: table !important;\n min-width: max-content !important;\n table-layout: auto !important;\n white-space: nowrap !important;\n width: 100% !important;\n}\n\n/* Shadows positioned relative to host (non-scrolling), covering container edges */\n.scroll-shadow-left,\n.scroll-shadow-right {\n height: 100%;\n opacity: 0;\n pointer-events: none;\n position: absolute;\n top: 0;\n transition: opacity 0.1s ease;\n width: 4px;\n z-index: 10;\n}\n\n.scroll-shadow-left {\n background: linear-gradient(to right, rgba(0, 0, 0, 0.1), transparent);\n border-bottom-left-radius: inherit;\n border-top-left-radius: inherit;\n left: 0;\n}\n\n.scroll-shadow-right {\n background: linear-gradient(to left, rgba(0, 0, 0, 0.1), transparent);\n border-bottom-right-radius: inherit;\n border-top-right-radius: inherit;\n right: 0;\n}\n","import { Component, Element, Event, EventEmitter, Host, h, Prop, State, Listen } from '@stencil/core';\n\n@Component({\n tag: 'pds-table',\n styleUrls: ['pds-table.scss'],\n shadow: true,\n})\nexport class PdsTable {\n @Element() el: HTMLPdsTableElement;\n private scrollContainer: HTMLElement | null = null;\n private _responsiveHandleScroll: (() => void) | null = null;\n private _responsiveHandleResize: (() => void) | null = null;\n private _responsiveResizeObserver: ResizeObserver | null = null;\n private _teardownResponsive: (() => void) | null = null;\n\n /**\n * Determines if the table displays with reduced table cell padding.\n */\n @Prop() compact: boolean;\n\n /**\n * A unique identifier used for the table `id` attribute.\n */\n @Prop() componentId!: string;\n\n /**\n * Enables the table to be responsive by horizontally scrolling on smaller screens.\n */\n @Prop() responsive: boolean;\n\n /**\n * Determines if the should display a fixed first column.\n */\n @Prop() fixedColumn: boolean;\n\n /**\n * Determines if the table displays checkboxes for selectable rows.\n */\n @Prop() selectable: boolean;\n\n /**\n * The name of the column being sorted.\n * @defaultValue null\n */\n @State() sortingColumn: string | null = null;\n\n /**\n * The direction of sorting.\n * @defaultValue 'asc'\n */\n @State() sortingDirection: 'asc' | 'desc' = 'asc';\n\n\n /**\n * Event that is emitted when the checkbox is clicked, carrying the rowIndex and selected value.\n */\n @Event() pdsTableSelect: EventEmitter<{ rowIndex: number; isSelected: boolean }>;\n\n /**\n * Event that is emitted when the select all checkbox is clicked, carrying the selected value.\n */\n @Event() pdsTableSelectAll: EventEmitter<{ isSelected: boolean }>;\n\n componentWillLoad() {\n this.sortingColumn = null;\n }\n\n componentDidLoad() {\n if (this.responsive) {\n this.setupResponsiveScrolling();\n }\n }\n\n disconnectedCallback() {\n if (this._teardownResponsive) {\n this._teardownResponsive();\n this._teardownResponsive = null;\n }\n }\n\n /**\n * Sets up responsive scrolling behavior for the table.\n *\n * This method creates a horizontal scrolling system where:\n * - The table content can scroll horizontally when it exceeds the container width\n * - Scroll shadows appear at the left/right edges to indicate scrollable content\n * - Fixed columns remain sticky during horizontal scrolling\n * - Shadows respect border-radius and don't appear when there's nothing to scroll\n *\n * Architecture:\n * - Host element: Contains everything, respects parent constraints\n * - Container element: Handles horizontal scrolling (overflow-x: auto)\n * - Shadow elements: Positioned fixed relative to host, show scroll indicators\n *\n * @private\n */\n private setupResponsiveScrolling() {\n const container = this.el.shadowRoot?.querySelector('.pds-table-responsive-container') as HTMLElement;\n const leftShadow = this.el.shadowRoot?.querySelector('.scroll-shadow-left') as HTMLElement;\n const rightShadow = this.el.shadowRoot?.querySelector('.scroll-shadow-right') as HTMLElement;\n\n if (!container || !leftShadow || !rightShadow) return;\n\n // Store container reference for cleanup\n this.scrollContainer = container;\n\n /**\n * Updates the visibility of scroll shadows based on current scroll position.\n * Left shadow: Shows when scrolled away from start (hidden if fixedColumn is enabled)\n * Right shadow: Shows when there's content to scroll and not at the end\n */\n this._responsiveHandleScroll = () => {\n if (!this.scrollContainer) return;\n\n const scrollLeft = this.scrollContainer.scrollLeft;\n const maxScrollLeft = this.scrollContainer.scrollWidth - this.scrollContainer.clientWidth;\n\n // Show left shadow when scrolled away from start, but not if there's a fixed column\n leftShadow.style.opacity = (scrollLeft > 0 && !this.fixedColumn) ? '1' : '0';\n\n // Show right shadow only if there's content to scroll AND not at end\n rightShadow.style.opacity = (maxScrollLeft > 0 && scrollLeft < maxScrollLeft - 1) ? '1' : '0';\n };\n\n // Add scroll event listener to container element\n this.scrollContainer.addEventListener('scroll', this._responsiveHandleScroll, { passive: true });\n\n // Add resize observer to update shadows when container size changes\n if (typeof window !== 'undefined' && window.ResizeObserver) {\n try {\n this._responsiveResizeObserver = new ResizeObserver(() => {\n this._responsiveHandleScroll?.();\n });\n this._responsiveResizeObserver.observe(this.scrollContainer);\n } catch (error) {\n // ResizeObserver not available in some environments (e.g., tests)\n // Fall back to window resize listener only\n }\n }\n\n // Listen for window resize as fallback\n if (typeof window !== 'undefined') {\n this._responsiveHandleResize = () => {\n this._responsiveHandleScroll?.();\n };\n window.addEventListener('resize', this._responsiveHandleResize);\n }\n\n // Create teardown function for cleanup\n this._teardownResponsive = () => {\n if (this.scrollContainer && this._responsiveHandleScroll) {\n this.scrollContainer.removeEventListener('scroll', this._responsiveHandleScroll);\n this.scrollContainer = null;\n }\n\n if (this._responsiveResizeObserver) {\n this._responsiveResizeObserver.disconnect();\n this._responsiveResizeObserver = null;\n }\n\n if (typeof window !== 'undefined' && this._responsiveHandleResize) {\n window.removeEventListener('resize', this._responsiveHandleResize);\n this._responsiveHandleResize = null;\n }\n\n this._responsiveHandleScroll = null;\n };\n\n // Initial check after setup\n this._responsiveHandleScroll();\n }\n\n\n private classNames() {\n const classNames = ['pds-table'];\n\n if (this.compact) {\n classNames.push('is-compact');\n }\n\n if (this.responsive) {\n classNames.push('is-responsive');\n }\n\n return classNames.join(' ');\n }\n\n private sortTable(column: string, direction: 'asc' | 'desc') {\n const tableBody = this.el.querySelector('pds-table-body');\n\n // Get the rows in the table body\n const tableRows = Array.from(tableBody.querySelectorAll('pds-table-row'));\n\n // Find the column index based on the column name\n const columnHeaderCells: HTMLElement[] = Array.from(\n this.el.querySelectorAll('pds-table-head-cell[sortable]')\n );\n\n const columnHeaderCell = columnHeaderCells.find(\n (cell) => cell.innerText.trim() === column\n );\n\n if (!columnHeaderCell) {\n console.warn(`Column \"${column}\" not found.`);\n return;\n }\n\n const columnIndex = columnHeaderCells.indexOf(columnHeaderCell);\n\n // Sort the rows based on the content of the specified column\n tableRows.sort((a, b) => {\n const valueA = a.querySelector(`pds-table-cell:nth-child(${columnIndex + 1})`).textContent.trim();\n const valueB = b.querySelector(`pds-table-cell:nth-child(${columnIndex + 1})`).textContent.trim();\n\n if (direction === 'asc') {\n return valueA.localeCompare(valueB, undefined, { sensitivity: 'base' });\n } else {\n return valueB.localeCompare(valueA, undefined, { sensitivity: 'base' });\n }\n });\n\n // Clear and append the sorted rows back to the table body\n tableBody.innerHTML = '';\n tableRows.forEach((row) => {\n tableBody.appendChild(row);\n });\n }\n\n @Listen('pdsTableSort')\n handleTableSort(event: CustomEvent<{ column: string; direction: 'asc' | 'desc' }>) {\n const { direction } = event.detail;\n this.sortTable(event.detail.column, direction);\n this.sortingColumn = event.detail.column;\n this.sortingDirection = direction;\n }\n\n @Listen('pdsTableSelectAll')\n handleTableSelectAll(event: CustomEvent<{ isSelected: boolean }>) {\n if (event.defaultPrevented) return;\n\n const pdsTableBody = this.el.querySelector('pds-table-body');\n const tableRows = Array.from(pdsTableBody.querySelectorAll('pds-table-row'));\n\n tableRows.forEach((row) => {\n row.isSelected = event.detail.isSelected;\n });\n }\n\n @Listen('pdsTableRowSelected')\n async handleTableSelect(event: CustomEvent<{ rowIndex: number; isSelected: boolean }>) {\n if (event.defaultPrevented) return;\n\n const allTableRows = this.el.querySelectorAll('pds-table-row');\n const allSelectedRows = Array.from(allTableRows).every((row) => row.isSelected);\n const noneSelectedRows = Array.from(allTableRows).every((row) => !row.isSelected);\n const pdsTableHead = this.el.querySelector('pds-table-head');\n if (!pdsTableHead) return;\n\n const headerCheckbox = pdsTableHead.shadowRoot.querySelector('pds-checkbox');\n headerCheckbox.checked = allSelectedRows;\n headerCheckbox.indeterminate = !allSelectedRows && !noneSelectedRows;\n }\n\n render() {\n if (this.responsive) {\n return (\n <Host\n class=\"pds-table is-responsive pds-table-responsive-host\"\n id={this.componentId}\n role=\"grid\"\n selectable={this.selectable}\n tabindex=\"0\"\n part=\"table responsive-table\"\n >\n <div class=\"scroll-shadow-left\" part=\"scroll-shadow-left\"></div>\n <div class=\"scroll-shadow-right\" part=\"scroll-shadow-right\"></div>\n <div class=\"pds-table-responsive-container\" part=\"responsive-container\">\n <div class=\"pds-table-responsive-wrapper\" part=\"responsive-wrapper\">\n <div class={this.classNames()} part=\"table-inner\">\n <slot></slot>\n </div>\n </div>\n </div>\n </Host>\n );\n }\n\n return (\n <Host\n class={this.classNames()}\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A,KAAK,EAAE,IAAI,CAAC,UAAU,EAAE,EAAE,IAAI,EAAC,aAAa,EAAA,EAC/C,CAAA,CAAA,MAAA,EAAA,IAAA,CAAa,CACT,CACF,CACF,CACD;;QAIX,QACE,CAAA,CAAC,IAAI,EAAA,EACH,KAAK,EAAE,IAAI,CAAC,UAAU,EAAE,EACxB,EAAE,EAAE,IAAI,CAAC,WAAW,EACpB,IAAI,EAAC,MAAM,EACX,UAAU,EAAE,IAAI,CAAC,UAAU,EAC3B,QAAQ,EAAC,GAAG,EACZ,IAAI,EAAC,OAAO,EAAA,EAEZ,CAAa,CAAA,MAAA,EAAA,IAAA,CAAA,CACR;;;;;;;;"}
@@ -1,2 +1,2 @@
1
- import{p as e,b as n}from"./p-BVCWKPy3.js";export{s as setNonce}from"./p-BVCWKPy3.js";import{g as o}from"./p-DQuL1Twl.js";var a=()=>{const n=import.meta.url;const o={};if(n!==""){o.resourcesUrl=new URL(".",n).href}return e(o)};a().then((async e=>{await o();return n([["p-5a709348",[[1,"pds-alert",{componentId:[1,"component-id"],heading:[1],small:[4],dismissible:[4],variant:[1],hasActionsContent:[32]}]]],["p-503cab1f",[[1,"pds-copytext",{border:[516],componentId:[1,"component-id"],fullWidth:[4,"full-width"],truncate:[4],value:[1]}]]],["p-ab82338f",[[1,"pds-table-head",{indeterminate:[1028],isSelected:[1028,"is-selected"]}]]],["p-fc457c65",[[1,"pds-table-row",{indeterminate:[1028],isSelected:[1028,"is-selected"]}]]],["p-47670150",[[1,"pds-combobox",{componentId:[1,"component-id"],customOptionLayouts:[4,"custom-option-layouts"],customTriggerContent:[4,"custom-trigger-content"],disabled:[4],dropdownPlacement:[1,"dropdown-placement"],dropdownWidth:[1,"dropdown-width"],hideLabel:[4,"hide-label"],label:[1],maxHeight:[1,"max-height"],mode:[1],placeholder:[1],trigger:[1],triggerWidth:[1,"trigger-width"],triggerVariant:[1,"trigger-variant"],value:[1025],filteredOptions:[32],highlightedIndex:[32],isOpen:[32],selectedOption:[32],selectedOptionLayoutContent:[32],setFocus:[64],getSelectedValue:[64]},null,{value:["handleValueChange"],selectedOption:["handleSelectedOptionChange"]}]]],["p-e8d76117",[[1,"pds-dropdown-menu-item",{componentId:[1,"component-id"],destructive:[4],disabled:[4],href:[1],hasFocus:[32],clickItem:[64]}]]],["p-5708f95a",[[1,"pds-property",{componentId:[1,"component-id"],icon:[1]}]]],["p-5e8badb9",[[1,"pds-accordion",{componentId:[1,"component-id"],isOpen:[1540,"open"]},null,{isOpen:["handleOpenState"]}]]],["p-c8122bea",[[1,"pds-avatar",{alt:[1],badge:[4],componentId:[1,"component-id"],dropdown:[4],image:[1],size:[513],variant:[513]}]]],["p-4deb7b8c",[[1,"pds-chip",{componentId:[1,"component-id"],dot:[4],icon:[1],large:[4],sentiment:[1],variant:[1]}]]],["p-8d7abc83",[[1,"pds-dropdown-menu",{componentId:[1,"component-id"],placement:[1],currentFocusIndex:[32]},[[8,"keydown","handleKeyDown"],[8,"click","handleWindowClick"]]]]],["p-4bbf3e31",[[65,"pds-input",{autocomplete:[1],componentId:[1,"component-id"],debounce:[2],disabled:[4],errorMessage:[1,"error-message"],helperMessage:[1,"helper-message"],invalid:[4],label:[1],hideLabel:[4,"hide-label"],max:[1],maxlength:[1],min:[1],minlength:[1],name:[1],pattern:[1],placeholder:[1],readonly:[4],required:[4],step:[1],type:[1],value:[1032],fullWidth:[4,"full-width"],hasPrefix:[32],hasSuffix:[32],hasPrepend:[32],hasAppend:[32],hasAction:[32],hasFocus:[32],setFocus:[64]},null,{debounce:["debounceChanged"],value:["valueChanged"]}]]],["p-98fe56d9",[[2,"pds-radio",{checked:[4],componentId:[1,"component-id"],disabled:[4],errorMessage:[1,"error-message"],helperMessage:[1,"helper-message"],invalid:[4],label:[1],hideLabel:[4,"hide-label"],name:[1],required:[4],value:[1]}]]],["p-00616fc9",[[65,"pds-select",{autocomplete:[1],componentId:[1,"component-id"],disabled:[4],errorMessage:[1,"error-message"],hideLabel:[4,"hide-label"],helperMessage:[1,"helper-message"],invalid:[4],label:[1],multiple:[4],name:[1],required:[4],value:[1025]},null,{value:["valueChanged"]}]]],["p-52d37cc1",[[6,"pds-sortable-item",{enableActions:[4,"enable-actions"],componentId:[1,"component-id"],showHandle:[1028,"show-handle"]}]]],["p-ba187a35",[[65,"pds-switch",{componentId:[1,"component-id"],checked:[1028],disabled:[4],errorMessage:[1,"error-message"],hideLabel:[4,"hide-label"],helperMessage:[1,"helper-message"],invalid:[4],label:[1],name:[1],required:[4],value:[1]},null,{checked:["checkedChanged"]}]]],["p-e5ca5b8e",[[65,"pds-textarea",{autocomplete:[1],componentId:[1,"component-id"],disabled:[4],debounce:[2],errorMessage:[1,"error-message"],helperMessage:[1,"helper-message"],invalid:[1028],label:[1],hideLabel:[4,"hide-label"],name:[1],placeholder:[1],readonly:[4],required:[4],rows:[2],value:[1025],hasFocus:[32],hasAction:[32],setFocus:[64]},null,{debounce:["debounceChanged"],value:["valueChanged"]}]]],["p-11d4036e",[[1,"pds-toast",{componentId:[1,"component-id"],dismissible:[4],duration:[2],icon:[1],type:[1],isVisible:[32],isAnimatingOut:[32],dismiss:[64]},null,{duration:["handleDurationChange"]}]]],["p-fb4058e6",[[4,"mock-pds-modal",{componentId:[1,"component-id"],size:[1],backdropDismiss:[4,"backdrop-dismiss"],open:[1028],showModal:[64],hideModal:[64]}]]],["p-0066d249",[[1,"pds-divider",{componentId:[1,"component-id"],offset:[1],vertical:[4]}]]],["p-a54f1d9e",[[1,"pds-dropdown-menu-separator",{componentId:[1,"component-id"],disabled:[4]}]]],["p-66b10d29",[[1,"pds-image",{alt:[1],componentId:[1,"component-id"],height:[2],loading:[1],sizes:[1],src:[1],srcset:[1],width:[2]}]]],["p-a24c46e4",[[4,"pds-modal",{backdropDismiss:[4,"backdrop-dismiss"],componentId:[1,"component-id"],open:[1028],size:[1],focusableElementsArray:[32],showModal:[64],hideModal:[64]},null,{open:["handleOpenChange"]}]]],["p-c6badcf8",[[4,"pds-modal-content",{border:[513],contentMaxHeight:[32]}]]],["p-232a2043",[[4,"pds-modal-footer"]]],["p-efa788ea",[[4,"pds-modal-header"]]],["p-6f4a6d0b",[[1,"pds-popover",{popoverTargetAction:[1,"popover-target-action"],popoverType:[1,"popover-type"],componentId:[1,"component-id"],text:[1],maxWidth:[2,"max-width"],placement:[513],active:[32]},[[2,"click","handleClick"],[11,"scroll","handleScroll"]]]]],["p-b6ea3332",[[1,"pds-progress",{animated:[4],componentId:[1,"component-id"],fillColor:[1,"fill-color"],label:[1],percent:[2],showPercent:[4,"show-percent"]}]]],["p-79e2782b",[[0,"pds-row",{alignItems:[1,"align-items"],border:[4],colGap:[1,"col-gap"],componentId:[1,"component-id"],justifyContent:[1,"justify-content"],minHeight:[1,"min-height"],noWrap:[4,"no-wrap"]}]]],["p-72053224",[[6,"pds-sortable",{border:[516],componentId:[1,"component-id"],dividers:[516],handleType:[1,"handle-type"]}]]],["p-77336705",[[4,"pds-tab",{name:[1],parentComponentId:[1,"parent-component-id"],variant:[1],index:[2],selected:[4]}]]],["p-174506b9",[[1,"pds-table",{compact:[4],componentId:[1,"component-id"],responsive:[4],fixedColumn:[4,"fixed-column"],selectable:[4],sortingColumn:[32],sortingDirection:[32]},[[0,"pdsTableSort","handleTableSort"],[0,"pdsTableSelectAll","handleTableSelectAll"],[0,"pdsTableRowSelected","handleTableSelect"]]]]],["p-5c0803c3",[[1,"pds-table-body"]]],["p-f880adaa",[[4,"pds-tabpanel",{name:[1],parentComponentId:[1,"parent-component-id"],variant:[1],selected:[1028]}]]],["p-651861ff",[[1,"pds-tabs",{tablistLabel:[1,"tablist-label"],componentId:[1,"component-id"],variant:[1],activeTabName:[1025,"active-tab-name"],activeTabIndex:[1026,"active-tab-index"]},[[16,"pdsTabClick","tabClickHandler"],[0,"keydown","handleKeyDown"]]]]],["p-02326ac3",[[4,"pds-tooltip",{content:[1],componentId:[1,"component-id"],hasArrow:[4,"has-arrow"],htmlContent:[4,"html-content"],placement:[513],maxWidth:[1,"max-width"],opened:[1540],_isInteractiveOpen:[32],showTooltip:[64],hideTooltip:[64]},null,{opened:["handleOpenToggle"]}]]],["p-68b5665a",[[1,"pds-button",{componentId:[1,"component-id"],disabled:[4],fullWidth:[4,"full-width"],href:[1],icon:[1],iconOnly:[4,"icon-only"],loading:[4],name:[1],target:[1],type:[1],value:[1],variant:[1]}]]],["p-349a8869",[[1,"pds-link",{color:[1],componentId:[1,"component-id"],external:[4],variant:[1],fontSize:[1,"font-size"],href:[1]}]]],["p-db1956e5",[[1,"pds-table-head-cell",{cellAlign:[1,"cell-align"],sortable:[4],sortingDirection:[32],tableScrolling:[32],isSelected:[32]}]]],["p-2e491c3d",[[1,"pds-table-cell",{cellAlign:[1,"cell-align"],truncate:[4],tableScrolling:[32]}]]],["p-e2887e78",[[1,"pds-text",{align:[1],color:[1],decoration:[1],gutter:[1],italic:[4],size:[1],weight:[1],tag:[1],truncate:[516]}]]],["p-25190921",[[65,"pds-checkbox",{checked:[1028],componentId:[1,"component-id"],disabled:[4],errorMessage:[1,"error-message"],helperMessage:[1,"helper-message"],indeterminate:[1028],invalid:[4],label:[1],hideLabel:[4,"hide-label"],name:[1],required:[4],value:[1]},null,{checked:["updateIndeterminate","checkedChanged"]}]]],["p-f583e5d4",[[1,"pds-loader",{isLoading:[4,"is-loading"],showLabel:[4,"show-label"],size:[513],variant:[1]}]]],["p-0d9e28a2",[[0,"pds-box",{alignItems:[1,"align-items"],alignSelf:[1,"align-self"],auto:[4],backgroundColor:[1,"background-color"],border:[4],borderColor:[1,"border-color"],borderRadius:[1,"border-radius"],direction:[1],display:[1],fit:[4],gap:[1],wrap:[4],flex:[1],justifyContent:[1,"justify-content"],marginBlockStart:[1,"margin-block-start"],marginInlineStart:[1,"margin-inline-start"],marginInlineEnd:[1,"margin-inline-end"],marginBlockEnd:[1,"margin-block-end"],minHeight:[1,"min-height"],minWidth:[1,"min-width"],offset:[1],offsetXs:[1,"offset-xs"],offsetSm:[1,"offset-sm"],offsetMd:[1,"offset-md"],offsetLg:[1,"offset-lg"],offsetXl:[1,"offset-xl"],padding:[1],paddingBlockStart:[1,"padding-block-start"],paddingBlockEnd:[1,"padding-block-end"],paddingInlineStart:[1,"padding-inline-start"],paddingInlineEnd:[1,"padding-inline-end"],shadow:[1],size:[1],sizeXs:[1,"size-xs"],sizeSm:[1,"size-sm"],sizeMd:[1,"size-md"],sizeLg:[1,"size-lg"],sizeXl:[1,"size-xl"]}]]],["p-075eecf9",[[1,"pds-icon",{color:[1],flipRtl:[4,"flip-rtl"],icon:[8],name:[513],size:[513],src:[1],ariaLabel:[32],isVisible:[32],svgContent:[32]},null,{size:["updateStyles"],color:["updateStyles"],name:["onIconPropertyChange"],src:["onIconPropertyChange"],icon:["onIconPropertyChange"]}]]]],e)}));
1
+ import{p as e,b as n}from"./p-BVCWKPy3.js";export{s as setNonce}from"./p-BVCWKPy3.js";import{g as o}from"./p-DQuL1Twl.js";var t=()=>{const n=import.meta.url;const o={};if(n!==""){o.resourcesUrl=new URL(".",n).href}return e(o)};t().then((async e=>{await o();return n(JSON.parse('[["p-5a709348",[[1,"pds-alert",{"componentId":[1,"component-id"],"heading":[1],"small":[4],"dismissible":[4],"variant":[1],"hasActionsContent":[32]}]]],["p-503cab1f",[[1,"pds-copytext",{"border":[516],"componentId":[1,"component-id"],"fullWidth":[4,"full-width"],"truncate":[4],"value":[1]}]]],["p-464dd476",[[1,"pds-table-head",{"indeterminate":[1028],"isSelected":[1028,"is-selected"]}]]],["p-44087d1c",[[1,"pds-table-row",{"indeterminate":[1028],"isSelected":[1028,"is-selected"]}]]],["p-47670150",[[1,"pds-combobox",{"componentId":[1,"component-id"],"customOptionLayouts":[4,"custom-option-layouts"],"customTriggerContent":[4,"custom-trigger-content"],"disabled":[4],"dropdownPlacement":[1,"dropdown-placement"],"dropdownWidth":[1,"dropdown-width"],"hideLabel":[4,"hide-label"],"label":[1],"maxHeight":[1,"max-height"],"mode":[1],"placeholder":[1],"trigger":[1],"triggerWidth":[1,"trigger-width"],"triggerVariant":[1,"trigger-variant"],"value":[1025],"filteredOptions":[32],"highlightedIndex":[32],"isOpen":[32],"selectedOption":[32],"selectedOptionLayoutContent":[32],"setFocus":[64],"getSelectedValue":[64]},null,{"value":["handleValueChange"],"selectedOption":["handleSelectedOptionChange"]}]]],["p-e8d76117",[[1,"pds-dropdown-menu-item",{"componentId":[1,"component-id"],"destructive":[4],"disabled":[4],"href":[1],"hasFocus":[32],"clickItem":[64]}]]],["p-5708f95a",[[1,"pds-property",{"componentId":[1,"component-id"],"icon":[1]}]]],["p-5e8badb9",[[1,"pds-accordion",{"componentId":[1,"component-id"],"isOpen":[1540,"open"]},null,{"isOpen":["handleOpenState"]}]]],["p-c8122bea",[[1,"pds-avatar",{"alt":[1],"badge":[4],"componentId":[1,"component-id"],"dropdown":[4],"image":[1],"size":[513],"variant":[513]}]]],["p-4deb7b8c",[[1,"pds-chip",{"componentId":[1,"component-id"],"dot":[4],"icon":[1],"large":[4],"sentiment":[1],"variant":[1]}]]],["p-8d7abc83",[[1,"pds-dropdown-menu",{"componentId":[1,"component-id"],"placement":[1],"currentFocusIndex":[32]},[[8,"keydown","handleKeyDown"],[8,"click","handleWindowClick"]]]]],["p-4bbf3e31",[[65,"pds-input",{"autocomplete":[1],"componentId":[1,"component-id"],"debounce":[2],"disabled":[4],"errorMessage":[1,"error-message"],"helperMessage":[1,"helper-message"],"invalid":[4],"label":[1],"hideLabel":[4,"hide-label"],"max":[1],"maxlength":[1],"min":[1],"minlength":[1],"name":[1],"pattern":[1],"placeholder":[1],"readonly":[4],"required":[4],"step":[1],"type":[1],"value":[1032],"fullWidth":[4,"full-width"],"hasPrefix":[32],"hasSuffix":[32],"hasPrepend":[32],"hasAppend":[32],"hasAction":[32],"hasFocus":[32],"setFocus":[64]},null,{"debounce":["debounceChanged"],"value":["valueChanged"]}]]],["p-98fe56d9",[[2,"pds-radio",{"checked":[4],"componentId":[1,"component-id"],"disabled":[4],"errorMessage":[1,"error-message"],"helperMessage":[1,"helper-message"],"invalid":[4],"label":[1],"hideLabel":[4,"hide-label"],"name":[1],"required":[4],"value":[1]}]]],["p-00616fc9",[[65,"pds-select",{"autocomplete":[1],"componentId":[1,"component-id"],"disabled":[4],"errorMessage":[1,"error-message"],"hideLabel":[4,"hide-label"],"helperMessage":[1,"helper-message"],"invalid":[4],"label":[1],"multiple":[4],"name":[1],"required":[4],"value":[1025]},null,{"value":["valueChanged"]}]]],["p-52d37cc1",[[6,"pds-sortable-item",{"enableActions":[4,"enable-actions"],"componentId":[1,"component-id"],"showHandle":[1028,"show-handle"]}]]],["p-ba187a35",[[65,"pds-switch",{"componentId":[1,"component-id"],"checked":[1028],"disabled":[4],"errorMessage":[1,"error-message"],"hideLabel":[4,"hide-label"],"helperMessage":[1,"helper-message"],"invalid":[4],"label":[1],"name":[1],"required":[4],"value":[1]},null,{"checked":["checkedChanged"]}]]],["p-e5ca5b8e",[[65,"pds-textarea",{"autocomplete":[1],"componentId":[1,"component-id"],"disabled":[4],"debounce":[2],"errorMessage":[1,"error-message"],"helperMessage":[1,"helper-message"],"invalid":[1028],"label":[1],"hideLabel":[4,"hide-label"],"name":[1],"placeholder":[1],"readonly":[4],"required":[4],"rows":[2],"value":[1025],"hasFocus":[32],"hasAction":[32],"setFocus":[64]},null,{"debounce":["debounceChanged"],"value":["valueChanged"]}]]],["p-11d4036e",[[1,"pds-toast",{"componentId":[1,"component-id"],"dismissible":[4],"duration":[2],"icon":[1],"type":[1],"isVisible":[32],"isAnimatingOut":[32],"dismiss":[64]},null,{"duration":["handleDurationChange"]}]]],["p-fb4058e6",[[4,"mock-pds-modal",{"componentId":[1,"component-id"],"size":[1],"backdropDismiss":[4,"backdrop-dismiss"],"open":[1028],"showModal":[64],"hideModal":[64]}]]],["p-0066d249",[[1,"pds-divider",{"componentId":[1,"component-id"],"offset":[1],"vertical":[4]}]]],["p-a54f1d9e",[[1,"pds-dropdown-menu-separator",{"componentId":[1,"component-id"],"disabled":[4]}]]],["p-66b10d29",[[1,"pds-image",{"alt":[1],"componentId":[1,"component-id"],"height":[2],"loading":[1],"sizes":[1],"src":[1],"srcset":[1],"width":[2]}]]],["p-a24c46e4",[[4,"pds-modal",{"backdropDismiss":[4,"backdrop-dismiss"],"componentId":[1,"component-id"],"open":[1028],"size":[1],"focusableElementsArray":[32],"showModal":[64],"hideModal":[64]},null,{"open":["handleOpenChange"]}]]],["p-c6badcf8",[[4,"pds-modal-content",{"border":[513],"contentMaxHeight":[32]}]]],["p-232a2043",[[4,"pds-modal-footer"]]],["p-efa788ea",[[4,"pds-modal-header"]]],["p-6f4a6d0b",[[1,"pds-popover",{"popoverTargetAction":[1,"popover-target-action"],"popoverType":[1,"popover-type"],"componentId":[1,"component-id"],"text":[1],"maxWidth":[2,"max-width"],"placement":[513],"active":[32]},[[2,"click","handleClick"],[11,"scroll","handleScroll"]]]]],["p-b6ea3332",[[1,"pds-progress",{"animated":[4],"componentId":[1,"component-id"],"fillColor":[1,"fill-color"],"label":[1],"percent":[2],"showPercent":[4,"show-percent"]}]]],["p-ecb9edf8",[[0,"pds-row",{"alignItems":[1,"align-items"],"border":[4],"colGap":[1,"col-gap"],"colGapBlock":[1,"col-gap-block"],"colGapInline":[1,"col-gap-inline"],"componentId":[1,"component-id"],"justifyContent":[1,"justify-content"],"minHeight":[1,"min-height"],"noWrap":[4,"no-wrap"]}]]],["p-72053224",[[6,"pds-sortable",{"border":[516],"componentId":[1,"component-id"],"dividers":[516],"handleType":[1,"handle-type"]}]]],["p-77336705",[[4,"pds-tab",{"name":[1],"parentComponentId":[1,"parent-component-id"],"variant":[1],"index":[2],"selected":[4]}]]],["p-ac37cf0d",[[1,"pds-table",{"compact":[4],"componentId":[1,"component-id"],"responsive":[4],"fixedColumn":[4,"fixed-column"],"selectable":[4],"sortingColumn":[32],"sortingDirection":[32]},[[0,"pdsTableSort","handleTableSort"],[0,"pdsTableSelectAll","handleTableSelectAll"],[0,"pdsTableRowSelected","handleTableSelect"]]]]],["p-be939cb0",[[1,"pds-table-body"]]],["p-f880adaa",[[4,"pds-tabpanel",{"name":[1],"parentComponentId":[1,"parent-component-id"],"variant":[1],"selected":[1028]}]]],["p-651861ff",[[1,"pds-tabs",{"tablistLabel":[1,"tablist-label"],"componentId":[1,"component-id"],"variant":[1],"activeTabName":[1025,"active-tab-name"],"activeTabIndex":[1026,"active-tab-index"]},[[16,"pdsTabClick","tabClickHandler"],[0,"keydown","handleKeyDown"]]]]],["p-02326ac3",[[4,"pds-tooltip",{"content":[1],"componentId":[1,"component-id"],"hasArrow":[4,"has-arrow"],"htmlContent":[4,"html-content"],"placement":[513],"maxWidth":[1,"max-width"],"opened":[1540],"_isInteractiveOpen":[32],"showTooltip":[64],"hideTooltip":[64]},null,{"opened":["handleOpenToggle"]}]]],["p-68b5665a",[[1,"pds-button",{"componentId":[1,"component-id"],"disabled":[4],"fullWidth":[4,"full-width"],"href":[1],"icon":[1],"iconOnly":[4,"icon-only"],"loading":[4],"name":[1],"target":[1],"type":[1],"value":[1],"variant":[1]}]]],["p-349a8869",[[1,"pds-link",{"color":[1],"componentId":[1,"component-id"],"external":[4],"variant":[1],"fontSize":[1,"font-size"],"href":[1]}]]],["p-7cb4f0de",[[1,"pds-table-head-cell",{"cellAlign":[1,"cell-align"],"sortable":[4],"sortingDirection":[32],"tableScrolling":[32],"isSelected":[32]}]]],["p-50c9e865",[[1,"pds-table-cell",{"cellAlign":[1,"cell-align"],"truncate":[4],"tableScrolling":[32]}]]],["p-e2887e78",[[1,"pds-text",{"align":[1],"color":[1],"decoration":[1],"gutter":[1],"italic":[4],"size":[1],"weight":[1],"tag":[1],"truncate":[516]}]]],["p-25190921",[[65,"pds-checkbox",{"checked":[1028],"componentId":[1,"component-id"],"disabled":[4],"errorMessage":[1,"error-message"],"helperMessage":[1,"helper-message"],"indeterminate":[1028],"invalid":[4],"label":[1],"hideLabel":[4,"hide-label"],"name":[1],"required":[4],"value":[1]},null,{"checked":["updateIndeterminate","checkedChanged"]}]]],["p-f583e5d4",[[1,"pds-loader",{"isLoading":[4,"is-loading"],"showLabel":[4,"show-label"],"size":[513],"variant":[1]}]]],["p-54061a33",[[0,"pds-box",{"alignItems":[1,"align-items"],"alignItemsXs":[1,"align-items-xs"],"alignItemsSm":[1,"align-items-sm"],"alignItemsMd":[1,"align-items-md"],"alignItemsLg":[1,"align-items-lg"],"alignItemsXl":[1,"align-items-xl"],"alignSelf":[1,"align-self"],"alignSelfXs":[1,"align-self-xs"],"alignSelfSm":[1,"align-self-sm"],"alignSelfMd":[1,"align-self-md"],"alignSelfLg":[1,"align-self-lg"],"alignSelfXl":[1,"align-self-xl"],"auto":[4],"backgroundColor":[1,"background-color"],"border":[4],"borderColor":[1,"border-color"],"borderRadius":[1,"border-radius"],"direction":[1],"display":[1],"fit":[4],"gap":[1],"wrap":[4],"flex":[1],"justifyContent":[1,"justify-content"],"justifyContentXs":[1,"justify-content-xs"],"justifyContentSm":[1,"justify-content-sm"],"justifyContentMd":[1,"justify-content-md"],"justifyContentLg":[1,"justify-content-lg"],"justifyContentXl":[1,"justify-content-xl"],"marginBlockStart":[1,"margin-block-start"],"marginInlineStart":[1,"margin-inline-start"],"marginInlineEnd":[1,"margin-inline-end"],"marginBlockEnd":[1,"margin-block-end"],"minHeight":[513,"min-height"],"minWidth":[513,"min-width"],"offset":[1],"offsetXs":[1,"offset-xs"],"offsetSm":[1,"offset-sm"],"offsetMd":[1,"offset-md"],"offsetLg":[1,"offset-lg"],"offsetXl":[1,"offset-xl"],"padding":[1],"paddingBlockStart":[1,"padding-block-start"],"paddingBlockEnd":[1,"padding-block-end"],"paddingInlineStart":[1,"padding-inline-start"],"paddingInlineEnd":[1,"padding-inline-end"],"shadow":[1],"size":[1],"sizeXs":[1,"size-xs"],"sizeSm":[1,"size-sm"],"sizeMd":[1,"size-md"],"sizeLg":[1,"size-lg"],"sizeXl":[1,"size-xl"]}]]],["p-075eecf9",[[1,"pds-icon",{"color":[1],"flipRtl":[4,"flip-rtl"],"icon":[8],"name":[513],"size":[513],"src":[1],"ariaLabel":[32],"isVisible":[32],"svgContent":[32]},null,{"size":["updateStyles"],"color":["updateStyles"],"name":["onIconPropertyChange"],"src":["onIconPropertyChange"],"icon":["onIconPropertyChange"]}]]]]'),e)}));
2
2
  //# sourceMappingURL=pine-core.esm.js.map
@@ -2,14 +2,64 @@ import { BoxColumnType, BoxTShirtSizeType, BoxShadowSizeType } from '../../utils
2
2
  export declare class PdsBox {
3
3
  /**
4
4
  * Defines how items within the box are aligned.
5
- * @defaultValue start
5
+ * @defaultValue stretch
6
6
  */
7
7
  alignItems?: `start` | `center` | `end` | `baseline` | `stretch`;
8
+ /**
9
+ * Defines how items within the box are aligned at the XS breakpoint.
10
+ * @defaultValue stretch
11
+ */
12
+ alignItemsXs?: `start` | `center` | `end` | `baseline` | `stretch`;
13
+ /**
14
+ * Defines how items within the box are aligned at the SM breakpoint.
15
+ * @defaultValue stretch
16
+ */
17
+ alignItemsSm?: `start` | `center` | `end` | `baseline` | `stretch`;
18
+ /**
19
+ * Defines how items within the box are aligned at the MD breakpoint.
20
+ * @defaultValue stretch
21
+ */
22
+ alignItemsMd?: `start` | `center` | `end` | `baseline` | `stretch`;
23
+ /**
24
+ * Defines how items within the box are aligned at the LG breakpoint.
25
+ * @defaultValue stretch
26
+ */
27
+ alignItemsLg?: `start` | `center` | `end` | `baseline` | `stretch`;
28
+ /**
29
+ * Defines how items within the box are aligned at the XL breakpoint.
30
+ * @defaultValue stretch
31
+ */
32
+ alignItemsXl?: `start` | `center` | `end` | `baseline` | `stretch`;
8
33
  /**
9
34
  * Defines how the box is aligned within its container.
10
- * @defaultValue start
35
+ * @defaultValue stretch
11
36
  */
12
37
  alignSelf?: `start` | `center` | `end` | `baseline` | `stretch`;
38
+ /**
39
+ * Defines how the box is aligned within its container at the XS breakpoint.
40
+ *
41
+ */
42
+ alignSelfXs?: `start` | `center` | `end` | `baseline` | `stretch`;
43
+ /**
44
+ * Defines how the box is aligned within its container at the SM breakpoint.
45
+ *
46
+ */
47
+ alignSelfSm?: `start` | `center` | `end` | `baseline` | `stretch`;
48
+ /**
49
+ * Defines how the box is aligned within its container at the MD breakpoint.
50
+ *
51
+ */
52
+ alignSelfMd?: `start` | `center` | `end` | `baseline` | `stretch`;
53
+ /**
54
+ * Defines how the box is aligned within its container at the LG breakpoint.
55
+ *
56
+ */
57
+ alignSelfLg?: `start` | `center` | `end` | `baseline` | `stretch`;
58
+ /**
59
+ * Defines how the box is aligned within its container at the XL breakpoint.
60
+ *
61
+ */
62
+ alignSelfXl?: `start` | `center` | `end` | `baseline` | `stretch`;
13
63
  /**
14
64
  * If `true`, the box will be sized to fit its contents.
15
65
  */
@@ -65,7 +115,32 @@ export declare class PdsBox {
65
115
  * Defines the horizontal alignment of the box items.
66
116
  * @defaultValue start
67
117
  */
68
- justifyContent?: `start` | `center` | `end` | `space-between` | `space-around`;
118
+ justifyContent?: `start` | `center` | `end` | `space-between` | `space-around` | `space-evenly`;
119
+ /**
120
+ * Defines the horizontal alignment of the box items at the XS breakpoint.
121
+ * @defaultValue start
122
+ */
123
+ justifyContentXs?: `start` | `center` | `end` | `space-between` | `space-around` | `space-evenly`;
124
+ /**
125
+ * Defines the horizontal alignment of the box items at the SM breakpoint.
126
+ * @defaultValue start
127
+ */
128
+ justifyContentSm?: `start` | `center` | `end` | `space-between` | `space-around` | `space-evenly`;
129
+ /**
130
+ * Defines the horizontal alignment of the box items at the MD breakpoint.
131
+ * @defaultValue start
132
+ */
133
+ justifyContentMd?: `start` | `center` | `end` | `space-between` | `space-around` | `space-evenly`;
134
+ /**
135
+ * Defines the horizontal alignment of the box items at the LG breakpoint.
136
+ * @defaultValue start
137
+ */
138
+ justifyContentLg?: `start` | `center` | `end` | `space-between` | `space-around` | `space-evenly`;
139
+ /**
140
+ * Defines the horizontal alignment of the box items at the XL breakpoint.
141
+ * @defaultValue start
142
+ */
143
+ justifyContentXl?: `start` | `center` | `end` | `space-between` | `space-around` | `space-evenly`;
69
144
  /**
70
145
  * Defines the box's outer top spacing.
71
146
  * @defaultValue none
@@ -13,6 +13,14 @@ export declare class PdsRow {
13
13
  * Defines the spacing between the row items.
14
14
  */
15
15
  colGap?: BoxTShirtSizeType | null;
16
+ /**
17
+ * Defines the spacing between the row items vertically.
18
+ */
19
+ colGapBlock?: BoxTShirtSizeType | null;
20
+ /**
21
+ * Defines the spacing between the row items horizontally.
22
+ */
23
+ colGapInline?: BoxTShirtSizeType | null;
16
24
  /**
17
25
  * A unique identifier used for the underlying component `id` attribute.
18
26
  */
@@ -126,14 +126,59 @@ export namespace Components {
126
126
  interface PdsBox {
127
127
  /**
128
128
  * Defines how items within the box are aligned.
129
- * @defaultValue start
129
+ * @defaultValue stretch
130
130
  */
131
131
  "alignItems"?: `start` | `center` | `end` | `baseline` | `stretch`;
132
+ /**
133
+ * Defines how items within the box are aligned at the LG breakpoint.
134
+ * @defaultValue stretch
135
+ */
136
+ "alignItemsLg"?: `start` | `center` | `end` | `baseline` | `stretch`;
137
+ /**
138
+ * Defines how items within the box are aligned at the MD breakpoint.
139
+ * @defaultValue stretch
140
+ */
141
+ "alignItemsMd"?: `start` | `center` | `end` | `baseline` | `stretch`;
142
+ /**
143
+ * Defines how items within the box are aligned at the SM breakpoint.
144
+ * @defaultValue stretch
145
+ */
146
+ "alignItemsSm"?: `start` | `center` | `end` | `baseline` | `stretch`;
147
+ /**
148
+ * Defines how items within the box are aligned at the XL breakpoint.
149
+ * @defaultValue stretch
150
+ */
151
+ "alignItemsXl"?: `start` | `center` | `end` | `baseline` | `stretch`;
152
+ /**
153
+ * Defines how items within the box are aligned at the XS breakpoint.
154
+ * @defaultValue stretch
155
+ */
156
+ "alignItemsXs"?: `start` | `center` | `end` | `baseline` | `stretch`;
132
157
  /**
133
158
  * Defines how the box is aligned within its container.
134
- * @defaultValue start
159
+ * @defaultValue stretch
135
160
  */
136
161
  "alignSelf"?: `start` | `center` | `end` | `baseline` | `stretch`;
162
+ /**
163
+ * Defines how the box is aligned within its container at the LG breakpoint.
164
+ */
165
+ "alignSelfLg"?: `start` | `center` | `end` | `baseline` | `stretch`;
166
+ /**
167
+ * Defines how the box is aligned within its container at the MD breakpoint.
168
+ */
169
+ "alignSelfMd"?: `start` | `center` | `end` | `baseline` | `stretch`;
170
+ /**
171
+ * Defines how the box is aligned within its container at the SM breakpoint.
172
+ */
173
+ "alignSelfSm"?: `start` | `center` | `end` | `baseline` | `stretch`;
174
+ /**
175
+ * Defines how the box is aligned within its container at the XL breakpoint.
176
+ */
177
+ "alignSelfXl"?: `start` | `center` | `end` | `baseline` | `stretch`;
178
+ /**
179
+ * Defines how the box is aligned within its container at the XS breakpoint.
180
+ */
181
+ "alignSelfXs"?: `start` | `center` | `end` | `baseline` | `stretch`;
137
182
  /**
138
183
  * If `true`, the box will be sized to fit its contents.
139
184
  */
@@ -183,7 +228,32 @@ export namespace Components {
183
228
  * Defines the horizontal alignment of the box items.
184
229
  * @defaultValue start
185
230
  */
186
- "justifyContent"?: `start` | `center` | `end` | `space-between` | `space-around`;
231
+ "justifyContent"?: `start` | `center` | `end` | `space-between` | `space-around` | `space-evenly`;
232
+ /**
233
+ * Defines the horizontal alignment of the box items at the LG breakpoint.
234
+ * @defaultValue start
235
+ */
236
+ "justifyContentLg"?: `start` | `center` | `end` | `space-between` | `space-around` | `space-evenly`;
237
+ /**
238
+ * Defines the horizontal alignment of the box items at the MD breakpoint.
239
+ * @defaultValue start
240
+ */
241
+ "justifyContentMd"?: `start` | `center` | `end` | `space-between` | `space-around` | `space-evenly`;
242
+ /**
243
+ * Defines the horizontal alignment of the box items at the SM breakpoint.
244
+ * @defaultValue start
245
+ */
246
+ "justifyContentSm"?: `start` | `center` | `end` | `space-between` | `space-around` | `space-evenly`;
247
+ /**
248
+ * Defines the horizontal alignment of the box items at the XL breakpoint.
249
+ * @defaultValue start
250
+ */
251
+ "justifyContentXl"?: `start` | `center` | `end` | `space-between` | `space-around` | `space-evenly`;
252
+ /**
253
+ * Defines the horizontal alignment of the box items at the XS breakpoint.
254
+ * @defaultValue start
255
+ */
256
+ "justifyContentXs"?: `start` | `center` | `end` | `space-between` | `space-around` | `space-evenly`;
187
257
  /**
188
258
  * Defines the box's outer bottom spacing.
189
259
  * @defaultValue none
@@ -952,6 +1022,14 @@ export namespace Components {
952
1022
  * Defines the spacing between the row items.
953
1023
  */
954
1024
  "colGap"?: BoxTShirtSizeType | null;
1025
+ /**
1026
+ * Defines the spacing between the row items vertically.
1027
+ */
1028
+ "colGapBlock"?: BoxTShirtSizeType | null;
1029
+ /**
1030
+ * Defines the spacing between the row items horizontally.
1031
+ */
1032
+ "colGapInline"?: BoxTShirtSizeType | null;
955
1033
  /**
956
1034
  * A unique identifier used for the underlying component `id` attribute.
957
1035
  */
@@ -2180,14 +2258,59 @@ declare namespace LocalJSX {
2180
2258
  interface PdsBox {
2181
2259
  /**
2182
2260
  * Defines how items within the box are aligned.
2183
- * @defaultValue start
2261
+ * @defaultValue stretch
2184
2262
  */
2185
2263
  "alignItems"?: `start` | `center` | `end` | `baseline` | `stretch`;
2264
+ /**
2265
+ * Defines how items within the box are aligned at the LG breakpoint.
2266
+ * @defaultValue stretch
2267
+ */
2268
+ "alignItemsLg"?: `start` | `center` | `end` | `baseline` | `stretch`;
2269
+ /**
2270
+ * Defines how items within the box are aligned at the MD breakpoint.
2271
+ * @defaultValue stretch
2272
+ */
2273
+ "alignItemsMd"?: `start` | `center` | `end` | `baseline` | `stretch`;
2274
+ /**
2275
+ * Defines how items within the box are aligned at the SM breakpoint.
2276
+ * @defaultValue stretch
2277
+ */
2278
+ "alignItemsSm"?: `start` | `center` | `end` | `baseline` | `stretch`;
2279
+ /**
2280
+ * Defines how items within the box are aligned at the XL breakpoint.
2281
+ * @defaultValue stretch
2282
+ */
2283
+ "alignItemsXl"?: `start` | `center` | `end` | `baseline` | `stretch`;
2284
+ /**
2285
+ * Defines how items within the box are aligned at the XS breakpoint.
2286
+ * @defaultValue stretch
2287
+ */
2288
+ "alignItemsXs"?: `start` | `center` | `end` | `baseline` | `stretch`;
2186
2289
  /**
2187
2290
  * Defines how the box is aligned within its container.
2188
- * @defaultValue start
2291
+ * @defaultValue stretch
2189
2292
  */
2190
2293
  "alignSelf"?: `start` | `center` | `end` | `baseline` | `stretch`;
2294
+ /**
2295
+ * Defines how the box is aligned within its container at the LG breakpoint.
2296
+ */
2297
+ "alignSelfLg"?: `start` | `center` | `end` | `baseline` | `stretch`;
2298
+ /**
2299
+ * Defines how the box is aligned within its container at the MD breakpoint.
2300
+ */
2301
+ "alignSelfMd"?: `start` | `center` | `end` | `baseline` | `stretch`;
2302
+ /**
2303
+ * Defines how the box is aligned within its container at the SM breakpoint.
2304
+ */
2305
+ "alignSelfSm"?: `start` | `center` | `end` | `baseline` | `stretch`;
2306
+ /**
2307
+ * Defines how the box is aligned within its container at the XL breakpoint.
2308
+ */
2309
+ "alignSelfXl"?: `start` | `center` | `end` | `baseline` | `stretch`;
2310
+ /**
2311
+ * Defines how the box is aligned within its container at the XS breakpoint.
2312
+ */
2313
+ "alignSelfXs"?: `start` | `center` | `end` | `baseline` | `stretch`;
2191
2314
  /**
2192
2315
  * If `true`, the box will be sized to fit its contents.
2193
2316
  */
@@ -2237,7 +2360,32 @@ declare namespace LocalJSX {
2237
2360
  * Defines the horizontal alignment of the box items.
2238
2361
  * @defaultValue start
2239
2362
  */
2240
- "justifyContent"?: `start` | `center` | `end` | `space-between` | `space-around`;
2363
+ "justifyContent"?: `start` | `center` | `end` | `space-between` | `space-around` | `space-evenly`;
2364
+ /**
2365
+ * Defines the horizontal alignment of the box items at the LG breakpoint.
2366
+ * @defaultValue start
2367
+ */
2368
+ "justifyContentLg"?: `start` | `center` | `end` | `space-between` | `space-around` | `space-evenly`;
2369
+ /**
2370
+ * Defines the horizontal alignment of the box items at the MD breakpoint.
2371
+ * @defaultValue start
2372
+ */
2373
+ "justifyContentMd"?: `start` | `center` | `end` | `space-between` | `space-around` | `space-evenly`;
2374
+ /**
2375
+ * Defines the horizontal alignment of the box items at the SM breakpoint.
2376
+ * @defaultValue start
2377
+ */
2378
+ "justifyContentSm"?: `start` | `center` | `end` | `space-between` | `space-around` | `space-evenly`;
2379
+ /**
2380
+ * Defines the horizontal alignment of the box items at the XL breakpoint.
2381
+ * @defaultValue start
2382
+ */
2383
+ "justifyContentXl"?: `start` | `center` | `end` | `space-between` | `space-around` | `space-evenly`;
2384
+ /**
2385
+ * Defines the horizontal alignment of the box items at the XS breakpoint.
2386
+ * @defaultValue start
2387
+ */
2388
+ "justifyContentXs"?: `start` | `center` | `end` | `space-between` | `space-around` | `space-evenly`;
2241
2389
  /**
2242
2390
  * Defines the box's outer bottom spacing.
2243
2391
  * @defaultValue none
@@ -3032,6 +3180,14 @@ declare namespace LocalJSX {
3032
3180
  * Defines the spacing between the row items.
3033
3181
  */
3034
3182
  "colGap"?: BoxTShirtSizeType | null;
3183
+ /**
3184
+ * Defines the spacing between the row items vertically.
3185
+ */
3186
+ "colGapBlock"?: BoxTShirtSizeType | null;
3187
+ /**
3188
+ * Defines the spacing between the row items horizontally.
3189
+ */
3190
+ "colGapInline"?: BoxTShirtSizeType | null;
3035
3191
  /**
3036
3192
  * A unique identifier used for the underlying component `id` attribute.
3037
3193
  */