@refraction-ui/astro 0.17.4 → 0.18.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. package/dist/analytics-sink-app-insights/app-insights-sink.ts +13 -3
  2. package/dist/analytics-sink-posthog/client-sdk-sink.ts +12 -1
  3. package/dist/analytics-sink-posthog/replay.ts +10 -1
  4. package/dist/astro-calendar/Calendar.astro +7 -2
  5. package/dist/astro-date-picker/DatePicker.astro +10 -2
  6. package/dist/astro-file-tree/FileTree.astro +86 -0
  7. package/dist/astro-file-tree/FileTree.stories.ts +29 -2
  8. package/dist/astro-file-tree/FileTreeItems.astro +77 -0
  9. package/dist/astro-file-tree/index.ts +2 -4
  10. package/dist/astro-pagination/Pagination.astro +100 -1
  11. package/dist/astro-pagination/Pagination.stories.ts +11 -1
  12. package/dist/astro-pagination/index.ts +1 -1
  13. package/dist/astro-skip-to-content/SkipToContent.astro +22 -1
  14. package/dist/astro-skip-to-content/SkipToContent.stories.ts +7 -1
  15. package/dist/astro-skip-to-content/index.ts +1 -1
  16. package/dist/astro-slider/Slider.astro +75 -0
  17. package/dist/astro-slider/Slider.stories.ts +24 -0
  18. package/dist/astro-slider/index.ts +1 -1
  19. package/dist/astro-steps/Step.astro +20 -0
  20. package/dist/astro-steps/StepContent.astro +17 -0
  21. package/dist/astro-steps/StepDescription.astro +17 -0
  22. package/dist/astro-steps/StepIndicator.astro +20 -0
  23. package/dist/astro-steps/StepTitle.astro +17 -0
  24. package/dist/astro-steps/Steps.astro +17 -1
  25. package/dist/astro-steps/Steps.stories.ts +7 -1
  26. package/dist/astro-steps/index.ts +6 -1
  27. package/dist/astro-toast/Toaster.astro +3 -3
  28. package/dist/avatar-group/avatar-group.styles.ts +5 -5
  29. package/dist/callout/callout.styles.ts +1 -1
  30. package/dist/empty-state/empty-state.styles.ts +2 -2
  31. package/dist/file-tree/file-tree.styles.ts +31 -0
  32. package/dist/file-tree/file-tree.ts +360 -0
  33. package/dist/file-tree/index.ts +15 -0
  34. package/dist/input/input.styles.ts +1 -1
  35. package/dist/presence-indicator/presence-indicator.styles.ts +5 -5
  36. package/dist/progress-display/progress-display.styles.ts +2 -2
  37. package/dist/status-indicator/status-indicator.styles.ts +12 -12
  38. package/dist/toast/toast.styles.ts +3 -6
  39. package/package.json +1 -1
  40. package/dist/astro-file-tree/astro-file-tree.astro +0 -4
@@ -5,12 +5,9 @@ export const toastVariants = cva({
5
5
  variants: {
6
6
  variant: {
7
7
  default: 'border bg-background text-foreground',
8
- success:
9
- 'border-l-4 border-green-500/50 bg-green-50 text-green-900 dark:bg-green-950 dark:text-green-100',
10
- error:
11
- 'border-l-4 border-red-500/50 bg-red-50 text-red-900 dark:bg-red-950 dark:text-red-100',
12
- warning:
13
- 'border-l-4 border-amber-500/50 bg-amber-50 text-amber-900 dark:bg-amber-950 dark:text-amber-100',
8
+ success: 'border-l-4 border-success/50 bg-success/10 text-success',
9
+ error: 'border-l-4 border-destructive/50 bg-destructive/10 text-destructive',
10
+ warning: 'border-l-4 border-warning/50 bg-warning/10 text-warning',
14
11
  },
15
12
  },
16
13
  defaultVariants: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@refraction-ui/astro",
3
- "version": "0.17.4",
3
+ "version": "0.18.1",
4
4
  "description": "All Refraction UI Astro components in one package",
5
5
  "type": "module",
6
6
  "exports": {
@@ -1,4 +0,0 @@
1
- ---
2
- // Astro component
3
- ---
4
- <div></div>