@parrot-co/parrot-ui 0.0.95 → 0.0.96

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.
package/dist/module.js CHANGED
@@ -221,7 +221,7 @@ const $e2f278d76a00796a$export$21ee1313e2afe36c = (props, ref)=>{
221
221
  const { justify: justify, align: align, direction: direction, gap: gap = "sm", columnGap: columnGap, rowGap: rowGap, inline: inline, wrap: wrap, stack: stack, className: className, ...otherProps } = props;
222
222
  const flexDirection = stack ? "column" : direction ?? "row";
223
223
  return /*#__PURE__*/ (0, $hgUW1$jsx)((0, $ee0105641360f1c1$export$e71c4d32a2263218), {
224
- className: (0, $cce662c1d2ec881b$export$a274e22fb40f762e)(className, inline ? "display-inline-flex" : "display-flex", `flex-direction-${flexDirection}`, `flex-${wrap}`, `flex-justify-${justify}`, `flex-align-${align}`, (0, $0ad0bc75b5eb16a6$export$2db1d02db18b2d82)("gap", gap), (0, $0ad0bc75b5eb16a6$export$2db1d02db18b2d82)("column-gap", columnGap), (0, $0ad0bc75b5eb16a6$export$2db1d02db18b2d82)("row-gap", rowGap)),
224
+ className: (0, $cce662c1d2ec881b$export$a274e22fb40f762e)(className, inline ? "display-inline-flex" : "display-flex", `flex-direction-${flexDirection}`, wrap && `flex-${wrap}`, justify && `flex-justify-${justify}`, align && `flex-align-${align}`, (0, $0ad0bc75b5eb16a6$export$2db1d02db18b2d82)("gap", gap), (0, $0ad0bc75b5eb16a6$export$2db1d02db18b2d82)("column-gap", columnGap), (0, $0ad0bc75b5eb16a6$export$2db1d02db18b2d82)("row-gap", rowGap)),
225
225
  // TODO - Fix types here - seems to work just fine though
226
226
  ref: ref,
227
227
  ...otherProps,
@@ -244,19 +244,17 @@ const $e2f278d76a00796a$export$f51f4c4ede09e011 = /*#__PURE__*/ $hgUW1$forwardRe
244
244
 
245
245
 
246
246
 
247
+
247
248
  const $3157c40f7d0e6fa2$export$f5a10939c0132d55 = (props, ref)=>{
248
249
  const { textCase: textCase, size: size = "sm", weight: weight, color: color = "gray", variant: variant = "default", highlight: highlight, align: align, lineHeight: lineHeight, underline: underline, italic: italic, as: Comp = "span", className: className, ...rest } = props;
249
250
  return /*#__PURE__*/ (0, $hgUW1$jsx)(Comp, {
250
- className: (0, $cce662c1d2ec881b$export$a274e22fb40f762e)({
251
+ className: (0, $cce662c1d2ec881b$export$a274e22fb40f762e)("p-text", className, {
251
252
  [`text-highlight`]: !!highlight,
252
- "p-text": true,
253
- [`text-size-${size}`]: !!size,
254
253
  [`text-weight-${weight}`]: !!weight,
255
254
  [`text-align-${align}`]: !!align,
256
255
  [`text-line-height-${lineHeight}`]: !!lineHeight,
257
- [`text-transform-${textCase}`]: !!textCase,
258
- [`${className}`]: !!className
259
- }),
256
+ [`text-transform-${textCase}`]: !!textCase
257
+ }, (0, $0ad0bc75b5eb16a6$export$2db1d02db18b2d82)("text-size", size)),
260
258
  "data-underline": underline,
261
259
  "data-italic": italic,
262
260
  "data-color": color,