@mastra/playground-ui 70.0.0 → 70.1.0-alpha.1

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 (131) hide show
  1. package/dist/{EmptyState-juw2jci2.js → EmptyState-DJaZF543.js} +43 -23
  2. package/dist/EmptyState-DJaZF543.js.map +1 -0
  3. package/dist/{EmptyState-C5O9fTEq.cjs → EmptyState-DnW6SNEx.cjs} +43 -23
  4. package/dist/EmptyState-DnW6SNEx.cjs.map +1 -0
  5. package/dist/EmptyStateArt.css +12028 -0
  6. package/dist/{Section-Dk_Vcsi7.cjs → Section-BdO9TFjY.cjs} +2 -2
  7. package/dist/{Section-Dk_Vcsi7.cjs.map → Section-BdO9TFjY.cjs.map} +1 -1
  8. package/dist/{Section-D6JJ926q.js → Section-DV2aLnkc.js} +2 -2
  9. package/dist/{Section-D6JJ926q.js.map → Section-DV2aLnkc.js.map} +1 -1
  10. package/dist/components/EmptyState.cjs.js +1 -1
  11. package/dist/components/EmptyState.es.js +1 -1
  12. package/dist/components/EmptyStateArt.cjs.js +9695 -0
  13. package/dist/components/EmptyStateArt.cjs.js.map +1 -0
  14. package/dist/components/EmptyStateArt.d.ts +1 -0
  15. package/dist/components/EmptyStateArt.es.js +9694 -0
  16. package/dist/components/EmptyStateArt.es.js.map +1 -0
  17. package/dist/components/FileDropBackdrop.cjs.js +1 -1
  18. package/dist/components/FileDropBackdrop.es.js +1 -1
  19. package/dist/components/Section.cjs.js +1 -1
  20. package/dist/components/Section.es.js +1 -1
  21. package/dist/components/SideDialog.cjs.js +1 -1
  22. package/dist/components/SideDialog.es.js +1 -1
  23. package/dist/domains/auth/components/permission-denied.cjs.js +1 -1
  24. package/dist/domains/auth/components/permission-denied.es.js +1 -1
  25. package/dist/domains/auth/components/session-expired.cjs.js +1 -1
  26. package/dist/domains/auth/components/session-expired.es.js +1 -1
  27. package/dist/domains/datasets/components/add-dataset-item-dialog/add-dataset-item-dialog.cjs.js +1 -1
  28. package/dist/domains/datasets/components/add-dataset-item-dialog/add-dataset-item-dialog.es.js +1 -1
  29. package/dist/domains/datasets/components/add-dataset-item-dialog/collapsible-settings-row.cjs.js +1 -1
  30. package/dist/domains/datasets/components/add-dataset-item-dialog/collapsible-settings-row.es.js +1 -1
  31. package/dist/domains/knowledge/components/KnowledgePageDetail.cjs.js +99 -58
  32. package/dist/domains/knowledge/components/KnowledgePageDetail.cjs.js.map +1 -1
  33. package/dist/domains/knowledge/components/KnowledgePageDetail.es.js +99 -58
  34. package/dist/domains/knowledge/components/KnowledgePageDetail.es.js.map +1 -1
  35. package/dist/domains/knowledge/components/KnowledgePageExplorer.cjs.js +22 -1
  36. package/dist/domains/knowledge/components/KnowledgePageExplorer.cjs.js.map +1 -1
  37. package/dist/domains/knowledge/components/KnowledgePageExplorer.es.js +22 -1
  38. package/dist/domains/knowledge/components/KnowledgePageExplorer.es.js.map +1 -1
  39. package/dist/domains/knowledge/components/KnowledgePageTree.cjs.js +1 -1
  40. package/dist/domains/knowledge/components/KnowledgePageTree.cjs.js.map +1 -1
  41. package/dist/domains/knowledge/components/KnowledgePageTree.es.js +2 -2
  42. package/dist/domains/knowledge/components/KnowledgePageTree.es.js.map +1 -1
  43. package/dist/domains/knowledge/lib/pageAddress.cjs.js +21 -6
  44. package/dist/domains/knowledge/lib/pageAddress.cjs.js.map +1 -1
  45. package/dist/domains/knowledge/lib/pageAddress.es.js +21 -6
  46. package/dist/domains/knowledge/lib/pageAddress.es.js.map +1 -1
  47. package/dist/domains/logs/components/logs-error-content.cjs.js +1 -1
  48. package/dist/domains/logs/components/logs-error-content.es.js +1 -1
  49. package/dist/domains/logs/components/no-logs-info.cjs.js +1 -1
  50. package/dist/domains/logs/components/no-logs-info.es.js +1 -1
  51. package/dist/domains/mcps/components/mcp-app-viewer.cjs.js +1 -1
  52. package/dist/domains/mcps/components/mcp-app-viewer.es.js +1 -1
  53. package/dist/domains/mcps/hooks/use-mcp-app-tool-call.cjs.js +1 -1
  54. package/dist/domains/mcps/hooks/use-mcp-app-tool-call.es.js +1 -1
  55. package/dist/domains/memory/components/observation-detail-view.cjs.js +1 -1
  56. package/dist/domains/memory/components/observation-detail-view.es.js +1 -1
  57. package/dist/domains/observability/components/observability-capability-gate.cjs.js +1 -1
  58. package/dist/domains/observability/components/observability-capability-gate.es.js +1 -1
  59. package/dist/domains/scores/components/trace-scores-tab.cjs.js +1 -1
  60. package/dist/domains/scores/components/trace-scores-tab.es.js +1 -1
  61. package/dist/domains/traces/components/no-traces-info.cjs.js +1 -1
  62. package/dist/domains/traces/components/no-traces-info.es.js +1 -1
  63. package/dist/domains/traces/components/traces-error-content.cjs.js +1 -1
  64. package/dist/domains/traces/components/traces-error-content.es.js +1 -1
  65. package/dist/domains/workflows/components/workflows-list/no-workflows-info.cjs.js +1 -1
  66. package/dist/domains/workflows/components/workflows-list/no-workflows-info.es.js +1 -1
  67. package/dist/domains/workspace/components/workspace-add-skill-dialog.cjs.js +1 -1
  68. package/dist/domains/workspace/components/workspace-add-skill-dialog.es.js +1 -1
  69. package/dist/domains/workspace/components/workspace-parts.cjs.js +1 -1
  70. package/dist/domains/workspace/components/workspace-parts.es.js +1 -1
  71. package/dist/domains/workspace/components/workspace-search.cjs.js +1 -1
  72. package/dist/domains/workspace/components/workspace-search.es.js +1 -1
  73. package/dist/ee/signals/components/trace-intelligence-entity-detail.cjs.js +1 -1
  74. package/dist/ee/signals/components/trace-intelligence-entity-detail.es.js +1 -1
  75. package/dist/ee/signals/components/trace-intelligence-entity-index.cjs.js +1 -1
  76. package/dist/ee/signals/components/trace-intelligence-entity-index.es.js +1 -1
  77. package/dist/new/settings.cjs.js +2 -2
  78. package/dist/new/settings.es.js +2 -2
  79. package/dist/{settings-DIrzLcgE.js → settings-B7RMGKgf.js} +31 -15
  80. package/dist/settings-B7RMGKgf.js.map +1 -0
  81. package/dist/{settings-5PdsNlhV.cjs → settings-CYKWxfrJ.cjs} +31 -15
  82. package/dist/settings-CYKWxfrJ.cjs.map +1 -0
  83. package/dist/{settings-row-C2HTuwjN.js → settings-row-BnlFZSQL.js} +27 -5
  84. package/dist/settings-row-BnlFZSQL.js.map +1 -0
  85. package/dist/{settings-row-Dfi4pLnl.cjs → settings-row-Da1HHyBg.cjs} +27 -5
  86. package/dist/settings-row-Da1HHyBg.cjs.map +1 -0
  87. package/dist/src/domains/knowledge/components/KnowledgePageDetail.d.ts +11 -1
  88. package/dist/src/domains/knowledge/lib/pageAddress.d.ts +4 -2
  89. package/dist/src/ds/components/EmptyState/EmptyState.d.ts +3 -1
  90. package/dist/src/ds/components/EmptyStateArt/art/alerts-scene.d.ts +2 -0
  91. package/dist/src/ds/components/EmptyStateArt/art/api-keys-scene.d.ts +2 -0
  92. package/dist/src/ds/components/EmptyStateArt/art/byok-scene.d.ts +2 -0
  93. package/dist/src/ds/components/EmptyStateArt/art/connect-scene.d.ts +2 -0
  94. package/dist/src/ds/components/EmptyStateArt/art/databases-scene.d.ts +2 -0
  95. package/dist/src/ds/components/EmptyStateArt/art/deploys-scene.d.ts +2 -0
  96. package/dist/src/ds/components/EmptyStateArt/art/destinations-scene.d.ts +2 -0
  97. package/dist/src/ds/components/EmptyStateArt/art/env-vars-scene.d.ts +2 -0
  98. package/dist/src/ds/components/EmptyStateArt/art/environments-scene.d.ts +2 -0
  99. package/dist/src/ds/components/EmptyStateArt/art/gateway-scene.d.ts +2 -0
  100. package/dist/src/ds/components/EmptyStateArt/art/gateway-threads-scene.d.ts +2 -0
  101. package/dist/src/ds/components/EmptyStateArt/art/importers-scene.d.ts +2 -0
  102. package/dist/src/ds/components/EmptyStateArt/art/knowledge-scene.d.ts +2 -0
  103. package/dist/src/ds/components/EmptyStateArt/art/license-scene.d.ts +2 -0
  104. package/dist/src/ds/components/EmptyStateArt/art/logs-scene.d.ts +2 -0
  105. package/dist/src/ds/components/EmptyStateArt/art/memory-scene.d.ts +2 -0
  106. package/dist/src/ds/components/EmptyStateArt/art/models-scene.d.ts +2 -0
  107. package/dist/src/ds/components/EmptyStateArt/art/projects-scene.d.ts +2 -0
  108. package/dist/src/ds/components/EmptyStateArt/art/scene-style.d.ts +17 -0
  109. package/dist/src/ds/components/EmptyStateArt/art/scenes.d.ts +3 -0
  110. package/dist/src/ds/components/EmptyStateArt/art/traces-scene.d.ts +2 -0
  111. package/dist/src/ds/components/EmptyStateArt/art/upgrade-scene.d.ts +2 -0
  112. package/dist/src/ds/components/EmptyStateArt/art/widgets-scene.d.ts +2 -0
  113. package/dist/src/ds/components/EmptyStateArt/art/workers-scene.d.ts +2 -0
  114. package/dist/src/ds/components/EmptyStateArt/art/workspaces-scene.d.ts +2 -0
  115. package/dist/src/ds/components/EmptyStateArt/art-motion.d.ts +1 -0
  116. package/dist/src/ds/components/EmptyStateArt/empty-state-art.d.ts +11 -0
  117. package/dist/src/ds/components/EmptyStateArt/index.d.ts +3 -0
  118. package/dist/src/ds/new/settings/settings-list.d.ts +16 -2
  119. package/dist/src/ds/new/settings/settings-row.d.ts +22 -2
  120. package/dist/style.css +65 -0
  121. package/dist/{types-DT1pgDom.cjs → types-CVS7iNs8.cjs} +2 -2
  122. package/dist/{types-DT1pgDom.cjs.map → types-CVS7iNs8.cjs.map} +1 -1
  123. package/dist/{types-Dl74jixe.js → types-D64dArGX.js} +2 -2
  124. package/dist/{types-Dl74jixe.js.map → types-D64dArGX.js.map} +1 -1
  125. package/package.json +6 -6
  126. package/dist/EmptyState-C5O9fTEq.cjs.map +0 -1
  127. package/dist/EmptyState-juw2jci2.js.map +0 -1
  128. package/dist/settings-5PdsNlhV.cjs.map +0 -1
  129. package/dist/settings-DIrzLcgE.js.map +0 -1
  130. package/dist/settings-row-C2HTuwjN.js.map +0 -1
  131. package/dist/settings-row-Dfi4pLnl.cjs.map +0 -1
