@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.
- package/dist/analytics-sink-app-insights/app-insights-sink.ts +13 -3
- package/dist/analytics-sink-posthog/client-sdk-sink.ts +12 -1
- package/dist/analytics-sink-posthog/replay.ts +10 -1
- package/dist/astro-calendar/Calendar.astro +7 -2
- package/dist/astro-date-picker/DatePicker.astro +10 -2
- package/dist/astro-file-tree/FileTree.astro +86 -0
- package/dist/astro-file-tree/FileTree.stories.ts +29 -2
- package/dist/astro-file-tree/FileTreeItems.astro +77 -0
- package/dist/astro-file-tree/index.ts +2 -4
- package/dist/astro-pagination/Pagination.astro +100 -1
- package/dist/astro-pagination/Pagination.stories.ts +11 -1
- package/dist/astro-pagination/index.ts +1 -1
- package/dist/astro-skip-to-content/SkipToContent.astro +22 -1
- package/dist/astro-skip-to-content/SkipToContent.stories.ts +7 -1
- package/dist/astro-skip-to-content/index.ts +1 -1
- package/dist/astro-slider/Slider.astro +75 -0
- package/dist/astro-slider/Slider.stories.ts +24 -0
- package/dist/astro-slider/index.ts +1 -1
- package/dist/astro-steps/Step.astro +20 -0
- package/dist/astro-steps/StepContent.astro +17 -0
- package/dist/astro-steps/StepDescription.astro +17 -0
- package/dist/astro-steps/StepIndicator.astro +20 -0
- package/dist/astro-steps/StepTitle.astro +17 -0
- package/dist/astro-steps/Steps.astro +17 -1
- package/dist/astro-steps/Steps.stories.ts +7 -1
- package/dist/astro-steps/index.ts +6 -1
- package/dist/astro-toast/Toaster.astro +3 -3
- package/dist/avatar-group/avatar-group.styles.ts +5 -5
- package/dist/callout/callout.styles.ts +1 -1
- package/dist/empty-state/empty-state.styles.ts +2 -2
- package/dist/file-tree/file-tree.styles.ts +31 -0
- package/dist/file-tree/file-tree.ts +360 -0
- package/dist/file-tree/index.ts +15 -0
- package/dist/input/input.styles.ts +1 -1
- package/dist/presence-indicator/presence-indicator.styles.ts +5 -5
- package/dist/progress-display/progress-display.styles.ts +2 -2
- package/dist/status-indicator/status-indicator.styles.ts +12 -12
- package/dist/toast/toast.styles.ts +3 -6
- package/package.json +1 -1
- 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
|
-
|
|
10
|
-
|
|
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