@tryghost/shade 0.1.0-alpha.2 → 0.1.0-alpha.21

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 (169) hide show
  1. package/README.md +30 -64
  2. package/es/components/page-templates/list-page.js +2 -1
  3. package/es/components/page-templates/list-page.js.map +1 -1
  4. package/es/components/patterns/filter-bar.js +4 -6
  5. package/es/components/patterns/filter-bar.js.map +1 -1
  6. package/es/components/patterns/filters.js +35 -22
  7. package/es/components/patterns/filters.js.map +1 -1
  8. package/es/components/patterns/gh-chart.js +6 -3
  9. package/es/components/patterns/gh-chart.js.map +1 -1
  10. package/es/components/patterns/image-upload.js +1 -3
  11. package/es/components/patterns/image-upload.js.map +1 -1
  12. package/es/components/patterns/page-header.js +18 -43
  13. package/es/components/patterns/page-header.js.map +1 -1
  14. package/es/components/patterns/setting-group-variants.js +1 -1
  15. package/es/components/patterns/setting-group-variants.js.map +1 -1
  16. package/es/components/patterns/share-modal.js +3 -15
  17. package/es/components/patterns/share-modal.js.map +1 -1
  18. package/es/components/ui/alert-dialog.js +2 -4
  19. package/es/components/ui/alert-dialog.js.map +1 -1
  20. package/es/components/ui/avatar.js +8 -4
  21. package/es/components/ui/avatar.js.map +1 -1
  22. package/es/components/ui/badge-variants.js +1 -1
  23. package/es/components/ui/badge-variants.js.map +1 -1
  24. package/es/components/ui/banner-variants.js +4 -4
  25. package/es/components/ui/banner-variants.js.map +1 -1
  26. package/es/components/ui/button-variants.js +2 -33
  27. package/es/components/ui/button-variants.js.map +1 -1
  28. package/es/components/ui/button.js +1 -2
  29. package/es/components/ui/button.js.map +1 -1
  30. package/es/components/ui/calendar.js +5 -6
  31. package/es/components/ui/calendar.js.map +1 -1
  32. package/es/components/ui/card-variants.js +1 -1
  33. package/es/components/ui/card-variants.js.map +1 -1
  34. package/es/components/ui/card.js +1 -1
  35. package/es/components/ui/card.js.map +1 -1
  36. package/es/components/ui/chart.js +2 -29
  37. package/es/components/ui/chart.js.map +1 -1
  38. package/es/components/ui/combobox.js +2 -2
  39. package/es/components/ui/combobox.js.map +1 -1
  40. package/es/components/ui/copy-field.js +1 -3
  41. package/es/components/ui/copy-field.js.map +1 -1
  42. package/es/components/ui/data-list.js +1 -3
  43. package/es/components/ui/data-list.js.map +1 -1
  44. package/es/components/ui/dialog.js +32 -8
  45. package/es/components/ui/dialog.js.map +1 -1
  46. package/es/components/ui/dropzone-variants.js +1 -3
  47. package/es/components/ui/dropzone-variants.js.map +1 -1
  48. package/es/components/ui/dropzone.js +2 -2
  49. package/es/components/ui/dropzone.js.map +1 -1
  50. package/es/components/ui/floating-sidebar.js +4 -4
  51. package/es/components/ui/floating-sidebar.js.map +1 -1
  52. package/es/components/ui/image-overlay-button.js +2 -2
  53. package/es/components/ui/image-overlay-button.js.map +1 -1
  54. package/es/components/ui/input-group.js +2 -5
  55. package/es/components/ui/input-group.js.map +1 -1
  56. package/es/components/ui/navbar.js +1 -3
  57. package/es/components/ui/navbar.js.map +1 -1
  58. package/es/components/ui/pagemenu.js +33 -9
  59. package/es/components/ui/pagemenu.js.map +1 -1
  60. package/es/components/ui/select-variants.js +2 -10
  61. package/es/components/ui/select-variants.js.map +1 -1
  62. package/es/components/ui/select.js +1 -4
  63. package/es/components/ui/select.js.map +1 -1
  64. package/es/components/ui/simple-pagination.js +4 -7
  65. package/es/components/ui/simple-pagination.js.map +1 -1
  66. package/es/components/ui/sticky-footer.js +1 -1
  67. package/es/components/ui/sticky-footer.js.map +1 -1
  68. package/es/components/ui/toast.js +2 -0
  69. package/es/components/ui/toggle-group.js +1 -3
  70. package/es/components/ui/toggle-group.js.map +1 -1
  71. package/es/components/ui/toggle-variants.js +1 -7
  72. package/es/components/ui/toggle-variants.js.map +1 -1
  73. package/es/components/ui/toggle.js +1 -2
  74. package/es/components/ui/toggle.js.map +1 -1
  75. package/es/components/ui/token-field.js +2 -2
  76. package/es/components/ui/token-field.js.map +1 -1
  77. package/es/components/ui/tooltip.js +8 -17
  78. package/es/components/ui/tooltip.js.map +1 -1
  79. package/es/components.js +3 -2
  80. package/es/index.js +3 -2
  81. package/es/lib/date-utils.js +151 -0
  82. package/es/lib/date-utils.js.map +1 -0
  83. package/es/lib/ds-utils.js +16 -72
  84. package/es/lib/ds-utils.js.map +1 -1
  85. package/es/lib/utils.js +3 -2
  86. package/es/providers/header-tooltip-provider.js +1 -4
  87. package/es/providers/header-tooltip-provider.js.map +1 -1
  88. package/es/providers/shade-context.js +1 -1
  89. package/es/providers/shade-context.js.map +1 -1
  90. package/es/providers/shade-provider.js +3 -3
  91. package/es/providers/shade-provider.js.map +1 -1
  92. package/es/shade-app.js +3 -3
  93. package/es/shade-app.js.map +1 -1
  94. package/es/shade-scope.js +2 -2
  95. package/es/shade-scope.js.map +1 -1
  96. package/es/tokens.js +1 -8
  97. package/es/tokens.js.map +1 -1
  98. package/es/utils.js +3 -2
  99. package/package.json +6 -6
  100. package/styles.css +12 -10
  101. package/tailwind.theme.css +202 -187
  102. package/theme-variables.css +291 -42
  103. package/types/components/page-templates/list-page.d.ts +2 -1
  104. package/types/components/page-templates/list-page.d.ts.map +1 -1
  105. package/types/components/patterns/filter-bar.d.ts.map +1 -1
  106. package/types/components/patterns/filters.d.ts +2 -4
  107. package/types/components/patterns/filters.d.ts.map +1 -1
  108. package/types/components/patterns/gh-chart.d.ts.map +1 -1
  109. package/types/components/patterns/image-upload.d.ts.map +1 -1
  110. package/types/components/patterns/page-header.d.ts +6 -11
  111. package/types/components/patterns/page-header.d.ts.map +1 -1
  112. package/types/components/patterns/share-modal.d.ts +1 -1
  113. package/types/components/patterns/share-modal.d.ts.map +1 -1
  114. package/types/components/ui/avatar.d.ts.map +1 -1
  115. package/types/components/ui/button-variants.d.ts +0 -1
  116. package/types/components/ui/button-variants.d.ts.map +1 -1
  117. package/types/components/ui/button.d.ts +1 -1
  118. package/types/components/ui/button.d.ts.map +1 -1
  119. package/types/components/ui/calendar.d.ts.map +1 -1
  120. package/types/components/ui/chart.d.ts +1 -17
  121. package/types/components/ui/chart.d.ts.map +1 -1
  122. package/types/components/ui/combobox.d.ts.map +1 -1
  123. package/types/components/ui/copy-field.d.ts.map +1 -1
  124. package/types/components/ui/data-list.d.ts.map +1 -1
  125. package/types/components/ui/dialog.d.ts +11 -2
  126. package/types/components/ui/dialog.d.ts.map +1 -1
  127. package/types/components/ui/dropzone-variants.d.ts +1 -1
  128. package/types/components/ui/dropzone-variants.d.ts.map +1 -1
  129. package/types/components/ui/image-overlay-button.d.ts +1 -1
  130. package/types/components/ui/image-overlay-button.d.ts.map +1 -1
  131. package/types/components/ui/input-group.d.ts.map +1 -1
  132. package/types/components/ui/navbar.d.ts.map +1 -1
  133. package/types/components/ui/pagemenu.d.ts +3 -0
  134. package/types/components/ui/pagemenu.d.ts.map +1 -1
  135. package/types/components/ui/select-variants.d.ts +0 -1
  136. package/types/components/ui/select-variants.d.ts.map +1 -1
  137. package/types/components/ui/select.d.ts +1 -1
  138. package/types/components/ui/select.d.ts.map +1 -1
  139. package/types/components/ui/simple-pagination.d.ts.map +1 -1
  140. package/types/components/ui/toast.d.ts +2 -0
  141. package/types/components/ui/toast.d.ts.map +1 -0
  142. package/types/components/ui/toggle-group.d.ts +4 -6
  143. package/types/components/ui/toggle-group.d.ts.map +1 -1
  144. package/types/components/ui/toggle-variants.d.ts +0 -1
  145. package/types/components/ui/toggle-variants.d.ts.map +1 -1
  146. package/types/components/ui/toggle.d.ts +2 -3
  147. package/types/components/ui/toggle.d.ts.map +1 -1
  148. package/types/components/ui/token-field.d.ts +2 -2
  149. package/types/components/ui/token-field.d.ts.map +1 -1
  150. package/types/components/ui/tooltip.d.ts.map +1 -1
  151. package/types/components.d.ts +1 -0
  152. package/types/components.d.ts.map +1 -1
  153. package/types/lib/date-utils.d.ts +17 -0
  154. package/types/lib/date-utils.d.ts.map +1 -0
  155. package/types/lib/ds-utils.d.ts +2 -16
  156. package/types/lib/ds-utils.d.ts.map +1 -1
  157. package/types/lib/utils.d.ts +1 -0
  158. package/types/lib/utils.d.ts.map +1 -1
  159. package/types/providers/header-tooltip-provider.d.ts.map +1 -1
  160. package/types/providers/shade-context.d.ts +2 -1
  161. package/types/providers/shade-context.d.ts.map +1 -1
  162. package/types/providers/shade-provider.d.ts +1 -1
  163. package/types/providers/shade-provider.d.ts.map +1 -1
  164. package/types/shade-app.d.ts +5 -2
  165. package/types/shade-app.d.ts.map +1 -1
  166. package/types/tokens.d.ts +1 -1
  167. package/types/tokens.d.ts.map +1 -1
  168. package/types/utils.d.ts +2 -1
  169. package/types/utils.d.ts.map +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"select.js","names":[],"sources":["../../../src/components/ui/select.tsx"],"sourcesContent":["import * as React from 'react';\nimport * as SelectPrimitive from '@radix-ui/react-select';\nimport { type VariantProps } from 'class-variance-authority';\nimport { Check, ChevronDown, ChevronUp } from 'lucide-react';\n\nimport { selectTriggerVariants } from '@/components/ui/select-variants';\nimport { useShade } from '@/providers/shade-context';\nimport { cn } from '@/lib/utils';\nimport { ShadeScope } from '@/shade-scope';\nimport { inputSurface, inputSurfaceClasses } from '@/components/ui/input-surface';\nimport { consumeOverlayEscape } from '@/lib/overlay-escape';\nconst Select = SelectPrimitive.Root;\n\nconst SelectGroup = SelectPrimitive.Group;\n\nconst SelectValue = SelectPrimitive.Value;\n\nexport interface SelectTriggerProps\n extends\n React.ComponentPropsWithoutRef<typeof SelectPrimitive.Trigger>,\n Omit<VariantProps<typeof selectTriggerVariants>, 'isAdmin7'> {\n /** Show the dropdown chevron. Defaults to hidden for the secondary variant. */\n showChevron?: boolean;\n}\n\nconst SelectTrigger = React.forwardRef<\n React.ElementRef<typeof SelectPrimitive.Trigger>,\n SelectTriggerProps\n>(\n (\n { className, children, shape, variant, showChevron = variant !== 'secondary', ...props },\n ref,\n ) => {\n const { isAdmin7 } = useShade();\n const resolvedShape = shape ?? 'rounded';\n return (\n <SelectPrimitive.Trigger\n ref={ref}\n className={cn(\n inputSurface('self'),\n inputSurfaceClasses.disabledFieldSelf,\n selectTriggerVariants({ shape: resolvedShape, variant, isAdmin7 }),\n showChevron && 'pr-2',\n className,\n )}\n data-control-shape={resolvedShape}\n data-variant={variant ?? 'default'}\n {...props}\n >\n {children}\n {showChevron && (\n <SelectPrimitive.Icon asChild>\n <ChevronDown className=\"-mr-0.5 size-4 opacity-50\" />\n </SelectPrimitive.Icon>\n )}\n </SelectPrimitive.Trigger>\n );\n },\n);\nSelectTrigger.displayName = SelectPrimitive.Trigger.displayName;\n\nconst SelectScrollUpButton = React.forwardRef<\n React.ElementRef<typeof SelectPrimitive.ScrollUpButton>,\n React.ComponentPropsWithoutRef<typeof SelectPrimitive.ScrollUpButton>\n>(({ className, ...props }, ref) => (\n <SelectPrimitive.ScrollUpButton\n ref={ref}\n className={cn('flex cursor-default items-center justify-center py-1', className)}\n {...props}\n >\n <ChevronUp className=\"size-4\" />\n </SelectPrimitive.ScrollUpButton>\n));\nSelectScrollUpButton.displayName = SelectPrimitive.ScrollUpButton.displayName;\n\nconst SelectScrollDownButton = React.forwardRef<\n React.ElementRef<typeof SelectPrimitive.ScrollDownButton>,\n React.ComponentPropsWithoutRef<typeof SelectPrimitive.ScrollDownButton>\n>(({ className, ...props }, ref) => (\n <SelectPrimitive.ScrollDownButton\n ref={ref}\n className={cn('flex cursor-default items-center justify-center py-1', className)}\n {...props}\n >\n <ChevronDown className=\"size-4\" />\n </SelectPrimitive.ScrollDownButton>\n));\nSelectScrollDownButton.displayName = SelectPrimitive.ScrollDownButton.displayName;\n\nconst SelectContent = React.forwardRef<\n React.ElementRef<typeof SelectPrimitive.Content>,\n React.ComponentPropsWithoutRef<typeof SelectPrimitive.Content>\n>(({ className, children, onEscapeKeyDown, position = 'popper', ...props }, ref) => (\n <SelectPrimitive.Portal>\n <ShadeScope>\n <SelectPrimitive.Content\n ref={ref}\n className={cn(\n 'relative z-[9999] max-h-(--radix-select-content-available-height) min-w-[8rem] origin-(--radix-select-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-menu border border-border/60 bg-surface-elevated-2 text-popover-foreground shadow-md data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95 dark:border-border/30',\n position === 'popper' &&\n 'data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1',\n className,\n )}\n position={position}\n onEscapeKeyDown={(event) => consumeOverlayEscape(event, onEscapeKeyDown)}\n {...props}\n >\n <SelectScrollUpButton />\n <SelectPrimitive.Viewport\n className={cn(\n 'p-1',\n position === 'popper' &&\n 'h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]',\n )}\n >\n {children}\n </SelectPrimitive.Viewport>\n <SelectScrollDownButton />\n </SelectPrimitive.Content>\n </ShadeScope>\n </SelectPrimitive.Portal>\n));\nSelectContent.displayName = SelectPrimitive.Content.displayName;\n\nconst SelectLabel = React.forwardRef<\n React.ElementRef<typeof SelectPrimitive.Label>,\n React.ComponentPropsWithoutRef<typeof SelectPrimitive.Label>\n>(({ className, ...props }, ref) => (\n <SelectPrimitive.Label\n ref={ref}\n className={cn('px-2 py-1.5 text-control font-semibold', className)}\n {...props}\n />\n));\nSelectLabel.displayName = SelectPrimitive.Label.displayName;\n\nconst SelectItem = React.forwardRef<\n React.ElementRef<typeof SelectPrimitive.Item>,\n React.ComponentPropsWithoutRef<typeof SelectPrimitive.Item>\n>(({ className, children, ...props }, ref) => (\n <SelectPrimitive.Item\n ref={ref}\n className={cn(\n 'relative flex w-full cursor-default items-center rounded-menu-item py-1.5 pr-8 pl-2 text-control outline-hidden select-none focus:bg-interactive-hover focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50',\n className,\n )}\n {...props}\n >\n <span className=\"absolute right-2 flex size-3.5 items-center justify-center\">\n <SelectPrimitive.ItemIndicator>\n <Check className=\"size-4\" />\n </SelectPrimitive.ItemIndicator>\n </span>\n <SelectPrimitive.ItemText>{children}</SelectPrimitive.ItemText>\n </SelectPrimitive.Item>\n));\nSelectItem.displayName = SelectPrimitive.Item.displayName;\n\nconst SelectSeparator = React.forwardRef<\n React.ElementRef<typeof SelectPrimitive.Separator>,\n React.ComponentPropsWithoutRef<typeof SelectPrimitive.Separator>\n>(({ className, ...props }, ref) => (\n <SelectPrimitive.Separator\n ref={ref}\n className={cn('-mx-1 my-1 h-px bg-muted', className)}\n {...props}\n />\n));\nSelectSeparator.displayName = SelectPrimitive.Separator.displayName;\n\nexport {\n Select,\n SelectGroup,\n SelectValue,\n SelectTrigger,\n SelectContent,\n SelectLabel,\n SelectItem,\n SelectSeparator,\n SelectScrollUpButton,\n SelectScrollDownButton,\n};\n"],"mappings":"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"}