@@ -1,7 +1,7 @@
1
1
  const require_utils = require("./utils-uDc1ofX1.cjs");
2
2
  const require_Txt = require("./Txt-_00wWxTd.cjs");
3
3
  const require_components_Field = require("./components/Field.cjs.js");
4
- const require_settings_row = require("./settings-row-Dfi4pLnl.cjs");
4
+ const require_settings_row = require("./settings-row-Da1HHyBg.cjs");
5
5
  let react_jsx_runtime = require("react/jsx-runtime");
6
6
  // src/ds/components/Section/section-content.tsx
7
7
  function SectionContent({ className, ...props }) {
@@ -160,4 +160,4 @@ Object.defineProperty(exports, "SubSectionRoot", {
160
160
  }
161
161
  });
162
162
 
163
- //# sourceMappingURL=Section-Dk_Vcsi7.cjs.map
163
+ //# sourceMappingURL=Section-BdO9TFjY.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"Section-Dk_Vcsi7.cjs","names":["cn","Txt","cn","cn","cn","cn","HeadingTag","cn","cn","Field","cn","FieldLabel","FieldDescription","FieldError","SettingsRowControl"],"sources":["../src/ds/components/Section/section-content.tsx","../src/ds/components/Section/section-description.tsx","../src/ds/components/Section/section-divider.tsx","../src/ds/components/Section/section-header.tsx","../src/ds/components/Section/section-header-text.tsx","../src/ds/components/Section/section-heading.tsx","../src/ds/components/Section/section-root.tsx","../src/ds/components/Section/section-row.tsx","../src/ds/components/Section/section.tsx"],"sourcesContent":["import type { ComponentProps } from 'react';\nimport { cn } from '@/lib/utils';\n\nexport type SectionContentProps = ComponentProps<'div'>;\n\nexport function SectionContent({ className, ...props }: SectionContentProps) {\n return (\n <div\n data-slot=\"section-content\"\n className={cn(\n 'group-data-[variant=factory]/section:overflow-hidden group-data-[variant=factory]/section:rounded-xl',\n 'group-data-[variant=factory]/section:bg-card group-data-[variant=factory]/section:shadow-raised',\n className,\n )}\n {...props}\n />\n );\n}\n","import type { ComponentProps } from 'react';\nimport { Txt } from '@/ds/components/Txt';\nimport { cn } from '@/lib/utils';\n\nexport type SectionDescriptionProps = ComponentProps<'p'>;\n\nexport function SectionDescription({ className, ...props }: SectionDescriptionProps) {\n return (\n <Txt\n variant=\"caption\"\n tone=\"muted\"\n data-slot=\"section-description\"\n className={cn('max-w-[62ch] text-pretty', className)}\n {...props}\n />\n );\n}\n","import type { ComponentProps } from 'react';\nimport { cn } from '@/lib/utils';\n\nexport type SectionDividerProps = ComponentProps<'div'>;\n\nexport function SectionDivider({ className, ...props }: SectionDividerProps) {\n return <div role=\"separator\" aria-orientation=\"horizontal\" className={cn('h-px bg-border', className)} {...props} />;\n}\n","import type { ComponentProps } from 'react';\nimport { cn } from '@/lib/utils';\n\nexport type SectionHeaderProps = ComponentProps<'header'> & {\n inset?: boolean;\n};\n\nexport function SectionHeader({ children, className, inset = false, ...props }: SectionHeaderProps) {\n return (\n <header\n data-slot=\"section-header\"\n className={cn(\n 'group-data-[variant=default]/section:grid group-data-[variant=default]/section:grid-cols-[1fr_auto] group-data-[variant=default]/section:items-center',\n 'group-data-[variant=flat]/section:flex group-data-[variant=flat]/section:min-w-0 group-data-[variant=flat]/section:flex-col group-data-[variant=flat]/section:gap-3 group-data-[variant=flat]/section:pb-3 sm:group-data-[variant=flat]/section:flex-row sm:group-data-[variant=flat]/section:items-start sm:group-data-[variant=flat]/section:justify-between sm:group-data-[variant=flat]/section:gap-4',\n 'group-data-[variant=factory]/section:flex group-data-[variant=factory]/section:min-w-0 group-data-[variant=factory]/section:flex-col group-data-[variant=factory]/section:gap-2 sm:group-data-[variant=factory]/section:flex-row sm:group-data-[variant=factory]/section:items-start sm:group-data-[variant=factory]/section:justify-between sm:group-data-[variant=factory]/section:gap-4',\n inset && 'px-4',\n className,\n )}\n {...props}\n >\n {children}\n </header>\n );\n}\n","import type { ComponentProps } from 'react';\nimport { cn } from '@/lib/utils';\n\nexport type SectionHeaderTextProps = ComponentProps<'div'>;\n\nexport function SectionHeaderText({ className, ...props }: SectionHeaderTextProps) {\n return <div data-slot=\"section-header-text\" className={cn('flex min-w-0 flex-col gap-1.5', className)} {...props} />;\n}\n","import type { ComponentProps, ElementType } from 'react';\nimport { cn } from '@/lib/utils';\n\nexport type SectionHeadingProps = ComponentProps<'h2'> & {\n headingLevel?: 'h2' | 'h3' | 'h4';\n};\n\nexport function SectionHeading({ headingLevel = 'h2', children, className, ...props }: SectionHeadingProps) {\n const HeadingTag: ElementType = headingLevel;\n\n return (\n <HeadingTag\n data-slot=\"section-heading\"\n className={cn(\n 'group-data-[variant=default]/section:flex group-data-[variant=default]/section:items-center group-data-[variant=default]/section:gap-2 group-data-[variant=default]/section:text-subheading group-data-[variant=default]/section:text-muted-foreground group-data-[variant=default]/section:[&>svg]:size-[1.2em] group-data-[variant=default]/section:[&>svg]:opacity-50',\n 'group-data-[variant=flat]/section:text-subheading group-data-[variant=flat]/section:text-balance group-data-[variant=flat]/section:text-foreground',\n 'group-data-[variant=factory]/section:text-subheading group-data-[variant=factory]/section:text-balance group-data-[variant=factory]/section:text-foreground',\n className,\n )}\n {...props}\n >\n {children}\n </HeadingTag>\n );\n}\n","import type { ComponentProps } from 'react';\nimport { cn } from '@/lib/utils';\n\nexport type SectionVariant = 'default' | 'flat' | 'factory';\n\nexport type SectionRootProps = ComponentProps<'section'> & {\n variant?: SectionVariant;\n};\n\nexport function SectionRoot({ variant = 'default', children, className, ...props }: SectionRootProps) {\n return (\n <section\n data-slot=\"section\"\n data-variant={variant}\n className={cn(\n 'group/section',\n variant === 'default' && 'grid gap-3',\n variant === 'flat' && 'w-full min-w-0',\n variant === 'factory' && 'flex w-full min-w-0 flex-col gap-2',\n className,\n )}\n {...props}\n >\n {children}\n </section>\n );\n}\n\nexport function SubSectionRoot({ children, className, ...props }: ComponentProps<'section'>) {\n return (\n <section className={cn('grid gap-2', className)} {...props}>\n {children}\n </section>\n );\n}\n","import type { ReactNode } from 'react';\nimport { Field, FieldDescription, FieldError, FieldLabel } from '@/ds/components/Field';\nimport type { FieldProps } from '@/ds/components/Field';\nimport { SettingsRowControl } from '@/ds/new/settings/settings-row';\nimport { cn } from '@/lib/utils';\n\nexport type SectionRowProps = Omit<FieldProps, 'children' | 'invalid' | 'orientation'> & {\n label: ReactNode;\n description?: ReactNode;\n htmlFor?: string;\n children?: ReactNode;\n required?: boolean;\n errorMsg?: ReactNode;\n};\nexport type SectionViewOnlyRowProps = SectionRowProps & { children: ReactNode };\nexport type SectionDestructiveRowProps = SectionRowProps & { children: ReactNode };\n\nfunction SectionRowBase({\n label,\n description,\n htmlFor,\n children,\n className,\n required = false,\n errorMsg,\n disabled,\n viewOnly = false,\n destructive = false,\n ...props\n}: SectionRowProps & { viewOnly?: boolean; destructive?: boolean }) {\n return (\n <Field\n orientation=\"responsive\"\n invalid={Boolean(errorMsg)}\n disabled={disabled || viewOnly}\n data-slot=\"section-row\"\n className={cn(\n 'grid min-w-0 gap-3 group-data-[variant=factory]/section:px-3 group-data-[variant=factory]/section:py-2 group-data-[variant=flat]/section:p-3 sm:grid-cols-[minmax(0,1fr)_auto] sm:items-center sm:group-data-[variant=default]/section:gap-4 sm:group-data-[variant=factory]/section:gap-4 sm:group-data-[variant=flat]/section:gap-6',\n className,\n )}\n {...props}\n >\n <div className=\"min-w-0\">\n <FieldLabel\n {...(htmlFor ? { htmlFor } : {})}\n required={required}\n className={cn(destructive && 'text-destructive-foreground')}\n >\n {label}\n </FieldLabel>\n {description != null && <FieldDescription className=\"mt-1 text-pretty\">{description}</FieldDescription>}\n <FieldError className=\"mt-1\">{errorMsg}</FieldError>\n </div>\n {children != null && (\n <div\n data-slot=\"section-control\"\n className={cn(\n 'min-w-0 sm:justify-self-end',\n viewOnly && 'flex items-center gap-2 text-body-sm text-muted-foreground',\n )}\n >\n <SettingsRowControl viewOnly={viewOnly}>{children}</SettingsRowControl>\n </div>\n )}\n </Field>\n );\n}\n\n/** @deprecated Use SettingsRow from @mastra/playground-ui/new/settings for settings pages. */\nexport function SectionRow(props: SectionRowProps) {\n return <SectionRowBase {...props} />;\n}\n\n/** @deprecated Use SettingsRow with viewOnly from @mastra/playground-ui/new/settings. */\nexport function SectionViewOnlyRow(props: SectionViewOnlyRowProps) {\n return <SectionRowBase {...props} viewOnly />;\n}\n\n/** @deprecated Use SettingsRow with tone=\"destructive\" from @mastra/playground-ui/new/settings. */\nexport function SectionDestructiveRow(props: SectionDestructiveRowProps) {\n return <SectionRowBase {...props} destructive />;\n}\n","import { SectionContent } from './section-content';\nimport { SectionDescription } from './section-description';\nimport { SectionDivider } from './section-divider';\nimport { SectionHeader } from './section-header';\nimport { SectionHeaderText } from './section-header-text';\nimport { SectionHeading } from './section-heading';\nimport { SectionRoot } from './section-root';\nimport type { SectionRootProps } from './section-root';\nimport { SectionDestructiveRow, SectionRow, SectionViewOnlyRow } from './section-row';\n\nexport { type SectionContentProps } from './section-content';\nexport { type SectionDescriptionProps } from './section-description';\nexport { type SectionDividerProps } from './section-divider';\nexport { type SectionHeaderProps } from './section-header';\nexport { type SectionHeaderTextProps } from './section-header-text';\nexport { type SectionHeadingProps } from './section-heading';\nexport { type SectionRootProps as SectionProps, type SectionVariant } from './section-root';\nexport { type SectionDestructiveRowProps, type SectionRowProps, type SectionViewOnlyRowProps } from './section-row';\n\nexport function Section(props: SectionRootProps) {\n return <SectionRoot {...props} />;\n}\n\nSection.Header = SectionHeader;\nSection.HeaderText = SectionHeaderText;\nSection.Heading = SectionHeading;\nSection.Description = SectionDescription;\nSection.Content = SectionContent;\nSection.Row = SectionRow;\nSection.ViewOnlyRow = SectionViewOnlyRow;\nSection.DestructiveRow = SectionDestructiveRow;\nSection.Divider = SectionDivider;\n"],"mappings":";;;;;;AAKA,SAAgB,eAAe,EAAE,WAAW,GAAG,SAA8B;CAC3E,OACE,iBAAA,GAAA,kBAAA,IAAA,CAAC,OAAD;EACE,aAAU;EACV,WAAWA,cAAAA,GACT,wGACA,mGACA,SACF;EACA,GAAI;CACL,CAAA;AAEL;;ACXA,SAAgB,mBAAmB,EAAE,WAAW,GAAG,SAAkC;CACnF,OACE,iBAAA,GAAA,kBAAA,IAAA,CAACC,YAAAA,KAAD;EACE,SAAQ;EACR,MAAK;EACL,aAAU;EACV,WAAWC,cAAAA,GAAG,4BAA4B,SAAS;EACnD,GAAI;CACL,CAAA;AAEL;;ACXA,SAAgB,eAAe,EAAE,WAAW,GAAG,SAA8B;CAC3E,OAAO,iBAAA,GAAA,kBAAA,IAAA,C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A;AACjD;;AC9DA,SAAgB,QAAQ,OAAyB;CAC/C,OAAO,iBAAA,GAAA,kBAAA,IAAA,CAAC,aAAD,EAAa,GAAI,MAAQ,CAAA;AAClC;AAEA,QAAQ,SAAS;AACjB,QAAQ,aAAa;AACrB,QAAQ,UAAU;AAClB,QAAQ,cAAc;AACtB,QAAQ,UAAU;AAClB,QAAQ,MAAM;AACd,QAAQ,cAAc;AACtB,QAAQ,iBAAiB;AACzB,QAAQ,UAAU"}
1
+ {"version":3,"file":"Section-BdO9TFjY.cjs","names":["cn","Txt","cn","cn","cn","cn","HeadingTag","cn","cn","Field","cn","FieldLabel","FieldDescription","FieldError","SettingsRowControl"],"sources":["../src/ds/components/Section/section-content.tsx","../src/ds/components/Section/section-description.tsx","../src/ds/components/Section/section-divider.tsx","../src/ds/components/Section/section-header.tsx","../src/ds/components/Section/section-header-text.tsx","../src/ds/components/Section/section-heading.tsx","../src/ds/components/Section/section-root.tsx","../src/ds/components/Section/section-row.tsx","../src/ds/components/Section/section.tsx"],"sourcesContent":["import type { ComponentProps } from 'react';\nimport { cn } from '@/lib/utils';\n\nexport type SectionContentProps = ComponentProps<'div'>;\n\nexport function SectionContent({ className, ...props }: SectionContentProps) {\n return (\n <div\n data-slot=\"section-content\"\n className={cn(\n 'group-data-[variant=factory]/section:overflow-hidden group-data-[variant=factory]/section:rounded-xl',\n 'group-data-[variant=factory]/section:bg-card group-data-[variant=factory]/section:shadow-raised',\n className,\n )}\n {...props}\n />\n );\n}\n","import type { ComponentProps } from 'react';\nimport { Txt } from '@/ds/components/Txt';\nimport { cn } from '@/lib/utils';\n\nexport type SectionDescriptionProps = ComponentProps<'p'>;\n\nexport function SectionDescription({ className, ...props }: SectionDescriptionProps) {\n return (\n <Txt\n variant=\"caption\"\n tone=\"muted\"\n data-slot=\"section-description\"\n className={cn('max-w-[62ch] text-pretty', className)}\n {...props}\n />\n );\n}\n","import type { ComponentProps } from 'react';\nimport { cn } from '@/lib/utils';\n\nexport type SectionDividerProps = ComponentProps<'div'>;\n\nexport function SectionDivider({ className, ...props }: SectionDividerProps) {\n return <div role=\"separator\" aria-orientation=\"horizontal\" className={cn('h-px bg-border', className)} {...props} />;\n}\n","import type { ComponentProps } from 'react';\nimport { cn } from '@/lib/utils';\n\nexport type SectionHeaderProps = ComponentProps<'header'> & {\n inset?: boolean;\n};\n\nexport function SectionHeader({ children, className, inset = false, ...props }: SectionHeaderProps) {\n return (\n <header\n data-slot=\"section-header\"\n className={cn(\n 'group-data-[variant=default]/section:grid group-data-[variant=default]/section:grid-cols-[1fr_auto] group-data-[variant=default]/section:items-center',\n 'group-data-[variant=flat]/section:flex group-data-[variant=flat]/section:min-w-0 group-data-[variant=flat]/section:flex-col group-data-[variant=flat]/section:gap-3 group-data-[variant=flat]/section:pb-3 sm:group-data-[variant=flat]/section:flex-row sm:group-data-[variant=flat]/section:items-start sm:group-data-[variant=flat]/section:justify-between sm:group-data-[variant=flat]/section:gap-4',\n 'group-data-[variant=factory]/section:flex group-data-[variant=factory]/section:min-w-0 group-data-[variant=factory]/section:flex-col group-data-[variant=factory]/section:gap-2 sm:group-data-[variant=factory]/section:flex-row sm:group-data-[variant=factory]/section:items-start sm:group-data-[variant=factory]/section:justify-between sm:group-data-[variant=factory]/section:gap-4',\n inset && 'px-4',\n className,\n )}\n {...props}\n >\n {children}\n </header>\n );\n}\n","import type { ComponentProps } from 'react';\nimport { cn } from '@/lib/utils';\n\nexport type SectionHeaderTextProps = ComponentProps<'div'>;\n\nexport function SectionHeaderText({ className, ...props }: SectionHeaderTextProps) {\n return <div data-slot=\"section-header-text\" className={cn('flex min-w-0 flex-col gap-1.5', className)} {...props} />;\n}\n","import type { ComponentProps, ElementType } from 'react';\nimport { cn } from '@/lib/utils';\n\nexport type SectionHeadingProps = ComponentProps<'h2'> & {\n headingLevel?: 'h2' | 'h3' | 'h4';\n};\n\nexport function SectionHeading({ headingLevel = 'h2', children, className, ...props }: SectionHeadingProps) {\n const HeadingTag: ElementType = headingLevel;\n\n return (\n <HeadingTag\n data-slot=\"section-heading\"\n className={cn(\n 'group-data-[variant=default]/section:flex group-data-[variant=default]/section:items-center group-data-[variant=default]/section:gap-2 group-data-[variant=default]/section:text-subheading group-data-[variant=default]/section:text-muted-foreground group-data-[variant=default]/section:[&>svg]:size-[1.2em] group-data-[variant=default]/section:[&>svg]:opacity-50',\n 'group-data-[variant=flat]/section:text-subheading group-data-[variant=flat]/section:text-balance group-data-[variant=flat]/section:text-foreground',\n 'group-data-[variant=factory]/section:text-subheading group-data-[variant=factory]/section:text-balance group-data-[variant=factory]/section:text-foreground',\n className,\n )}\n {...props}\n >\n {children}\n </HeadingTag>\n );\n}\n","import type { ComponentProps } from 'react';\nimport { cn } from '@/lib/utils';\n\nexport type SectionVariant = 'default' | 'flat' | 'factory';\n\nexport type SectionRootProps = ComponentProps<'section'> & {\n variant?: SectionVariant;\n};\n\nexport function SectionRoot({ variant = 'default', children, className, ...props }: SectionRootProps) {\n return (\n <section\n data-slot=\"section\"\n data-variant={variant}\n className={cn(\n 'group/section',\n variant === 'default' && 'grid gap-3',\n variant === 'flat' && 'w-full min-w-0',\n variant === 'factory' && 'flex w-full min-w-0 flex-col gap-2',\n className,\n )}\n {...props}\n >\n {children}\n </section>\n );\n}\n\nexport function SubSectionRoot({ children, className, ...props }: ComponentProps<'section'>) {\n return (\n <section className={cn('grid gap-2', className)} {...props}>\n {children}\n </section>\n );\n}\n","import type { ReactNode } from 'react';\nimport { Field, FieldDescription, FieldError, FieldLabel } from '@/ds/components/Field';\nimport type { FieldProps } from '@/ds/components/Field';\nimport { SettingsRowControl } from '@/ds/new/settings/settings-row';\nimport { cn } from '@/lib/utils';\n\nexport type SectionRowProps = Omit<FieldProps, 'children' | 'invalid' | 'orientation'> & {\n label: ReactNode;\n description?: ReactNode;\n htmlFor?: string;\n children?: ReactNode;\n required?: boolean;\n errorMsg?: ReactNode;\n};\nexport type SectionViewOnlyRowProps = SectionRowProps & { children: ReactNode };\nexport type SectionDestructiveRowProps = SectionRowProps & { children: ReactNode };\n\nfunction SectionRowBase({\n label,\n description,\n htmlFor,\n children,\n className,\n required = false,\n errorMsg,\n disabled,\n viewOnly = false,\n destructive = false,\n ...props\n}: SectionRowProps & { viewOnly?: boolean; destructive?: boolean }) {\n return (\n <Field\n orientation=\"responsive\"\n invalid={Boolean(errorMsg)}\n disabled={disabled || viewOnly}\n data-slot=\"section-row\"\n className={cn(\n 'grid min-w-0 gap-3 group-data-[variant=factory]/section:px-3 group-data-[variant=factory]/section:py-2 group-data-[variant=flat]/section:p-3 sm:grid-cols-[minmax(0,1fr)_auto] sm:items-center sm:group-data-[variant=default]/section:gap-4 sm:group-data-[variant=factory]/section:gap-4 sm:group-data-[variant=flat]/section:gap-6',\n className,\n )}\n {...props}\n >\n <div className=\"min-w-0\">\n <FieldLabel\n {...(htmlFor ? { htmlFor } : {})}\n required={required}\n className={cn(destructive && 'text-destructive-foreground')}\n >\n {label}\n </FieldLabel>\n {description != null && <FieldDescription className=\"mt-1 text-pretty\">{description}</FieldDescription>}\n <FieldError className=\"mt-1\">{errorMsg}</FieldError>\n </div>\n {children != null && (\n <div\n data-slot=\"section-control\"\n className={cn(\n 'min-w-0 sm:justify-self-end',\n viewOnly && 'flex items-center gap-2 text-body-sm text-muted-foreground',\n )}\n >\n <SettingsRowControl viewOnly={viewOnly}>{children}</SettingsRowControl>\n </div>\n )}\n </Field>\n );\n}\n\n/** @deprecated Use SettingsRow from @mastra/playground-ui/new/settings for settings pages. */\nexport function SectionRow(props: SectionRowProps) {\n return <SectionRowBase {...props} />;\n}\n\n/** @deprecated Use SettingsRow with viewOnly from @mastra/playground-ui/new/settings. */\nexport function SectionViewOnlyRow(props: SectionViewOnlyRowProps) {\n return <SectionRowBase {...props} viewOnly />;\n}\n\n/** @deprecated Use SettingsRow with tone=\"destructive\" from @mastra/playground-ui/new/settings. */\nexport function SectionDestructiveRow(props: SectionDestructiveRowProps) {\n return <SectionRowBase {...props} destructive />;\n}\n","import { SectionContent } from './section-content';\nimport { SectionDescription } from './section-description';\nimport { SectionDivider } from './section-divider';\nimport { SectionHeader } from './section-header';\nimport { SectionHeaderText } from './section-header-text';\nimport { SectionHeading } from './section-heading';\nimport { SectionRoot } from './section-root';\nimport type { SectionRootProps } from './section-root';\nimport { SectionDestructiveRow, SectionRow, SectionViewOnlyRow } from './section-row';\n\nexport { type SectionContentProps } from './section-content';\nexport { type SectionDescriptionProps } from './section-description';\nexport { type SectionDividerProps } from './section-divider';\nexport { type SectionHeaderProps } from './section-header';\nexport { type SectionHeaderTextProps } from './section-header-text';\nexport { type SectionHeadingProps } from './section-heading';\nexport { type SectionRootProps as SectionProps, type SectionVariant } from './section-root';\nexport { type SectionDestructiveRowProps, type SectionRowProps, type SectionViewOnlyRowProps } from './section-row';\n\nexport function Section(props: SectionRootProps) {\n return <SectionRoot {...props} />;\n}\n\nSection.Header = SectionHeader;\nSection.HeaderText = SectionHeaderText;\nSection.Heading = SectionHeading;\nSection.Description = SectionDescription;\nSection.Content = SectionContent;\nSection.Row = SectionRow;\nSection.ViewOnlyRow = SectionViewOnlyRow;\nSection.DestructiveRow = SectionDestructiveRow;\nSection.Divider = SectionDivider;\n"],"mappings":";;;;;;AAKA,SAAgB,eAAe,EAAE,WAAW,GAAG,SAA8B;CAC3E,OACE,iBAAA,GAAA,kBAAA,IAAA,CAAC,OAAD;EACE,aAAU;EACV,WAAWA,cAAAA,GACT,wGACA,mGACA,SACF;EACA,GAAI;CACL,CAAA;AAEL;;ACXA,SAAgB,mBAAmB,EAAE,WAAW,GAAG,SAAkC;CACnF,OACE,iBAAA,GAAA,kBAAA,IAAA,CAACC,YAAAA,KAAD;EACE,SAAQ;EACR,MAAK;EACL,aAAU;EACV,WAAWC,cAAAA,GAAG,4BAA4B,SAAS;EACnD,GAAI;CACL,CAAA;AAEL;;ACXA,SAAgB,eAAe,EAAE,WAAW,GAAG,SAA8B;CAC3E,OAAO,iBAAA,GAAA,kBAAA,IAAA,CAAC,OAAD;EAAK,MAAK;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,QAAQ,OAAyB;CAC/C,OAAO,iBAAA,GAAA,kBAAA,IAAA,CAAC,aAAD,EAAa,GAAI,MAAQ,CAAA;AAClC;AAEA,QAAQ,SAAS;AACjB,QAAQ,aAAa;AACrB,QAAQ,UAAU;AAClB,QAAQ,cAAc;AACtB,QAAQ,UAAU;AAClB,QAAQ,MAAM;AACd,QAAQ,cAAc;AACtB,QAAQ,iBAAiB;AACzB,QAAQ,UAAU"}
@@ -1,7 +1,7 @@
1
1
  import { t as cn } from "./utils-DQx8TpNT.js";
