@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
@@ -10,7 +10,17 @@ export class PdsBox {
10
10
  render() {
11
11
  const boxClasses = `
12
12
  ${this.alignItems !== undefined && this.alignItems.trim() !== '' ? `pds-align-items-${this.alignItems}` : ''}
13
+ ${this.alignItemsXs !== undefined && this.alignItemsXs.trim() !== '' ? `pds-align-items-xs-${this.alignItemsXs}` : ''}
14
+ ${this.alignItemsSm !== undefined && this.alignItemsSm.trim() !== '' ? `pds-align-items-sm-${this.alignItemsSm}` : ''}
15
+ ${this.alignItemsMd !== undefined && this.alignItemsMd.trim() !== '' ? `pds-align-items-md-${this.alignItemsMd}` : ''}
16
+ ${this.alignItemsLg !== undefined && this.alignItemsLg.trim() !== '' ? `pds-align-items-lg-${this.alignItemsLg}` : ''}
17
+ ${this.alignItemsXl !== undefined && this.alignItemsXl.trim() !== '' ? `pds-align-items-xl-${this.alignItemsXl}` : ''}
13
18
  ${this.alignSelf !== undefined && this.alignSelf.trim() !== '' ? `pds-align-self-${this.alignSelf}` : ''}
19
+ ${this.alignSelfXs !== undefined && this.alignSelfXs.trim() !== '' ? `pds-align-self-xs-${this.alignSelfXs}` : ''}
20
+ ${this.alignSelfSm !== undefined && this.alignSelfSm.trim() !== '' ? `pds-align-self-sm-${this.alignSelfSm}` : ''}
21
+ ${this.alignSelfMd !== undefined && this.alignSelfMd.trim() !== '' ? `pds-align-self-md-${this.alignSelfMd}` : ''}
22
+ ${this.alignSelfLg !== undefined && this.alignSelfLg.trim() !== '' ? `pds-align-self-lg-${this.alignSelfLg}` : ''}
23
+ ${this.alignSelfXl !== undefined && this.alignSelfXl.trim() !== '' ? `pds-align-self-xl-${this.alignSelfXl}` : ''}
14
24
  ${this.auto ? 'pds-box--auto' : ''}
15
25
  ${this.border ? 'pds-box--border' : ''}
16
26
  ${this.borderRadius !== undefined && this.borderRadius.trim() !== '' ? `pds-border-radius-${this.borderRadius}` : ''}
@@ -21,6 +31,11 @@ export class PdsBox {
21
31
  ${this.wrap ? 'pds-box--wrap' : ''}
22
32
  ${this.flex !== undefined && this.flex.trim() !== '' && ['none', 'grow', 'shrink'].includes(this.flex) ? `pds-box--flex-${this.flex}` : ''}
23
33
  ${this.justifyContent !== undefined && this.justifyContent.trim() !== '' ? `pds-justify-content-${this.justifyContent}` : ''}
34
+ ${this.justifyContentXs !== undefined && this.justifyContentXs.trim() !== '' ? `pds-justify-content-xs-${this.justifyContentXs}` : ''}
35
+ ${this.justifyContentSm !== undefined && this.justifyContentSm.trim() !== '' ? `pds-justify-content-sm-${this.justifyContentSm}` : ''}
36
+ ${this.justifyContentMd !== undefined && this.justifyContentMd.trim() !== '' ? `pds-justify-content-md-${this.justifyContentMd}` : ''}
37
+ ${this.justifyContentLg !== undefined && this.justifyContentLg.trim() !== '' ? `pds-justify-content-lg-${this.justifyContentLg}` : ''}
38
+ ${this.justifyContentXl !== undefined && this.justifyContentXl.trim() !== '' ? `pds-justify-content-xl-${this.justifyContentXl}` : ''}
24
39
  ${this.marginBlockStart !== undefined && this.marginBlockStart.trim() !== '' ? `pds-margin-block-start-${this.marginBlockStart}` : ''}
25
40
  ${this.marginInlineStart !== undefined && this.marginInlineStart.trim() !== '' ? `pds-margin-inline-start-${this.marginInlineStart}` : ''}
26
41
  ${this.marginInlineEnd !== undefined && this.marginInlineEnd.trim() !== '' ? `pds-margin-inline-end-${this.marginInlineEnd}` : ''}
@@ -53,7 +68,7 @@ export class PdsBox {
53
68
  const normalizedBackground = normalizeColorValue(this.backgroundColor);
54
69
  const normalizedBorder = normalizeColorValue(this.borderColor);
55
70
  const boxInlineStyles = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, (normalizedBackground && { '--color-background-box': normalizedBackground })), (normalizedBorder && { '--color-border-box': normalizedBorder })), (this.minHeight && { '--sizing-min-height-box': this.minHeight })), (this.minWidth && { '--sizing-min-width-box': this.minWidth })), (this.flex && !['none', 'grow', 'shrink'].includes(this.flex) && { 'flex': this.flex }));
56
- return (h(Host, { key: '17a094865fd2bc422bae1033377a1fccc5455b01', class: boxClasses, style: boxInlineStyles }));
71
+ return (h(Host, { key: '6a5c3cc51052bbc735c7dbd60ff57f2a43070a71', class: boxClasses, style: boxInlineStyles }));
57
72
  }
58
73
  static get is() { return "pds-box"; }
59
74
  static get originalStyleUrls() {
@@ -81,7 +96,7 @@ export class PdsBox {
81
96
  "docs": {
82
97
  "tags": [{
83
98
  "name": "defaultValue",
84
- "text": "start"
99
+ "text": "stretch"
85
100
  }],
86
101
  "text": "Defines how items within the box are aligned."
87
102
  },
@@ -90,6 +105,116 @@ export class PdsBox {
90
105
  "attribute": "align-items",
91
106
  "reflect": false
92
107
  },
108
+ "alignItemsXs": {
109
+ "type": "string",
110
+ "mutable": false,
111
+ "complexType": {
112
+ "original": "`start` | `center` | `end` | `baseline` | `stretch`",
113
+ "resolved": "\"baseline\" | \"center\" | \"end\" | \"start\" | \"stretch\"",
114
+ "references": {}
115
+ },
116
+ "required": false,
117
+ "optional": true,
118
+ "docs": {
119
+ "tags": [{
120
+ "name": "defaultValue",
121
+ "text": "stretch"
122
+ }],
123
+ "text": "Defines how items within the box are aligned at the XS breakpoint."
124
+ },
125
+ "getter": false,
126
+ "setter": false,
127
+ "attribute": "align-items-xs",
128
+ "reflect": false
129
+ },
130
+ "alignItemsSm": {
131
+ "type": "string",
132
+ "mutable": false,
133
+ "complexType": {
134
+ "original": "`start` | `center` | `end` | `baseline` | `stretch`",
135
+ "resolved": "\"baseline\" | \"center\" | \"end\" | \"start\" | \"stretch\"",
136
+ "references": {}
137
+ },
138
+ "required": false,
139
+ "optional": true,
140
+ "docs": {
141
+ "tags": [{
142
+ "name": "defaultValue",
143
+ "text": "stretch"
144
+ }],
145
+ "text": "Defines how items within the box are aligned at the SM breakpoint."
146
+ },
147
+ "getter": false,
148
+ "setter": false,
149
+ "attribute": "align-items-sm",
150
+ "reflect": false
151
+ },
152
+ "alignItemsMd": {
153
+ "type": "string",
154
+ "mutable": false,
155
+ "complexType": {
156
+ "original": "`start` | `center` | `end` | `baseline` | `stretch`",
157
+ "resolved": "\"baseline\" | \"center\" | \"end\" | \"start\" | \"stretch\"",
158
+ "references": {}
159
+ },
160
+ "required": false,
161
+ "optional": true,
162
+ "docs": {
163
+ "tags": [{
164
+ "name": "defaultValue",
165
+ "text": "stretch"
166
+ }],
167
+ "text": "Defines how items within the box are aligned at the MD breakpoint."
168
+ },
169
+ "getter": false,
170
+ "setter": false,
171
+ "attribute": "align-items-md",
172
+ "reflect": false
173
+ },
174
+ "alignItemsLg": {
175
+ "type": "string",
176
+ "mutable": false,
177
+ "complexType": {
178
+ "original": "`start` | `center` | `end` | `baseline` | `stretch`",
179
+ "resolved": "\"baseline\" | \"center\" | \"end\" | \"start\" | \"stretch\"",
180
+ "references": {}
181
+ },
182
+ "required": false,
183
+ "optional": true,
184
+ "docs": {
185
+ "tags": [{
186
+ "name": "defaultValue",
187
+ "text": "stretch"
188
+ }],
189
+ "text": "Defines how items within the box are aligned at the LG breakpoint."
190
+ },
191
+ "getter": false,
192
+ "setter": false,
193
+ "attribute": "align-items-lg",
194
+ "reflect": false
195
+ },
196
+ "alignItemsXl": {
197
+ "type": "string",
198
+ "mutable": false,
199
+ "complexType": {
200
+ "original": "`start` | `center` | `end` | `baseline` | `stretch`",
201
+ "resolved": "\"baseline\" | \"center\" | \"end\" | \"start\" | \"stretch\"",
202
+ "references": {}
203
+ },
204
+ "required": false,
205
+ "optional": true,
206
+ "docs": {
207
+ "tags": [{
208
+ "name": "defaultValue",
209
+ "text": "stretch"
210
+ }],
211
+ "text": "Defines how items within the box are aligned at the XL breakpoint."
212
+ },
213
+ "getter": false,
214
+ "setter": false,
215
+ "attribute": "align-items-xl",
216
+ "reflect": false
217
+ },
93
218
  "alignSelf": {
94
219
  "type": "string",
95
220
  "mutable": false,
@@ -103,7 +228,7 @@ export class PdsBox {
103
228
  "docs": {
104
229
  "tags": [{
105
230
  "name": "defaultValue",
106
- "text": "start"
231
+ "text": "stretch"
107
232
  }],
108
233
  "text": "Defines how the box is aligned within its container."
109
234
  },
@@ -112,6 +237,101 @@ export class PdsBox {
112
237
  "attribute": "align-self",
113
238
  "reflect": false
114
239
  },
240
+ "alignSelfXs": {
241
+ "type": "string",
242
+ "mutable": false,
243
+ "complexType": {
244
+ "original": "`start` | `center` | `end` | `baseline` | `stretch`",
245
+ "resolved": "\"baseline\" | \"center\" | \"end\" | \"start\" | \"stretch\"",
246
+ "references": {}
247
+ },
248
+ "required": false,
249
+ "optional": true,
250
+ "docs": {
251
+ "tags": [],
252
+ "text": "Defines how the box is aligned within its container at the XS breakpoint."
253
+ },
254
+ "getter": false,
255
+ "setter": false,
256
+ "attribute": "align-self-xs",
257
+ "reflect": false
258
+ },
259
+ "alignSelfSm": {
260
+ "type": "string",
261
+ "mutable": false,
262
+ "complexType": {
263
+ "original": "`start` | `center` | `end` | `baseline` | `stretch`",
264
+ "resolved": "\"baseline\" | \"center\" | \"end\" | \"start\" | \"stretch\"",
265
+ "references": {}
266
+ },
267
+ "required": false,
268
+ "optional": true,
269
+ "docs": {
270
+ "tags": [],
271
+ "text": "Defines how the box is aligned within its container at the SM breakpoint."
272
+ },
273
+ "getter": false,
274
+ "setter": false,
275
+ "attribute": "align-self-sm",
276
+ "reflect": false
277
+ },
278
+ "alignSelfMd": {
279
+ "type": "string",
280
+ "mutable": false,
281
+ "complexType": {
282
+ "original": "`start` | `center` | `end` | `baseline` | `stretch`",
283
+ "resolved": "\"baseline\" | \"center\" | \"end\" | \"start\" | \"stretch\"",
284
+ "references": {}
285
+ },
286
+ "required": false,
287
+ "optional": true,
288
+ "docs": {
289
+ "tags": [],
290
+ "text": "Defines how the box is aligned within its container at the MD breakpoint."
291
+ },
292
+ "getter": false,
293
+ "setter": false,
294
+ "attribute": "align-self-md",
295
+ "reflect": false
296
+ },
297
+ "alignSelfLg": {
298
+ "type": "string",
299
+ "mutable": false,
300
+ "complexType": {
301
+ "original": "`start` | `center` | `end` | `baseline` | `stretch`",
302
+ "resolved": "\"baseline\" | \"center\" | \"end\" | \"start\" | \"stretch\"",
303
+ "references": {}
304
+ },
305
+ "required": false,
306
+ "optional": true,
307
+ "docs": {
308
+ "tags": [],
309
+ "text": "Defines how the box is aligned within its container at the LG breakpoint."
310
+ },
311
+ "getter": false,
312
+ "setter": false,
313
+ "attribute": "align-self-lg",
314
+ "reflect": false
315
+ },
316
+ "alignSelfXl": {
317
+ "type": "string",
318
+ "mutable": false,
319
+ "complexType": {
320
+ "original": "`start` | `center` | `end` | `baseline` | `stretch`",
321
+ "resolved": "\"baseline\" | \"center\" | \"end\" | \"start\" | \"stretch\"",
322
+ "references": {}
323
+ },
324
+ "required": false,
325
+ "optional": true,
326
+ "docs": {
327
+ "tags": [],
328
+ "text": "Defines how the box is aligned within its container at the XL breakpoint."
329
+ },
330
+ "getter": false,
331
+ "setter": false,
332
+ "attribute": "align-self-xl",
333
+ "reflect": false
334
+ },
115
335
  "auto": {
116
336
  "type": "boolean",
117
337
  "mutable": false,
@@ -350,8 +570,8 @@ export class PdsBox {
350
570
  "type": "string",
351
571
  "mutable": false,
352
572
  "complexType": {
353
- "original": "`start` | `center` | `end` | `space-between` | `space-around`",
354
- "resolved": "\"center\" | \"end\" | \"space-around\" | \"space-between\" | \"start\"",
573
+ "original": "`start` | `center` | `end` | `space-between` | `space-around` | `space-evenly`",
574
+ "resolved": "\"center\" | \"end\" | \"space-around\" | \"space-between\" | \"space-evenly\" | \"start\"",
355
575
  "references": {}
356
576
  },
357
577
  "required": false,
@@ -368,6 +588,116 @@ export class PdsBox {
368
588
  "attribute": "justify-content",
369
589
  "reflect": false
370
590
  },
591
+ "justifyContentXs": {
592
+ "type": "string",
593
+ "mutable": false,
594
+ "complexType": {
595
+ "original": "`start` | `center` | `end` | `space-between` | `space-around` | `space-evenly`",
596
+ "resolved": "\"center\" | \"end\" | \"space-around\" | \"space-between\" | \"space-evenly\" | \"start\"",
597
+ "references": {}
598
+ },
599
+ "required": false,
600
+ "optional": true,
601
+ "docs": {
602
+ "tags": [{
603
+ "name": "defaultValue",
604
+ "text": "start"
605
+ }],
606
+ "text": "Defines the horizontal alignment of the box items at the XS breakpoint."
607
+ },
608
+ "getter": false,
609
+ "setter": false,
610
+ "attribute": "justify-content-xs",
611
+ "reflect": false
612
+ },
613
+ "justifyContentSm": {
614
+ "type": "string",
615
+ "mutable": false,
616
+ "complexType": {
617
+ "original": "`start` | `center` | `end` | `space-between` | `space-around` | `space-evenly`",
618
+ "resolved": "\"center\" | \"end\" | \"space-around\" | \"space-between\" | \"space-evenly\" | \"start\"",
619
+ "references": {}
620
+ },
621
+ "required": false,
622
+ "optional": true,
623
+ "docs": {
624
+ "tags": [{
625
+ "name": "defaultValue",
626
+ "text": "start"
627
+ }],
628
+ "text": "Defines the horizontal alignment of the box items at the SM breakpoint."
629
+ },
630
+ "getter": false,
631
+ "setter": false,
632
+ "attribute": "justify-content-sm",
633
+ "reflect": false
634
+ },
635
+ "justifyContentMd": {
636
+ "type": "string",
637
+ "mutable": false,
638
+ "complexType": {
639
+ "original": "`start` | `center` | `end` | `space-between` | `space-around` | `space-evenly`",
640
+ "resolved": "\"center\" | \"end\" | \"space-around\" | \"space-between\" | \"space-evenly\" | \"start\"",
641
+ "references": {}
642
+ },
643
+ "required": false,
644
+ "optional": true,
645
+ "docs": {
646
+ "tags": [{
647
+ "name": "defaultValue",
648
+ "text": "start"
649
+ }],
650
+ "text": "Defines the horizontal alignment of the box items at the MD breakpoint."
651
+ },
652
+ "getter": false,
653
+ "setter": false,
654
+ "attribute": "justify-content-md",
655
+ "reflect": false
656
+ },
657
+ "justifyContentLg": {
658
+ "type": "string",
659
+ "mutable": false,
660
+ "complexType": {
661
+ "original": "`start` | `center` | `end` | `space-between` | `space-around` | `space-evenly`",
662
+ "resolved": "\"center\" | \"end\" | \"space-around\" | \"space-between\" | \"space-evenly\" | \"start\"",
663
+ "references": {}
664
+ },
665
+ "required": false,
666
+ "optional": true,
667
+ "docs": {
668
+ "tags": [{
669
+ "name": "defaultValue",
670
+ "text": "start"
671
+ }],
672
+ "text": "Defines the horizontal alignment of the box items at the LG breakpoint."
673
+ },
674
+ "getter": false,
675
+ "setter": false,
676
+ "attribute": "justify-content-lg",
677
+ "reflect": false
678
+ },
679
+ "justifyContentXl": {
680
+ "type": "string",
681
+ "mutable": false,
682
+ "complexType": {
683
+ "original": "`start` | `center` | `end` | `space-between` | `space-around` | `space-evenly`",
684
+ "resolved": "\"center\" | \"end\" | \"space-around\" | \"space-between\" | \"space-evenly\" | \"start\"",
685
+ "references": {}
686
+ },
687
+ "required": false,
688
+ "optional": true,
689
+ "docs": {
690
+ "tags": [{
691
+ "name": "defaultValue",
692
+ "text": "start"
693
+ }],
694
+ "text": "Defines the horizontal alignment of the box items at the XL breakpoint."
695
+ },
696
+ "getter": false,
697
+ "setter": false,
698
+ "attribute": "justify-content-xl",
699
+ "reflect": false
700
+ },
371
701
  "marginBlockStart": {
372
702
  "type": "string",
373
703
  "mutable": false,
@@ -497,7 +827,7 @@ export class PdsBox {
497
827
  "getter": false,
498
828
  "setter": false,
499
829
  "attribute": "min-height",
500
- "reflect": false
830
+ "reflect": true
501
831
  },
502
832
  "minWidth": {
503
833
  "type": "string",
@@ -516,7 +846,7 @@ export class PdsBox {
516
846
  "getter": false,
517
847
  "setter": false,
518
848
  "attribute": "min-width",
519
- "reflect": false
849
+ "reflect": true
520
850
  },
521
851
  "offset": {
522
852
  "type": "string",
@@ -1 +1 @@
1
- {"version":3,"file":"pds-box.js","sourceRoot":"","sources":["../../../src/components/pds-box/pds-box.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAGzD,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAMxD,MAAM,OAAO,MAAM;IAJnB;QA2BE;;WAEG;QACK,WAAM,GAAI,KAAK,CAAC;KAwPzB;IA5DC,MAAM;QACJ,MAAM,UAAU,GAAG;MACjB,IAAI,CAAC,UAAU,KAAK,SAAS,IAAI,IAAI,CAAC,UAAU,CAAC,IAAI,EAAE,KAAK,EAAE,CAAC,CAAC,CAAC,mBAAmB,IAAI,CAAC,UAAU,EAAE,CAAC,CAAC,CAAC,EAAE;MAC1G,IAAI,CAAC,SAAS,KAAK,SAAS,IAAI,IAAI,CAAC,SAAS,CAAC,IAAI,EAAE,KAAK,EAAE,CAAC,CAAC,CAAC,kBAAkB,IAAI,CAAC,SAAS,EAAE,CAAC,CAAC,CAAC,EAAE;MACtG,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,eAAe,CAAC,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, h, Host, Prop } from '@stencil/core';\n\nimport { BoxColumnType, BoxTShirtSizeType, BoxShadowSizeType } from '../../utils/types';\nimport { normalizeColorValue } from '../../utils/utils';\n\n@Component({\n tag: 'pds-box',\n styleUrl: 'pds-box.scss',\n})\nexport class PdsBox {\n /**\n * Defines how items within the box are aligned.\n * @defaultValue start\n */\n @Prop() alignItems?: `start` | `center` | `end` | `baseline` | `stretch`;\n\n /**\n * Defines how the box is aligned within its container.\n * @defaultValue start\n */\n @Prop() alignSelf?: `start` | `center` | `end` | `baseline` | `stretch`;\n\n /**\n * If `true`, the box will be sized to fit its contents.\n */\n @Prop() auto?: boolean;\n\n /**\n * Defines the background-color of the box.\n */\n @Prop() backgroundColor?: string;\n\n /**\n * If `true`, the box will have a border.\n */\n @Prop() border? = false;\n\n /**\n * Defines the border color of the box.\n */\n @Prop() borderColor?: string;\n\n /**\n * Defines how rounded the box corners are.\n * @defaultValue none\n */\n @Prop() borderRadius?: `none` | `xs`| `sm` | `md` | `lg` | `circle`;\n\n /**\n * Defines the orientation of the box items.\n * @defaultValue row\n */\n @Prop() direction?: `row` | `column`;\n\n /**\n * Defines the display style of the box.\n * @defaultValue flex\n */\n @Prop() display?: `flex` | `inline-flex` | `block` | `inline-block`;\n\n /**\n * If `true`, sets the box `max-width` to `100%`.\n */\n @Prop() fit?: boolean;\n\n /**\n * Defines the spacing between the box items.\n * @defaultValue none\n */\n @Prop() gap?: BoxTShirtSizeType;\n\n /**\n * Defines whether flex items are forced onto one line or can wrap onto multiple lines.\n * @defaultValue false\n */\n @Prop() wrap?: boolean;\n\n /**\n * Defines how a box will grow or shrink to fit the space available in its container.\n * Can be a predefined value ('none', 'grow', 'shrink') or a custom flex value (e.g., '1', '0 1 auto').\n * @defaultValue none\n */\n @Prop() flex?: `none` | `grow` | `shrink` | string;\n\n /**\n * Defines the horizontal alignment of the box items.\n * @defaultValue start\n */\n @Prop() justifyContent?: `start` | `center` | `end` | `space-between` | `space-around`;\n\n /**\n * Defines the box's outer top spacing.\n * @defaultValue none\n */\n @Prop() marginBlockStart?: BoxTShirtSizeType;\n\n /**\n * Defines the box's outer left spacing.\n * @defaultValue none\n */\n @Prop() marginInlineStart?: BoxTShirtSizeType;\n\n /**\n * Defines the box's outer right spacing.\n * @defaultValue none\n */\n @Prop() marginInlineEnd?: BoxTShirtSizeType;\n\n /**\n * Defines the box's outer bottom spacing.\n * @defaultValue none\n */\n @Prop() marginBlockEnd?: BoxTShirtSizeType;\n\n /**\n * The minimum height of the row. Used in conjunction with alignment props\n */\n @Prop() minHeight?: string;\n\n /**\n * The minimum width of the row. Used in conjunction with alignment props\n */\n @Prop() minWidth?: string;\n\n /**\n * Move columns to the end direction of the row for all screen sizes. Increases the starting margin of a column by specified number of columns.\n */\n @Prop() offset?: BoxColumnType;\n\n /**\n * Move columns to the end direction of the row for `XS` screen sizes. Increases the starting margin of a column by specified number of columns.\n */\n @Prop() offsetXs?: BoxColumnType;\n\n /**\n * Move columns to the end direction of the row for `SM` screen sizes. Increases the starting margin of a column by specified number of columns.\n */\n @Prop() offsetSm?: BoxColumnType;\n\n /**\n * Move columns to the end direction of the row for `MD` screen sizes. Increases the starting margin of a column by specified number of columns.\n */\n @Prop() offsetMd?: BoxColumnType;\n\n /**\n * Move columns to the end direction of the row for `LG` screen sizes. Increases the starting margin of a column by specified number of columns.\n */\n @Prop() offsetLg?: BoxColumnType;\n\n /**\n * Move columns to the end direction of the row for `XL` screen sizes. Increases the starting margin of a column by specified number of columns.\n */\n @Prop() offsetXl?: BoxColumnType;\n\n /**\n * Defines the spacing between the box items.\n * @defaultValue none\n */\n @Prop() padding?: BoxTShirtSizeType;\n\n\n /**\n * Defines the top spacing.\n * @defaultValue none\n */\n @Prop() paddingBlockStart?: BoxTShirtSizeType;\n\n /**\n * Defines the bottom spacing.\n * @defaultValue none\n */\n @Prop() paddingBlockEnd?: BoxTShirtSizeType;\n\n /**\n * Defines the left spacing.\n * @defaultValue none\n */\n @Prop() paddingInlineStart?: BoxTShirtSizeType;\n\n /**\n * Defines the right spacing.\n * @defaultValue none\n */\n @Prop() paddingInlineEnd?: BoxTShirtSizeType;\n\n /**\n * Defines the box shadow.\n * @defaultValue none\n */\n @Prop() shadow?: BoxShadowSizeType;\n\n /**\n * Sets the default column width for the component. This value applies from the smallest screen size (XS) upwards, unless overridden by a breakpoint-specific size prop at that breakpoint or larger.\n */\n @Prop() size?: BoxColumnType;\n\n /**\n * At the XS breakpoint, this prop will take the number of columns specified. This overrides the base size prop for this specific range.\n */\n @Prop() sizeXs?: BoxColumnType;\n\n /**\n * At screen sizes from the SM breakpoint and larger (576px and up), this will take the specified number of columns. This overrides any value set by size or sizeXs.\n */\n @Prop() sizeSm?: BoxColumnType;\n\n /**\n * At screen sizes from the MD breakpoint and larger (768px and up), this will take the specified number of columns. This overrides any value set by size, sizeXs, and up.\n */\n @Prop() sizeMd?: BoxColumnType;\n\n /**\n * At screen sizes from the LG breakpoint and larger (992px and up), this will take the specified number of columns. This overrides any value set by size, sizeXs, and up.\n */\n @Prop() sizeLg?: BoxColumnType;\n\n /**\n * At screen sizes from the XL breakpoint and larger (1200px and up), this will take the specified number of columns. This overrides any value set by size, sizeXs, and up.\n */\n @Prop() sizeXl?: BoxColumnType;\n\n\n\n render() {\n const boxClasses = `\n ${this.alignItems !== undefined && this.alignItems.trim() !== '' ? `pds-align-items-${this.alignItems}` : ''}\n ${this.alignSelf !== undefined && this.alignSelf.trim() !== '' ? `pds-align-self-${this.alignSelf}` : ''}\n ${this.auto ? 'pds-box--auto' : ''}\n ${this.border ? 'pds-box--border' : ''}\n ${this.borderRadius !== undefined && this.borderRadius.trim() !== '' ? `pds-border-radius-${this.borderRadius}` : ''}\n ${this.direction !== undefined && this.direction.trim() !== '' ? `pds-box-direction-${this.direction}` : ''}\n ${this.display !== undefined && this.display.trim() !== '' ? `pds-box--display-${this.display}` : ''}\n ${this.fit ? 'pds-box--fit' : ''}\n ${this.gap !== undefined && this.gap.trim() !== '' ? `pds-box-gap-${this.gap}` : ''}\n ${this.wrap ? 'pds-box--wrap' : ''}\n ${this.flex !== undefined && this.flex.trim() !== '' && ['none', 'grow', 'shrink'].includes(this.flex) ? `pds-box--flex-${this.flex}` : ''}\n ${this.justifyContent !== undefined && this.justifyContent.trim() !== '' ? `pds-justify-content-${this.justifyContent}` : ''}\n ${this.marginBlockStart !== undefined && this.marginBlockStart.trim() !== '' ? `pds-margin-block-start-${this.marginBlockStart}` : ''}\n ${this.marginInlineStart !== undefined && this.marginInlineStart.trim() !== '' ? `pds-margin-inline-start-${this.marginInlineStart}` : ''}\n ${this.marginInlineEnd !== undefined && this.marginInlineEnd.trim() !== '' ? `pds-margin-inline-end-${this.marginInlineEnd}` : ''}\n ${this.marginBlockEnd !== undefined && this.marginBlockEnd.trim() !== '' ? `pds-margin-block-end-${this.marginBlockEnd}` : ''}\n ${this.offset !== undefined && this.offset.trim() !== '' ? `pds-box-offset-${this.offset}` : ''}\n ${this.offsetXs !== undefined && this.offsetXs.trim() !== '' ? `pds-box-offset-xs-${this.offsetXs}` : ''}\n ${this.offsetSm !== undefined && this.offsetSm.trim() !== '' ? `pds-box-offset-sm-${this.offsetSm}` : ''}\n ${this.offsetMd !== undefined && this.offsetMd.trim() !== '' ? `pds-box-offset-md-${this.offsetMd}` : ''}\n ${this.offsetLg !== undefined && this.offsetLg.trim() !== '' ? `pds-box-offset-lg-${this.offsetLg}` : ''}\n ${this.offsetXl !== undefined && this.offsetXl.trim() !== '' ? `pds-box-offset-xl-${this.offsetXl}` : ''}\n ${this.padding !== undefined && this.padding.trim() !== '' ? `pds-padding-${this.padding}` : ''}\n ${this.paddingBlockStart !== undefined && this.paddingBlockStart.trim() !== '' ? `pds-padding-block-start-${this.paddingBlockStart}` : ''}\n ${this.paddingBlockEnd !== undefined && this.paddingBlockEnd.trim() !== '' ? `pds-padding-block-end-${this.paddingBlockEnd}` : ''}\n ${this.paddingInlineStart !== undefined && this.paddingInlineStart.trim() !== '' ? `pds-padding-inline-start-${this.paddingInlineStart}` : ''}\n ${this.paddingInlineEnd !== undefined && this.paddingInlineEnd.trim() !== '' ? `pds-padding-inline-end-${this.paddingInlineEnd}` : ''}\n ${this.shadow !== undefined && this.shadow.trim() !== '' ? `pds-shadow-${this.shadow}` : ''}\n ${this.size !== undefined && this.size.trim() !== '' ? `pds-box pds-box-${this.size}` : ''}\n ${this.sizeXs !== undefined && this.sizeXs.trim() !== '' ? `pds-box-xs-${this.sizeXs}` : ''}\n ${this.sizeSm !== undefined && this.sizeSm.trim() !== '' ? `pds-box-sm-${this.sizeSm}` : ''}\n ${this.sizeMd !== undefined && this.sizeMd.trim() !== '' ? `pds-box-md-${this.sizeMd}` : ''}\n ${this.sizeLg !== undefined && this.sizeLg.trim() !== '' ? `pds-box-lg-${this.sizeLg}` : ''}\n ${this.sizeXl !== undefined && this.sizeXl.trim() !== '' ? `pds-box-xl-${this.sizeXl}` : ''}\n ${this.size == undefined &&\n this.sizeSm == undefined &&\n this.sizeMd == undefined &&\n this.sizeLg == undefined &&\n this.sizeXl == undefined ? 'pds-box' : ''}\n `;\n\n // Normalize so pds-box accepts --token, var(--token), or literals (no semantic names)\n const normalizedBackground = normalizeColorValue(this.backgroundColor);\n const normalizedBorder = normalizeColorValue(this.borderColor);\n\n const boxInlineStyles = {\n ...(normalizedBackground && { '--color-background-box': normalizedBackground }),\n ...(normalizedBorder && { '--color-border-box': normalizedBorder }),\n ...(this.minHeight && { '--sizing-min-height-box': this.minHeight }),\n ...(this.minWidth && { '--sizing-min-width-box': this.minWidth }),\n ...(this.flex && !['none', 'grow', 'shrink'].includes(this.flex) && { 'flex': this.flex }),\n };\n\n return (\n <Host class={boxClasses} style={boxInlineStyles}>\n </Host>\n );\n }\n}\n"]}
1
+ {"version":3,"file":"pds-box.js","sourceRoot":"","sources":["../../../src/components/pds-box/pds-box.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAGzD,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAMxD,MAAM,OAAO,MAAM;IAJnB;QAuFE;;WAEG;QACK,WAAM,GAAI,KAAK,CAAC;KAqSzB;IA3EC,MAAM;QACJ,MAAM,UAAU,GAAG;MACjB,IAAI,CAAC,UAAU,KAAK,SAAS,IAAI,IAAI,CAAC,UAAU,CAA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, h, Host, Prop } from '@stencil/core';\n\nimport { BoxColumnType, BoxTShirtSizeType, BoxShadowSizeType } from '../../utils/types';\nimport { normalizeColorValue } from '../../utils/utils';\n\n@Component({\n tag: 'pds-box',\n styleUrl: 'pds-box.scss',\n})\nexport class PdsBox {\n /**\n * Defines how items within the box are aligned.\n * @defaultValue stretch\n */\n @Prop() alignItems?: `start` | `center` | `end` | `baseline` | `stretch` ;\n\n /**\n * Defines how items within the box are aligned at the XS breakpoint.\n * @defaultValue stretch\n */\n @Prop() alignItemsXs?: `start` | `center` | `end` | `baseline` | `stretch`;\n\n /**\n * Defines how items within the box are aligned at the SM breakpoint.\n * @defaultValue stretch\n */\n @Prop() alignItemsSm?: `start` | `center` | `end` | `baseline` | `stretch`;\n\n /**\n * Defines how items within the box are aligned at the MD breakpoint.\n * @defaultValue stretch\n */\n @Prop() alignItemsMd?: `start` | `center` | `end` | `baseline` | `stretch`;\n\n /**\n * Defines how items within the box are aligned at the LG breakpoint.\n * @defaultValue stretch\n */\n @Prop() alignItemsLg?: `start` | `center` | `end` | `baseline` | `stretch`;\n\n /**\n * Defines how items within the box are aligned at the XL breakpoint.\n * @defaultValue stretch\n */\n @Prop() alignItemsXl?: `start` | `center` | `end` | `baseline` | `stretch`;\n\n /**\n * Defines how the box is aligned within its container.\n * @defaultValue stretch\n */\n @Prop() alignSelf?: `start` | `center` | `end` | `baseline` | `stretch`;\n\n /**\n * Defines how the box is aligned within its container at the XS breakpoint.\n *\n */\n @Prop() alignSelfXs?: `start` | `center` | `end` | `baseline` | `stretch`;\n\n /**\n * Defines how the box is aligned within its container at the SM breakpoint.\n *\n */\n @Prop() alignSelfSm?: `start` | `center` | `end` | `baseline` | `stretch`;\n\n /**\n * Defines how the box is aligned within its container at the MD breakpoint.\n *\n */\n @Prop() alignSelfMd?: `start` | `center` | `end` | `baseline` | `stretch`;\n\n /**\n * Defines how the box is aligned within its container at the LG breakpoint.\n *\n */\n @Prop() alignSelfLg?: `start` | `center` | `end` | `baseline` | `stretch`;\n\n /**\n * Defines how the box is aligned within its container at the XL breakpoint.\n *\n */\n @Prop() alignSelfXl?: `start` | `center` | `end` | `baseline` | `stretch`;\n\n /**\n * If `true`, the box will be sized to fit its contents.\n */\n @Prop() auto?: boolean;\n\n /**\n * Defines the background-color of the box.\n */\n @Prop() backgroundColor?: string;\n\n /**\n * If `true`, the box will have a border.\n */\n @Prop() border? = false;\n\n /**\n * Defines the border color of the box.\n */\n @Prop() borderColor?: string;\n\n /**\n * Defines how rounded the box corners are.\n * @defaultValue none\n */\n @Prop() borderRadius?: `none` | `xs`| `sm` | `md` | `lg` | `circle`;\n\n /**\n * Defines the orientation of the box items.\n * @defaultValue row\n */\n @Prop() direction?: `row` | `column`;\n\n /**\n * Defines the display style of the box.\n * @defaultValue flex\n */\n @Prop() display?: `flex` | `inline-flex` | `block` | `inline-block`;\n\n /**\n * If `true`, sets the box `max-width` to `100%`.\n */\n @Prop() fit?: boolean;\n\n /**\n * Defines the spacing between the box items.\n * @defaultValue none\n */\n @Prop() gap?: BoxTShirtSizeType;\n\n /**\n * Defines whether flex items are forced onto one line or can wrap onto multiple lines.\n * @defaultValue false\n */\n @Prop() wrap?: boolean;\n\n /**\n * Defines how a box will grow or shrink to fit the space available in its container.\n * Can be a predefined value ('none', 'grow', 'shrink') or a custom flex value (e.g., '1', '0 1 auto').\n * @defaultValue none\n */\n @Prop() flex?: `none` | `grow` | `shrink` | string;\n\n /**\n * Defines the horizontal alignment of the box items.\n * @defaultValue start\n */\n @Prop() justifyContent?: `start` | `center` | `end` | `space-between` | `space-around` | `space-evenly`;\n\n /**\n * Defines the horizontal alignment of the box items at the XS breakpoint.\n * @defaultValue start\n */\n @Prop() justifyContentXs?: `start` | `center` | `end` | `space-between` | `space-around` | `space-evenly`;\n\n /**\n * Defines the horizontal alignment of the box items at the SM breakpoint.\n * @defaultValue start\n */\n @Prop() justifyContentSm?: `start` | `center` | `end` | `space-between` | `space-around` | `space-evenly`;\n\n /**\n * Defines the horizontal alignment of the box items at the MD breakpoint.\n * @defaultValue start\n */\n @Prop() justifyContentMd?: `start` | `center` | `end` | `space-between` | `space-around` | `space-evenly`;\n\n /**\n * Defines the horizontal alignment of the box items at the LG breakpoint.\n * @defaultValue start\n */\n @Prop() justifyContentLg?: `start` | `center` | `end` | `space-between` | `space-around` | `space-evenly`;\n\n /**\n * Defines the horizontal alignment of the box items at the XL breakpoint.\n * @defaultValue start\n */\n @Prop() justifyContentXl?: `start` | `center` | `end` | `space-between` | `space-around` | `space-evenly`;\n\n /**\n * Defines the box's outer top spacing.\n * @defaultValue none\n */\n @Prop() marginBlockStart?: BoxTShirtSizeType;\n\n /**\n * Defines the box's outer left spacing.\n * @defaultValue none\n */\n @Prop() marginInlineStart?: BoxTShirtSizeType;\n\n /**\n * Defines the box's outer right spacing.\n * @defaultValue none\n */\n @Prop() marginInlineEnd?: BoxTShirtSizeType;\n\n /**\n * Defines the box's outer bottom spacing.\n * @defaultValue none\n */\n @Prop() marginBlockEnd?: BoxTShirtSizeType;\n\n /**\n * The minimum height of the row. Used in conjunction with alignment props\n */\n @Prop({ reflect: true }) minHeight?: string;\n\n /**\n * The minimum width of the row. Used in conjunction with alignment props\n */\n @Prop({ reflect: true }) minWidth?: string;\n\n /**\n * Move columns to the end direction of the row for all screen sizes. Increases the starting margin of a column by specified number of columns.\n */\n @Prop() offset?: BoxColumnType;\n\n /**\n * Move columns to the end direction of the row for `XS` screen sizes. Increases the starting margin of a column by specified number of columns.\n */\n @Prop() offsetXs?: BoxColumnType;\n\n /**\n * Move columns to the end direction of the row for `SM` screen sizes. Increases the starting margin of a column by specified number of columns.\n */\n @Prop() offsetSm?: BoxColumnType;\n\n /**\n * Move columns to the end direction of the row for `MD` screen sizes. Increases the starting margin of a column by specified number of columns.\n */\n @Prop() offsetMd?: BoxColumnType;\n\n /**\n * Move columns to the end direction of the row for `LG` screen sizes. Increases the starting margin of a column by specified number of columns.\n */\n @Prop() offsetLg?: BoxColumnType;\n\n /**\n * Move columns to the end direction of the row for `XL` screen sizes. Increases the starting margin of a column by specified number of columns.\n */\n @Prop() offsetXl?: BoxColumnType;\n\n /**\n * Defines the spacing between the box items.\n * @defaultValue none\n */\n @Prop() padding?: BoxTShirtSizeType;\n\n\n /**\n * Defines the top spacing.\n * @defaultValue none\n */\n @Prop() paddingBlockStart?: BoxTShirtSizeType;\n\n /**\n * Defines the bottom spacing.\n * @defaultValue none\n */\n @Prop() paddingBlockEnd?: BoxTShirtSizeType;\n\n /**\n * Defines the left spacing.\n * @defaultValue none\n */\n @Prop() paddingInlineStart?: BoxTShirtSizeType;\n\n /**\n * Defines the right spacing.\n * @defaultValue none\n */\n @Prop() paddingInlineEnd?: BoxTShirtSizeType;\n\n /**\n * Defines the box shadow.\n * @defaultValue none\n */\n @Prop() shadow?: BoxShadowSizeType;\n\n /**\n * Sets the default column width for the component. This value applies from the smallest screen size (XS) upwards, unless overridden by a breakpoint-specific size prop at that breakpoint or larger.\n */\n @Prop() size?: BoxColumnType;\n\n /**\n * At the XS breakpoint, this prop will take the number of columns specified. This overrides the base size prop for this specific range.\n */\n @Prop() sizeXs?: BoxColumnType;\n\n /**\n * At screen sizes from the SM breakpoint and larger (576px and up), this will take the specified number of columns. This overrides any value set by size or sizeXs.\n */\n @Prop() sizeSm?: BoxColumnType;\n\n /**\n * At screen sizes from the MD breakpoint and larger (768px and up), this will take the specified number of columns. This overrides any value set by size, sizeXs, and up.\n */\n @Prop() sizeMd?: BoxColumnType;\n\n /**\n * At screen sizes from the LG breakpoint and larger (992px and up), this will take the specified number of columns. This overrides any value set by size, sizeXs, and up.\n */\n @Prop() sizeLg?: BoxColumnType;\n\n /**\n * At screen sizes from the XL breakpoint and larger (1200px and up), this will take the specified number of columns. This overrides any value set by size, sizeXs, and up.\n */\n @Prop() sizeXl?: BoxColumnType;\n\n\n\n render() {\n const boxClasses = `\n ${this.alignItems !== undefined && this.alignItems.trim() !== '' ? `pds-align-items-${this.alignItems}` : ''}\n ${this.alignItemsXs !== undefined && this.alignItemsXs.trim() !== '' ? `pds-align-items-xs-${this.alignItemsXs}` : ''}\n ${this.alignItemsSm !== undefined && this.alignItemsSm.trim() !== '' ? `pds-align-items-sm-${this.alignItemsSm}` : ''}\n ${this.alignItemsMd !== undefined && this.alignItemsMd.trim() !== '' ? `pds-align-items-md-${this.alignItemsMd}` : ''}\n ${this.alignItemsLg !== undefined && this.alignItemsLg.trim() !== '' ? `pds-align-items-lg-${this.alignItemsLg}` : ''}\n ${this.alignItemsXl !== undefined && this.alignItemsXl.trim() !== '' ? `pds-align-items-xl-${this.alignItemsXl}` : ''}\n ${this.alignSelf !== undefined && this.alignSelf.trim() !== '' ? `pds-align-self-${this.alignSelf}` : ''}\n ${this.alignSelfXs !== undefined && this.alignSelfXs.trim() !== '' ? `pds-align-self-xs-${this.alignSelfXs}` : ''}\n ${this.alignSelfSm !== undefined && this.alignSelfSm.trim() !== '' ? `pds-align-self-sm-${this.alignSelfSm}` : ''}\n ${this.alignSelfMd !== undefined && this.alignSelfMd.trim() !== '' ? `pds-align-self-md-${this.alignSelfMd}` : ''}\n ${this.alignSelfLg !== undefined && this.alignSelfLg.trim() !== '' ? `pds-align-self-lg-${this.alignSelfLg}` : ''}\n ${this.alignSelfXl !== undefined && this.alignSelfXl.trim() !== '' ? `pds-align-self-xl-${this.alignSelfXl}` : ''}\n ${this.auto ? 'pds-box--auto' : ''}\n ${this.border ? 'pds-box--border' : ''}\n ${this.borderRadius !== undefined && this.borderRadius.trim() !== '' ? `pds-border-radius-${this.borderRadius}` : ''}\n ${this.direction !== undefined && this.direction.trim() !== '' ? `pds-box-direction-${this.direction}` : ''}\n ${this.display !== undefined && this.display.trim() !== '' ? `pds-box--display-${this.display}` : ''}\n ${this.fit ? 'pds-box--fit' : ''}\n ${this.gap !== undefined && this.gap.trim() !== '' ? `pds-box-gap-${this.gap}` : ''}\n ${this.wrap ? 'pds-box--wrap' : ''}\n ${this.flex !== undefined && this.flex.trim() !== '' && ['none', 'grow', 'shrink'].includes(this.flex) ? `pds-box--flex-${this.flex}` : ''}\n ${this.justifyContent !== undefined && this.justifyContent.trim() !== '' ? `pds-justify-content-${this.justifyContent}` : ''}\n ${this.justifyContentXs !== undefined && this.justifyContentXs.trim() !== '' ? `pds-justify-content-xs-${this.justifyContentXs}` : ''}\n ${this.justifyContentSm !== undefined && this.justifyContentSm.trim() !== '' ? `pds-justify-content-sm-${this.justifyContentSm}` : ''}\n ${this.justifyContentMd !== undefined && this.justifyContentMd.trim() !== '' ? `pds-justify-content-md-${this.justifyContentMd}` : ''}\n ${this.justifyContentLg !== undefined && this.justifyContentLg.trim() !== '' ? `pds-justify-content-lg-${this.justifyContentLg}` : ''}\n ${this.justifyContentXl !== undefined && this.justifyContentXl.trim() !== '' ? `pds-justify-content-xl-${this.justifyContentXl}` : ''}\n ${this.marginBlockStart !== undefined && this.marginBlockStart.trim() !== '' ? `pds-margin-block-start-${this.marginBlockStart}` : ''}\n ${this.marginInlineStart !== undefined && this.marginInlineStart.trim() !== '' ? `pds-margin-inline-start-${this.marginInlineStart}` : ''}\n ${this.marginInlineEnd !== undefined && this.marginInlineEnd.trim() !== '' ? `pds-margin-inline-end-${this.marginInlineEnd}` : ''}\n ${this.marginBlockEnd !== undefined && this.marginBlockEnd.trim() !== '' ? `pds-margin-block-end-${this.marginBlockEnd}` : ''}\n ${this.offset !== undefined && this.offset.trim() !== '' ? `pds-box-offset-${this.offset}` : ''}\n ${this.offsetXs !== undefined && this.offsetXs.trim() !== '' ? `pds-box-offset-xs-${this.offsetXs}` : ''}\n ${this.offsetSm !== undefined && this.offsetSm.trim() !== '' ? `pds-box-offset-sm-${this.offsetSm}` : ''}\n ${this.offsetMd !== undefined && this.offsetMd.trim() !== '' ? `pds-box-offset-md-${this.offsetMd}` : ''}\n ${this.offsetLg !== undefined && this.offsetLg.trim() !== '' ? `pds-box-offset-lg-${this.offsetLg}` : ''}\n ${this.offsetXl !== undefined && this.offsetXl.trim() !== '' ? `pds-box-offset-xl-${this.offsetXl}` : ''}\n ${this.padding !== undefined && this.padding.trim() !== '' ? `pds-padding-${this.padding}` : ''}\n ${this.paddingBlockStart !== undefined && this.paddingBlockStart.trim() !== '' ? `pds-padding-block-start-${this.paddingBlockStart}` : ''}\n ${this.paddingBlockEnd !== undefined && this.paddingBlockEnd.trim() !== '' ? `pds-padding-block-end-${this.paddingBlockEnd}` : ''}\n ${this.paddingInlineStart !== undefined && this.paddingInlineStart.trim() !== '' ? `pds-padding-inline-start-${this.paddingInlineStart}` : ''}\n ${this.paddingInlineEnd !== undefined && this.paddingInlineEnd.trim() !== '' ? `pds-padding-inline-end-${this.paddingInlineEnd}` : ''}\n ${this.shadow !== undefined && this.shadow.trim() !== '' ? `pds-shadow-${this.shadow}` : ''}\n ${this.size !== undefined && this.size.trim() !== '' ? `pds-box pds-box-${this.size}` : ''}\n ${this.sizeXs !== undefined && this.sizeXs.trim() !== '' ? `pds-box-xs-${this.sizeXs}` : ''}\n ${this.sizeSm !== undefined && this.sizeSm.trim() !== '' ? `pds-box-sm-${this.sizeSm}` : ''}\n ${this.sizeMd !== undefined && this.sizeMd.trim() !== '' ? `pds-box-md-${this.sizeMd}` : ''}\n ${this.sizeLg !== undefined && this.sizeLg.trim() !== '' ? `pds-box-lg-${this.sizeLg}` : ''}\n ${this.sizeXl !== undefined && this.sizeXl.trim() !== '' ? `pds-box-xl-${this.sizeXl}` : ''}\n ${this.size == undefined &&\n this.sizeSm == undefined &&\n this.sizeMd == undefined &&\n this.sizeLg == undefined &&\n this.sizeXl == undefined ? 'pds-box' : ''}\n `;\n\n // Normalize so pds-box accepts --token, var(--token), or literals (no semantic names)\n const normalizedBackground = normalizeColorValue(this.backgroundColor);\n const normalizedBorder = normalizeColorValue(this.borderColor);\n\n const boxInlineStyles = {\n ...(normalizedBackground && { '--color-background-box': normalizedBackground }),\n ...(normalizedBorder && { '--color-border-box': normalizedBorder }),\n ...(this.minHeight && { '--sizing-min-height-box': this.minHeight }),\n ...(this.minWidth && { '--sizing-min-width-box': this.minWidth }),\n ...(this.flex && !['none', 'grow', 'shrink'].includes(this.flex) && { 'flex': this.flex }),\n };\n\n return (\n <Host class={boxClasses} style={boxInlineStyles}>\n </Host>\n );\n }\n}\n"]}
@@ -27,13 +27,17 @@ export class PdsRow {
27
27
  ${this.justifyContent !== undefined && this.justifyContent.trim() !== '' ? `pds-justify-content-${this.justifyContent}` : ''}
28
28
  ${this.noWrap ? 'pds-row--no-wrap' : ''}
29
29
  `;
30
- const rowInlineStyles = Object.assign(Object.assign({}, (this.colGap && {
30
+ const rowInlineStyles = Object.assign(Object.assign(Object.assign(Object.assign({}, (this.colGap && {
31
31
  '--row-gap-x': this.colGap !== undefined && this.colGap.trim() !== '' ? this.colGapMap[this.colGap] : '',
32
32
  '--row-gap-y': this.colGap !== undefined && this.colGap.trim() !== '' ? this.colGapMap[this.colGap] : '',
33
+ })), (this.colGapBlock && {
34
+ '--row-gap-y': this.colGapBlock !== undefined && this.colGapBlock.trim() !== '' ? this.colGapMap[this.colGapBlock] : '',
35
+ })), (this.colGapInline && {
36
+ '--row-gap-x': this.colGapInline !== undefined && this.colGapInline.trim() !== '' ? this.colGapMap[this.colGapInline] : '',
33
37
  })), (this.minHeight && {
34
38
  'min-height': this.minHeight,
35
39
  }));
36
- return h(Host, { key: '9564a3a3a4bb78c947c79f803ddcec988a2ef6d3', class: `pds-row ${rowClasses}`, style: rowInlineStyles });
40
+ return h(Host, { key: '5cfdc14486ad24d42751624d37ff6ef38f611b12', class: `pds-row ${rowClasses}`, style: rowInlineStyles });
37
41
  }
38
42
  static get is() { return "pds-row"; }
39
43
  static get originalStyleUrls() {
@@ -115,6 +119,56 @@ export class PdsRow {
115
119
  "attribute": "col-gap",
116
120
  "reflect": false
117
121
  },
122
+ "colGapBlock": {
123
+ "type": "string",
124
+ "mutable": false,
125
+ "complexType": {
126
+ "original": "BoxTShirtSizeType | null",
127
+ "resolved": "\"lg\" | \"md\" | \"none\" | \"sm\" | \"xl\" | \"xs\" | \"xxl\" | \"xxs\"",
128
+ "references": {
129
+ "BoxTShirtSizeType": {
130
+ "location": "import",
131
+ "path": "../../utils/types",
132
+ "id": "src/utils/types.ts::BoxTShirtSizeType"
133
+ }
134
+ }
135
+ },
136
+ "required": false,
137
+ "optional": true,
138
+ "docs": {
139
+ "tags": [],
140
+ "text": "Defines the spacing between the row items vertically."
141
+ },
142
+ "getter": false,
143
+ "setter": false,
144
+ "attribute": "col-gap-block",
145
+ "reflect": false
146
+ },
147
+ "colGapInline": {
148
+ "type": "string",
149
+ "mutable": false,
150
+ "complexType": {
151
+ "original": "BoxTShirtSizeType | null",
152
+ "resolved": "\"lg\" | \"md\" | \"none\" | \"sm\" | \"xl\" | \"xs\" | \"xxl\" | \"xxs\"",
153
+ "references": {
154
+ "BoxTShirtSizeType": {
155
+ "location": "import",
156
+ "path": "../../utils/types",
157
+ "id": "src/utils/types.ts::BoxTShirtSizeType"
158
+ }
159
+ }
160
+ },
161
+ "required": false,
162
+ "optional": true,
163
+ "docs": {
164
+ "tags": [],
165
+ "text": "Defines the spacing between the row items horizontally."
166
+ },
167
+ "getter": false,
168
+ "setter": false,
169
+ "attribute": "col-gap-inline",
170
+ "reflect": false
171
+ },
118
172
  "componentId": {
119
173
  "type": "string",
120
174
  "mutable": false,
@@ -1 +1 @@
1
- {"version":3,"file":"pds-row.js","sourceRoot":"","sources":["../../../src/components/pds-row/pds-row.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAQzD,MAAM,OAAO,MAAM;IAJnB;QAWE;;WAEG;QACK,WAAM,GAAI,KAAK,CAAC;QAuBxB;;WAEG;QACK,WAAM,GAAI,KAAK,CAAC;QAEhB,cAAS,GAA2C;YAC1D,IAAI,EAAE,GAAG;YACT,GAAG,EAAE,QAAQ;YACb,EAAE,EAAE,OAAO;YACX,EAAE,EAAE,MAAM;YACV,EAAE,EAAE,QAAQ;YACZ,EAAE,EAAE,SAAS;YACb,EAAE,EAAE,MAAM;YACV,GAAG,EAAE,MAAM;SACZ,CAAC;KAsBH;IApBC,MAAM;QACJ,MAAM,UAAU,GAAG;MACjB,IAAI,CAAC,UAAU,KAAK,SAAS,IAAI,IAAI,CAAC,UAAU,CAAC,IAAI,EAAE,KAAK,EAAE,CAAC,CAAC,CAAC,mBAAmB,IAAI,CAAC,UAAU,EAAE,CAAC,CAAC,CAAC,EAAE;MAC1G,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,iBAAiB,CAAC,CAAC,CAAC,EAAE;MACpC,IAAI,CAAC,cAAc,KAAK,SAAS,IAAI,IAAI,CAAC,cAAc,CAAC,IAAI,EAAE,KAAK,EAAE,CAAC,CAAC,CAAC,uBAAuB,IAAI,CAAC,cAAc,EAAE,CAAC,CAAC,CAAC,EAAE;MAC1H,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,kBAAkB,CAAC,CAAC,CAAC,EAAE;GACxC,CAAC;QAEA,MAAM,eAAe,mCAChB,CAAC,IAAI,CAAC,MAAM,IAAI;YACjB,aAAa,EAAE,IAAI,CAAC,MAAM,KAAK,SAAS,IAAI,IAAI,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,EAAE;YACxG,aAAa,EAAE,IAAI,CAAC,MAAM,KAAK,SAAS,IAAI,IAAI,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,EAAE;SACzG,CAAC,GACC,CAAC,IAAI,CAAC,SAAS,IAAI;YACpB,YAAY,EAAE,IAAI,CAAC,SAAS;SAC7B,CAAC,CACH,CAAC;QAEF,OAAO,EAAC,IAAI,qDAAC,KAAK,EAAE,WAAW,UAAU,EAAE,EAAE,KAAK,EAAE,eAAe,GAAS,CAAC;IAC/E,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Prop, h, Host } from '@stencil/core';\n\nimport { BoxTShirtSizeType } from '../../utils/types';\n\n@Component({\n tag: 'pds-row',\n styleUrl: 'pds-row.scss',\n})\nexport class PdsRow {\n /**\n * Defines the vertical alignment of the row items.\n * @defaultValue start\n */\n @Prop() alignItems?: `start` | `center` | `end` | `baseline` | `stretch`;\n\n /**\n * If `true`, the row will have a border.\n */\n @Prop() border? = false;\n\n /**\n * Defines the spacing between the row items.\n */\n @Prop() colGap?: BoxTShirtSizeType | null;\n\n /**\n * A unique identifier used for the underlying component `id` attribute.\n */\n @Prop() componentId: string;\n\n /**\n * Defines the horizontal alignment of the row items.\n * @defaultValue start\n */\n @Prop() justifyContent?: `start` | `center` | `end` | `space-between` | `space-around`;\n\n /**\n * The minimum height of the row. Used in conjunction with alignment props\n */\n @Prop() minHeight?: string;\n\n /**\n * If `true`, the row items will not wrap to the next line if horizontal space is not available.\n */\n @Prop() noWrap? = false;\n\n private colGapMap: { [key in BoxTShirtSizeType]: string } = {\n none: '0',\n xxs: '.25rem',\n xs: '.5rem',\n sm: '1rem',\n md: '1.5rem',\n lg: '2.25rem',\n xl: '3rem',\n xxl: '4rem',\n };\n\n render() {\n const rowClasses = `\n ${this.alignItems !== undefined && this.alignItems.trim() !== '' ? `pds-align-items-${this.alignItems}` : ''}\n ${this.border ? 'pds-row--border' : ''}\n ${this.justifyContent !== undefined && this.justifyContent.trim() !== '' ? `pds-justify-content-${this.justifyContent}` : ''}\n ${this.noWrap ? 'pds-row--no-wrap' : ''}\n `;\n\n const rowInlineStyles = {\n ...(this.colGap && {\n '--row-gap-x': this.colGap !== undefined && this.colGap.trim() !== '' ? this.colGapMap[this.colGap] : '',\n '--row-gap-y': this.colGap !== undefined && this.colGap.trim() !== '' ? this.colGapMap[this.colGap] : '',\n }),\n ...(this.minHeight && {\n 'min-height': this.minHeight,\n }),\n };\n\n return <Host class={`pds-row ${rowClasses}`} style={rowInlineStyles}></Host>;\n }\n}\n"]}
1
+ {"version":3,"file":"pds-row.js","sourceRoot":"","sources":["../../../src/components/pds-row/pds-row.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAQzD,MAAM,OAAO,MAAM;IAJnB;QAWE;;WAEG;QACK,WAAM,GAAI,KAAK,CAAC;QAiCxB;;WAEG;QACK,WAAM,GAAI,KAAK,CAAC;QAEhB,cAAS,GAA2C;YAC1D,IAAI,EAAE,GAAG;YACT,GAAG,EAAE,QAAQ;YACb,EAAE,EAAE,OAAO;YACX,EAAE,EAAE,MAAM;YACV,EAAE,EAAE,QAAQ;YACZ,EAAE,EAAE,SAAS;YACb,EAAE,EAAE,MAAM;YACV,GAAG,EAAE,MAAM;SAC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,CAAC,GACC,CAAC,IAAI,CAAC,YAAY,IAAI;YACvB,aAAa,EAAE,IAAI,CAAC,YAAY,KAAK,SAAS,IAAI,IAAI,CAAC,YAAY,CAAC,IAAI,EAAE,KAAK,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,EAAE;SAC3H,CAAC,GACC,CAAC,IAAI,CAAC,SAAS,IAAI;YACpB,YAAY,EAAE,IAAI,CAAC,SAAS;SAC7B,CAAC,CACH,CAAC;QAEF,OAAO,EAAC,IAAI,qDAAC,KAAK,EAAE,WAAW,UAAU,EAAE,EAAE,KAAK,EAAE,eAAe,GAAS,CAAC;IAC/E,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Prop, h, Host } from '@stencil/core';\n\nimport { BoxTShirtSizeType } from '../../utils/types';\n\n@Component({\n tag: 'pds-row',\n styleUrl: 'pds-row.scss',\n})\nexport class PdsRow {\n /**\n * Defines the vertical alignment of the row items.\n * @defaultValue start\n */\n @Prop() alignItems?: `start` | `center` | `end` | `baseline` | `stretch`;\n\n /**\n * If `true`, the row will have a border.\n */\n @Prop() border? = false;\n\n /**\n * Defines the spacing between the row items.\n */\n @Prop() colGap?: BoxTShirtSizeType | null;\n\n /**\n * Defines the spacing between the row items vertically.\n */\n @Prop() colGapBlock?: BoxTShirtSizeType | null;\n\n /**\n * Defines the spacing between the row items horizontally.\n */\n @Prop() colGapInline?: BoxTShirtSizeType | null;\n\n /**\n * A unique identifier used for the underlying component `id` attribute.\n */\n @Prop() componentId: string;\n\n /**\n * Defines the horizontal alignment of the row items.\n * @defaultValue start\n */\n @Prop() justifyContent?: `start` | `center` | `end` | `space-between` | `space-around`;\n\n /**\n * The minimum height of the row. Used in conjunction with alignment props\n */\n @Prop() minHeight?: string;\n\n /**\n * If `true`, the row items will not wrap to the next line if horizontal space is not available.\n */\n @Prop() noWrap? = false;\n\n private colGapMap: { [key in BoxTShirtSizeType]: string } = {\n none: '0',\n xxs: '.25rem',\n xs: '.5rem',\n sm: '1rem',\n md: '1.5rem',\n lg: '2.25rem',\n xl: '3rem',\n xxl: '4rem',\n };\n\n render() {\n const rowClasses = `\n ${this.alignItems !== undefined && this.alignItems.trim() !== '' ? `pds-align-items-${this.alignItems}` : ''}\n ${this.border ? 'pds-row--border' : ''}\n ${this.justifyContent !== undefined && this.justifyContent.trim() !== '' ? `pds-justify-content-${this.justifyContent}` : ''}\n ${this.noWrap ? 'pds-row--no-wrap' : ''}\n `;\n\n const rowInlineStyles = {\n ...(this.colGap && {\n '--row-gap-x': this.colGap !== undefined && this.colGap.trim() !== '' ? this.colGapMap[this.colGap] : '',\n '--row-gap-y': this.colGap !== undefined && this.colGap.trim() !== '' ? this.colGapMap[this.colGap] : '',\n }),\n ...(this.colGapBlock && {\n '--row-gap-y': this.colGapBlock !== undefined && this.colGapBlock.trim() !== '' ? this.colGapMap[this.colGapBlock] : '',\n }),\n ...(this.colGapInline && {\n '--row-gap-x': this.colGapInline !== undefined && this.colGapInline.trim() !== '' ? this.colGapMap[this.colGapInline] : '',\n }),\n ...(this.minHeight && {\n 'min-height': this.minHeight,\n }),\n };\n\n return <Host class={`pds-row ${rowClasses}`} style={rowInlineStyles}></Host>;\n }\n}\n"]}
@@ -1,7 +1,7 @@
1
1
  import { Host, h } from "@stencil/core";
2
2
  export class PdsTableBody {
3
3
  render() {
4
- return (h(Host, { key: 'ec495e4227d7fb7defc4b4abf0afb8010f7ea984', role: "rowgroup" }, h("slot", { key: 'f9c42d628c86ed6098a42cc864122028711e3f15' })));
4
+ return (h(Host, { key: '7aa581f9cd4c798a5699664ca9639ec7e412a891', role: "rowgroup", part: "body" }, h("slot", { key: 'c06f2431044e64d934ee302e5c6fffbdaf0051c7' })));
5
5
  }
6
6
  static get is() { return "pds-table-body"; }
7
7
  static get encapsulation() { return "shadow"; }