1
+ {"version":3,"file":"select.js","names":[],"sources":["../../../src/components/ui/select.tsx"],"sourcesContent":["import * as React from 'react';\nimport * as SelectPrimitive from '@radix-ui/react-select';\nimport { type VariantProps } from 'class-variance-authority';\nimport { Check, ChevronDown, ChevronUp } from 'lucide-react';\n\nimport { selectTriggerVariants } from '@/components/ui/select-variants';\nimport { cn } from '@/lib/utils';\nimport { ShadeScope } from '@/shade-scope';\nimport { inputSurface, inputSurfaceClasses } from '@/components/ui/input-surface';\nimport { consumeOverlayEscape } from '@/lib/overlay-escape';\nconst Select = SelectPrimitive.Root;\n\nconst SelectGroup = SelectPrimitive.Group;\n\nconst SelectValue = SelectPrimitive.Value;\n\nexport interface SelectTriggerProps\n extends\n React.ComponentPropsWithoutRef<typeof SelectPrimitive.Trigger>,\n VariantProps<typeof selectTriggerVariants> {\n /** Show the dropdown chevron. Defaults to hidden for the secondary variant. */\n showChevron?: boolean;\n}\n\nconst SelectTrigger = React.forwardRef<\n React.ElementRef<typeof SelectPrimitive.Trigger>,\n SelectTriggerProps\n>(\n (\n { className, children, shape, variant, showChevron = variant !== 'secondary', ...props },\n ref,\n ) => {\n const resolvedShape = shape ?? 'rounded';\n return (\n <SelectPrimitive.Trigger\n ref={ref}\n className={cn(\n inputSurface('self'),\n inputSurfaceClasses.disabledFieldSelf,\n selectTriggerVariants({ shape: resolvedShape, variant }),\n showChevron && 'pr-2',\n className,\n )}\n data-control-shape={resolvedShape}\n data-variant={variant ?? 'default'}\n {...props}\n >\n {children}\n {showChevron && (\n <SelectPrimitive.Icon asChild>\n <ChevronDown className=\"-mr-0.5 size-4 opacity-50\" />\n </SelectPrimitive.Icon>\n )}\n </SelectPrimitive.Trigger>\n );\n },\n);\nSelectTrigger.displayName = SelectPrimitive.Trigger.displayName;\n\nconst SelectScrollUpButton = React.forwardRef<\n React.ElementRef<typeof SelectPrimitive.ScrollUpButton>,\n React.ComponentPropsWithoutRef<typeof SelectPrimitive.ScrollUpButton>\n>(({ className, ...props }, ref) => (\n <SelectPrimitive.ScrollUpButton\n ref={ref}\n className={cn('flex cursor-default items-center justify-center py-1', className)}\n {...props}\n >\n <ChevronUp className=\"size-4\" />\n </SelectPrimitive.ScrollUpButton>\n));\nSelectScrollUpButton.displayName = SelectPrimitive.ScrollUpButton.displayName;\n\nconst SelectScrollDownButton = React.forwardRef<\n React.ElementRef<typeof SelectPrimitive.ScrollDownButton>,\n React.ComponentPropsWithoutRef<typeof SelectPrimitive.ScrollDownButton>\n>(({ className, ...props }, ref) => (\n <SelectPrimitive.ScrollDownButton\n ref={ref}\n className={cn('flex cursor-default items-center justify-center py-1', className)}\n {...props}\n >\n <ChevronDown className=\"size-4\" />\n </SelectPrimitive.ScrollDownButton>\n));\nSelectScrollDownButton.displayName = SelectPrimitive.ScrollDownButton.displayName;\n\nconst SelectContent = React.forwardRef<\n React.ElementRef<typeof SelectPrimitive.Content>,\n React.ComponentPropsWithoutRef<typeof SelectPrimitive.Content>\n>(({ className, children, onEscapeKeyDown, position = 'popper', ...props }, ref) => (\n <SelectPrimitive.Portal>\n <ShadeScope>\n <SelectPrimitive.Content\n ref={ref}\n className={cn(\n 'relative z-[9999] max-h-(--radix-select-content-available-height) min-w-[8rem] origin-(--radix-select-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-menu border border-border/60 bg-surface-elevated-2 text-popover-foreground shadow-md data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95 dark:border-border/30',\n position === 'popper' &&\n 'data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1',\n className,\n )}\n position={position}\n onEscapeKeyDown={(event) => consumeOverlayEscape(event, onEscapeKeyDown)}\n {...props}\n >\n <SelectScrollUpButton />\n <SelectPrimitive.Viewport\n className={cn(\n 'p-1',\n position === 'popper' &&\n 'h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]',\n )}\n >\n {children}\n </SelectPrimitive.Viewport>\n <SelectScrollDownButton />\n </SelectPrimitive.Content>\n </ShadeScope>\n </SelectPrimitive.Portal>\n));\nSelectContent.displayName = SelectPrimitive.Content.displayName;\n\nconst SelectLabel = React.forwardRef<\n React.ElementRef<typeof SelectPrimitive.Label>,\n React.ComponentPropsWithoutRef<typeof SelectPrimitive.Label>\n>(({ className, ...props }, ref) => (\n <SelectPrimitive.Label\n ref={ref}\n className={cn('px-2 py-1.5 text-control font-semibold', className)}\n {...props}\n />\n));\nSelectLabel.displayName = SelectPrimitive.Label.displayName;\n\nconst SelectItem = React.forwardRef<\n React.ElementRef<typeof SelectPrimitive.Item>,\n React.ComponentPropsWithoutRef<typeof SelectPrimitive.Item>\n>(({ className, children, ...props }, ref) => (\n <SelectPrimitive.Item\n ref={ref}\n className={cn(\n 'relative flex w-full cursor-default items-center rounded-menu-item py-1.5 pr-8 pl-2 text-control outline-hidden select-none focus:bg-interactive-hover focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50',\n className,\n )}\n {...props}\n >\n <span className=\"absolute right-2 flex size-3.5 items-center justify-center\">\n <SelectPrimitive.ItemIndicator>\n <Check className=\"size-4\" />\n </SelectPrimitive.ItemIndicator>\n </span>\n <SelectPrimitive.ItemText>{children}</SelectPrimitive.ItemText>\n </SelectPrimitive.Item>\n));\nSelectItem.displayName = SelectPrimitive.Item.displayName;\n\nconst SelectSeparator = React.forwardRef<\n React.ElementRef<typeof SelectPrimitive.Separator>,\n React.ComponentPropsWithoutRef<typeof SelectPrimitive.Separator>\n>(({ className, ...props }, ref) => (\n <SelectPrimitive.Separator\n ref={ref}\n className={cn('-mx-1 my-1 h-px bg-muted', className)}\n {...props}\n />\n));\nSelectSeparator.displayName = SelectPrimitive.Separator.displayName;\n\nexport {\n Select,\n SelectGroup,\n SelectValue,\n SelectTrigger,\n SelectContent,\n SelectLabel,\n SelectItem,\n SelectSeparator,\n SelectScrollUpButton,\n SelectScrollDownButton,\n};\n"],"mappings":";;;;;;;;;;AAUA,IAAM,SAAS,gBAAgB;AAE/B,IAAM,cAAc,gBAAgB;AAEpC,IAAM,cAAc,gBAAgB;AAUpC,IAAM,gBAAgB,QAAM,YAKxB,EAAE,WAAW,UAAU,OAAO,SAAS,cAAc,YAAY,aAAa,GAAG,SACjF,QACG;CACH,MAAM,gBAAgB,SAAS;CAC/B,OACE,qBAAC,gBAAgB,SAAjB;EACO;EACL,WAAW,GACT,aAAa,MAAM,GACnB,oBAAoB,mBACpB,sBAAsB;GAAE,OAAO;GAAe;EAAQ,CAAC,GACvD,eAAe,QACf,SACF;EACA,sBAAoB;EACpB,gBAAc,WAAW;EACzB,GAAI;YAXN,CAaG,UACA,eACC,oBAAC,gBAAgB,MAAjB;GAAsB,SAAA;aACpB,oBAAC,aAAD,EAAa,WAAU,4BAA6B,CAAA;EAChC,CAAA,CAED;;AAE7B,CACF;AACA,cAAc,cAAc,gBAAgB,QAAQ;AAEpD,IAAM,uBAAuB,QAAM,YAGhC,EAAE,WAAW,GAAG,SAAS,QAC1B,oBAAC,gBAAgB,gBAAjB;CACO;CACL,WAAW,GAAG,wDAAwD,SAAS;CAC/E,GAAI;WAEJ,oBAAC,WAAD,EAAW,WAAU,SAAU,CAAA;AACD,CAAA,CACjC;AACD,qBAAqB,cAAc,gBAAgB,eAAe;AAElE,IAAM,yBAAyB,QAAM,YAGlC,EAAE,WAAW,GAAG,SAAS,QAC1B,oBAAC,gBAAgB,kBAAjB;CACO;CACL,WAAW,GAAG,wDAAwD,SAAS;CAC/E,GAAI;WAEJ,oBAAC,aAAD,EAAa,WAAU,SAAU,CAAA;AACD,CAAA,CACnC;AACD,uBAAuB,cAAc,gBAAgB,iBAAiB;AAEtE,IAAM,gBAAgB,QAAM,YAGzB,EAAE,WAAW,UAAU,iBAAiB,WAAW,UAAU,GAAG,SAAS,QAC1E,oBAAC,gBAAgB,QAAjB,EAAA,UACE,oBAAC,YAAD,EAAA,UACE,qBAAC,gBAAgB,SAAjB;CACO;CACL,WAAW,GACT,ymBACA,aAAa,YACX,mIACF,SACF;CACU;CACV,kBAAkB,UAAU,qBAAqB,OAAO,eAAe;CACvE,GAAI;WAVN;EAYE,oBAAC,sBAAD,CAAuB,CAAA;EACvB,oBAAC,gBAAgB,UAAjB;GACE,WAAW,GACT,OACA,aAAa,YACX,yFACJ;GAEC;EACuB,CAAA;EAC1B,oBAAC,wBAAD,CAAyB,CAAA;CACF;GACf,CAAA,EACU,CAAA,CACzB;AACD,cAAc,cAAc,gBAAgB,QAAQ;AAEpD,IAAM,cAAc,QAAM,YAGvB,EAAE,WAAW,GAAG,SAAS,QAC1B,oBAAC,gBAAgB,OAAjB;CACO;CACL,WAAW,GAAG,0CAA0C,SAAS;CACjE,GAAI;AACL,CAAA,CACF;AACD,YAAY,cAAc,gBAAgB,MAAM;AAEhD,IAAM,aAAa,QAAM,YAGtB,EAAE,WAAW,UAAU,GAAG,SAAS,QACpC,qBAAC,gBAAgB,MAAjB;CACO;CACL,WAAW,GACT,sPACA,SACF;CACA,GAAI;WANN,CAQE,oBAAC,QAAD;EAAM,WAAU;YACd,oBAAC,gBAAgB,eAAjB,EAAA,UACE,oBAAC,OAAD,EAAO,WAAU,SAAU,CAAA,EACE,CAAA;CAC3B,CAAA,GACN,oBAAC,gBAAgB,UAAjB,EAA2B,SAAmC,CAAA,CAC1C;EACvB;AACD,WAAW,cAAc,gBAAgB,KAAK;AAE9C,IAAM,kBAAkB,QAAM,YAG3B,EAAE,WAAW,GAAG,SAAS,QAC1B,oBAAC,gBAAgB,WAAjB;CACO;CACL,WAAW,GAAG,4BAA4B,SAAS;CACnD,GAAI;AACL,CAAA,CACF;AACD,gBAAgB,cAAc,gBAAgB,UAAU"}
@@ -1,5 +1,4 @@
1
1
  import { cn } from "../../lib/ds-utils.js";