2
2
  import { t as Txt } from "./Txt-5efBsb2p.js";
3
3
  import { Field, FieldDescription, FieldError, FieldLabel } from "./components/Field.es.js";
4
- import { r as SettingsRowControl } from "./settings-row-C2HTuwjN.js";
4
+ import { r as SettingsRowControl } from "./settings-row-BnlFZSQL.js";
5
5
  import { jsx, jsxs } from "react/jsx-runtime";
6
6
  // src/ds/components/Section/section-content.tsx
7
7
  function SectionContent({ className, ...props }) {
@@ -143,4 +143,4 @@ Section.DestructiveRow = SectionDestructiveRow;
143
143
  Section.Divider = SectionDivider;
144
144
  export { SectionRoot as n, SubSectionRoot as r, Section as t };
145
145
 
146
- //# sourceMappingURL=Section-D6JJ926q.js.map
146
+ //# sourceMappingURL=Section-DV2aLnkc.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Section-D6JJ926q.js","names":["HeadingTag"],"sources":["../src/ds/components/Section/section-content.tsx","../src/ds/components/Section/section-description.tsx","../src/ds/components/Section/section-divider.tsx","../src/ds/components/Section/section-header.tsx","../src/ds/components/Section/section-header-text.tsx","../src/ds/components/Section/section-heading.tsx","../src/ds/components/Section/section-root.tsx","../src/ds/components/Section/section-row.tsx","../src/ds/components/Section/section.tsx"],"sourcesContent":["import type { ComponentProps } from 'react';\nimport { cn } from '@/lib/utils';\n\nexport type SectionContentProps = ComponentProps<'div'>;\n\nexport function SectionContent({ className, ...props }: SectionContentProps) {\n return (\n <div\n data-slot=\"section-content\"\n className={cn(\n 'group-data-[variant=factory]/section:overflow-hidden group-data-[variant=factory]/section:rounded-xl',\n 'group-data-[variant=factory]/section:bg-card group-data-[variant=factory]/section:shadow-raised',\n className,\n )}\n {...props}\n />\n );\n}\n","import type { ComponentProps } from 'react';\nimport { Txt } from '@/ds/components/Txt';\nimport { cn } from '@/lib/utils';\n\nexport type SectionDescriptionProps = ComponentProps<'p'>;\n\nexport function SectionDescription({ className, ...props }: SectionDescriptionProps) {\n return (\n <Txt\n variant=\"caption\"\n tone=\"muted\"\n data-slot=\"section-description\"\n className={cn('max-w-[62ch] text-pretty', className)}\n {...props}\n />\n );\n}\n","import type { ComponentProps } from 'react';\nimport { cn } from '@/lib/utils';\n\nexport type SectionDividerProps = ComponentProps<'div'>;\n\nexport function SectionDivider({ className, ...props }: SectionDividerProps) {\n return <div role=\"separator\" aria-orientation=\"horizontal\" className={cn('h-px bg-border', className)} {...props} />;\n}\n","import type { ComponentProps } from 'react';\nimport { cn } from '@/lib/utils';\n\nexport type SectionHeaderProps = ComponentProps<'header'> & {\n inset?: boolean;\n};\n\nexport function SectionHeader({ children, className, inset = false, ...props }: SectionHeaderProps) {\n return (\n <header\n data-slot=\"section-header\"\n className={cn(\n 'group-data-[variant=default]/section:grid group-data-[variant=default]/section:grid-cols-[1fr_auto] group-data-[variant=default]/section:items-center',\n 'group-data-[variant=flat]/section:flex group-data-[variant=flat]/section:min-w-0 group-data-[variant=flat]/section:flex-col group-data-[variant=flat]/section:gap-3 group-data-[variant=flat]/section:pb-3 sm:group-data-[variant=flat]/section:flex-row sm:group-data-[variant=flat]/section:items-start sm:group-data-[variant=flat]/section:justify-between sm:group-data-[variant=flat]/section:gap-4',\n 'group-data-[variant=factory]/section:flex group-data-[variant=factory]/section:min-w-0 group-data-[variant=factory]/section:flex-col group-data-[variant=factory]/section:gap-2 sm:group-data-[variant=factory]/section:flex-row sm:group-data-[variant=factory]/section:items-start sm:group-data-[variant=factory]/section:justify-between sm:group-data-[variant=factory]/section:gap-4',\n inset && 'px-4',\n className,\n )}\n {...props}\n >\n {children}\n </header>\n );\n}\n","import type { ComponentProps } from 'react';\nimport { cn } from '@/lib/utils';\n\nexport type SectionHeaderTextProps = ComponentProps<'div'>;\n\nexport function SectionHeaderText({ className, ...props }: SectionHeaderTextProps) {\n return <div data-slot=\"section-header-text\" className={cn('flex min-w-0 flex-col gap-1.5', className)} {...props} />;\n}\n","import type { ComponentProps, ElementType } from 'react';\nimport { cn } from '@/lib/utils';\n\nexport type SectionHeadingProps = ComponentProps<'h2'> & {\n headingLevel?: 'h2' | 'h3' | 'h4';\n};\n\nexport function SectionHeading({ headingLevel = 'h2', children, className, ...props }: SectionHeadingProps) {\n const HeadingTag: ElementType = headingLevel;\n\n return (\n <HeadingTag\n data-slot=\"section-heading\"\n className={cn(\n 'group-data-[variant=default]/section:flex group-data-[variant=default]/section:items-center group-data-[variant=default]/section:gap-2 group-data-[variant=default]/section:text-subheading group-data-[variant=default]/section:text-muted-foreground group-data-[variant=default]/section:[&>svg]:size-[1.2em] group-data-[variant=default]/section:[&>svg]:opacity-50',\n 'group-data-[variant=flat]/section:text-subheading group-data-[variant=flat]/section:text-balance group-data-[variant=flat]/section:text-foreground',\n 'group-data-[variant=factory]/section:text-subheading group-data-[variant=factory]/section:text-balance group-data-[variant=factory]/section:text-foreground',\n className,\n )}\n {...props}\n >\n {children}\n </HeadingTag>\n );\n}\n","import type { ComponentProps } from 'react';\nimport { cn } from '@/lib/utils';\n\nexport type SectionVariant = 'default' | 'flat' | 'factory';\n\nexport type SectionRootProps = ComponentProps<'section'> & {\n variant?: SectionVariant;\n};\n\nexport function SectionRoot({ variant = 'default', children, className, ...props }: SectionRootProps) {\n return (\n <section\n data-slot=\"section\"\n data-variant={variant}\n className={cn(\n 'group/section',\n variant === 'default' && 'grid gap-3',\n variant === 'flat' && 'w-full min-w-0',\n variant === 'factory' && 'flex w-full min-w-0 flex-col gap-2',\n className,\n )}\n {...props}\n >\n {children}\n </section>\n );\n}\n\nexport function SubSectionRoot({ children, className, ...props }: ComponentProps<'section'>) {\n return (\n <section className={cn('grid gap-2', className)} {...props}>\n {children}\n </section>\n );\n}\n","import type { ReactNode } from 'react';\nimport { Field, FieldDescription, FieldError, FieldLabel } from '@/ds/components/Field';\nimport type { FieldProps } from '@/ds/components/Field';\nimport { SettingsRowControl } from '@/ds/new/settings/settings-row';\nimport { cn } from '@/lib/utils';\n\nexport type SectionRowProps = Omit<FieldProps, 'children' | 'invalid' | 'orientation'> & {\n label: ReactNode;\n description?: ReactNode;\n htmlFor?: string;\n children?: ReactNode;\n required?: boolean;\n errorMsg?: ReactNode;\n};\nexport type SectionViewOnlyRowProps = SectionRowProps & { children: ReactNode };\nexport type SectionDestructiveRowProps = SectionRowProps & { children: ReactNode };\n\nfunction SectionRowBase({\n label,\n description,\n htmlFor,\n children,\n className,\n required = false,\n errorMsg,\n disabled,\n viewOnly = false,\n destructive = false,\n ...props\n}: SectionRowProps & { viewOnly?: boolean; destructive?: boolean }) {\n return (\n <Field\n orientation=\"responsive\"\n invalid={Boolean(errorMsg)}\n disabled={disabled || viewOnly}\n data-slot=\"section-row\"\n className={cn(\n 'grid min-w-0 gap-3 group-data-[variant=factory]/section:px-3 group-data-[variant=factory]/section:py-2 group-data-[variant=flat]/section:p-3 sm:grid-cols-[minmax(0,1fr)_auto] sm:items-center sm:group-data-[variant=default]/section:gap-4 sm:group-data-[variant=factory]/section:gap-4 sm:group-data-[variant=flat]/section:gap-6',\n className,\n )}\n {...props}\n >\n <div className=\"min-w-0\">\n <FieldLabel\n {...(htmlFor ? { htmlFor } : {})}\n required={required}\n className={cn(destructive && 'text-destructive-foreground')}\n >\n {label}\n </FieldLabel>\n {description != null && <FieldDescription className=\"mt-1 text-pretty\">{description}</FieldDescription>}\n <FieldError className=\"mt-1\">{errorMsg}</FieldError>\n </div>\n {children != null && (\n <div\n data-slot=\"section-control\"\n className={cn(\n 'min-w-0 sm:justify-self-end',\n viewOnly && 'flex items-center gap-2 text-body-sm text-muted-foreground',\n )}\n >\n <SettingsRowControl viewOnly={viewOnly}>{children}</SettingsRowControl>\n </div>\n )}\n </Field>\n );\n}\n\n/** @deprecated Use SettingsRow from @mastra/playground-ui/new/settings for settings pages. */\nexport function SectionRow(props: SectionRowProps) {\n return <SectionRowBase {...props} />;\n}\n\n/** @deprecated Use SettingsRow with viewOnly from @mastra/playground-ui/new/settings. */\nexport function SectionViewOnlyRow(props: SectionViewOnlyRowProps) {\n return <SectionRowBase {...props} viewOnly />;\n}\n\n/** @deprecated Use SettingsRow with tone=\"destructive\" from @mastra/playground-ui/new/settings. */\nexport function SectionDestructiveRow(props: SectionDestructiveRowProps) {\n return <SectionRowBase {...props} destructive />;\n}\n","import { SectionContent } from './section-content';\nimport { SectionDescription } from './section-description';\nimport { SectionDivider } from './section-divider';\nimport { SectionHeader } from './section-header';\nimport { SectionHeaderText } from './section-header-text';\nimport { SectionHeading } from './section-heading';\nimport { SectionRoot } from './section-root';\nimport type { SectionRootProps } from './section-root';\nimport { SectionDestructiveRow, SectionRow, SectionViewOnlyRow } from './section-row';\n\nexport { type SectionContentProps } from './section-content';\nexport { type SectionDescriptionProps } from './section-description';\nexport { type SectionDividerProps } from './section-divider';\nexport { type SectionHeaderProps } from './section-header';\nexport { type SectionHeaderTextProps } from './section-header-text';\nexport { type SectionHeadingProps } from './section-heading';\nexport { type SectionRootProps as SectionProps, type SectionVariant } from './section-root';\nexport { type SectionDestructiveRowProps, type SectionRowProps, type SectionViewOnlyRowProps } from './section-row';\n\nexport function Section(props: SectionRootProps) {\n return <SectionRoot {...props} />;\n}\n\nSection.Header = SectionHeader;\nSection.HeaderText = SectionHeaderText;\nSection.Heading = SectionHeading;\nSection.Description = SectionDescription;\nSection.Content = SectionContent;\nSection.Row = SectionRow;\nSection.ViewOnlyRow = SectionViewOnlyRow;\nSection.DestructiveRow = SectionDestructiveRow;\nSection.Divider = SectionDivider;\n"],"mappings":";;;;;;AAKA,SAAgB,eAAe,EAAE,WAAW,GAAG,SAA8B;CAC3E,OACE,oBAAC,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AAClB,QAAQ,MAAM;AACd,QAAQ,cAAc;AACtB,QAAQ,iBAAiB;AACzB,QAAQ,UAAU"}
1
+ {"version":3,"file":"Section-DV2aLnkc.js","names":["HeadingTag"],"sources":["../src/ds/components/Section/section-content.tsx","../src/ds/components/Section/section-description.tsx","../src/ds/components/Section/section-divider.tsx","../src/ds/components/Section/section-header.tsx","../src/ds/components/Section/section-header-text.tsx","../src/ds/components/Section/section-heading.tsx","../src/ds/components/Section/section-root.tsx","../src/ds/components/Section/section-row.tsx","../src/ds/components/Section/section.tsx"],"sourcesContent":["import type { ComponentProps } from 'react';\nimport { cn } from '@/lib/utils';\n\nexport type SectionContentProps = ComponentProps<'div'>;\n\nexport function SectionContent({ className, ...props }: SectionContentProps) {\n return (\n <div\n data-slot=\"section-content\"\n className={cn(\n 'group-data-[variant=factory]/section:overflow-hidden group-data-[variant=factory]/section:rounded-xl',\n 'group-data-[variant=factory]/section:bg-card group-data-[variant=factory]/section:shadow-raised',\n className,\n )}\n {...props}\n />\n );\n}\n","import type { ComponentProps } from 'react';\nimport { Txt } from '@/ds/components/Txt';\nimport { cn } from '@/lib/utils';\n\nexport type SectionDescriptionProps = ComponentProps<'p'>;\n\nexport function SectionDescription({ className, ...props }: SectionDescriptionProps) {\n return (\n <Txt\n variant=\"caption\"\n tone=\"muted\"\n data-slot=\"section-description\"\n className={cn('max-w-[62ch] text-pretty', className)}\n {...props}\n />\n );\n}\n","import type { ComponentProps } from 'react';\nimport { cn } from '@/lib/utils';\n\nexport type SectionDividerProps = ComponentProps<'div'>;\n\nexport function SectionDivider({ className, ...props }: SectionDividerProps) {\n return <div role=\"separator\" aria-orientation=\"horizontal\" className={cn('h-px bg-border', className)} {...props} />;\n}\n","import type { ComponentProps } from 'react';\nimport { cn } from '@/lib/utils';\n\nexport type SectionHeaderProps = ComponentProps<'header'> & {\n inset?: boolean;\n};\n\nexport function SectionHeader({ children, className, inset = false, ...props }: SectionHeaderProps) {\n return (\n <header\n data-slot=\"section-header\"\n className={cn(\n 'group-data-[variant=default]/section:grid group-data-[variant=default]/section:grid-cols-[1fr_auto] group-data-[variant=default]/section:items-center',\n 'group-data-[variant=flat]/section:flex group-data-[variant=flat]/section:min-w-0 group-data-[variant=flat]/section:flex-col group-data-[variant=flat]/section:gap-3 group-data-[variant=flat]/section:pb-3 sm:group-data-[variant=flat]/section:flex-row sm:group-data-[variant=flat]/section:items-start sm:group-data-[variant=flat]/section:justify-between sm:group-data-[variant=flat]/section:gap-4',\n 'group-data-[variant=factory]/section:flex group-data-[variant=factory]/section:min-w-0 group-data-[variant=factory]/section:flex-col group-data-[variant=factory]/section:gap-2 sm:group-data-[variant=factory]/section:flex-row sm:group-data-[variant=factory]/section:items-start sm:group-data-[variant=factory]/section:justify-between sm:group-data-[variant=factory]/section:gap-4',\n inset && 'px-4',\n className,\n )}\n {...props}\n >\n {children}\n </header>\n );\n}\n","import type { ComponentProps } from 'react';\nimport { cn } from '@/lib/utils';\n\nexport type SectionHeaderTextProps = ComponentProps<'div'>;\n\nexport function SectionHeaderText({ className, ...props }: SectionHeaderTextProps) {\n return <div data-slot=\"section-header-text\" className={cn('flex min-w-0 flex-col gap-1.5', className)} {...props} />;\n}\n","import type { ComponentProps, ElementType } from 'react';\nimport { cn } from '@/lib/utils';\n\nexport type SectionHeadingProps = ComponentProps<'h2'> & {\n headingLevel?: 'h2' | 'h3' | 'h4';\n};\n\nexport function SectionHeading({ headingLevel = 'h2', children, className, ...props }: SectionHeadingProps) {\n const HeadingTag: ElementType = headingLevel;\n\n return (\n <HeadingTag\n data-slot=\"section-heading\"\n className={cn(\n 'group-data-[variant=default]/section:flex group-data-[variant=default]/section:items-center group-data-[variant=default]/section:gap-2 group-data-[variant=default]/section:text-subheading group-data-[variant=default]/section:text-muted-foreground group-data-[variant=default]/section:[&>svg]:size-[1.2em] group-data-[variant=default]/section:[&>svg]:opacity-50',\n 'group-data-[variant=flat]/section:text-subheading group-data-[variant=flat]/section:text-balance group-data-[variant=flat]/section:text-foreground',\n 'group-data-[variant=factory]/section:text-subheading group-data-[variant=factory]/section:text-balance group-data-[variant=factory]/section:text-foreground',\n className,\n )}\n {...props}\n >\n {children}\n </HeadingTag>\n );\n}\n","import type { ComponentProps } from 'react';\nimport { cn } from '@/lib/utils';\n\nexport type SectionVariant = 'default' | 'flat' | 'factory';\n\nexport type SectionRootProps = ComponentProps<'section'> & {\n variant?: SectionVariant;\n};\n\nexport function SectionRoot({ variant = 'default', children, className, ...props }: SectionRootProps) {\n return (\n <section\n data-slot=\"section\"\n data-variant={variant}\n className={cn(\n 'group/section',\n variant === 'default' && 'grid gap-3',\n variant === 'flat' && 'w-full min-w-0',\n variant === 'factory' && 'flex w-full min-w-0 flex-col gap-2',\n className,\n )}\n {...props}\n >\n {children}\n </section>\n );\n}\n\nexport function SubSectionRoot({ children, className, ...props }: ComponentProps<'section'>) {\n return (\n <section className={cn('grid gap-2', className)} {...props}>\n {children}\n </section>\n );\n}\n","import type { ReactNode } from 'react';\nimport { Field, FieldDescription, FieldError, FieldLabel } from '@/ds/components/Field';\nimport type { FieldProps } from '@/ds/components/Field';\nimport { SettingsRowControl } from '@/ds/new/settings/settings-row';\nimport { cn } from '@/lib/utils';\n\nexport type SectionRowProps = Omit<FieldProps, 'children' | 'invalid' | 'orientation'> & {\n label: ReactNode;\n description?: ReactNode;\n htmlFor?: string;\n children?: ReactNode;\n required?: boolean;\n errorMsg?: ReactNode;\n};\nexport type SectionViewOnlyRowProps = SectionRowProps & { children: ReactNode };\nexport type SectionDestructiveRowProps = SectionRowProps & { children: ReactNode };\n\nfunction SectionRowBase({\n label,\n description,\n htmlFor,\n children,\n className,\n required = false,\n errorMsg,\n disabled,\n viewOnly = false,\n destructive = false,\n ...props\n}: SectionRowProps & { viewOnly?: boolean; destructive?: boolean }) {\n return (\n <Field\n orientation=\"responsive\"\n invalid={Boolean(errorMsg)}\n disabled={disabled || viewOnly}\n data-slot=\"section-row\"\n className={cn(\n 'grid min-w-0 gap-3 group-data-[variant=factory]/section:px-3 group-data-[variant=factory]/section:py-2 group-data-[variant=flat]/section:p-3 sm:grid-cols-[minmax(0,1fr)_auto] sm:items-center sm:group-data-[variant=default]/section:gap-4 sm:group-data-[variant=factory]/section:gap-4 sm:group-data-[variant=flat]/section:gap-6',\n className,\n )}\n {...props}\n >\n <div className=\"min-w-0\">\n <FieldLabel\n {...(htmlFor ? { htmlFor } : {})}\n required={required}\n className={cn(destructive && 'text-destructive-foreground')}\n >\n {label}\n </FieldLabel>\n {description != null && <FieldDescription className=\"mt-1 text-pretty\">{description}</FieldDescription>}\n <FieldError className=\"mt-1\">{errorMsg}</FieldError>\n </div>\n {children != null && (\n <div\n data-slot=\"section-control\"\n className={cn(\n 'min-w-0 sm:justify-self-end',\n viewOnly && 'flex items-center gap-2 text-body-sm text-muted-foreground',\n )}\n >\n <SettingsRowControl viewOnly={viewOnly}>{children}</SettingsRowControl>\n </div>\n )}\n </Field>\n );\n}\n\n/** @deprecated Use SettingsRow from @mastra/playground-ui/new/settings for settings pages. */\nexport function SectionRow(props: SectionRowProps) {\n return <SectionRowBase {...props} />;\n}\n\n/** @deprecated Use SettingsRow with viewOnly from @mastra/playground-ui/new/settings. */\nexport function SectionViewOnlyRow(props: SectionViewOnlyRowProps) {\n return <SectionRowBase {...props} viewOnly />;\n}\n\n/** @deprecated Use SettingsRow with tone=\"destructive\" from @mastra/playground-ui/new/settings. */\nexport function SectionDestructiveRow(props: SectionDestructiveRowProps) {\n return <SectionRowBase {...props} destructive />;\n}\n","import { SectionContent } from './section-content';\nimport { SectionDescription } from './section-description';\nimport { SectionDivider } from './section-divider';\nimport { SectionHeader } from './section-header';\nimport { SectionHeaderText } from './section-header-text';\nimport { SectionHeading } from './section-heading';\nimport { SectionRoot } from './section-root';\nimport type { SectionRootProps } from './section-root';\nimport { SectionDestructiveRow, SectionRow, SectionViewOnlyRow } from './section-row';\n\nexport { type SectionContentProps } from './section-content';\nexport { type SectionDescriptionProps } from './section-description';\nexport { type SectionDividerProps } from './section-divider';\nexport { type SectionHeaderProps } from './section-header';\nexport { type SectionHeaderTextProps } from './section-header-text';\nexport { type SectionHeadingProps } from './section-heading';\nexport { type SectionRootProps as SectionProps, type SectionVariant } from './section-root';\nexport { type SectionDestructiveRowProps, type SectionRowProps, type SectionViewOnlyRowProps } from './section-row';\n\nexport function Section(props: SectionRootProps) {\n return <SectionRoot {...props} />;\n}\n\nSection.Header = SectionHeader;\nSection.HeaderText = SectionHeaderText;\nSection.Heading = SectionHeading;\nSection.Description = SectionDescription;\nSection.Content = SectionContent;\nSection.Row = SectionRow;\nSection.ViewOnlyRow = SectionViewOnlyRow;\nSection.DestructiveRow = SectionDestructiveRow;\nSection.Divider = SectionDivider;\n"],"mappings":";;;;;;AAKA,SAAgB,eAAe,EAAE,WAAW,GAAG,SAA8B;CAC3E,OACE,oBAAC,OAAD;EACE,aAAU;EACV,WAAW,GACT,wGACA,mGACA,SACF;EACA,GAAI;CACL,CAAA;AAEL;;ACXA,SAAgB,mBAAmB,EAAE,WAAW,GAAG,SAAkC;CACnF,OACE,oBAAC,KAAD;EACE,SAAQ;EACR,MAAK;EACL,aAAU;EACV,WAAW,GAAG,4BAA4B,SAAS;EACnD,GAAI;CACL,CAAA;AAEL;;ACXA,SAAgB,eAAe,EAAE,WAAW,GAAG,SAA8B;CAC3E,OAAO,oBAAC,OAAD;EAAK,MAAK;EAAY,oBAAiB;EAAa,WAAW,GAAG,kBAAkB,SAAS;EAAG,GAAI;CAAQ,CAAA;AACrH;;ACAA,SAAgB,cAAc,EAAE,UAAU,WAAW,QAAQ,OAAO,GAAG,SAA6B;CAClG,OACE,oBAAC,UAAD;EACE,aAAU;EACV,WAAW,GACT,yJACA,6YACA,8XACA,SAAS,QACT,SACF;EACA,GAAI;EAEH;CACK,CAAA;AAEZ;;AClBA,SAAgB,kBAAkB,EAAE,WAAW,GAAG,SAAiC;CACjF,OAAO,oBAAC,OAAD;EAAK,aAAU;EAAsB,WAAW,GAAG,iCAAiC,SAAS;EAAG,GAA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AW;GAA6B,CAAA;EACnE,CAAA,CAEF;;AAEX;;AAGA,SAAgB,WAAW,OAAwB;CACjD,OAAO,oBAAC,gBAAD,EAAgB,GAAI,MAAQ,CAAA;AACrC;;AAGA,SAAgB,mBAAmB,OAAgC;CACjE,OAAO,oBAAC,gBAAD;EAAgB,GAAI;EAAO,UAAA;CAAU,CAAA;AAC9C;;AAGA,SAAgB,sBAAsB,OAAmC;CACvE,OAAO,oBAAC,gBAAD;EAAgB,GAAI;EAAO,aAAA;CAAa,CAAA;AACjD;;AC9DA,SAAgB,QAAQ,OAAyB;CAC/C,OAAO,oBAAC,aAAD,EAAa,GAAI,MAAQ,CAAA;AAClC;AAEA,QAAQ,SAAS;AACjB,QAAQ,aAAa;AACrB,QAAQ,UAAU;AAClB,QAAQ,cAAc;AACtB,QAAQ,UAAU;AAClB,QAAQ,MAAM;AACd,QAAQ,cAAc;AACtB,QAAQ,iBAAiB;AACzB,QAAQ,UAAU"}
@@ -1,4 +1,4 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_EmptyState = require("../EmptyState-C5O9fTEq.cjs");
2
+ const require_EmptyState = require("../EmptyState-DnW6SNEx.cjs");
3
3
  exports.EmptyState = require_EmptyState.EmptyState;
4
4
  exports.EmptyStateIllustration = require_EmptyState.EmptyStateIllustration;
@@ -1 +1 @@
1
- export { n as EmptyState, t as EmptyStateIllustration } from "../EmptyState-juw2jci2.js";
1
+ export { n as EmptyState, t as EmptyStateIllustration } from "../EmptyState-DJaZF543.js";