2
- import { useShade } from "../../providers/shade-context.js";
3
2
  import { Button } from "./button.js";
4
3
  import { ArrowLeft, ArrowRight } from "lucide-react";
5
4
  import React from "react";
@@ -40,22 +39,20 @@ var SimplePaginationNavigation = React.forwardRef(({ className, children, ...pro
40
39
  });
41
40
  });
42
41
  SimplePaginationNavigation.displayName = "SimplePaginationNavigation";
43
- var SimplePaginationPreviousButton = React.forwardRef(({ variant = "subtle", size, ...props }, ref) => {
44
- const { isAdmin7 } = useShade();
42
+ var SimplePaginationPreviousButton = React.forwardRef(({ variant = "subtle", size = "icon", ...props }, ref) => {
45
43
  return /* @__PURE__ */ jsx(Button, {
46
44
  ref,
47
- size: size ?? (isAdmin7 ? "icon" : "sm"),
45
+ size,
48
46
  variant,
49
47
  ...props,
50
48
  children: /* @__PURE__ */ jsx(ArrowLeft, {})
51
49
  });
52
50
  });
53
51
  SimplePaginationPreviousButton.displayName = "SimplePaginationPreviousButton";
54
- var SimplePaginationNextButton = React.forwardRef(({ variant = "subtle", size, ...props }, ref) => {
55
- const { isAdmin7 } = useShade();
52
+ var SimplePaginationNextButton = React.forwardRef(({ variant = "subtle", size = "icon", ...props }, ref) => {
56
53
  return /* @__PURE__ */ jsx(Button, {
57
54
  ref,
58
- size: size ?? (isAdmin7 ? "icon" : "sm"),
55
+ size,
59
56
  variant,
60
57
  ...props,
61
58
  children: /* @__PURE__ */ jsx(ArrowRight, {})
@@ -1 +1 @@
1
- {"version":3,"file":"simple-pagination.js","names":[],"sources":["../../../src/components/ui/simple-pagination.tsx"],"sourcesContent":["import { useShade } from '@/providers/shade-context';\nimport { cn } from '@/lib/utils';\nimport React from 'react';\nimport { Button, ButtonProps } from './button';\nimport { ArrowLeft, ArrowRight } from 'lucide-react';\n\n/**\n * Use along with use-simple-pagination hook — see that file for more about how\n */\n\nconst SimplePagination = React.forwardRef<HTMLDivElement, React.HTMLAttributes<HTMLDivElement>>(\n ({ className, children, ...props }, ref) => {\n return (\n <div\n ref={ref}\n className={cn('flex items-center justify-between gap-4 pb-6 text-sm', className)}\n {...props}\n >\n {children}\n </div>\n );\n },\n);\n\nSimplePagination.displayName = 'SimplePagination';\n\ninterface SimplePaginationPagesProps extends React.HTMLAttributes<HTMLSpanElement> {\n currentPage?: string;\n totalPages?: string;\n}\n\nconst SimplePaginationPages = React.forwardRef<HTMLSpanElement, SimplePaginationPagesProps>(\n ({ className, currentPage, totalPages, ...props }, ref) => {\n return (\n <span ref={ref} className={cn('text-muted-foreground', className)} {...props}>\n Pages {currentPage} of {totalPages}\n </span>\n );\n },\n);\n\nSimplePaginationPages.displayName = 'SimplePaginationPages';\n\nconst SimplePaginationNavigation = React.forwardRef<\n HTMLDivElement,\n React.HTMLAttributes<HTMLDivElement>\n>(({ className, children, ...props }, ref) => {\n return (\n <div ref={ref} className={cn('flex items-center gap-1.5', className)} {...props}>\n {children}\n </div>\n );\n});\n\nSimplePaginationNavigation.displayName = 'SimplePaginationNavigation';\n\nconst SimplePaginationPreviousButton = React.forwardRef<HTMLButtonElement, ButtonProps>(\n ({ variant = 'subtle', size, ...props }, ref) => {\n const { isAdmin7 } = useShade();\n return (\n <Button ref={ref} size={size ?? (isAdmin7 ? 'icon' : 'sm')} variant={variant} {...props}>\n <ArrowLeft />\n </Button>\n );\n },\n);\n\nSimplePaginationPreviousButton.displayName = 'SimplePaginationPreviousButton';\n\nconst SimplePaginationNextButton = React.forwardRef<HTMLButtonElement, ButtonProps>(\n ({ variant = 'subtle', size, ...props }, ref) => {\n const { isAdmin7 } = useShade();\n return (\n <Button ref={ref} size={size ?? (isAdmin7 ? 'icon' : 'sm')} variant={variant} {...props}>\n <ArrowRight />\n </Button>\n );\n },\n);\n\nSimplePaginationNextButton.displayName = 'SimplePaginationNextButton';\n\nexport {\n SimplePagination,\n SimplePaginationPages,\n SimplePaginationNavigation,\n SimplePaginationPreviousButton,\n SimplePaginationNextButton,\n};\n"],"mappings":";;;;;;;;;;AAUA,IAAM,mBAAmB,MAAM,YAC5B,EAAE,WAAW,UAAU,GAAG,SAAS,QAAQ;CAC1C,OACE,oBAAC,OAAD;EACO;EACL,WAAW,GAAG,wDAAwD,SAAS;EAC/E,GAAI;EAEH;CACE,CAAA;AAET,CACF;AAEA,iBAAiB,cAAc;AAO/B,IAAM,wBAAwB,MAAM,YACjC,EAAE,WAAW,aAAa,YAAY,GAAG,SAAS,QAAQ;CACzD,OACE,qBAAC,QAAD;EAAW;EAAK,WAAW,GAAG,yBAAyB,SAAS;EAAG,GAAI;YAAvE;GAA8E;GACrE;GAAY;GAAK;EACpB;;AAEV,CACF;AAEA,sBAAsB,cAAc;AAEpC,IAAM,6BAA6B,MAAM,YAGtC,EAAE,WAAW,UAAU,GAAG,SAAS,QAAQ;CAC5C,OACE,oBAAC,OAAD;EAAU;EAAK,WAAW,GAAG,6BAA6B,SAAS;EAAG,GAAI;EACvE;CACE,CAAA;AAET,CAAC;AAED,2BAA2B,cAAc;AAEzC,IAAM,iCAAiC,MAAM,YAC1C,EAAE,UAAU,UAAU,MAAM,GAAG,SAAS,QAAQ;CAC/C,MAAM,EAAE,aAAa,SAAS;CAC9B,OACE,oBAAC,QAAD;EAAa;EAAK,MAAM,SAAS,WAAW,SAAS;EAAgB;EAAS,GAAI;YAChF,oBAAC,WAAD,CAAY,CAAA;CACN,CAAA;AAEZ,CACF;AAEA,+BAA+B,cAAc;AAE7C,IAAM,6BAA6B,MAAM,YACtC,EAAE,UAAU,UAAU,MAAM,GAAG,SAAS,QAAQ;CAC/C,MAAM,EAAE,aAAa,SAAS;CAC9B,OACE,oBAAC,QAAD;EAAa;EAAK,MAAM,SAAS,WAAW,SAAS;EAAgB;EAAS,GAAI;YAChF,oBAAC,YAAD,CAAa,CAAA;CACP,CAAA;AAEZ,CACF;AAEA,2BAA2B,cAAc"}
1
+ {"version":3,"file":"simple-pagination.js","names":[],"sources":["../../../src/components/ui/simple-pagination.tsx"],"sourcesContent":["import { cn } from '@/lib/utils';\nimport React from 'react';\nimport { Button, ButtonProps } from './button';\nimport { ArrowLeft, ArrowRight } from 'lucide-react';\n\n/**\n * Use along with use-simple-pagination hook — see that file for more about how\n */\n\nconst SimplePagination = React.forwardRef<HTMLDivElement, React.HTMLAttributes<HTMLDivElement>>(\n ({ className, children, ...props }, ref) => {\n return (\n <div\n ref={ref}\n className={cn('flex items-center justify-between gap-4 pb-6 text-sm', className)}\n {...props}\n >\n {children}\n </div>\n );\n },\n);\n\nSimplePagination.displayName = 'SimplePagination';\n\ninterface SimplePaginationPagesProps extends React.HTMLAttributes<HTMLSpanElement> {\n currentPage?: string;\n totalPages?: string;\n}\n\nconst SimplePaginationPages = React.forwardRef<HTMLSpanElement, SimplePaginationPagesProps>(\n ({ className, currentPage, totalPages, ...props }, ref) => {\n return (\n <span ref={ref} className={cn('text-muted-foreground', className)} {...props}>\n Pages {currentPage} of {totalPages}\n </span>\n );\n },\n);\n\nSimplePaginationPages.displayName = 'SimplePaginationPages';\n\nconst SimplePaginationNavigation = React.forwardRef<\n HTMLDivElement,\n React.HTMLAttributes<HTMLDivElement>\n>(({ className, children, ...props }, ref) => {\n return (\n <div ref={ref} className={cn('flex items-center gap-1.5', className)} {...props}>\n {children}\n </div>\n );\n});\n\nSimplePaginationNavigation.displayName = 'SimplePaginationNavigation';\n\nconst SimplePaginationPreviousButton = React.forwardRef<HTMLButtonElement, ButtonProps>(\n ({ variant = 'subtle', size = 'icon', ...props }, ref) => {\n return (\n <Button ref={ref} size={size} variant={variant} {...props}>\n <ArrowLeft />\n </Button>\n );\n },\n);\n\nSimplePaginationPreviousButton.displayName = 'SimplePaginationPreviousButton';\n\nconst SimplePaginationNextButton = React.forwardRef<HTMLButtonElement, ButtonProps>(\n ({ variant = 'subtle', size = 'icon', ...props }, ref) => {\n return (\n <Button ref={ref} size={size} variant={variant} {...props}>\n <ArrowRight />\n </Button>\n );\n },\n);\n\nSimplePaginationNextButton.displayName = 'SimplePaginationNextButton';\n\nexport {\n SimplePagination,\n SimplePaginationPages,\n SimplePaginationNavigation,\n SimplePaginationPreviousButton,\n SimplePaginationNextButton,\n};\n"],"mappings":";;;;;;;;;AASA,IAAM,mBAAmB,MAAM,YAC5B,EAAE,WAAW,UAAU,GAAG,SAAS,QAAQ;CAC1C,OACE,oBAAC,OAAD;EACO;EACL,WAAW,GAAG,wDAAwD,SAAS;EAC/E,GAAI;EAEH;CACE,CAAA;AAET,CACF;AAEA,iBAAiB,cAAc;AAO/B,IAAM,wBAAwB,MAAM,YACjC,EAAE,WAAW,aAAa,YAAY,GAAG,SAAS,QAAQ;CACzD,OACE,qBAAC,QAAD;EAAW;EAAK,WAAW,GAAG,yBAAyB,SAAS;EAAG,GAAI;YAAvE;GAA8E;GACrE;GAAY;GAAK;EACpB;;AAEV,CACF;AAEA,sBAAsB,cAAc;AAEpC,IAAM,6BAA6B,MAAM,YAGtC,EAAE,WAAW,UAAU,GAAG,SAAS,QAAQ;CAC5C,OACE,oBAAC,OAAD;EAAU;EAAK,WAAW,GAAG,6BAA6B,SAAS;EAAG,GAAI;EACvE;CACE,CAAA;AAET,CAAC;AAED,2BAA2B,cAAc;AAEzC,IAAM,iCAAiC,MAAM,YAC1C,EAAE,UAAU,UAAU,OAAO,QAAQ,GAAG,SAAS,QAAQ;CACxD,OACE,oBAAC,QAAD;EAAa;EAAW;EAAe;EAAS,GAAI;YAClD,oBAAC,WAAD,CAAY,CAAA;CACN,CAAA;AAEZ,CACF;AAEA,+BAA+B,cAAc;AAE7C,IAAM,6BAA6B,MAAM,YACtC,EAAE,UAAU,UAAU,OAAO,QAAQ,GAAG,SAAS,QAAQ;CACxD,OACE,oBAAC,QAAD;EAAa;EAAW;EAAe;EAAS,GAAI;YAClD,oBAAC,YAAD,CAAa,CAAA;CACP,CAAA;AAEZ,CACF;AAEA,2BAA2B,cAAc"}
@@ -18,7 +18,7 @@ var StickyFooter = ({ shiftY, height = 96, children, className, contentClassName
18
18
  children
19
19
  }),
20
20
  /* @__PURE__ */ jsx("div", {
21
- className: "sticky mx-2 block h-6 rounded-full shadow-[0_0_0_1px_color-mix(in_oklab,var(--color-border)_25%,transparent),0_-8px_16px_-3px_color-mix(in_oklab,var(--color-foreground)_8%,transparent)]",
21
+ className: "sticky mx-2 block h-6 rounded-full shadow-[0_0_0_1px_color-mix(in_oklab,var(--border)_25%,transparent),0_-8px_16px_-3px_color-mix(in_oklab,var(--foreground)_8%,transparent)]",
22
22
  style: { bottom: shiftY ? `calc(${shiftY} + ${height - 24}px)` : `${height - 24}px` }
23
23
  })
24
24
  ]
@@ -1 +1 @@
1
- {"version":3,"file":"sticky-footer.js","names":[],"sources":["../../../src/components/ui/sticky-footer.tsx"],"sourcesContent":["import type { HTMLAttributes, ReactNode } from 'react';\nimport { cn } from '@/lib/utils';\n\nexport interface StickyFooterProps extends Omit<HTMLAttributes<HTMLDivElement>, 'children'> {\n shiftY?: string;\n height?: number;\n children?: ReactNode;\n contentClassName?: string;\n}\n\n/** Keeps actions visible at the bottom of a scrolling surface. */\nexport const StickyFooter = ({\n shiftY,\n height = 96,\n children,\n className,\n contentClassName,\n style,\n ...props\n}: StickyFooterProps) => (\n <div\n className={cn('sticky z-[297] m-0 box-border w-full p-0', className)}\n style={{\n bottom: shiftY ? `calc(${shiftY} - 24px)` : '-24px',\n height: `${height + 24}px`,\n ...style,\n }}\n {...props}\n >\n <div className=\"sticky bottom-0 z-[298] block h-6 bg-background\" />\n <div\n className={cn(\n 'sticky bottom-0 z-[299] -mb-6 flex items-center justify-between bg-background',\n contentClassName,\n )}\n style={{ height }}\n >\n {children}\n </div>\n <div\n className=\"sticky mx-2 block h-6 rounded-full shadow-[0_0_0_1px_color-mix(in_oklab,var(--color-border)_25%,transparent),0_-8px_16px_-3px_color-mix(in_oklab,var(--color-foreground)_8%,transparent)]\"\n style={{ bottom: shiftY ? `calc(${shiftY} + ${height - 24}px)` : `${height - 24}px` }}\n />\n </div>\n);\n"],"mappings":";;;;AAWA,IAAa,gBAAgB,EAC3B,QACA,SAAS,IACT,UACA,WACA,kBACA,OACA,GAAG,YAEH,qBAAC,OAAD;CACE,WAAW,GAAG,4CAA4C,SAAS;CACnE,OAAO;EACL,QAAQ,SAAS,QAAQ,OAAO,YAAY;EAC5C,QAAQ,GAAG,SAAS,GAAG;EACvB,GAAG;CACL;CACA,GAAI;WAPN;EASE,oBAAC,OAAD,EAAK,WAAU,kDAAmD,CAAA;EAClE,oBAAC,OAAD;GACE,WAAW,GACT,iFACA,gBACF;GACA,OAAO,EAAE,OAAO;GAEf;EACE,CAAA;EACL,oBAAC,OAAD;GACE,WAAU;GACV,OAAO,EAAE,QAAQ,SAAS,QAAQ,OAAO,KAAK,SAAS,GAAG,OAAO,GAAG,SAAS,GAAG,IAAI;EACrF,CAAA;CACE"}
1
+ {"version":3,"file":"sticky-footer.js","names":[],"sources":["../../../src/components/ui/sticky-footer.tsx"],"sourcesContent":["import type { HTMLAttributes, ReactNode } from 'react';\nimport { cn } from '@/lib/utils';\n\nexport interface StickyFooterProps extends Omit<HTMLAttributes<HTMLDivElement>, 'children'> {\n shiftY?: string;\n height?: number;\n children?: ReactNode;\n contentClassName?: string;\n}\n\n/** Keeps actions visible at the bottom of a scrolling surface. */\nexport const StickyFooter = ({\n shiftY,\n height = 96,\n children,\n className,\n contentClassName,\n style,\n ...props\n}: StickyFooterProps) => (\n <div\n className={cn('sticky z-[297] m-0 box-border w-full p-0', className)}\n style={{\n bottom: shiftY ? `calc(${shiftY} - 24px)` : '-24px',\n height: `${height + 24}px`,\n ...style,\n }}\n {...props}\n >\n <div className=\"sticky bottom-0 z-[298] block h-6 bg-background\" />\n <div\n className={cn(\n 'sticky bottom-0 z-[299] -mb-6 flex items-center justify-between bg-background',\n contentClassName,\n )}\n style={{ height }}\n >\n {children}\n </div>\n <div\n className=\"sticky mx-2 block h-6 rounded-full shadow-[0_0_0_1px_color-mix(in_oklab,var(--border)_25%,transparent),0_-8px_16px_-3px_color-mix(in_oklab,var(--foreground)_8%,transparent)]\"\n style={{ bottom: shiftY ? `calc(${shiftY} + ${height - 24}px)` : `${height - 24}px` }}\n />\n </div>\n);\n"],"mappings":";;;;AAWA,IAAa,gBAAgB,EAC3B,QACA,SAAS,IACT,UACA,WACA,kBACA,OACA,GAAG,YAEH,qBAAC,OAAD;CACE,WAAW,GAAG,4CAA4C,SAAS;CACnE,OAAO;EACL,QAAQ,SAAS,QAAQ,OAAO,YAAY;EAC5C,QAAQ,GAAG,SAAS,GAAG;EACvB,GAAG;CACL;CACA,GAAI;WAPN;EASE,oBAAC,OAAD,EAAK,WAAU,kDAAmD,CAAA;EAClE,oBAAC,OAAD;GACE,WAAW,GACT,iFACA,gBACF;GACA,OAAO,EAAE,OAAO;GAEf;EACE,CAAA;EACL,oBAAC,OAAD;GACE,WAAU;GACV,OAAO,EAAE,QAAQ,SAAS,QAAQ,OAAO,KAAK,SAAS,GAAG,OAAO,GAAG,SAAS,GAAG,IAAI;EACrF,CAAA;CACE"}
@@ -0,0 +1,2 @@
1
+ import { toast } from "sonner";
2
+ export { toast };
@@ -10,7 +10,7 @@ var ToggleGroupContext = React$1.createContext({
10
10
  variant: "default"
11
11
  });
12
12
  var ToggleGroup = React$1.forwardRef(({ className, variant, size, shape, children, ...props }, ref) => {
13
- const { controlShape, isAdmin7 } = useShade();
13
+ const { controlShape } = useShade();
14
14
  const resolvedShape = shape ?? controlShape;
15
15
  return /* @__PURE__ */ jsx(ToggleGroupPrimitive.Root, {
16
16
  ref,
@@ -21,7 +21,6 @@ var ToggleGroup = React$1.forwardRef(({ className, variant, size, shape, childre
21
21
  value: {
22
22
  variant,
23
23
  size,
24
- isAdmin7,
25
24
  shape: resolvedShape
26
25
  },
27
26
  children
@@ -36,7 +35,6 @@ var ToggleGroupItem = React$1.forwardRef(({ className, children, variant, size,
36
35
  ref,
37
36
  className: cn(toggleVariants({
38
37
  variant: context.variant || variant,
39
- isAdmin7: context.isAdmin7,
40
38
  size: context.size || size,
41
39
  shape: resolvedShape
42
40
  }), className),
@@ -1 +1 @@
1
- {"version":3,"file":"toggle-group.js","names":[],"sources":["../../../src/components/ui/toggle-group.tsx"],"sourcesContent":["import * as React from 'react';\nimport * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group';\nimport { type VariantProps } from 'class-variance-authority';\n\nimport { cn } from '@/lib/utils';\nimport { toggleVariants } from '@/components/ui/toggle-variants';\nimport { useShade } from '@/providers/shade-context';\n\nconst ToggleGroupContext = React.createContext<VariantProps<typeof toggleVariants>>({\n size: 'default',\n variant: 'default',\n});\n\nconst ToggleGroup = React.forwardRef<\n React.ElementRef<typeof ToggleGroupPrimitive.Root>,\n React.ComponentPropsWithoutRef<typeof ToggleGroupPrimitive.Root> &\n Omit<VariantProps<typeof toggleVariants>, 'isAdmin7'>\n>(({ className, variant, size, shape, children, ...props }, ref) => {\n const { controlShape, isAdmin7 } = useShade();\n const resolvedShape = shape ?? controlShape;\n\n return (\n <ToggleGroupPrimitive.Root\n ref={ref}\n className={cn(\n 'inline-flex items-center justify-center gap-0.5 bg-muted p-0.5 dark:border dark:border-border dark:bg-background',\n resolvedShape === 'pill' ? 'rounded-full' : 'rounded-(--input-group-radius)',\n className,\n )}\n data-control-shape={resolvedShape}\n {...props}\n >\n <ToggleGroupContext.Provider value={{ variant, size, isAdmin7, shape: resolvedShape }}>\n {children}\n </ToggleGroupContext.Provider>\n </ToggleGroupPrimitive.Root>\n );\n});\n\nToggleGroup.displayName = ToggleGroupPrimitive.Root.displayName;\n\nconst ToggleGroupItem = React.forwardRef<\n React.ElementRef<typeof ToggleGroupPrimitive.Item>,\n React.ComponentPropsWithoutRef<typeof ToggleGroupPrimitive.Item> &\n Omit<VariantProps<typeof toggleVariants>, 'isAdmin7'>\n>(({ className, children, variant, size, shape, ...props }, ref) => {\n const context = React.useContext(ToggleGroupContext);\n const resolvedShape = shape ?? context.shape;\n\n return (\n <ToggleGroupPrimitive.Item\n ref={ref}\n className={cn(\n toggleVariants({\n variant: context.variant || variant,\n isAdmin7: context.isAdmin7,\n size: context.size || size,\n shape: resolvedShape,\n }),\n className,\n )}\n data-control-shape={resolvedShape}\n {...props}\n >\n {children}\n </ToggleGroupPrimitive.Item>\n );\n});\n\nToggleGroupItem.displayName = ToggleGroupPrimitive.Item.displayName;\n\nexport { ToggleGroup, ToggleGroupItem };\n"],"mappings":";;;;;;;AAQA,IAAM,qBAAqB,QAAM,cAAmD;CAClF,MAAM;CACN,SAAS;AACX,CAAC;AAED,IAAM,cAAc,QAAM,YAIvB,EAAE,WAAW,SAAS,MAAM,OAAO,UAAU,GAAG,SAAS,QAAQ;CAClE,MAAM,EAAE,cAAc,aAAa,SAAS;CAC5C,MAAM,gBAAgB,SAAS;CAE/B,OACE,oBAAC,qBAAqB,MAAtB;EACO;EACL,WAAW,GACT,oHACA,kBAAkB,SAAS,iBAAiB,kCAC5C,SACF;EACA,sBAAoB;EACpB,GAAI;YAEJ,oBAAC,mBAAmB,UAApB;GAA6B,OAAO;IAAE;IAAS;IAAM;IAAU,OAAO;GAAc;GACjF;EAC0B,CAAA;CACJ,CAAA;AAE/B,CAAC;AAED,YAAY,cAAc,qBAAqB,KAAK;AAEpD,IAAM,kBAAkB,QAAM,YAI3B,EAAE,WAAW,UAAU,SAAS,MAAM,OAAO,GAAG,SAAS,QAAQ;CAClE,MAAM,UAAU,QAAM,WAAW,kBAAkB;CACnD,MAAM,gBAAgB,SAAS,QAAQ;CAEvC,OACE,oBAAC,qBAAqB,MAAtB;EACO;EACL,WAAW,GACT,eAAe;GACb,SAAS,QAAQ,WAAW;GAC5B,UAAU,QAAQ;GAClB,MAAM,QAAQ,QAAQ;GACtB,OAAO;EACT,CAAC,GACD,SACF;EACA,sBAAoB;EACpB,GAAI;EAEH;CACwB,CAAA;AAE/B,CAAC;AAED,gBAAgB,cAAc,qBAAqB,KAAK"}
1
+ {"version":3,"file":"toggle-group.js","names":[],"sources":["../../../src/components/ui/toggle-group.tsx"],"sourcesContent":["import * as React from 'react';\nimport * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group';\nimport { type VariantProps } from 'class-variance-authority';\n\nimport { cn } from '@/lib/utils';\nimport { toggleVariants } from '@/components/ui/toggle-variants';\nimport { useShade } from '@/providers/shade-context';\n\nconst ToggleGroupContext = React.createContext<VariantProps<typeof toggleVariants>>({\n size: 'default',\n variant: 'default',\n});\n\nconst ToggleGroup = React.forwardRef<\n React.ElementRef<typeof ToggleGroupPrimitive.Root>,\n React.ComponentPropsWithoutRef<typeof ToggleGroupPrimitive.Root> &\n VariantProps<typeof toggleVariants>\n>(({ className, variant, size, shape, children, ...props }, ref) => {\n const { controlShape } = useShade();\n const resolvedShape = shape ?? controlShape;\n\n return (\n <ToggleGroupPrimitive.Root\n ref={ref}\n className={cn(\n 'inline-flex items-center justify-center gap-0.5 bg-muted p-0.5 dark:border dark:border-border dark:bg-background',\n resolvedShape === 'pill' ? 'rounded-full' : 'rounded-(--input-group-radius)',\n className,\n )}\n data-control-shape={resolvedShape}\n {...props}\n >\n <ToggleGroupContext.Provider value={{ variant, size, shape: resolvedShape }}>\n {children}\n </ToggleGroupContext.Provider>\n </ToggleGroupPrimitive.Root>\n );\n});\n\nToggleGroup.displayName = ToggleGroupPrimitive.Root.displayName;\n\nconst ToggleGroupItem = React.forwardRef<\n React.ElementRef<typeof ToggleGroupPrimitive.Item>,\n React.ComponentPropsWithoutRef<typeof ToggleGroupPrimitive.Item> &\n VariantProps<typeof toggleVariants>\n>(({ className, children, variant, size, shape, ...props }, ref) => {\n const context = React.useContext(ToggleGroupContext);\n const resolvedShape = shape ?? context.shape;\n\n return (\n <ToggleGroupPrimitive.Item\n ref={ref}\n className={cn(\n toggleVariants({\n variant: context.variant || variant,\n size: context.size || size,\n shape: resolvedShape,\n }),\n className,\n )}\n data-control-shape={resolvedShape}\n {...props}\n >\n {children}\n </ToggleGroupPrimitive.Item>\n );\n});\n\nToggleGroupItem.displayName = ToggleGroupPrimitive.Item.displayName;\n\nexport { ToggleGroup, ToggleGroupItem };\n"],"mappings":";;;;;;;AAQA,IAAM,qBAAqB,QAAM,cAAmD;CAClF,MAAM;CACN,SAAS;AACX,CAAC;AAED,IAAM,cAAc,QAAM,YAIvB,EAAE,WAAW,SAAS,MAAM,OAAO,UAAU,GAAG,SAAS,QAAQ;CAClE,MAAM,EAAE,iBAAiB,SAAS;CAClC,MAAM,gBAAgB,SAAS;CAE/B,OACE,oBAAC,qBAAqB,MAAtB;EACO;EACL,WAAW,GACT,oHACA,kBAAkB,SAAS,iBAAiB,kCAC5C,SACF;EACA,sBAAoB;EACpB,GAAI;YAEJ,oBAAC,mBAAmB,UAApB;GAA6B,OAAO;IAAE;IAAS;IAAM,OAAO;GAAc;GACvE;EAC0B,CAAA;CACJ,CAAA;AAE/B,CAAC;AAED,YAAY,cAAc,qBAAqB,KAAK;AAEpD,IAAM,kBAAkB,QAAM,YAI3B,EAAE,WAAW,UAAU,SAAS,MAAM,OAAO,GAAG,SAAS,QAAQ;CAClE,MAAM,UAAU,QAAM,WAAW,kBAAkB;CACnD,MAAM,gBAAgB,SAAS,QAAQ;CAEvC,OACE,oBAAC,qBAAqB,MAAtB;EACO;EACL,WAAW,GACT,eAAe;GACb,SAAS,QAAQ,WAAW;GAC5B,MAAM,QAAQ,QAAQ;GACtB,OAAO;EACT,CAAC,GACD,SACF;EACA,sBAAoB;EACpB,GAAI;EAEH;CACwB,CAAA;AAE/B,CAAC;AAED,gBAAgB,cAAc,qBAAqB,KAAK"}
@@ -7,25 +7,19 @@ var toggleVariants = cva("inline-flex items-center justify-center gap-2 text-con
7
7
  default: "h-[calc(var(--control-height)-2px)] min-w-[26px] px-2",
8
8
  button: "h-[calc(var(--control-height)-2px)] min-w-[32px] px-3"
9
9
  },
10
- isAdmin7: {
11
- true: "",
12
- false: ""
13
- },
14
10
  shape: {
15
11
  rounded: "rounded-control",
16
12
  pill: "rounded-full"
17
13
  }
18
14
  },
19
15
  compoundVariants: [{
20
- isAdmin7: true,
21
16
  size: ["default", "button"],
22
17
  className: "h-[calc(var(--control-height)-4px)] data-[state=off]:hover:bg-transparent"
23
18
  }],
24
19
  defaultVariants: {
25
20
  variant: "default",
26
21
  size: "default",
27
- shape: "pill",
28
- isAdmin7: true
22
+ shape: "pill"
29
23
  }
30
24
  });
31
25
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"toggle-variants.js","names":[],"sources":["../../../src/components/ui/toggle-variants.ts"],"sourcesContent":["import { cva } from 'class-variance-authority';\n\nconst toggleVariants = cva(\n 'inline-flex items-center justify-center gap-2 text-control font-medium text-text-secondary transition-colors hover:bg-surface-elevated hover:text-foreground focus-visible:ring-1 focus-visible:ring-focus-ring focus-visible:outline-hidden disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-background data-[state=on]:text-foreground data-[state=on]:shadow-sm dark:data-[state=on]:bg-tab-active [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0 [&_svg]:stroke-[1.5px]',\n {\n variants: {\n variant: {\n default: 'bg-transparent',\n },\n size: {\n default: 'h-[calc(var(--control-height)-2px)] min-w-[26px] px-2',\n button: 'h-[calc(var(--control-height)-2px)] min-w-[32px] px-3',\n },\n isAdmin7: { true: '', false: '' },\n shape: {\n rounded: 'rounded-control',\n pill: 'rounded-full',\n },\n },\n compoundVariants: [\n {\n isAdmin7: true,\n size: ['default', 'button'],\n className: 'h-[calc(var(--control-height)-4px)] data-[state=off]:hover:bg-transparent',\n },\n ],\n defaultVariants: {\n variant: 'default',\n size: 'default',\n shape: 'pill',\n isAdmin7: true,\n },\n },\n);\n\nexport { toggleVariants };\n"],"mappings":";;AAEA,IAAM,iBAAiB,IACrB,+eACA;CACE,UAAU;EACR,SAAS,EACP,SAAS,iBACX;EACA,MAAM;GACJ,SAAS;GACT,QAAQ;EACV;EACA,UAAU;GAAE,MAAM;GAAI,OAAO;EAAG;EAChC,OAAO;GACL,SAAS;GACT,MAAM;EACR;CACF;CACA,kBAAkB,CAChB;EACE,UAAU;EACV,MAAM,CAAC,WAAW,QAAQ;EAC1B,WAAW;CACb,CACF;CACA,iBAAiB;EACf,SAAS;EACT,MAAM;EACN,OAAO;EACP,UAAU;CACZ;AACF,CACF"}
1
+ {"version":3,"file":"toggle-variants.js","names":[],"sources":["../../../src/components/ui/toggle-variants.ts"],"sourcesContent":["import { cva } from 'class-variance-authority';\n\nconst toggleVariants = cva(\n 'inline-flex items-center justify-center gap-2 text-control font-medium text-text-secondary transition-colors hover:bg-surface-elevated hover:text-foreground focus-visible:ring-1 focus-visible:ring-focus-ring focus-visible:outline-hidden disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-background data-[state=on]:text-foreground data-[state=on]:shadow-sm dark:data-[state=on]:bg-tab-active [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0 [&_svg]:stroke-[1.5px]',\n {\n variants: {\n variant: {\n default: 'bg-transparent',\n },\n size: {\n default: 'h-[calc(var(--control-height)-2px)] min-w-[26px] px-2',\n button: 'h-[calc(var(--control-height)-2px)] min-w-[32px] px-3',\n },\n shape: {\n rounded: 'rounded-control',\n pill: 'rounded-full',\n },\n },\n compoundVariants: [\n {\n size: ['default', 'button'],\n className: 'h-[calc(var(--control-height)-4px)] data-[state=off]:hover:bg-transparent',\n },\n ],\n defaultVariants: {\n variant: 'default',\n size: 'default',\n shape: 'pill',\n },\n },\n);\n\nexport { toggleVariants };\n"],"mappings":";;AAEA,IAAM,iBAAiB,IACrB,+eACA;CACE,UAAU;EACR,SAAS,EACP,SAAS,iBACX;EACA,MAAM;GACJ,SAAS;GACT,QAAQ;EACV;EACA,OAAO;GACL,SAAS;GACT,MAAM;EACR;CACF;CACA,kBAAkB,CAChB;EACE,MAAM,CAAC,WAAW,QAAQ;EAC1B,WAAW;CACb,CACF;CACA,iBAAiB;EACf,SAAS;EACT,MAAM;EACN,OAAO;CACT;AACF,CACF"}
@@ -7,14 +7,13 @@ import { jsx } from "react/jsx-runtime";
7
7
  import * as TogglePrimitive from "@radix-ui/react-toggle";
8
8
  //#region src/components/ui/toggle.tsx
9
9
  var Toggle = React$1.forwardRef(({ className, variant, size, shape, ...props }, ref) => {
10
- const { controlShape, isAdmin7 } = useShade();
10
+ const { controlShape } = useShade();
11
11
  const resolvedShape = shape ?? controlShape;
12
12
  return /* @__PURE__ */ jsx(TogglePrimitive.Root, {
13
13
  ref,
14
14
  className: cn(toggleVariants({
15
15
  variant,
16
16
  size,
17
- isAdmin7,
18
17
  shape: resolvedShape,
19
18
  className
20
19
  })),
@@ -1 +1 @@
1
- {"version":3,"file":"toggle.js","names":[],"sources":["../../../src/components/ui/toggle.tsx"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport * as TogglePrimitive from '@radix-ui/react-toggle';\nimport { type VariantProps } from 'class-variance-authority';\n\nimport { toggleVariants } from '@/components/ui/toggle-variants';\nimport { cn } from '@/lib/utils';\nimport { useShade } from '@/providers/shade-context';\n\nconst Toggle = React.forwardRef<\n React.ElementRef<typeof TogglePrimitive.Root>,\n React.ComponentPropsWithoutRef<typeof TogglePrimitive.Root> &\n Omit<VariantProps<typeof toggleVariants>, 'isAdmin7'>\n>(({ className, variant, size, shape, ...props }, ref) => {\n const { controlShape, isAdmin7 } = useShade();\n const resolvedShape = shape ?? controlShape;\n\n return (\n <TogglePrimitive.Root\n ref={ref}\n className={cn(toggleVariants({ variant, size, isAdmin7, shape: resolvedShape, className }))}\n data-control-shape={resolvedShape}\n {...props}\n />\n );\n});\n\nToggle.displayName = TogglePrimitive.Root.displayName;\n\nexport { Toggle };\n"],"mappings":";;;;;;;;AAUA,IAAM,SAAS,QAAM,YAIlB,EAAE,WAAW,SAAS,MAAM,OAAO,GAAG,SAAS,QAAQ;CACxD,MAAM,EAAE,cAAc,aAAa,SAAS;CAC5C,MAAM,gBAAgB,SAAS;CAE/B,OACE,oBAAC,gBAAgB,MAAjB;EACO;EACL,WAAW,GAAG,eAAe;GAAE;GAAS;GAAM;GAAU,OAAO;GAAe;EAAU,CAAC,CAAC;EAC1F,sBAAoB;EACpB,GAAI;CACL,CAAA;AAEL,CAAC;AAED,OAAO,cAAc,gBAAgB,KAAK"}
1
+ {"version":3,"file":"toggle.js","names":[],"sources":["../../../src/components/ui/toggle.tsx"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport * as TogglePrimitive from '@radix-ui/react-toggle';\nimport { type VariantProps } from 'class-variance-authority';\n\nimport { toggleVariants } from '@/components/ui/toggle-variants';\nimport { cn } from '@/lib/utils';\nimport { useShade } from '@/providers/shade-context';\n\nconst Toggle = React.forwardRef<\n React.ElementRef<typeof TogglePrimitive.Root>,\n React.ComponentPropsWithoutRef<typeof TogglePrimitive.Root> & VariantProps<typeof toggleVariants>\n>(({ className, variant, size, shape, ...props }, ref) => {\n const { controlShape } = useShade();\n const resolvedShape = shape ?? controlShape;\n\n return (\n <TogglePrimitive.Root\n ref={ref}\n className={cn(toggleVariants({ variant, size, shape: resolvedShape, className }))}\n data-control-shape={resolvedShape}\n {...props}\n />\n );\n});\n\nToggle.displayName = TogglePrimitive.Root.displayName;\n\nexport { Toggle };\n"],"mappings":";;;;;;;;AAUA,IAAM,SAAS,QAAM,YAGlB,EAAE,WAAW,SAAS,MAAM,OAAO,GAAG,SAAS,QAAQ;CACxD,MAAM,EAAE,iBAAiB,SAAS;CAClC,MAAM,gBAAgB,SAAS;CAE/B,OACE,oBAAC,gBAAgB,MAAjB;EACO;EACL,WAAW,GAAG,eAAe;GAAE;GAAS;GAAM,OAAO;GAAe;EAAU,CAAC,CAAC;EAChF,sBAAoB;EACpB,GAAI;CACL,CAAA;AAEL,CAAC;AAED,OAAO,cAAc,gBAAgB,KAAK"}
@@ -5,8 +5,8 @@ import { inputSurface } from "./input-surface.js";
5
5
  var tokenFieldClasses = {
6
6
  field: cn(inputSurface("within"), "relative flex min-h-(--control-height) w-full cursor-text flex-wrap items-center gap-1 p-0.75 text-control"),
7
7
  input: "min-w-20 flex-1 bg-transparent px-2 text-control outline-hidden placeholder:text-muted-foreground",
8
- chip: "h-6 max-w-full cursor-pointer gap-1 rounded-full border-transparent px-2 pr-1.5 text-sm",
9
- chevron: "pointer-events-none absolute top-[calc((var(--control-height)-var(--spacing)*4)/2)] right-3 size-4 text-muted-foreground"
8
+ chip: "h-auto min-h-6 max-w-full cursor-pointer gap-1 rounded-xl border-transparent px-2 py-0.75 pr-1.5 text-left text-sm leading-4 whitespace-normal",
9
+ chevron: "pointer-events-none absolute top-[calc((var(--control-height)-var(--spacing)*4)/2-1px)] right-1.5 size-4 text-muted-foreground"
10
10
  };
11
11
  //#endregion
12
12
  export { tokenFieldClasses };
@@ -1 +1 @@
1
- {"version":3,"file":"token-field.js","names":[],"sources":["../../../src/components/ui/token-field.ts"],"sourcesContent":["import { inputSurface } from '@/components/ui/input-surface';\nimport { cn } from '@/lib/utils';\n\n/** Shared chip density for token inputs such as labels, tags and authors. */\nexport const tokenFieldClasses = {\n field: cn(\n inputSurface('within'),\n 'relative flex min-h-(--control-height) w-full cursor-text flex-wrap items-center gap-1 p-0.75 text-control',\n ),\n input:\n 'min-w-20 flex-1 bg-transparent px-2 text-control outline-hidden placeholder:text-muted-foreground',\n chip: 'h-6 max-w-full cursor-pointer gap-1 rounded-full border-transparent px-2 pr-1.5 text-sm',\n chevron:\n 'pointer-events-none absolute top-[calc((var(--control-height)-var(--spacing)*4)/2)] right-3 size-4 text-muted-foreground',\n} as const;\n"],"mappings":";;;;AAIA,IAAa,oBAAoB;CAC/B,OAAO,GACL,aAAa,QAAQ,GACrB,4GACF;CACA,OACE;CACF,MAAM;CACN,SACE;AACJ"}
1
+ {"version":3,"file":"token-field.js","names":[],"sources":["../../../src/components/ui/token-field.ts"],"sourcesContent":["import { inputSurface } from '@/components/ui/input-surface';\nimport { cn } from '@/lib/utils';\n\n/** Shared chip density for token inputs such as labels, tags and authors. */\nexport const tokenFieldClasses = {\n field: cn(\n inputSurface('within'),\n 'relative flex min-h-(--control-height) w-full cursor-text flex-wrap items-center gap-1 p-0.75 text-control',\n ),\n input:\n 'min-w-20 flex-1 bg-transparent px-2 text-control outline-hidden placeholder:text-muted-foreground',\n // 24px on one line; long names wrap.\n chip: 'h-auto min-h-6 max-w-full cursor-pointer gap-1 rounded-xl border-transparent px-2 py-0.75 pr-1.5 text-left text-sm leading-4 whitespace-normal',\n // Matches Select's chevron; offsets start inside the 1px border.\n chevron:\n 'pointer-events-none absolute top-[calc((var(--control-height)-var(--spacing)*4)/2-1px)] right-1.5 size-4 text-muted-foreground',\n} as const;\n"],"mappings":";;;;AAIA,IAAa,oBAAoB;CAC/B,OAAO,GACL,aAAa,QAAQ,GACrB,4GACF;CACA,OACE;CAEF,MAAM;CAEN,SACE;AACJ"}
@@ -1,5 +1,4 @@
1
1
  import { cn } from "../../lib/ds-utils.js";
2
- import { useShade } from "../../providers/shade-context.js";
3
2
  import { ShadeScope } from "../../shade-scope.js";
4
3
  import * as React$1 from "react";
5
4
  import { jsx } from "react/jsx-runtime";
@@ -17,9 +16,7 @@ function TooltipProvider({ children, ...props }) {
17
16
  suppressFocus: false,
18
17
  windowBlurred: false
19
18
  });
20
- const { isAdmin7 } = useShade();
21
19
  React$1.useEffect(() => {
22
- if (!isAdmin7) return;
23
20
  const suppressFocus = () => {
24
21
  inputState.current.suppressFocus = true;
25
22
  };
@@ -44,18 +41,17 @@ function TooltipProvider({ children, ...props }) {
44
41
  window.removeEventListener("blur", onWindowBlur);
45
42
  document.removeEventListener("keydown", onKeyDown, true);
46
43
  };
47
- }, [isAdmin7]);
44
+ }, []);
48
45
  return /* @__PURE__ */ jsx(TooltipInputContext.Provider, {
49
- value: isAdmin7 ? inputState : null,
46
+ value: inputState,
50
47
  children: /* @__PURE__ */ jsx(TooltipPrimitive.Provider, {
51
- delayDuration: isAdmin7 ? 1e3 : 700,
48
+ delayDuration: 1e3,
52
49
  ...props,
53
50
  children
54
51
  })
55
52
  });
56
53
  }
57
54
  function Tooltip({ open: controlledOpen, defaultOpen = false, onOpenChange, ...props }) {
58
- const { isAdmin7 } = useShade();
59
55
  const inputState = React$1.useContext(TooltipInputContext);
60
56
  const [uncontrolledOpen, setUncontrolledOpen] = React$1.useState(defaultOpen);
61
57
  const open = controlledOpen ?? uncontrolledOpen;
@@ -65,20 +61,16 @@ function Tooltip({ open: controlledOpen, defaultOpen = false, onOpenChange, ...p
65
61
  onOpenChange?.(nextOpen);
66
62
  }, [inputState, onOpenChange]);
67
63
  React$1.useEffect(() => {
68
- if (!isAdmin7 || !open) return;
64
+ if (!open) return;
69
65
  const close = () => handleOpenChange(false);
70
66
  window.addEventListener("blur", close);
71
67
  return () => window.removeEventListener("blur", close);
72
- }, [
73
- isAdmin7,
74
- open,
75
- handleOpenChange
76
- ]);
68
+ }, [open, handleOpenChange]);
77
69
  return /* @__PURE__ */ jsx(TooltipPrimitive.Root, {
78
70
  ...props,
79
71
  defaultOpen,
80
- open: isAdmin7 ? open : controlledOpen,
81
- onOpenChange: isAdmin7 ? handleOpenChange : onOpenChange
72
+ open,
73
+ onOpenChange: handleOpenChange
82
74
  });
83
75
  }
84
76
  var TooltipTrigger = React$1.forwardRef(({ onFocus, ...props }, ref) => {
@@ -101,10 +93,9 @@ var tooltipContentVariants = cva("z-50 animate-in overflow-hidden rounded-menu p
101
93
  defaultVariants: { variant: "default" }
102
94
  });
103
95
  var TooltipContent = React$1.forwardRef(({ className, sideOffset = 4, variant, ...props }, ref) => {
104
- const { isAdmin7 } = useShade();
105
96
  return /* @__PURE__ */ jsx(TooltipPrimitive.Portal, { children: /* @__PURE__ */ jsx(ShadeScope, { children: /* @__PURE__ */ jsx(TooltipPrimitive.Content, {
106
97
  ref,
107
- className: cn(tooltipContentVariants({ variant: variant ?? (isAdmin7 ? "white" : "default") }), className),
98
+ className: cn(tooltipContentVariants({ variant: variant ?? "white" }), className),
108
99
  sideOffset,
109
100
  ...props
110
101
  }) }) });
@@ -1 +1 @@
1
- {"version":3,"file":"tooltip.js","names":[],"sources":["../../../src/components/ui/tooltip.tsx"],"sourcesContent":["import { useShade } from '@/providers/shade-context';\nimport * as React from 'react';\nimport { cva, type VariantProps } from 'class-variance-authority';\nimport * as TooltipPrimitive from '@radix-ui/react-tooltip';\n\nimport { cn } from '@/lib/utils';\nimport { ShadeScope } from '@/shade-scope';\n\nconst TooltipInputContext = React.createContext<React.RefObject<{\n suppressFocus: boolean;\n windowBlurred: boolean;\n}> | null>(null);\n\n/**\n * Shared hover timing: `delayDuration` (ms) waits before the first tooltip;\n * `skipDelayDuration` (ms) lets nearby triggers open immediately after it.\n * Individual Tooltip roots can override delayDuration. Keyboard focus opens immediately.\n */\nfunction TooltipProvider({\n children,\n ...props\n}: React.ComponentProps<typeof TooltipPrimitive.Provider>) {\n const inputState = React.useRef({ suppressFocus: false, windowBlurred: false });\n const { isAdmin7 } = useShade();\n\n React.useEffect(() => {\n if (!isAdmin7) {\n return;\n }\n const suppressFocus = () => {\n inputState.current.suppressFocus = true;\n };\n const onWindowBlur = () => {\n suppressFocus();\n inputState.current.windowBlurred = true;\n };\n const onKeyDown = () => {\n inputState.current.suppressFocus = false;\n inputState.current.windowBlurred = false;\n };\n const onPointerMove = () => {\n inputState.current.windowBlurred = false;\n };\n document.addEventListener('pointerdown', suppressFocus, true);\n document.addEventListener('pointermove', onPointerMove, true);\n window.addEventListener('blur', onWindowBlur);\n document.addEventListener('keydown', onKeyDown, true);\n return () => {\n document.removeEventListener('pointerdown', suppressFocus, true);\n document.removeEventListener('pointermove', onPointerMove, true);\n window.removeEventListener('blur', onWindowBlur);\n document.removeEventListener('keydown', onKeyDown, true);\n };\n }, [isAdmin7]);\n\n return (\n <TooltipInputContext.Provider value={isAdmin7 ? inputState : null}>\n <TooltipPrimitive.Provider delayDuration={isAdmin7 ? 1000 : 700} {...props}>\n {children}\n </TooltipPrimitive.Provider>\n </TooltipInputContext.Provider>\n );\n}\n\nfunction Tooltip({\n open: controlledOpen,\n defaultOpen = false,\n onOpenChange,\n ...props\n}: React.ComponentProps<typeof TooltipPrimitive.Root>) {\n const { isAdmin7 } = useShade();\n const inputState = React.useContext(TooltipInputContext);\n const [uncontrolledOpen, setUncontrolledOpen] = React.useState(defaultOpen);\n const open = controlledOpen ?? uncontrolledOpen;\n const handleOpenChange = React.useCallback(\n (nextOpen: boolean) => {\n // Radix may finish a hover timer after window blur. Wait for fresh input.\n if (nextOpen && inputState?.current?.windowBlurred) {\n return;\n }\n setUncontrolledOpen(nextOpen);\n onOpenChange?.(nextOpen);\n },\n [inputState, onOpenChange],\n );\n\n React.useEffect(() => {\n if (!isAdmin7 || !open) {\n return;\n }\n const close = () => handleOpenChange(false);\n window.addEventListener('blur', close);\n return () => window.removeEventListener('blur', close);\n }, [isAdmin7, open, handleOpenChange]);\n\n return (\n <TooltipPrimitive.Root\n {...props}\n defaultOpen={defaultOpen}\n open={isAdmin7 ? open : controlledOpen}\n onOpenChange={isAdmin7 ? handleOpenChange : onOpenChange}\n />\n );\n}\n\nconst TooltipTrigger = React.forwardRef<\n React.ElementRef<typeof TooltipPrimitive.Trigger>,\n React.ComponentPropsWithoutRef<typeof TooltipPrimitive.Trigger>\n>(({ onFocus, ...props }, ref) => {\n const inputState = React.useContext(TooltipInputContext);\n\n return (\n <TooltipPrimitive.Trigger\n ref={ref}\n {...props}\n onFocus={(event) => {\n onFocus?.(event);\n // Menus and browser windows restore focus without a new interaction.\n // Only deliberate keyboard focus or normal hover should show a tooltip.\n if (inputState?.current?.suppressFocus) {\n event.preventDefault();\n }\n }}\n />\n );\n});\nTooltipTrigger.displayName = TooltipPrimitive.Trigger.displayName;\n\nconst tooltipContentVariants = cva(\n 'z-50 animate-in overflow-hidden rounded-menu px-3 py-1.5 text-xs fade-in-0 zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95',\n {\n variants: {\n variant: {\n default: 'bg-primary text-primary-foreground dark:bg-popover dark:text-popover-foreground',\n white: 'bg-surface-elevated-2 text-foreground shadow-md',\n },\n },\n defaultVariants: { variant: 'default' },\n },\n);\n\nexport interface TooltipContentProps\n extends\n React.ComponentPropsWithoutRef<typeof TooltipPrimitive.Content>,\n VariantProps<typeof tooltipContentVariants> {}\n\nconst TooltipContent = React.forwardRef<\n React.ElementRef<typeof TooltipPrimitive.Content>,\n TooltipContentProps\n>(({ className, sideOffset = 4, variant, ...props }, ref) => {\n const { isAdmin7 } = useShade();\n return (\n <TooltipPrimitive.Portal>\n <ShadeScope>\n <TooltipPrimitive.Content\n ref={ref}\n className={cn(\n tooltipContentVariants({ variant: variant ?? (isAdmin7 ? 'white' : 'default') }),\n className,\n )}\n sideOffset={sideOffset}\n {...props}\n />\n </ShadeScope>\n </TooltipPrimitive.Portal>\n );\n});\nTooltipContent.displayName = TooltipPrimitive.Content.displayName;\n\nexport { Tooltip, TooltipTrigger, TooltipContent, TooltipProvider };\n"],"mappings":"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"}
1
+ {"version":3,"file":"tooltip.js","names":[],"sources":["../../../src/components/ui/tooltip.tsx"],"sourcesContent":["import * as React from 'react';\nimport { cva, type VariantProps } from 'class-variance-authority';\nimport * as TooltipPrimitive from '@radix-ui/react-tooltip';\n\nimport { cn } from '@/lib/utils';\nimport { ShadeScope } from '@/shade-scope';\n\nconst TooltipInputContext = React.createContext<React.RefObject<{\n suppressFocus: boolean;\n windowBlurred: boolean;\n}> | null>(null);\n\n/**\n * Shared hover timing: `delayDuration` (ms) waits before the first tooltip;\n * `skipDelayDuration` (ms) lets nearby triggers open immediately after it.\n * Individual Tooltip roots can override delayDuration. Keyboard focus opens immediately.\n */\nfunction TooltipProvider({\n children,\n ...props\n}: React.ComponentProps<typeof TooltipPrimitive.Provider>) {\n const inputState = React.useRef({ suppressFocus: false, windowBlurred: false });\n\n React.useEffect(() => {\n const suppressFocus = () => {\n inputState.current.suppressFocus = true;\n };\n const onWindowBlur = () => {\n suppressFocus();\n inputState.current.windowBlurred = true;\n };\n const onKeyDown = () => {\n inputState.current.suppressFocus = false;\n inputState.current.windowBlurred = false;\n };\n const onPointerMove = () => {\n inputState.current.windowBlurred = false;\n };\n document.addEventListener('pointerdown', suppressFocus, true);\n document.addEventListener('pointermove', onPointerMove, true);\n window.addEventListener('blur', onWindowBlur);\n document.addEventListener('keydown', onKeyDown, true);\n return () => {\n document.removeEventListener('pointerdown', suppressFocus, true);\n document.removeEventListener('pointermove', onPointerMove, true);\n window.removeEventListener('blur', onWindowBlur);\n document.removeEventListener('keydown', onKeyDown, true);\n };\n }, []);\n\n return (\n <TooltipInputContext.Provider value={inputState}>\n <TooltipPrimitive.Provider delayDuration={1000} {...props}>\n {children}\n </TooltipPrimitive.Provider>\n </TooltipInputContext.Provider>\n );\n}\n\nfunction Tooltip({\n open: controlledOpen,\n defaultOpen = false,\n onOpenChange,\n ...props\n}: React.ComponentProps<typeof TooltipPrimitive.Root>) {\n const inputState = React.useContext(TooltipInputContext);\n const [uncontrolledOpen, setUncontrolledOpen] = React.useState(defaultOpen);\n const open = controlledOpen ?? uncontrolledOpen;\n const handleOpenChange = React.useCallback(\n (nextOpen: boolean) => {\n // Radix may finish a hover timer after window blur. Wait for fresh input.\n if (nextOpen && inputState?.current?.windowBlurred) {\n return;\n }\n setUncontrolledOpen(nextOpen);\n onOpenChange?.(nextOpen);\n },\n [inputState, onOpenChange],\n );\n\n React.useEffect(() => {\n if (!open) {\n return;\n }\n const close = () => handleOpenChange(false);\n window.addEventListener('blur', close);\n return () => window.removeEventListener('blur', close);\n }, [open, handleOpenChange]);\n\n return (\n <TooltipPrimitive.Root\n {...props}\n defaultOpen={defaultOpen}\n open={open}\n onOpenChange={handleOpenChange}\n />\n );\n}\n\nconst TooltipTrigger = React.forwardRef<\n React.ElementRef<typeof TooltipPrimitive.Trigger>,\n React.ComponentPropsWithoutRef<typeof TooltipPrimitive.Trigger>\n>(({ onFocus, ...props }, ref) => {\n const inputState = React.useContext(TooltipInputContext);\n\n return (\n <TooltipPrimitive.Trigger\n ref={ref}\n {...props}\n onFocus={(event) => {\n onFocus?.(event);\n // Menus and browser windows restore focus without a new interaction.\n // Only deliberate keyboard focus or normal hover should show a tooltip.\n if (inputState?.current?.suppressFocus) {\n event.preventDefault();\n }\n }}\n />\n );\n});\nTooltipTrigger.displayName = TooltipPrimitive.Trigger.displayName;\n\nconst tooltipContentVariants = cva(\n 'z-50 animate-in overflow-hidden rounded-menu px-3 py-1.5 text-xs fade-in-0 zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95',\n {\n variants: {\n variant: {\n default: 'bg-primary text-primary-foreground dark:bg-popover dark:text-popover-foreground',\n white: 'bg-surface-elevated-2 text-foreground shadow-md',\n },\n },\n defaultVariants: { variant: 'default' },\n },\n);\n\nexport interface TooltipContentProps\n extends\n React.ComponentPropsWithoutRef<typeof TooltipPrimitive.Content>,\n VariantProps<typeof tooltipContentVariants> {}\n\nconst TooltipContent = React.forwardRef<\n React.ElementRef<typeof TooltipPrimitive.Content>,\n TooltipContentProps\n>(({ className, sideOffset = 4, variant, ...props }, ref) => {\n return (\n <TooltipPrimitive.Portal>\n <ShadeScope>\n <TooltipPrimitive.Content\n ref={ref}\n className={cn(tooltipContentVariants({ variant: variant ?? 'white' }), className)}\n sideOffset={sideOffset}\n {...props}\n />\n </ShadeScope>\n </TooltipPrimitive.Portal>\n );\n});\nTooltipContent.displayName = TooltipPrimitive.Content.displayName;\n\nexport { Tooltip, TooltipTrigger, TooltipContent, TooltipProvider };\n"],"mappings":";;;;;;;AAOA,IAAM,sBAAsB,QAAM,cAGvB,IAAI;;;;;;AAOf,SAAS,gBAAgB,EACvB,UACA,GAAG,SACsD;CACzD,MAAM,aAAa,QAAM,OAAO;EAAE,eAAe;EAAO,eAAe;CAAM,CAAC;CAE9E,QAAM,gBAAgB;EACpB,MAAM,sBAAsB;GAC1B,WAAW,QAAQ,gBAAgB;EACrC;EACA,MAAM,qBAAqB;GACzB,cAAc;GACd,WAAW,QAAQ,gBAAgB;EACrC;EACA,MAAM,kBAAkB;GACtB,WAAW,QAAQ,gBAAgB;GACnC,WAAW,QAAQ,gBAAgB;EACrC;EACA,MAAM,sBAAsB;GAC1B,WAAW,QAAQ,gBAAgB;EACrC;EACA,SAAS,iBAAiB,eAAe,eAAe,IAAI;EAC5D,SAAS,iBAAiB,eAAe,eAAe,IAAI;EAC5D,OAAO,iBAAiB,QAAQ,YAAY;EAC5C,SAAS,iBAAiB,WAAW,WAAW,IAAI;EACpD,aAAa;GACX,SAAS,oBAAoB,eAAe,eAAe,IAAI;GAC/D,SAAS,oBAAoB,eAAe,eAAe,IAAI;GAC/D,OAAO,oBAAoB,QAAQ,YAAY;GAC/C,SAAS,oBAAoB,WAAW,WAAW,IAAI;EACzD;CACF,GAAG,CAAC,CAAC;CAEL,OACE,oBAAC,oBAAoB,UAArB;EAA8B,OAAO;YACnC,oBAAC,iBAAiB,UAAlB;GAA2B,eAAe;GAAM,GAAI;GACjD;EACwB,CAAA;CACC,CAAA;AAElC;AAEA,SAAS,QAAQ,EACf,MAAM,gBACN,cAAc,OACd,cACA,GAAG,SACkD;CACrD,MAAM,aAAa,QAAM,WAAW,mBAAmB;CACvD,MAAM,CAAC,kBAAkB,uBAAuB,QAAM,SAAS,WAAW;CAC1E,MAAM,OAAO,kBAAkB;CAC/B,MAAM,mBAAmB,QAAM,aAC5B,aAAsB;EAErB,IAAI,YAAY,YAAY,SAAS,eACnC;EAEF,oBAAoB,QAAQ;EAC5B,eAAe,QAAQ;CACzB,GACA,CAAC,YAAY,YAAY,CAC3B;CAEA,QAAM,gBAAgB;EACpB,IAAI,CAAC,MACH;EAEF,MAAM,cAAc,iBAAiB,KAAK;EAC1C,OAAO,iBAAiB,QAAQ,KAAK;EACrC,aAAa,OAAO,oBAAoB,QAAQ,KAAK;CACvD,GAAG,CAAC,MAAM,gBAAgB,CAAC;CAE3B,OACE,oBAAC,iBAAiB,MAAlB;EACE,GAAI;EACS;EACP;EACN,cAAc;CACf,CAAA;AAEL;AAEA,IAAM,iBAAiB,QAAM,YAG1B,EAAE,SAAS,GAAG,SAAS,QAAQ;CAChC,MAAM,aAAa,QAAM,WAAW,mBAAmB;CAEvD,OACE,oBAAC,iBAAiB,SAAlB;EACO;EACL,GAAI;EACJ,UAAU,UAAU;GAClB,UAAU,KAAK;GAGf,IAAI,YAAY,SAAS,eACvB,MAAM,eAAe;EAEzB;CACD,CAAA;AAEL,CAAC;AACD,eAAe,cAAc,iBAAiB,QAAQ;AAEtD,IAAM,yBAAyB,IAC7B,oVACA;CACE,UAAU,EACR,SAAS;EACP,SAAS;EACT,OAAO;CACT,EACF;CACA,iBAAiB,EAAE,SAAS,UAAU;AACxC,CACF;AAOA,IAAM,iBAAiB,QAAM,YAG1B,EAAE,WAAW,aAAa,GAAG,SAAS,GAAG,SAAS,QAAQ;CAC3D,OACE,oBAAC,iBAAiB,QAAlB,EAAA,UACE,oBAAC,YAAD,EAAA,UACE,oBAAC,iBAAiB,SAAlB;EACO;EACL,WAAW,GAAG,uBAAuB,EAAE,SAAS,WAAW,QAAQ,CAAC,GAAG,SAAS;EACpE;EACZ,GAAI;CACL,CAAA,EACS,CAAA,EACW,CAAA;AAE7B,CAAC;AACD,eAAe,cAAc,iBAAiB,QAAQ"}
package/es/components.js CHANGED
@@ -8,7 +8,7 @@ import { selectTriggerVariants } from "./components/ui/select-variants.js";
8
8
  import { inputSurface, inputSurfaceClasses } from "./components/ui/input-surface.js";
9
9
  import { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue } from "./components/ui/select.js";
10
10
  import { Kbd, KbdGroup } from "./components/ui/kbd.js";
11
- import { AlignedAxisTick, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, DateTooltipContent } from "./components/ui/chart.js";
11
+ import { AlignedAxisTick, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent } from "./components/ui/chart.js";
12
12
  import { Tabs, TabsContent, TabsDropdownTrigger, TabsList, TabsTrigger, TabsTriggerCount } from "./components/ui/tabs.js";
13
13
  import { Calendar, CalendarDayButton } from "./components/ui/calendar.js";
14
14
  import { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger } from "./components/ui/dialog.js";
@@ -71,9 +71,10 @@ import { DragIndicator, SortableList } from "./components/ui/sortable-list.js";
71
71
  import { Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeadButton, TableHeader, TableRow } from "./components/ui/table.js";
72
72
  import { tabsVariants } from "./components/ui/tabs-variants.js";
73
73
  import { Textarea } from "./components/ui/textarea.js";
74
+ import { toast } from "./components/ui/toast.js";
74
75
  import { ToggleGroup, ToggleGroupItem } from "./components/ui/toggle-group.js";
75
76
  import { a as TwitterLogo, i as GoogleLogo, n as GhostLogo, o as XLogo, r as GhostOrb, t as FacebookLogo } from "./images-CUcakpOD.js";
76
77
  import { TimePicker } from "./components/ui/time-picker.js";
77
78
  import { tokenFieldClasses } from "./components/ui/token-field.js";
78
79
  import { defaultFilter as commandDefaultFilter } from "cmdk";
79
- export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, ActionList, ActionListItem, ActionListItemActions, ActionListItemContent, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlignedAxisTick, AnimatedNumber, Avatar, AvatarFallback, AvatarImage, Badge, Banner, BarChartLoadingIndicator, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, Calendar, CalendarDayButton, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Checkbox, CodeEditor, Combobox, ComboboxContent, ComboboxTrigger, ComboboxValue, Command, CommandCheck, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, CopyField, CopyFieldActions, CopyFieldContent, CopyFieldCopyButton, CopyFieldLabel, CopyFieldValue, DataList, DataListBar, DataListBody, DataListHead, DataListHeader, DataListItemContent, DataListItemValue, DataListItemValueAbs, DataListItemValuePerc, DataListRow, DateTooltipContent, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DragIndicator, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Dropzone, EmptyBadge, EmptyCard, EmptyIndicator, FLOATING_SIDEBAR_BUMP, FLOATING_SIDEBAR_CLOSED_FOOTPRINT, FLOATING_SIDEBAR_CLOSED_SIZE, FLOATING_SIDEBAR_DURATION, FLOATING_SIDEBAR_EASE, FLOATING_SIDEBAR_EASE_DURATION, FLOATING_SIDEBAR_INSET, FLOATING_SIDEBAR_OPEN_WIDTH, FLOATING_SIDEBAR_SPRING, FacebookLogo, Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, Flag, FloatingSidebar, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, GhostLogo, GhostOrb, GoogleLogo, HoverCard, HoverCardContent, HoverCardTrigger, IconComponents as Icon, Indicator, Input, InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea, Kbd, KbdGroup, Label, Link, LoadingIndicator, MultiSelectCombobox, Navbar, NavbarActions, NavbarNavigation, NoValueLabel, NoValueLabelIcon, PageMenu, PageMenuItem, Popover, PopoverAnchor, PopoverClose, PopoverContent, PopoverTrigger, PreviewChrome, RadioGroup, RadioGroupItem, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, SimplePagination, SimplePaginationNavigation, SimplePaginationNextButton, SimplePaginationPages, SimplePaginationPreviousButton, Skeleton, SkeletonTable, SortableList, StickyFooter, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeadButton, TableHeader, TableRow, Tabs, TabsContent, TabsDropdownTrigger, TabsList, TabsTrigger, TabsTriggerCount, Textarea, TimePicker, Toaster, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, TwitterLogo, XLogo, badgeVariants, bannerVariants, buttonVariants, cardVariants, commandDefaultFilter, dropzoneVariants, getFloatingSidebarGapWidth, getFloatingSidebarTiming, imageOverlayButton, imageOverlayButtonClasses, indicatorVariants, inputGroupVariants, inputSurface, inputSurfaceClasses, previewChromeVariants, radioGroupItemVariants, selectTriggerVariants, tabsVariants, tokenFieldClasses, useFormField, useSidebar };
80
+ export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, ActionList, ActionListItem, ActionListItemActions, ActionListItemContent, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlignedAxisTick, AnimatedNumber, Avatar, AvatarFallback, AvatarImage, Badge, Banner, BarChartLoadingIndicator, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, Calendar, CalendarDayButton, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Checkbox, CodeEditor, Combobox, ComboboxContent, ComboboxTrigger, ComboboxValue, Command, CommandCheck, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, CopyField, CopyFieldActions, CopyFieldContent, CopyFieldCopyButton, CopyFieldLabel, CopyFieldValue, DataList, DataListBar, DataListBody, DataListHead, DataListHeader, DataListItemContent, DataListItemValue, DataListItemValueAbs, DataListItemValuePerc, DataListRow, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DragIndicator, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Dropzone, EmptyBadge, EmptyCard, EmptyIndicator, FLOATING_SIDEBAR_BUMP, FLOATING_SIDEBAR_CLOSED_FOOTPRINT, FLOATING_SIDEBAR_CLOSED_SIZE, FLOATING_SIDEBAR_DURATION, FLOATING_SIDEBAR_EASE, FLOATING_SIDEBAR_EASE_DURATION, FLOATING_SIDEBAR_INSET, FLOATING_SIDEBAR_OPEN_WIDTH, FLOATING_SIDEBAR_SPRING, FacebookLogo, Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, Flag, FloatingSidebar, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, GhostLogo, GhostOrb, GoogleLogo, HoverCard, HoverCardContent, HoverCardTrigger, IconComponents as Icon, Indicator, Input, InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea, Kbd, KbdGroup, Label, Link, LoadingIndicator, MultiSelectCombobox, Navbar, NavbarActions, NavbarNavigation, NoValueLabel, NoValueLabelIcon, PageMenu, PageMenuItem, Popover, PopoverAnchor, PopoverClose, PopoverContent, PopoverTrigger, PreviewChrome, RadioGroup, RadioGroupItem, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, SimplePagination, SimplePaginationNavigation, SimplePaginationNextButton, SimplePaginationPages, SimplePaginationPreviousButton, Skeleton, SkeletonTable, SortableList, StickyFooter, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeadButton, TableHeader, TableRow, Tabs, TabsContent, TabsDropdownTrigger, TabsList, TabsTrigger, TabsTriggerCount, Textarea, TimePicker, Toaster, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, TwitterLogo, XLogo, badgeVariants, bannerVariants, buttonVariants, cardVariants, commandDefaultFilter, dropzoneVariants, getFloatingSidebarGapWidth, getFloatingSidebarTiming, imageOverlayButton, imageOverlayButtonClasses, indicatorVariants, inputGroupVariants, inputSurface, inputSurfaceClasses, previewChromeVariants, radioGroupItemVariants, selectTriggerVariants, tabsVariants, toast, tokenFieldClasses, useFormField, useSidebar };
package/es/index.js CHANGED
@@ -21,7 +21,7 @@ import { Kbd, KbdGroup } from "./components/ui/kbd.js";
21
21
  import { PageHeader, PageHeaderActionGroup, PageHeaderActionGroupMobileMenu, PageHeaderActionGroupMobileMenuContent, PageHeaderActionGroupMobileMenuTrigger, PageHeaderActionGroupPrimary, PageHeaderActions, PageHeaderBreadcrumb, PageHeaderCount, PageHeaderDescription, PageHeaderLeft, PageHeaderMeta, PageHeaderTitle } from "./components/patterns/page-header.js";
22
22
  import { ViewBar, ViewBarActions, ViewBarNav } from "./components/patterns/view-bar.js";
23
23
  import { FilterBar } from "./components/patterns/filter-bar.js";
24
- import { AlignedAxisTick, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, DateTooltipContent } from "./components/ui/chart.js";
24
+ import { AlignedAxisTick, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent } from "./components/ui/chart.js";
25
25
  import { GhAreaChart, GhCustomTooltipContent } from "./components/patterns/gh-chart.js";
26
26
  import { KpiCardHeader, KpiCardHeaderLabel, KpiCardHeaderValue } from "./components/patterns/kpi-card.js";
27
27
  import { Tabs, TabsContent, TabsDropdownTrigger, TabsList, TabsTrigger, TabsTriggerCount } from "./components/ui/tabs.js";
@@ -105,9 +105,10 @@ import { DragIndicator, SortableList } from "./components/ui/sortable-list.js";
105
105
  import { Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeadButton, TableHeader, TableRow } from "./components/ui/table.js";
106
106
  import { tabsVariants } from "./components/ui/tabs-variants.js";
107
107
  import { Textarea } from "./components/ui/textarea.js";
108
+ import { toast } from "./components/ui/toast.js";
108
109
  import { ToggleGroup, ToggleGroupItem } from "./components/ui/toggle-group.js";
109
110
  import { a as TwitterLogo, i as GoogleLogo, n as GhostLogo, o as XLogo, r as GhostOrb, t as FacebookLogo } from "./images-CUcakpOD.js";
110
111
  import { TimePicker } from "./components/ui/time-picker.js";
111
112
  import { tokenFieldClasses } from "./components/ui/token-field.js";
112
113
  import { commandDefaultFilter } from "./components.js";
113
- export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, ActionList, ActionListItem, ActionListItemActions, ActionListItemContent, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlignedAxisTick, AnimatedNumber, Avatar, AvatarFallback, AvatarImage, Badge, Banner, BarChartLoadingIndicator, Box, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, Calendar, CalendarDayButton, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Checkbox, CodeEditor, ColorPicker, ColorPickerTrigger, ColorSwatch, ColorSwatchRow, Combobox, ComboboxContent, ComboboxTrigger, ComboboxValue, Command, CommandCheck, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, Container, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, CopyField, CopyFieldActions, CopyFieldContent, CopyFieldCopyButton, CopyFieldLabel, CopyFieldValue, DEFAULT_I18N, DEFAULT_OPERATORS, DataList, DataListBar, DataListBody, DataListHead, DataListHeader, DataListItemContent, DataListItemValue, DataListItemValueAbs, DataListItemValuePerc, DataListRow, DateTooltipContent, DetailPage, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DirtyConfirmDialog, DragIndicator, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Dropzone, EmptyBadge, EmptyCard, EmptyIndicator, ErrorPage, FLOATING_SIDEBAR_BUMP, FLOATING_SIDEBAR_CLOSED_FOOTPRINT, FLOATING_SIDEBAR_CLOSED_SIZE, FLOATING_SIDEBAR_DURATION, FLOATING_SIDEBAR_EASE, FLOATING_SIDEBAR_EASE_DURATION, FLOATING_SIDEBAR_INSET, FLOATING_SIDEBAR_OPEN_WIDTH, FLOATING_SIDEBAR_SPRING, FacebookLogo, Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, FilterBar, FilterDatePicker, FilterSegmentInput, FilterSegmentMultiSelect, FilterSegmentSelect, Filters, FiltersContent, Flag, FloatingSidebar, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, GhAreaChart, GhCustomTooltipContent, GhostLogo, GhostOrb, GoogleLogo, Grid, H1, H2, H3, H4, HTable, HoverCard, HoverCardContent, HoverCardTrigger, IconComponents as Icon, ImageUpload, ImageUploadAction, ImageUploadActions, ImageUploadDropzone, ImageUploadImage, ImageUploadPreview, Indicator, Inline, Input, InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea, Kbd, KbdGroup, KpiCardHeader, KpiCardHeaderLabel, KpiCardHeaderValue, KpiDropdownButton, KpiTabTrigger, KpiTabValue, Label, Link, ListPage, ListPageBody, ListPageHeader, LoadingIndicator, ModalPage, ModalPageTitle, MultiSelectCombobox, Navbar, NavbarActions, NavbarNavigation, NoValueLabel, NoValueLabelIcon, PageChromeProvider, PageHeader, PageHeaderActionGroup, PageHeaderActionGroupMobileMenu, PageHeaderActionGroupMobileMenuContent, PageHeaderActionGroupMobileMenuTrigger, PageHeaderActionGroupPrimary, PageHeaderActions, PageHeaderBreadcrumb, PageHeaderCount, PageHeaderDescription, PageHeaderLeft, PageHeaderMeta, PageHeaderTitle, PageMenu, PageMenuItem, Popover, PopoverAnchor, PopoverClose, PopoverContent, PopoverTrigger, PreviewChrome, RadioGroup, RadioGroupItem, SHADE_TOKEN_NAMES, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, SettingGroup, SettingGroupActions, SettingGroupContent, SettingGroupDescription, SettingGroupDetails, SettingGroupHeader, SettingGroupTitle, SettingGroupValue, SettingGroupValueContent, SettingGroupValueTitle, SettingsModal, ShareModal, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, SimplePagination, SimplePaginationNavigation, SimplePaginationNextButton, SimplePaginationPages, SimplePaginationPreviousButton, Skeleton, SkeletonTable, SortableList, Stack, StickyFooter, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeadButton, TableHeader, TableRow, Tabs, TabsContent, TabsDropdownTrigger, TabsList, TabsTrigger, TabsTriggerCount, Text, Textarea, TimePicker, Toaster, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, TwitterLogo, ViewBar, ViewBarActions, ViewBarNav, XLogo, badgeVariants, bannerVariants, buttonVariants, cardVariants, commandDefaultFilter, createFilter, createFilterGroup, dropzoneVariants, getFloatingSidebarGapWidth, getFloatingSidebarTiming, imageOverlayButton, imageOverlayButtonClasses, imageUploadPreviewVariants, indicatorVariants, inputGroupVariants, inputSurface, inputSurfaceClasses, previewChromeVariants, radioGroupItemVariants, selectTriggerVariants, settingGroupVariants, settingsModalVariants, shadeToken, tabsVariants, tokenFieldClasses, useDirtyConfirmation, useFormField, usePageChrome, useSidebar };
114
+ export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, ActionList, ActionListItem, ActionListItemActions, ActionListItemContent, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlignedAxisTick, AnimatedNumber, Avatar, AvatarFallback, AvatarImage, Badge, Banner, BarChartLoadingIndicator, Box, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, Calendar, CalendarDayButton, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Checkbox, CodeEditor, ColorPicker, ColorPickerTrigger, ColorSwatch, ColorSwatchRow, Combobox, ComboboxContent, ComboboxTrigger, ComboboxValue, Command, CommandCheck, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, Container, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, CopyField, CopyFieldActions, CopyFieldContent, CopyFieldCopyButton, CopyFieldLabel, CopyFieldValue, DEFAULT_I18N, DEFAULT_OPERATORS, DataList, DataListBar, DataListBody, DataListHead, DataListHeader, DataListItemContent, DataListItemValue, DataListItemValueAbs, DataListItemValuePerc, DataListRow, DetailPage, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DirtyConfirmDialog, DragIndicator, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Dropzone, EmptyBadge, EmptyCard, EmptyIndicator, ErrorPage, FLOATING_SIDEBAR_BUMP, FLOATING_SIDEBAR_CLOSED_FOOTPRINT, FLOATING_SIDEBAR_CLOSED_SIZE, FLOATING_SIDEBAR_DURATION, FLOATING_SIDEBAR_EASE, FLOATING_SIDEBAR_EASE_DURATION, FLOATING_SIDEBAR_INSET, FLOATING_SIDEBAR_OPEN_WIDTH, FLOATING_SIDEBAR_SPRING, FacebookLogo, Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, FilterBar, FilterDatePicker, FilterSegmentInput, FilterSegmentMultiSelect, FilterSegmentSelect, Filters, FiltersContent, Flag, FloatingSidebar, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, GhAreaChart, GhCustomTooltipContent, GhostLogo, GhostOrb, GoogleLogo, Grid, H1, H2, H3, H4, HTable, HoverCard, HoverCardContent, HoverCardTrigger, IconComponents as Icon, ImageUpload, ImageUploadAction, ImageUploadActions, ImageUploadDropzone, ImageUploadImage, ImageUploadPreview, Indicator, Inline, Input, InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea, Kbd, KbdGroup, KpiCardHeader, KpiCardHeaderLabel, KpiCardHeaderValue, KpiDropdownButton, KpiTabTrigger, KpiTabValue, Label, Link, ListPage, ListPageBody, ListPageHeader, LoadingIndicator, ModalPage, ModalPageTitle, MultiSelectCombobox, Navbar, NavbarActions, NavbarNavigation, NoValueLabel, NoValueLabelIcon, PageChromeProvider, PageHeader, PageHeaderActionGroup, PageHeaderActionGroupMobileMenu, PageHeaderActionGroupMobileMenuContent, PageHeaderActionGroupMobileMenuTrigger, PageHeaderActionGroupPrimary, PageHeaderActions, PageHeaderBreadcrumb, PageHeaderCount, PageHeaderDescription, PageHeaderLeft, PageHeaderMeta, PageHeaderTitle, PageMenu, PageMenuItem, Popover, PopoverAnchor, PopoverClose, PopoverContent, PopoverTrigger, PreviewChrome, RadioGroup, RadioGroupItem, SHADE_TOKEN_NAMES, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, SettingGroup, SettingGroupActions, SettingGroupContent, SettingGroupDescription, SettingGroupDetails, SettingGroupHeader, SettingGroupTitle, SettingGroupValue, SettingGroupValueContent, SettingGroupValueTitle, SettingsModal, ShareModal, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, SimplePagination, SimplePaginationNavigation, SimplePaginationNextButton, SimplePaginationPages, SimplePaginationPreviousButton, Skeleton, SkeletonTable, SortableList, Stack, StickyFooter, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeadButton, TableHeader, TableRow, Tabs, TabsContent, TabsDropdownTrigger, TabsList, TabsTrigger, TabsTriggerCount, Text, Textarea, TimePicker, Toaster, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, TwitterLogo, ViewBar, ViewBarActions, ViewBarNav, XLogo, badgeVariants, bannerVariants, buttonVariants, cardVariants, commandDefaultFilter, createFilter, createFilterGroup, dropzoneVariants, getFloatingSidebarGapWidth, getFloatingSidebarTiming, imageOverlayButton, imageOverlayButtonClasses, imageUploadPreviewVariants, indicatorVariants, inputGroupVariants, inputSurface, inputSurfaceClasses, previewChromeVariants, radioGroupItemVariants, selectTriggerVariants, settingGroupVariants, settingsModalVariants, shadeToken, tabsVariants, toast, tokenFieldClasses, useDirtyConfirmation, useFormField, usePageChrome, useSidebar };