@medway-ui/core 1.42.1 → 1.43.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.
@@ -1,2 +1,2 @@
1
1
  "use strict";
2
- const r=["./src/**/*.{js,ts,jsx,tsx,md,mdx}","./node_modules/@medway-ui/core/dist/**/*.{js,mjs}"],o={background:"var(--color-background)",foreground:"var(--color-foreground)",ring:"var(--color-ring)",backdrop:"var(--color-backdrop)",content:{title:"var(--color-content-title)",paragraph:"var(--color-content-paragraph)",link:"var(--color-content-link)"},state:{hover:"var(--color-state-hover)",focus:"var(--color-state-focus)",active:"var(--color-state-active)",error:"var(--color-state-error)",success:"var(--color-state-success)"},feedback:{success:{foreground:"var(--color-feedback-success-foreground)","foreground-emphasis":"var(--color-feedback-success-foreground-emphasis)","foreground-onfill":"var(--color-feedback-success-foreground-onfill)",stroke:"var(--color-feedback-success-stroke)","stroke-emphasis":"var(--color-feedback-success-stroke-emphasis)","background-fill":"var(--color-feedback-success-background-fill)","background-fill-emphasis":"var(--color-feedback-success-background-fill-emphasis)","background-soft":"var(--color-feedback-success-background-soft)","background-soft-emphasis":"var(--color-feedback-success-background-soft-emphasis)","background-soft-muted":"var(--color-feedback-success-background-soft-muted)"},error:{foreground:"var(--color-feedback-error-foreground)","foreground-emphasis":"var(--color-feedback-error-foreground-emphasis)","foreground-onfill":"var(--color-feedback-error-foreground-onfill)",stroke:"var(--color-feedback-error-stroke)","stroke-emphasis":"var(--color-feedback-error-stroke-emphasis)","background-fill":"var(--color-feedback-error-background-fill)","background-fill-emphasis":"var(--color-feedback-error-background-fill-emphasis)","background-soft":"var(--color-feedback-error-background-soft)","background-soft-emphasis":"var(--color-feedback-error-background-soft-emphasis)","background-soft-muted":"var(--color-feedback-error-background-soft-muted)"},warning:{foreground:"var(--color-feedback-warning-foreground)","foreground-emphasis":"var(--color-feedback-warning-foreground-emphasis)","foreground-onfill":"var(--color-feedback-warning-foreground-onfill)",stroke:"var(--color-feedback-warning-stroke)","stroke-emphasis":"var(--color-feedback-warning-stroke-emphasis)","background-fill":"var(--color-feedback-warning-background-fill)","background-fill-emphasis":"var(--color-feedback-warning-background-fill-emphasis)","background-soft":"var(--color-feedback-warning-background-soft)","background-soft-emphasis":"var(--color-feedback-warning-background-soft-emphasis)","background-soft-muted":"var(--color-feedback-warning-background-soft-muted)"}},surface:{elevated:"var(--color-surface-elevated)",card:"var(--color-surface-card)",navigation:"var(--color-surface-navigation)",section:"var(--color-surface-section)",page:"var(--color-surface-page)",disable:"var(--color-surface-disable)","settings-on":"var(--color-surface-settings-on)","settings-off":"var(--color-surface-settings-off)"},dropShadow:{"layer-a":"var(--color-drop-shadow-layer-a)","layer-b":"var(--color-drop-shadow-layer-b)","subtle-layer-a":"var(--color-drop-shadow-subtle-layer-a)","subtle-layer-b":"var(--color-drop-shadow-subtle-layer-b)"},white:{DEFAULT:"var(--color-white)",80:"var(--color-white-80)",48:"var(--color-white-48)",24:"var(--color-white-24)",16:"var(--color-white-16)",12:"var(--color-white-12)",8:"var(--color-white-8)",6:"var(--color-white-6)",4:"var(--color-white-4)",0:"var(--color-white-0)"},black:{DEFAULT:"var(--color-black)",80:"var(--color-black-80)",48:"var(--color-black-48)",24:"var(--color-black-24)",16:"var(--color-black-16)",12:"var(--color-black-12)",8:"var(--color-black-8)",6:"var(--color-black-6)",4:"var(--color-black-4)",0:"var(--color-black-0)"},gray:{950:"var(--color-gray-950)",900:"var(--color-gray-900)",850:"var(--color-gray-850)",800:"var(--color-gray-800)",700:"var(--color-gray-700)",600:"var(--color-gray-600)",500:"var(--color-gray-500)",450:"var(--color-gray-450)",400:"var(--color-gray-400)",300:"var(--color-gray-300)",200:"var(--color-gray-200)",150:"var(--color-gray-150)",100:"var(--color-gray-100)",70:"var(--color-gray-70)",50:"var(--color-gray-50)",30:"var(--color-gray-30)",10:"var(--color-gray-10)",0:"var(--color-gray-0)",foreground:"var(--color-gray-foreground)","foreground-emphasis":"var(--color-gray-foreground-emphasis)","foreground-muted":"var(--color-gray-foreground-muted)","foreground-placeholder":"var(--color-gray-foreground-placeholder)","foreground-onfill":"var(--color-gray-foreground-onfill)",stroke:"var(--color-gray-stroke)","stroke-emphasis":"var(--color-gray-stroke-emphasis)","stroke-muted":"var(--color-gray-stroke-muted)","background-fill":"var(--color-gray-background-fill)","background-fill-emphasis":"var(--color-gray-background-fill-emphasis)","background-fill-muted":"var(--color-gray-background-fill-muted)","background-soft":"var(--color-gray-background-soft)","background-soft-emphasis":"var(--color-gray-background-soft-emphasis)","background-soft-muted":"var(--color-gray-background-soft-muted)"},green:{DEFAULT:"var(--color-green)","darken-1":"var(--color-green-darken-1)","darken-2":"var(--color-green-darken-2)","darken-3":"var(--color-green-darken-3)","darken-4":"var(--color-green-darken-4)","darken-5":"var(--color-green-darken-5)","darken-6":"var(--color-green-darken-6)","lighten-1":"var(--color-green-lighten-1)","lighten-2":"var(--color-green-lighten-2)","lighten-3":"var(--color-green-lighten-3)","lighten-4":"var(--color-green-lighten-4)","lighten-5":"var(--color-green-lighten-5)","lighten-6":"var(--color-green-lighten-6)",80:"var(--color-green-80)",64:"var(--color-green-64)",48:"var(--color-green-48)",24:"var(--color-green-24)",16:"var(--color-green-16)",12:"var(--color-green-12)",8:"var(--color-green-8)",6:"var(--color-green-6)",4:"var(--color-green-4)",0:"var(--color-green-0)",foreground:"var(--color-green-foreground)","foreground-emphasis":"var(--color-green-foreground-emphasis)","foreground-onfill":"var(--color-green-foreground-onfill)",stroke:"var(--color-green-stroke)","stroke-emphasis":"var(--color-green-stroke-emphasis)","background-fill":"var(--color-green-background-fill)","background-fill-emphasis":"var(--color-green-background-fill-emphasis)","background-soft":"var(--color-green-background-soft)","background-soft-emphasis":"var(--color-green-background-soft-emphasis)","background-soft-muted":"var(--color-green-background-soft-muted)"},red:{DEFAULT:"var(--color-red)","darken-1":"var(--color-red-darken-1)","darken-2":"var(--color-red-darken-2)","darken-3":"var(--color-red-darken-3)","darken-4":"var(--color-red-darken-4)","darken-5":"var(--color-red-darken-5)","darken-6":"var(--color-red-darken-6)","darken-7":"var(--color-red-darken-7)","lighten-1":"var(--color-red-lighten-1)","lighten-2":"var(--color-red-lighten-2)","lighten-3":"var(--color-red-lighten-3)","lighten-4":"var(--color-red-lighten-4)","lighten-5":"var(--color-red-lighten-5)","lighten-6":"var(--color-red-lighten-6)",80:"var(--color-red-80)",64:"var(--color-red-64)",48:"var(--color-red-48)",24:"var(--color-red-24)",16:"var(--color-red-16)",12:"var(--color-red-12)",8:"var(--color-red-8)",6:"var(--color-red-6)",4:"var(--color-red-4)",0:"var(--color-red-0)",foreground:"var(--color-red-foreground)","foreground-emphasis":"var(--color-red-foreground-emphasis)","foreground-onfill":"var(--color-red-foreground-onfill)",stroke:"var(--color-red-stroke)","stroke-emphasis":"var(--color-red-stroke-emphasis)","background-fill":"var(--color-red-background-fill)","background-fill-emphasis":"var(--color-red-background-fill-emphasis)","background-soft":"var(--color-red-background-soft)","background-soft-emphasis":"var(--color-red-background-soft-emphasis)","background-soft-muted":"var(--color-red-background-soft-muted)"},yellow:{DEFAULT:"var(--color-yellow)","darken-1":"var(--color-yellow-darken-1)","darken-2":"var(--color-yellow-darken-2)","darken-3":"var(--color-yellow-darken-3)","darken-4":"var(--color-yellow-darken-4)","darken-5":"var(--color-yellow-darken-5)","darken-6":"var(--color-yellow-darken-6)","lighten-1":"var(--color-yellow-lighten-1)","lighten-2":"var(--color-yellow-lighten-2)","lighten-3":"var(--color-yellow-lighten-3)","lighten-4":"var(--color-yellow-lighten-4)","lighten-5":"var(--color-yellow-lighten-5)","lighten-6":"var(--color-yellow-lighten-6)",80:"var(--color-yellow-80)",64:"var(--color-yellow-64)",48:"var(--color-yellow-48)",24:"var(--color-yellow-24)",12:"var(--color-yellow-12)",16:"var(--color-yellow-16)",8:"var(--color-yellow-8)",6:"var(--color-yellow-6)",4:"var(--color-yellow-4)",0:"var(--color-yellow-0)",foreground:"var(--color-yellow-foreground)","foreground-emphasis":"var(--color-yellow-foreground-emphasis)","foreground-onfill":"var(--color-yellow-foreground-onfill)",stroke:"var(--color-yellow-stroke)","stroke-emphasis":"var(--color-yellow-stroke-emphasis)","background-fill":"var(--color-yellow-background-fill)","background-fill-emphasis":"var(--color-yellow-background-fill-emphasis)","background-soft":"var(--color-yellow-background-soft)","background-soft-emphasis":"var(--color-yellow-background-soft-emphasis)","background-soft-muted":"var(--color-yellow-background-soft-muted)"},cm:{DEFAULT:"var(--color-cm)","darken-1":"var(--color-cm-darken-1)","darken-2":"var(--color-cm-darken-2)","darken-3":"var(--color-cm-darken-3)","darken-4":"var(--color-cm-darken-4)","darken-5":"var(--color-cm-darken-5)","darken-6":"var(--color-cm-darken-6)","lighten-1":"var(--color-cm-lighten-1)","lighten-2":"var(--color-cm-lighten-2)","lighten-3":"var(--color-cm-lighten-3)","lighten-4":"var(--color-cm-lighten-4)","lighten-5":"var(--color-cm-lighten-5)","lighten-6":"var(--color-cm-lighten-6)",80:"var(--color-cm-80)",64:"var(--color-cm-64)",48:"var(--color-cm-48)",24:"var(--color-cm-24)",16:"var(--color-cm-16)",12:"var(--color-cm-12)",8:"var(--color-cm-8)",6:"var(--color-cm-6)",4:"var(--color-cm-4)",0:"var(--color-cm-0)",foreground:"var(--color-cm-foreground)","foreground-emphasis":"var(--color-cm-foreground-emphasis)","foreground-onfill":"var(--color-cm-foreground-onfill)","background-fill":"var(--color-cm-background-fill)","background-fill-emphasis":"var(--color-cm-background-fill-emphasis)","background-soft":"var(--color-cm-background-soft)","background-soft-emphasis":"var(--color-cm-background-soft-emphasis)"},go:{DEFAULT:"var(--color-go)","darken-1":"var(--color-go-darken-1)","darken-2":"var(--color-go-darken-2)","darken-3":"var(--color-go-darken-3)","darken-4":"var(--color-go-darken-4)","darken-5":"var(--color-go-darken-5)","darken-6":"var(--color-go-darken-6)","lighten-1":"var(--color-go-lighten-1)","lighten-2":"var(--color-go-lighten-2)","lighten-3":"var(--color-go-lighten-3)","lighten-4":"var(--color-go-lighten-4)","lighten-5":"var(--color-go-lighten-5)","lighten-6":"var(--color-go-lighten-6)",80:"var(--color-go-80)",64:"var(--color-go-64)",48:"var(--color-go-48)",24:"var(--color-go-24)",16:"var(--color-go-16)",12:"var(--color-go-12)",8:"var(--color-go-8)",6:"var(--color-go-6)",4:"var(--color-go-4)",0:"var(--color-go-0)",foreground:"var(--color-go-foreground)","foreground-emphasis":"var(--color-go-foreground-emphasis)","foreground-onfill":"var(--color-go-foreground-onfill)","background-fill":"var(--color-go-background-fill)","background-fill-emphasis":"var(--color-go-background-fill-emphasis)","background-soft":"var(--color-go-background-soft)","background-soft-emphasis":"var(--color-go-background-soft-emphasis)"},cir:{DEFAULT:"var(--color-cir)","darken-1":"var(--color-cir-darken-1)","darken-2":"var(--color-cir-darken-2)","darken-3":"var(--color-cir-darken-3)","darken-4":"var(--color-cir-darken-4)","darken-5":"var(--color-cir-darken-5)","darken-6":"var(--color-cir-darken-6)","lighten-1":"var(--color-cir-lighten-1)","lighten-2":"var(--color-cir-lighten-2)","lighten-3":"var(--color-cir-lighten-3)","lighten-4":"var(--color-cir-lighten-4)","lighten-5":"var(--color-cir-lighten-5)","lighten-6":"var(--color-cir-lighten-6)",80:"var(--color-cir-80)",64:"var(--color-cir-64)",48:"var(--color-cir-48)",24:"var(--color-cir-24)",16:"var(--color-cir-16)",12:"var(--color-cir-12)",8:"var(--color-cir-8)",6:"var(--color-cir-6)",4:"var(--color-cir-4)",0:"var(--color-cir-0)",foreground:"var(--color-cir-foreground)","foreground-emphasis":"var(--color-cir-foreground-emphasis)","foreground-onfill":"var(--color-cir-foreground-onfill)","background-fill":"var(--color-cir-background-fill)","background-fill-emphasis":"var(--color-cir-background-fill-emphasis)","background-soft":"var(--color-cir-background-soft)","background-soft-emphasis":"var(--color-cir-background-soft-emphasis)"},ped:{DEFAULT:"var(--color-ped)","darken-1":"var(--color-ped-darken-1)","darken-2":"var(--color-ped-darken-2)","darken-3":"var(--color-ped-darken-3)","darken-4":"var(--color-ped-darken-4)","darken-5":"var(--color-ped-darken-5)","darken-6":"var(--color-ped-darken-6)","darken-7":"var(--color-ped-darken-7)","lighten-1":"var(--color-ped-lighten-1)","lighten-2":"var(--color-ped-lighten-2)","lighten-3":"var(--color-ped-lighten-3)","lighten-4":"var(--color-ped-lighten-4)","lighten-5":"var(--color-ped-lighten-5)","lighten-6":"var(--color-ped-lighten-6)",80:"var(--color-ped-80)",64:"var(--color-ped-64)",48:"var(--color-ped-48)",24:"var(--color-ped-24)",16:"var(--color-ped-16)",12:"var(--color-ped-12)",8:"var(--color-ped-8)",6:"var(--color-ped-6)",4:"var(--color-ped-4)",0:"var(--color-ped-0)",foreground:"var(--color-ped-foreground)","foreground-emphasis":"var(--color-ped-foreground-emphasis)","foreground-onfill":"var(--color-ped-foreground-onfill)","background-fill":"var(--color-ped-background-fill)","background-fill-emphasis":"var(--color-ped-background-fill-emphasis)","background-soft":"var(--color-ped-background-soft)","background-soft-emphasis":"var(--color-ped-background-soft-emphasis)"},prev:{DEFAULT:"var(--color-prev)","darken-1":"var(--color-prev-darken-1)","darken-2":"var(--color-prev-darken-2)","darken-3":"var(--color-prev-darken-3)","darken-4":"var(--color-prev-darken-4)","darken-5":"var(--color-prev-darken-5)","darken-6":"var(--color-prev-darken-6)","lighten-1":"var(--color-prev-lighten-1)","lighten-2":"var(--color-prev-lighten-2)","lighten-3":"var(--color-prev-lighten-3)","lighten-4":"var(--color-prev-lighten-4)","lighten-5":"var(--color-prev-lighten-5)","lighten-6":"var(--color-prev-lighten-6)",80:"var(--color-prev-80)",64:"var(--color-prev-64)",48:"var(--color-prev-48)",24:"var(--color-prev-24)",16:"var(--color-prev-16)",12:"var(--color-prev-12)",8:"var(--color-prev-8)",6:"var(--color-prev-6)",4:"var(--color-prev-4)",0:"var(--color-prev-0)",foreground:"var(--color-prev-foreground)","foreground-emphasis":"var(--color-prev-foreground-emphasis)","foreground-onfill":"var(--color-prev-foreground-onfill)","background-fill":"var(--color-prev-background-fill)","background-fill-emphasis":"var(--color-prev-background-fill-emphasis)","background-soft":"var(--color-prev-background-soft)","background-soft-emphasis":"var(--color-prev-background-soft-emphasis)"},gold:{DEFAULT:"var(--color-gold)","darken-1":"var(--color-gold-darken-1)","darken-2":"var(--color-gold-darken-2)","darken-3":"var(--color-gold-darken-3)","darken-4":"var(--color-gold-darken-4)","darken-5":"var(--color-gold-darken-5)","darken-6":"var(--color-gold-darken-6)","lighten-1":"var(--color-gold-lighten-1)","lighten-2":"var(--color-gold-lighten-2)","lighten-3":"var(--color-gold-lighten-3)","lighten-4":"var(--color-gold-lighten-4)","lighten-5":"var(--color-gold-lighten-5)","lighten-6":"var(--color-gold-lighten-6)",80:"var(--color-gold-80)",64:"var(--color-gold-64)",48:"var(--color-gold-48)",24:"var(--color-gold-24)",16:"var(--color-gold-16)",12:"var(--color-gold-12)",8:"var(--color-gold-8)",6:"var(--color-gold-6)",4:"var(--color-gold-4)",0:"var(--color-gold-0)",foreground:"var(--color-gold-foreground)","foreground-emphasis":"var(--color-gold-foreground-emphasis)","foreground-onfill":"var(--color-gold-foreground-onfill)","background-fill":"var(--color-gold-background-fill)","background-fill-emphasis":"var(--color-gold-background-fill-emphasis)","background-soft":"var(--color-gold-background-soft)","background-soft-emphasis":"var(--color-gold-background-soft-emphasis)"},silver:{DEFAULT:"var(--color-silver)","darken-1":"var(--color-silver-darken-1)","darken-2":"var(--color-silver-darken-2)","darken-3":"var(--color-silver-darken-3)","darken-4":"var(--color-silver-darken-4)","darken-5":"var(--color-silver-darken-5)","darken-6":"var(--color-silver-darken-6)","lighten-1":"var(--color-silver-lighten-1)","lighten-2":"var(--color-silver-lighten-2)","lighten-3":"var(--color-silver-lighten-3)","lighten-4":"var(--color-silver-lighten-4)","lighten-5":"var(--color-silver-lighten-5)","lighten-6":"var(--color-silver-lighten-6)",80:"var(--color-silver-80)",64:"var(--color-silver-64)",48:"var(--color-silver-48)",24:"var(--color-silver-24)",16:"var(--color-silver-16)",12:"var(--color-silver-12)",8:"var(--color-silver-8)",6:"var(--color-silver-6)",4:"var(--color-silver-4)",0:"var(--color-silver-0)",foreground:"var(--color-silver-foreground)","foreground-emphasis":"var(--color-silver-foreground-emphasis)","foreground-onfill":"var(--color-silver-foreground-onfill)","background-fill":"var(--color-silver-background-fill)","background-fill-emphasis":"var(--color-silver-background-fill-emphasis)","background-soft":"var(--color-silver-background-soft)","background-soft-emphasis":"var(--color-silver-background-soft-emphasis)"},bronze:{DEFAULT:"var(--color-bronze)","darken-1":"var(--color-bronze-darken-1)","darken-2":"var(--color-bronze-darken-2)","darken-3":"var(--color-bronze-darken-3)","darken-4":"var(--color-bronze-darken-4)","darken-5":"var(--color-bronze-darken-5)","darken-6":"var(--color-bronze-darken-6)","lighten-1":"var(--color-bronze-lighten-1)","lighten-2":"var(--color-bronze-lighten-2)","lighten-3":"var(--color-bronze-lighten-3)","lighten-4":"var(--color-bronze-lighten-4)","lighten-5":"var(--color-bronze-lighten-5)",80:"var(--color-bronze-80)",64:"var(--color-bronze-64)",48:"var(--color-bronze-48)",24:"var(--color-bronze-24)",16:"var(--color-bronze-16)",12:"var(--color-bronze-12)",8:"var(--color-bronze-8)",6:"var(--color-bronze-6)",4:"var(--color-bronze-4)",0:"var(--color-bronze-0)",foreground:"var(--color-bronze-foreground)","foreground-emphasis":"var(--color-bronze-foreground-emphasis)","foreground-onfill":"var(--color-bronze-foreground-onfill)","background-fill":"var(--color-bronze-background-fill)","background-fill-emphasis":"var(--color-bronze-background-fill-emphasis)","background-soft":"var(--color-bronze-background-soft)","background-soft-emphasis":"var(--color-bronze-background-soft-emphasis)"},primary:{DEFAULT:"var(--color-primary)","darken-1":"var(--color-primary-darken-1)","darken-2":"var(--color-primary-darken-2)","lighten-1":"var(--color-primary-lighten-1)","lighten-2":"var(--color-primary-lighten-2)","lighten-3":"var(--color-primary-lighten-3)","lighten-4":"var(--color-primary-lighten-4)","lighten-5":"var(--color-primary-lighten-5)","lighten-6":"var(--color-primary-lighten-6)",80:"var(--color-primary-80)",64:"var(--color-primary-64)",48:"var(--color-primary-48)",24:"var(--color-primary-24)",16:"var(--color-primary-16)",12:"var(--color-primary-12)",8:"var(--color-primary-8)",6:"var(--color-primary-6)",4:"var(--color-primary-4)",0:"var(--color-primary-0)",foreground:"var(--color-primary-foreground)","foreground-emphasis":"var(--color-primary-foreground-emphasis)","foreground-muted":"var(--color-primary-foreground-muted)","foreground-onfill":"var(--color-primary-foreground-onfill)",stroke:"var(--color-primary-stroke)","stroke-emphasis":"var(--color-primary-stroke-emphasis)","background-fill":"var(--color-primary-background-fill)","background-fill-emphasis":"var(--color-primary-background-fill-emphasis)","background-soft":"var(--color-primary-background-soft)","background-soft-emphasis":"var(--color-primary-background-soft-emphasis)","background-soft-muted":"var(--color-primary-background-soft-muted)"},secondary:{DEFAULT:"var(--color-secondary)","darken-1":"var(--color-secondary-darken-1)","darken-2":"var(--color-secondary-darken-2)","darken-3":"var(--color-secondary-darken-3)","darken-4":"var(--color-secondary-darken-4)","darken-5":"var(--color-secondary-darken-5)","darken-6":"var(--color-secondary-darken-6)","lighten-1":"var(--color-secondary-lighten-1)","lighten-2":"var(--color-secondary-lighten-2)","lighten-3":"var(--color-secondary-lighten-3)","lighten-4":"var(--color-secondary-lighten-4)","lighten-5":"var(--color-secondary-lighten-5)","lighten-6":"var(--color-secondary-lighten-6)",80:"var(--color-secondary-80)",64:"var(--color-secondary-64)",48:"var(--color-secondary-48)",24:"var(--color-secondary-24)",16:"var(--color-secondary-16)",12:"var(--color-secondary-12)",8:"var(--color-secondary-8)",6:"var(--color-secondary-6)",4:"var(--color-secondary-4)",0:"var(--color-secondary-0)",foreground:"var(--color-secondary-foreground)","foreground-emphasis":"var(--color-secondary-foreground-emphasis)","foreground-muted":"var(--color-secondary-foreground-muted)","foreground-onfill":"var(--color-secondary-foreground-onfill)",stroke:"var(--color-secondary-stroke)","stroke-emphasis":"var(--color-secondary-stroke-emphasis)","background-fill":"var(--color-secondary-background-fill)","background-fill-emphasis":"var(--color-secondary-background-fill-emphasis)","background-soft":"var(--color-secondary-background-soft)","background-soft-emphasis":"var(--color-secondary-background-soft-emphasis)","background-soft-muted":"var(--color-secondary-background-soft-muted)"},gradient:{base:{"blur-1":"var(--color-gradient-base-blur-1)","blur-2":"var(--color-gradient-base-blur-2)","blur-3":"var(--color-gradient-base-blur-3)","bg-1":"var(--color-gradient-base-bg-1)","bg-2":"var(--color-gradient-base-bg-2)"},cir:{"blur-1":"var(--color-gradient-cir-blur-1)","blur-2":"var(--color-gradient-cir-blur-2)","blur-3":"var(--color-gradient-cir-blur-3)","bg-1":"var(--color-gradient-cir-bg-1)","bg-2":"var(--color-gradient-cir-bg-2)"},cm:{"blur-1":"var(--color-gradient-cm-blur-1)","blur-2":"var(--color-gradient-cm-blur-2)","blur-3":"var(--color-gradient-cm-blur-3)","bg-1":"var(--color-gradient-cm-bg-1)","bg-2":"var(--color-gradient-cm-bg-2)"},go:{"blur-1":"var(--color-gradient-go-blur-1)","blur-2":"var(--color-gradient-go-blur-2)","blur-3":"var(--color-gradient-go-blur-3)","bg-1":"var(--color-gradient-go-bg-1)","bg-2":"var(--color-gradient-go-bg-2)"},ped:{"blur-1":"var(--color-gradient-ped-blur-1)","blur-2":"var(--color-gradient-ped-blur-2)","blur-3":"var(--color-gradient-ped-blur-3)","bg-1":"var(--color-gradient-ped-bg-1)","bg-2":"var(--color-gradient-ped-bg-2)"},prev:{"blur-1":"var(--color-gradient-prev-blur-1)","blur-2":"var(--color-gradient-prev-blur-2)","blur-3":"var(--color-gradient-prev-blur-3)","bg-1":"var(--color-gradient-prev-bg-1)","bg-2":"var(--color-gradient-prev-bg-2)"},r1:{"blur-1":"var(--color-gradient-r1-blur-1)","blur-2":"var(--color-gradient-r1-blur-2)","blur-3":"var(--color-gradient-r1-blur-3)","bg-1":"var(--color-gradient-r1-bg-1)","bg-2":"var(--color-gradient-r1-bg-2)"},rplus:{"blur-1":"var(--color-gradient-rplus-blur-1)","blur-2":"var(--color-gradient-rplus-blur-2)","blur-3":"var(--color-gradient-rplus-blur-3)","bg-1":"var(--color-gradient-rplus-bg-1)","bg-2":"var(--color-gradient-rplus-bg-2)"},pt:{"blur-1":"var(--color-gradient-pt-blur-1)","blur-2":"var(--color-gradient-pt-blur-2)","blur-3":"var(--color-gradient-pt-blur-3)","bg-1":"var(--color-gradient-pt-bg-1)","bg-2":"var(--color-gradient-pt-bg-2)"},default:{"blur-1":"var(--color-gradient-default-blur-1)","blur-2":"var(--color-gradient-default-blur-2)","blur-3":"var(--color-gradient-default-blur-3)","bg-1":"var(--color-gradient-default-bg-1)","bg-2":"var(--color-gradient-default-bg-2)"},neutral:{"blur-1":"var(--color-gradient-neutral-blur-1)","blur-2":"var(--color-gradient-neutral-blur-2)","blur-3":"var(--color-gradient-neutral-blur-3)","bg-1":"var(--color-gradient-neutral-bg-1)","bg-2":"var(--color-gradient-neutral-bg-2)"}}},a={sans:"var(--font-sans)"},l={xxs:"var(--text-xxs)",xs:"var(--text-xs)",sm:"var(--text-sm)",base:"var(--text-base)",md:"var(--text-md)",lg:"var(--text-lg)","title-xs":"var(--text-title-xs)","title-sm":"var(--text-title-sm)","title-md":"var(--text-title-md)","title-lg":"var(--text-title-lg)","title-xl":"var(--text-title-xl)","title-xxl":"var(--text-title-xxl)","display-sm":"var(--text-display-sm)","display-md":"var(--text-display-md)","display-lg":"var(--text-display-lg)"},e={xxs:"var(--leading-xxs)",xs:"var(--leading-xs)",sm:"var(--leading-sm)",md:"var(--leading-md)",lg:"var(--leading-lg)","title-xs":"var(--leading-title-xs)","title-sm":"var(--leading-title-sm)","title-md":"var(--leading-title-md)","title-lg":"var(--leading-title-lg)","title-xl":"var(--leading-title-xl)","title-xxl":"var(--leading-title-xxl)","display-sm":"var(--leading-display-sm)","display-md":"var(--leading-display-md)","display-lg":"var(--leading-display-lg)"},c={regular:"var(--font-weight-regular)",medium:"var(--font-weight-medium)",semibold:"var(--font-weight-semibold)",bold:"var(--font-weight-bold)",extrabold:"var(--font-weight-extrabold)"},n={tv:"1920px",desktop:"1024px",tablet:"600px",mobile:"320px",sm:"320px",md:"600px",lg:"1024px",xl:"1920px"},d={tv:"var(--breakpoint-tv)",desktop:"var(--breakpoint-desktop)",tablet:"var(--breakpoint-tablet)",mobile:"var(--breakpoint-mobile)"},i={tv:"var(--container-tv)",desktop:"var(--container-desktop)",tablet:"var(--container-tablet)",mobile:"var(--container-mobile)"},g={width:"var(--sidebar-width)","width-mobile":"var(--sidebar-width-mobile)","width-icon":"var(--sidebar-width-icon)"},v={none:"var(--radius-none)",sm:"var(--radius-sm)",md:"var(--radius-md)",lg:"var(--radius-lg)",pill:"var(--radius-pill)",circular:"var(--radius-circular)",full:"var(--radius-full)"},s={"level-1":"0 0 2px 0 var(--color-drop-shadow-layer-a), 0 2px 4px 0 var(--color-drop-shadow-layer-b)","level-1-subtle":"0 0 2px 0 var(--color-drop-shadow-subtle-layer-a), 0 2px 4px 0 var(--color-drop-shadow-subtle-layer-b)","level-2":"0 1px 4px 0 var(--color-drop-shadow-layer-a), 0 4px 8px 0 var(--color-drop-shadow-layer-b)","level-3":"0 2px 8px 0 var(--color-drop-shadow-layer-a), 0 8px 16px 0 var(--color-drop-shadow-layer-b)","level-4":"0 4px 16px 0 var(--color-drop-shadow-layer-a), 0 16px 32px 0 var(--color-drop-shadow-layer-b)","level-5":"0 8px 32px 0 var(--color-drop-shadow-layer-a), 0 32px 64px 0 var(--color-drop-shadow-layer-b)"},t={"accordion-down":{from:{height:"0"},to:{height:"var(--radix-accordion-content-height)"}},"accordion-up":{from:{height:"var(--radix-accordion-content-height)"},to:{height:"0"}},"collapsible-down":{from:{height:"0"},to:{height:"var(--radix-collapsible-content-height)"}},shine:{from:{backgroundPosition:"200% 0"},to:{backgroundPosition:"-200% 0"}},"collapsible-up":{from:{height:"var(--radix-collapsible-content-height)"},to:{height:"0"}},"fade-in":{from:{opacity:"0"},to:{opacity:"1"}},"fade-out":{from:{opacity:"1"},to:{opacity:"0"}},"index-level-ring-spin":{from:{rotate:"0deg"},to:{rotate:"360deg"}},"index-level-ring-settle":{"0%, 75%":{opacity:"1"},"100%":{opacity:"0.1"}},"loading-mark-pulse":{"0%, 100%":{opacity:"0.2"},"50%":{opacity:"1"}}},u={"accordion-down":"accordion-down 0.2s ease-out","accordion-up":"accordion-up 0.2s ease-out","collapsible-down":"collapsible-down 0.2s ease-out","collapsible-up":"collapsible-up 0.2s ease-out","fade-in":"fade-in 0.2s ease-out","fade-out":"fade-out 0.2s ease-out",shine:"shine 2s infinite linear","index-level-ring-spin":"index-level-ring-spin 1.2s linear 2 forwards","index-level-ring-settle":"index-level-ring-settle 2.4s ease-out forwards","loading-mark-pulse":"loading-mark-pulse 0.8s linear infinite"};export{u as animation,v as borderRadius,s as boxShadow,d as breakpoints,o as colors,i as container,r as content,a as fontFamily,l as fontSize,c as fontWeight,t as keyframes,e as lineHeight,n as screens,g as sidebar};
2
+ const r=["./src/**/*.{js,ts,jsx,tsx,md,mdx}","./node_modules/@medway-ui/core/dist/**/*.{js,mjs}"],o={background:"var(--color-background)",foreground:"var(--color-foreground)",ring:"var(--color-ring)",backdrop:"var(--color-backdrop)",content:{title:"var(--color-content-title)",paragraph:"var(--color-content-paragraph)",link:"var(--color-content-link)"},state:{hover:"var(--color-state-hover)",focus:"var(--color-state-focus)",active:"var(--color-state-active)",error:"var(--color-state-error)",success:"var(--color-state-success)"},feedback:{success:{foreground:"var(--color-feedback-success-foreground)","foreground-emphasis":"var(--color-feedback-success-foreground-emphasis)","foreground-onfill":"var(--color-feedback-success-foreground-onfill)",stroke:"var(--color-feedback-success-stroke)","stroke-emphasis":"var(--color-feedback-success-stroke-emphasis)","background-fill":"var(--color-feedback-success-background-fill)","background-fill-emphasis":"var(--color-feedback-success-background-fill-emphasis)","background-soft":"var(--color-feedback-success-background-soft)","background-soft-emphasis":"var(--color-feedback-success-background-soft-emphasis)","background-soft-muted":"var(--color-feedback-success-background-soft-muted)"},error:{foreground:"var(--color-feedback-error-foreground)","foreground-emphasis":"var(--color-feedback-error-foreground-emphasis)","foreground-onfill":"var(--color-feedback-error-foreground-onfill)",stroke:"var(--color-feedback-error-stroke)","stroke-emphasis":"var(--color-feedback-error-stroke-emphasis)","background-fill":"var(--color-feedback-error-background-fill)","background-fill-emphasis":"var(--color-feedback-error-background-fill-emphasis)","background-soft":"var(--color-feedback-error-background-soft)","background-soft-emphasis":"var(--color-feedback-error-background-soft-emphasis)","background-soft-muted":"var(--color-feedback-error-background-soft-muted)"},warning:{foreground:"var(--color-feedback-warning-foreground)","foreground-emphasis":"var(--color-feedback-warning-foreground-emphasis)","foreground-onfill":"var(--color-feedback-warning-foreground-onfill)",stroke:"var(--color-feedback-warning-stroke)","stroke-emphasis":"var(--color-feedback-warning-stroke-emphasis)","background-fill":"var(--color-feedback-warning-background-fill)","background-fill-emphasis":"var(--color-feedback-warning-background-fill-emphasis)","background-soft":"var(--color-feedback-warning-background-soft)","background-soft-emphasis":"var(--color-feedback-warning-background-soft-emphasis)","background-soft-muted":"var(--color-feedback-warning-background-soft-muted)"}},surface:{elevated:"var(--color-surface-elevated)",card:"var(--color-surface-card)",navigation:"var(--color-surface-navigation)",section:"var(--color-surface-section)",page:"var(--color-surface-page)",disable:"var(--color-surface-disable)","settings-on":"var(--color-surface-settings-on)","settings-off":"var(--color-surface-settings-off)"},dropShadow:{"layer-a":"var(--color-drop-shadow-layer-a)","layer-b":"var(--color-drop-shadow-layer-b)","subtle-layer-a":"var(--color-drop-shadow-subtle-layer-a)","subtle-layer-b":"var(--color-drop-shadow-subtle-layer-b)"},white:{DEFAULT:"var(--color-white)",80:"var(--color-white-80)",48:"var(--color-white-48)",24:"var(--color-white-24)",16:"var(--color-white-16)",12:"var(--color-white-12)",8:"var(--color-white-8)",6:"var(--color-white-6)",4:"var(--color-white-4)",0:"var(--color-white-0)"},black:{DEFAULT:"var(--color-black)",80:"var(--color-black-80)",48:"var(--color-black-48)",24:"var(--color-black-24)",16:"var(--color-black-16)",12:"var(--color-black-12)",8:"var(--color-black-8)",6:"var(--color-black-6)",4:"var(--color-black-4)",0:"var(--color-black-0)"},gray:{950:"var(--color-gray-950)",900:"var(--color-gray-900)",850:"var(--color-gray-850)",800:"var(--color-gray-800)",700:"var(--color-gray-700)",600:"var(--color-gray-600)",500:"var(--color-gray-500)",450:"var(--color-gray-450)",400:"var(--color-gray-400)",300:"var(--color-gray-300)",200:"var(--color-gray-200)",150:"var(--color-gray-150)",100:"var(--color-gray-100)",70:"var(--color-gray-70)",50:"var(--color-gray-50)",30:"var(--color-gray-30)",10:"var(--color-gray-10)",0:"var(--color-gray-0)",foreground:"var(--color-gray-foreground)","foreground-emphasis":"var(--color-gray-foreground-emphasis)","foreground-muted":"var(--color-gray-foreground-muted)","foreground-placeholder":"var(--color-gray-foreground-placeholder)","foreground-onfill":"var(--color-gray-foreground-onfill)",stroke:"var(--color-gray-stroke)","stroke-emphasis":"var(--color-gray-stroke-emphasis)","stroke-muted":"var(--color-gray-stroke-muted)","background-fill":"var(--color-gray-background-fill)","background-fill-emphasis":"var(--color-gray-background-fill-emphasis)","background-fill-muted":"var(--color-gray-background-fill-muted)","background-soft":"var(--color-gray-background-soft)","background-soft-emphasis":"var(--color-gray-background-soft-emphasis)","background-soft-muted":"var(--color-gray-background-soft-muted)"},green:{DEFAULT:"var(--color-green)","darken-1":"var(--color-green-darken-1)","darken-2":"var(--color-green-darken-2)","darken-3":"var(--color-green-darken-3)","darken-4":"var(--color-green-darken-4)","darken-5":"var(--color-green-darken-5)","darken-6":"var(--color-green-darken-6)","lighten-1":"var(--color-green-lighten-1)","lighten-2":"var(--color-green-lighten-2)","lighten-3":"var(--color-green-lighten-3)","lighten-4":"var(--color-green-lighten-4)","lighten-5":"var(--color-green-lighten-5)","lighten-6":"var(--color-green-lighten-6)",80:"var(--color-green-80)",64:"var(--color-green-64)",48:"var(--color-green-48)",24:"var(--color-green-24)",16:"var(--color-green-16)",12:"var(--color-green-12)",8:"var(--color-green-8)",6:"var(--color-green-6)",4:"var(--color-green-4)",0:"var(--color-green-0)",foreground:"var(--color-green-foreground)","foreground-emphasis":"var(--color-green-foreground-emphasis)","foreground-onfill":"var(--color-green-foreground-onfill)",stroke:"var(--color-green-stroke)","stroke-emphasis":"var(--color-green-stroke-emphasis)","background-fill":"var(--color-green-background-fill)","background-fill-emphasis":"var(--color-green-background-fill-emphasis)","background-soft":"var(--color-green-background-soft)","background-soft-emphasis":"var(--color-green-background-soft-emphasis)","background-soft-muted":"var(--color-green-background-soft-muted)"},red:{DEFAULT:"var(--color-red)","darken-1":"var(--color-red-darken-1)","darken-2":"var(--color-red-darken-2)","darken-3":"var(--color-red-darken-3)","darken-4":"var(--color-red-darken-4)","darken-5":"var(--color-red-darken-5)","darken-6":"var(--color-red-darken-6)","darken-7":"var(--color-red-darken-7)","lighten-1":"var(--color-red-lighten-1)","lighten-2":"var(--color-red-lighten-2)","lighten-3":"var(--color-red-lighten-3)","lighten-4":"var(--color-red-lighten-4)","lighten-5":"var(--color-red-lighten-5)","lighten-6":"var(--color-red-lighten-6)",80:"var(--color-red-80)",64:"var(--color-red-64)",48:"var(--color-red-48)",24:"var(--color-red-24)",16:"var(--color-red-16)",12:"var(--color-red-12)",8:"var(--color-red-8)",6:"var(--color-red-6)",4:"var(--color-red-4)",0:"var(--color-red-0)",foreground:"var(--color-red-foreground)","foreground-emphasis":"var(--color-red-foreground-emphasis)","foreground-onfill":"var(--color-red-foreground-onfill)",stroke:"var(--color-red-stroke)","stroke-emphasis":"var(--color-red-stroke-emphasis)","background-fill":"var(--color-red-background-fill)","background-fill-emphasis":"var(--color-red-background-fill-emphasis)","background-soft":"var(--color-red-background-soft)","background-soft-emphasis":"var(--color-red-background-soft-emphasis)","background-soft-muted":"var(--color-red-background-soft-muted)"},yellow:{DEFAULT:"var(--color-yellow)","darken-1":"var(--color-yellow-darken-1)","darken-2":"var(--color-yellow-darken-2)","darken-3":"var(--color-yellow-darken-3)","darken-4":"var(--color-yellow-darken-4)","darken-5":"var(--color-yellow-darken-5)","darken-6":"var(--color-yellow-darken-6)","lighten-1":"var(--color-yellow-lighten-1)","lighten-2":"var(--color-yellow-lighten-2)","lighten-3":"var(--color-yellow-lighten-3)","lighten-4":"var(--color-yellow-lighten-4)","lighten-5":"var(--color-yellow-lighten-5)","lighten-6":"var(--color-yellow-lighten-6)",80:"var(--color-yellow-80)",64:"var(--color-yellow-64)",48:"var(--color-yellow-48)",24:"var(--color-yellow-24)",12:"var(--color-yellow-12)",16:"var(--color-yellow-16)",8:"var(--color-yellow-8)",6:"var(--color-yellow-6)",4:"var(--color-yellow-4)",0:"var(--color-yellow-0)",foreground:"var(--color-yellow-foreground)","foreground-emphasis":"var(--color-yellow-foreground-emphasis)","foreground-onfill":"var(--color-yellow-foreground-onfill)",stroke:"var(--color-yellow-stroke)","stroke-emphasis":"var(--color-yellow-stroke-emphasis)","background-fill":"var(--color-yellow-background-fill)","background-fill-emphasis":"var(--color-yellow-background-fill-emphasis)","background-soft":"var(--color-yellow-background-soft)","background-soft-emphasis":"var(--color-yellow-background-soft-emphasis)","background-soft-muted":"var(--color-yellow-background-soft-muted)"},cm:{DEFAULT:"var(--color-cm)","darken-1":"var(--color-cm-darken-1)","darken-2":"var(--color-cm-darken-2)","darken-3":"var(--color-cm-darken-3)","darken-4":"var(--color-cm-darken-4)","darken-5":"var(--color-cm-darken-5)","darken-6":"var(--color-cm-darken-6)","lighten-1":"var(--color-cm-lighten-1)","lighten-2":"var(--color-cm-lighten-2)","lighten-3":"var(--color-cm-lighten-3)","lighten-4":"var(--color-cm-lighten-4)","lighten-5":"var(--color-cm-lighten-5)","lighten-6":"var(--color-cm-lighten-6)",80:"var(--color-cm-80)",64:"var(--color-cm-64)",48:"var(--color-cm-48)",24:"var(--color-cm-24)",16:"var(--color-cm-16)",12:"var(--color-cm-12)",8:"var(--color-cm-8)",6:"var(--color-cm-6)",4:"var(--color-cm-4)",0:"var(--color-cm-0)",foreground:"var(--color-cm-foreground)","foreground-emphasis":"var(--color-cm-foreground-emphasis)","foreground-onfill":"var(--color-cm-foreground-onfill)","background-fill":"var(--color-cm-background-fill)","background-fill-emphasis":"var(--color-cm-background-fill-emphasis)","background-soft":"var(--color-cm-background-soft)","background-soft-emphasis":"var(--color-cm-background-soft-emphasis)"},go:{DEFAULT:"var(--color-go)","darken-1":"var(--color-go-darken-1)","darken-2":"var(--color-go-darken-2)","darken-3":"var(--color-go-darken-3)","darken-4":"var(--color-go-darken-4)","darken-5":"var(--color-go-darken-5)","darken-6":"var(--color-go-darken-6)","lighten-1":"var(--color-go-lighten-1)","lighten-2":"var(--color-go-lighten-2)","lighten-3":"var(--color-go-lighten-3)","lighten-4":"var(--color-go-lighten-4)","lighten-5":"var(--color-go-lighten-5)","lighten-6":"var(--color-go-lighten-6)",80:"var(--color-go-80)",64:"var(--color-go-64)",48:"var(--color-go-48)",24:"var(--color-go-24)",16:"var(--color-go-16)",12:"var(--color-go-12)",8:"var(--color-go-8)",6:"var(--color-go-6)",4:"var(--color-go-4)",0:"var(--color-go-0)",foreground:"var(--color-go-foreground)","foreground-emphasis":"var(--color-go-foreground-emphasis)","foreground-onfill":"var(--color-go-foreground-onfill)","background-fill":"var(--color-go-background-fill)","background-fill-emphasis":"var(--color-go-background-fill-emphasis)","background-soft":"var(--color-go-background-soft)","background-soft-emphasis":"var(--color-go-background-soft-emphasis)"},cir:{DEFAULT:"var(--color-cir)","darken-1":"var(--color-cir-darken-1)","darken-2":"var(--color-cir-darken-2)","darken-3":"var(--color-cir-darken-3)","darken-4":"var(--color-cir-darken-4)","darken-5":"var(--color-cir-darken-5)","darken-6":"var(--color-cir-darken-6)","lighten-1":"var(--color-cir-lighten-1)","lighten-2":"var(--color-cir-lighten-2)","lighten-3":"var(--color-cir-lighten-3)","lighten-4":"var(--color-cir-lighten-4)","lighten-5":"var(--color-cir-lighten-5)","lighten-6":"var(--color-cir-lighten-6)",80:"var(--color-cir-80)",64:"var(--color-cir-64)",48:"var(--color-cir-48)",24:"var(--color-cir-24)",16:"var(--color-cir-16)",12:"var(--color-cir-12)",8:"var(--color-cir-8)",6:"var(--color-cir-6)",4:"var(--color-cir-4)",0:"var(--color-cir-0)",foreground:"var(--color-cir-foreground)","foreground-emphasis":"var(--color-cir-foreground-emphasis)","foreground-onfill":"var(--color-cir-foreground-onfill)","background-fill":"var(--color-cir-background-fill)","background-fill-emphasis":"var(--color-cir-background-fill-emphasis)","background-soft":"var(--color-cir-background-soft)","background-soft-emphasis":"var(--color-cir-background-soft-emphasis)"},ped:{DEFAULT:"var(--color-ped)","darken-1":"var(--color-ped-darken-1)","darken-2":"var(--color-ped-darken-2)","darken-3":"var(--color-ped-darken-3)","darken-4":"var(--color-ped-darken-4)","darken-5":"var(--color-ped-darken-5)","darken-6":"var(--color-ped-darken-6)","darken-7":"var(--color-ped-darken-7)","lighten-1":"var(--color-ped-lighten-1)","lighten-2":"var(--color-ped-lighten-2)","lighten-3":"var(--color-ped-lighten-3)","lighten-4":"var(--color-ped-lighten-4)","lighten-5":"var(--color-ped-lighten-5)","lighten-6":"var(--color-ped-lighten-6)",80:"var(--color-ped-80)",64:"var(--color-ped-64)",48:"var(--color-ped-48)",24:"var(--color-ped-24)",16:"var(--color-ped-16)",12:"var(--color-ped-12)",8:"var(--color-ped-8)",6:"var(--color-ped-6)",4:"var(--color-ped-4)",0:"var(--color-ped-0)",foreground:"var(--color-ped-foreground)","foreground-emphasis":"var(--color-ped-foreground-emphasis)","foreground-onfill":"var(--color-ped-foreground-onfill)","background-fill":"var(--color-ped-background-fill)","background-fill-emphasis":"var(--color-ped-background-fill-emphasis)","background-soft":"var(--color-ped-background-soft)","background-soft-emphasis":"var(--color-ped-background-soft-emphasis)"},prev:{DEFAULT:"var(--color-prev)","darken-1":"var(--color-prev-darken-1)","darken-2":"var(--color-prev-darken-2)","darken-3":"var(--color-prev-darken-3)","darken-4":"var(--color-prev-darken-4)","darken-5":"var(--color-prev-darken-5)","darken-6":"var(--color-prev-darken-6)","lighten-1":"var(--color-prev-lighten-1)","lighten-2":"var(--color-prev-lighten-2)","lighten-3":"var(--color-prev-lighten-3)","lighten-4":"var(--color-prev-lighten-4)","lighten-5":"var(--color-prev-lighten-5)","lighten-6":"var(--color-prev-lighten-6)",80:"var(--color-prev-80)",64:"var(--color-prev-64)",48:"var(--color-prev-48)",24:"var(--color-prev-24)",16:"var(--color-prev-16)",12:"var(--color-prev-12)",8:"var(--color-prev-8)",6:"var(--color-prev-6)",4:"var(--color-prev-4)",0:"var(--color-prev-0)",foreground:"var(--color-prev-foreground)","foreground-emphasis":"var(--color-prev-foreground-emphasis)","foreground-onfill":"var(--color-prev-foreground-onfill)","background-fill":"var(--color-prev-background-fill)","background-fill-emphasis":"var(--color-prev-background-fill-emphasis)","background-soft":"var(--color-prev-background-soft)","background-soft-emphasis":"var(--color-prev-background-soft-emphasis)"},gold:{DEFAULT:"var(--color-gold)","darken-1":"var(--color-gold-darken-1)","darken-2":"var(--color-gold-darken-2)","darken-3":"var(--color-gold-darken-3)","darken-4":"var(--color-gold-darken-4)","darken-5":"var(--color-gold-darken-5)","darken-6":"var(--color-gold-darken-6)","lighten-1":"var(--color-gold-lighten-1)","lighten-2":"var(--color-gold-lighten-2)","lighten-3":"var(--color-gold-lighten-3)","lighten-4":"var(--color-gold-lighten-4)","lighten-5":"var(--color-gold-lighten-5)","lighten-6":"var(--color-gold-lighten-6)",80:"var(--color-gold-80)",64:"var(--color-gold-64)",48:"var(--color-gold-48)",24:"var(--color-gold-24)",16:"var(--color-gold-16)",12:"var(--color-gold-12)",8:"var(--color-gold-8)",6:"var(--color-gold-6)",4:"var(--color-gold-4)",0:"var(--color-gold-0)",foreground:"var(--color-gold-foreground)","foreground-emphasis":"var(--color-gold-foreground-emphasis)","foreground-onfill":"var(--color-gold-foreground-onfill)","background-fill":"var(--color-gold-background-fill)","background-fill-emphasis":"var(--color-gold-background-fill-emphasis)","background-soft":"var(--color-gold-background-soft)","background-soft-emphasis":"var(--color-gold-background-soft-emphasis)"},silver:{DEFAULT:"var(--color-silver)","darken-1":"var(--color-silver-darken-1)","darken-2":"var(--color-silver-darken-2)","darken-3":"var(--color-silver-darken-3)","darken-4":"var(--color-silver-darken-4)","darken-5":"var(--color-silver-darken-5)","darken-6":"var(--color-silver-darken-6)","lighten-1":"var(--color-silver-lighten-1)","lighten-2":"var(--color-silver-lighten-2)","lighten-3":"var(--color-silver-lighten-3)","lighten-4":"var(--color-silver-lighten-4)","lighten-5":"var(--color-silver-lighten-5)","lighten-6":"var(--color-silver-lighten-6)",80:"var(--color-silver-80)",64:"var(--color-silver-64)",48:"var(--color-silver-48)",24:"var(--color-silver-24)",16:"var(--color-silver-16)",12:"var(--color-silver-12)",8:"var(--color-silver-8)",6:"var(--color-silver-6)",4:"var(--color-silver-4)",0:"var(--color-silver-0)",foreground:"var(--color-silver-foreground)","foreground-emphasis":"var(--color-silver-foreground-emphasis)","foreground-onfill":"var(--color-silver-foreground-onfill)","background-fill":"var(--color-silver-background-fill)","background-fill-emphasis":"var(--color-silver-background-fill-emphasis)","background-soft":"var(--color-silver-background-soft)","background-soft-emphasis":"var(--color-silver-background-soft-emphasis)"},bronze:{DEFAULT:"var(--color-bronze)","darken-1":"var(--color-bronze-darken-1)","darken-2":"var(--color-bronze-darken-2)","darken-3":"var(--color-bronze-darken-3)","darken-4":"var(--color-bronze-darken-4)","darken-5":"var(--color-bronze-darken-5)","darken-6":"var(--color-bronze-darken-6)","lighten-1":"var(--color-bronze-lighten-1)","lighten-2":"var(--color-bronze-lighten-2)","lighten-3":"var(--color-bronze-lighten-3)","lighten-4":"var(--color-bronze-lighten-4)","lighten-5":"var(--color-bronze-lighten-5)",80:"var(--color-bronze-80)",64:"var(--color-bronze-64)",48:"var(--color-bronze-48)",24:"var(--color-bronze-24)",16:"var(--color-bronze-16)",12:"var(--color-bronze-12)",8:"var(--color-bronze-8)",6:"var(--color-bronze-6)",4:"var(--color-bronze-4)",0:"var(--color-bronze-0)",foreground:"var(--color-bronze-foreground)","foreground-emphasis":"var(--color-bronze-foreground-emphasis)","foreground-onfill":"var(--color-bronze-foreground-onfill)","background-fill":"var(--color-bronze-background-fill)","background-fill-emphasis":"var(--color-bronze-background-fill-emphasis)","background-soft":"var(--color-bronze-background-soft)","background-soft-emphasis":"var(--color-bronze-background-soft-emphasis)"},primary:{DEFAULT:"var(--color-primary)","darken-1":"var(--color-primary-darken-1)","darken-2":"var(--color-primary-darken-2)","lighten-1":"var(--color-primary-lighten-1)","lighten-2":"var(--color-primary-lighten-2)","lighten-3":"var(--color-primary-lighten-3)","lighten-4":"var(--color-primary-lighten-4)","lighten-5":"var(--color-primary-lighten-5)","lighten-6":"var(--color-primary-lighten-6)",80:"var(--color-primary-80)",64:"var(--color-primary-64)",48:"var(--color-primary-48)",24:"var(--color-primary-24)",16:"var(--color-primary-16)",12:"var(--color-primary-12)",8:"var(--color-primary-8)",6:"var(--color-primary-6)",4:"var(--color-primary-4)",0:"var(--color-primary-0)",foreground:"var(--color-primary-foreground)","foreground-emphasis":"var(--color-primary-foreground-emphasis)","foreground-muted":"var(--color-primary-foreground-muted)","foreground-onfill":"var(--color-primary-foreground-onfill)",stroke:"var(--color-primary-stroke)","stroke-emphasis":"var(--color-primary-stroke-emphasis)","background-fill":"var(--color-primary-background-fill)","background-fill-emphasis":"var(--color-primary-background-fill-emphasis)","background-soft":"var(--color-primary-background-soft)","background-soft-emphasis":"var(--color-primary-background-soft-emphasis)","background-soft-muted":"var(--color-primary-background-soft-muted)"},secondary:{DEFAULT:"var(--color-secondary)","darken-1":"var(--color-secondary-darken-1)","darken-2":"var(--color-secondary-darken-2)","darken-3":"var(--color-secondary-darken-3)","darken-4":"var(--color-secondary-darken-4)","darken-5":"var(--color-secondary-darken-5)","darken-6":"var(--color-secondary-darken-6)","lighten-1":"var(--color-secondary-lighten-1)","lighten-2":"var(--color-secondary-lighten-2)","lighten-3":"var(--color-secondary-lighten-3)","lighten-4":"var(--color-secondary-lighten-4)","lighten-5":"var(--color-secondary-lighten-5)","lighten-6":"var(--color-secondary-lighten-6)",80:"var(--color-secondary-80)",64:"var(--color-secondary-64)",48:"var(--color-secondary-48)",24:"var(--color-secondary-24)",16:"var(--color-secondary-16)",12:"var(--color-secondary-12)",8:"var(--color-secondary-8)",6:"var(--color-secondary-6)",4:"var(--color-secondary-4)",0:"var(--color-secondary-0)",foreground:"var(--color-secondary-foreground)","foreground-emphasis":"var(--color-secondary-foreground-emphasis)","foreground-muted":"var(--color-secondary-foreground-muted)","foreground-onfill":"var(--color-secondary-foreground-onfill)",stroke:"var(--color-secondary-stroke)","stroke-emphasis":"var(--color-secondary-stroke-emphasis)","background-fill":"var(--color-secondary-background-fill)","background-fill-emphasis":"var(--color-secondary-background-fill-emphasis)","background-soft":"var(--color-secondary-background-soft)","background-soft-emphasis":"var(--color-secondary-background-soft-emphasis)","background-soft-muted":"var(--color-secondary-background-soft-muted)"},gradient:{base:{"blur-1":"var(--color-gradient-base-blur-1)","blur-2":"var(--color-gradient-base-blur-2)","blur-3":"var(--color-gradient-base-blur-3)","bg-1":"var(--color-gradient-base-bg-1)","bg-2":"var(--color-gradient-base-bg-2)"},cir:{"blur-1":"var(--color-gradient-cir-blur-1)","blur-2":"var(--color-gradient-cir-blur-2)","blur-3":"var(--color-gradient-cir-blur-3)","bg-1":"var(--color-gradient-cir-bg-1)","bg-2":"var(--color-gradient-cir-bg-2)"},cm:{"blur-1":"var(--color-gradient-cm-blur-1)","blur-2":"var(--color-gradient-cm-blur-2)","blur-3":"var(--color-gradient-cm-blur-3)","bg-1":"var(--color-gradient-cm-bg-1)","bg-2":"var(--color-gradient-cm-bg-2)"},go:{"blur-1":"var(--color-gradient-go-blur-1)","blur-2":"var(--color-gradient-go-blur-2)","blur-3":"var(--color-gradient-go-blur-3)","bg-1":"var(--color-gradient-go-bg-1)","bg-2":"var(--color-gradient-go-bg-2)"},ped:{"blur-1":"var(--color-gradient-ped-blur-1)","blur-2":"var(--color-gradient-ped-blur-2)","blur-3":"var(--color-gradient-ped-blur-3)","bg-1":"var(--color-gradient-ped-bg-1)","bg-2":"var(--color-gradient-ped-bg-2)"},prev:{"blur-1":"var(--color-gradient-prev-blur-1)","blur-2":"var(--color-gradient-prev-blur-2)","blur-3":"var(--color-gradient-prev-blur-3)","bg-1":"var(--color-gradient-prev-bg-1)","bg-2":"var(--color-gradient-prev-bg-2)"},r1:{"blur-1":"var(--color-gradient-r1-blur-1)","blur-2":"var(--color-gradient-r1-blur-2)","blur-3":"var(--color-gradient-r1-blur-3)","bg-1":"var(--color-gradient-r1-bg-1)","bg-2":"var(--color-gradient-r1-bg-2)"},rplus:{"blur-1":"var(--color-gradient-rplus-blur-1)","blur-2":"var(--color-gradient-rplus-blur-2)","blur-3":"var(--color-gradient-rplus-blur-3)","bg-1":"var(--color-gradient-rplus-bg-1)","bg-2":"var(--color-gradient-rplus-bg-2)"},pt:{"blur-1":"var(--color-gradient-pt-blur-1)","blur-2":"var(--color-gradient-pt-blur-2)","blur-3":"var(--color-gradient-pt-blur-3)","bg-1":"var(--color-gradient-pt-bg-1)","bg-2":"var(--color-gradient-pt-bg-2)"},default:{"blur-1":"var(--color-gradient-default-blur-1)","blur-2":"var(--color-gradient-default-blur-2)","blur-3":"var(--color-gradient-default-blur-3)","bg-1":"var(--color-gradient-default-bg-1)","bg-2":"var(--color-gradient-default-bg-2)"},neutral:{"blur-1":"var(--color-gradient-neutral-blur-1)","blur-2":"var(--color-gradient-neutral-blur-2)","blur-3":"var(--color-gradient-neutral-blur-3)","bg-1":"var(--color-gradient-neutral-bg-1)","bg-2":"var(--color-gradient-neutral-bg-2)"}}},a={sans:"var(--font-sans)"},e={xxs:"var(--text-xxs)",xs:"var(--text-xs)",sm:"var(--text-sm)",base:"var(--text-base)",md:"var(--text-md)",lg:"var(--text-lg)","title-xs":"var(--text-title-xs)","title-sm":"var(--text-title-sm)","title-md":"var(--text-title-md)","title-lg":"var(--text-title-lg)","title-xl":"var(--text-title-xl)","title-xxl":"var(--text-title-xxl)","display-sm":"var(--text-display-sm)","display-md":"var(--text-display-md)","display-lg":"var(--text-display-lg)"},l={xxs:"var(--leading-xxs)",xs:"var(--leading-xs)",sm:"var(--leading-sm)",md:"var(--leading-md)",lg:"var(--leading-lg)","title-xs":"var(--leading-title-xs)","title-sm":"var(--leading-title-sm)","title-md":"var(--leading-title-md)","title-lg":"var(--leading-title-lg)","title-xl":"var(--leading-title-xl)","title-xxl":"var(--leading-title-xxl)","display-sm":"var(--leading-display-sm)","display-md":"var(--leading-display-md)","display-lg":"var(--leading-display-lg)"},c={regular:"var(--font-weight-regular)",medium:"var(--font-weight-medium)",semibold:"var(--font-weight-semibold)",bold:"var(--font-weight-bold)",extrabold:"var(--font-weight-extrabold)"},n={tv:"1920px",desktop:"1024px",tablet:"600px",mobile:"320px",sm:"320px",md:"600px",lg:"1024px",xl:"1920px"},d={tv:"var(--breakpoint-tv)",desktop:"var(--breakpoint-desktop)",tablet:"var(--breakpoint-tablet)",mobile:"var(--breakpoint-mobile)"},i={tv:"var(--container-tv)",desktop:"var(--container-desktop)",tablet:"var(--container-tablet)",mobile:"var(--container-mobile)"},g={width:"var(--sidebar-width)","width-mobile":"var(--sidebar-width-mobile)","width-icon":"var(--sidebar-width-icon)"},v={none:"var(--radius-none)",sm:"var(--radius-sm)",md:"var(--radius-md)",lg:"var(--radius-lg)",pill:"var(--radius-pill)",circular:"var(--radius-circular)",full:"var(--radius-full)"},s={"level-1":"0 0 2px 0 var(--color-drop-shadow-layer-a), 0 2px 4px 0 var(--color-drop-shadow-layer-b)","level-1-subtle":"0 0 2px 0 var(--color-drop-shadow-subtle-layer-a), 0 2px 4px 0 var(--color-drop-shadow-subtle-layer-b)","level-2":"0 1px 4px 0 var(--color-drop-shadow-layer-a), 0 4px 8px 0 var(--color-drop-shadow-layer-b)","level-3":"0 2px 8px 0 var(--color-drop-shadow-layer-a), 0 8px 16px 0 var(--color-drop-shadow-layer-b)","level-4":"0 4px 16px 0 var(--color-drop-shadow-layer-a), 0 16px 32px 0 var(--color-drop-shadow-layer-b)","level-5":"0 8px 32px 0 var(--color-drop-shadow-layer-a), 0 32px 64px 0 var(--color-drop-shadow-layer-b)"},t={"accordion-down":{from:{height:"0"},to:{height:"var(--radix-accordion-content-height)"}},"accordion-up":{from:{height:"var(--radix-accordion-content-height)"},to:{height:"0"}},"collapsible-down":{from:{height:"0"},to:{height:"var(--radix-collapsible-content-height)"}},shine:{from:{backgroundPosition:"200% 0"},to:{backgroundPosition:"-200% 0"}},"collapsible-up":{from:{height:"var(--radix-collapsible-content-height)"},to:{height:"0"}},"fade-in":{from:{opacity:"0"},to:{opacity:"1"}},"fade-out":{from:{opacity:"1"},to:{opacity:"0"}},"index-level-ring-spin":{from:{rotate:"0deg"},to:{rotate:"360deg"}},"index-level-ring-settle":{"0%, 75%":{opacity:"1"},"100%":{opacity:"0.1"}},"loading-mark-pulse":{"0%, 100%":{opacity:"0.2"},"50%":{opacity:"1"}},"connector-node-pulse":{"0%, 100%":{transform:"scale(1)"},"33%":{transform:"scale(calc(76 / 72))"},"66%":{transform:"scale(calc(68 / 72))"}}},u={"accordion-down":"accordion-down 0.2s ease-out","accordion-up":"accordion-up 0.2s ease-out","collapsible-down":"collapsible-down 0.2s ease-out","collapsible-up":"collapsible-up 0.2s ease-out","fade-in":"fade-in 0.2s ease-out","fade-out":"fade-out 0.2s ease-out",shine:"shine 2s infinite linear","index-level-ring-spin":"index-level-ring-spin 1.2s linear 2 forwards","index-level-ring-settle":"index-level-ring-settle 2.4s ease-out forwards","loading-mark-pulse":"loading-mark-pulse 0.8s linear infinite","connector-node-pulse":"connector-node-pulse 1.5s ease-in-out infinite"};export{u as animation,v as borderRadius,s as boxShadow,d as breakpoints,o as colors,i as container,r as content,a as fontFamily,e as fontSize,c as fontWeight,t as keyframes,l as lineHeight,n as screens,g as sidebar};
@@ -840,6 +840,17 @@ export const keyframes = {
840
840
  opacity: "1",
841
841
  },
842
842
  },
843
+ "connector-node-pulse": {
844
+ "0%, 100%": {
845
+ transform: "scale(1)",
846
+ },
847
+ "33%": {
848
+ transform: "scale(calc(76 / 72))",
849
+ },
850
+ "66%": {
851
+ transform: "scale(calc(68 / 72))",
852
+ },
853
+ },
843
854
  };
844
855
 
845
856
  export const animation = {
@@ -853,4 +864,5 @@ export const animation = {
853
864
  "index-level-ring-spin": "index-level-ring-spin 1.2s linear 2 forwards",
854
865
  "index-level-ring-settle": "index-level-ring-settle 2.4s ease-out forwards",
855
866
  "loading-mark-pulse": "loading-mark-pulse 0.8s linear infinite",
867
+ "connector-node-pulse": "connector-node-pulse 1.5s ease-in-out infinite",
856
868
  };
@@ -0,0 +1,11 @@
1
+ import { type ComponentProps } from "react";
2
+ type ConnectorAnchor = "left" | "center" | "right";
3
+ type ConnectorPosition = `${ConnectorAnchor}-to-${ConnectorAnchor}`;
4
+ declare const CONNECTOR_ANCHOR_CLASS: Record<ConnectorAnchor, string>;
5
+ interface ConnectorProps extends ComponentProps<"svg"> {
6
+ position?: ConnectorPosition;
7
+ done?: boolean | null;
8
+ }
9
+ declare const Connector: import("react").ForwardRefExoticComponent<Omit<ConnectorProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
10
+ export { Connector, CONNECTOR_ANCHOR_CLASS };
11
+ export type { ConnectorProps, ConnectorPosition, ConnectorAnchor };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ "use client";
3
+ "use strict";var c=require("react/jsx-runtime"),y=require("react"),g=require("../lib/utils.js"),k=Object.defineProperty,C=Object.defineProperties,N=Object.getOwnPropertyDescriptors,n=Object.getOwnPropertySymbols,p=Object.prototype.hasOwnProperty,$=Object.prototype.propertyIsEnumerable,v=(e,r,t)=>r in e?k(e,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[r]=t,P=(e,r)=>{for(var t in r||(r={}))p.call(r,t)&&v(e,t,r[t]);if(n)for(var t of n(r))$.call(r,t)&&v(e,t,r[t]);return e},R=(e,r)=>C(e,N(r)),H=(e,r)=>{var t={};for(var a in e)p.call(e,a)&&r.indexOf(a)<0&&(t[a]=e[a]);if(e!=null&&n)for(var a of n(e))r.indexOf(a)<0&&$.call(e,a)&&(t[a]=e[a]);return t};const x={left:67,center:200,right:333},L={left:"ml-[calc(16.75%-36px)]",center:"ml-[calc(50%-36px)]",right:"ml-[calc(83.25%-36px)]"},S=8,m=11,o=24,s=7,u=36,V=42,w=4;function q(e,r){if(e===r)return`M${e} ${m}V${u}`;const t=r>e?1:-1;return[`M${e} ${m}`,`V${o-s}`,`Q${e} ${o} ${e+t*s} ${o}`,`H${r-t*s}`,`Q${r} ${o} ${r} ${o+s}`,`V${u}`].join("")}const A=y.forwardRef(function(e,r){var t=e,{position:a="center-to-center",done:f=!1,className:O}=t,b=H(t,["position","done","className"]);const i=f!=null?f:!1,[h,j]=a.split("-to-"),d=x[h],l=x[j];return c.jsxs("svg",R(P({ref:r},b),{"data-slot":"connector","data-position":a,"data-done":i?"true":"false","aria-hidden":"true",focusable:"false",fill:"none",viewBox:"0 0 400 48",xmlns:"http://www.w3.org/2000/svg",className:g.cn("block aspect-[400/48] h-auto w-[400px] min-w-0 max-w-full",i?"text-secondary-stroke-emphasis":"text-gray-stroke-muted",O),children:[c.jsx("circle",{"data-slot":"connector-dot",cx:d,cy:S,r:3,fill:"currentColor"}),c.jsx("path",{"data-slot":"connector-line",d:q(d,l),stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",strokeDasharray:i?void 0:"6 5"}),c.jsx("path",{"data-slot":"connector-arrow",d:`M${l-w} ${u}H${l+w}L${l} ${V}Z`,fill:"currentColor"})]}))});exports.CONNECTOR_ANCHOR_CLASS=L,exports.Connector=A;
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ "use client";
3
+ import{jsxs as j,jsx as i}from"react/jsx-runtime";import{forwardRef as g}from"react";import{cn as k}from"../lib/utils.mjs";var C=Object.defineProperty,N=Object.defineProperties,P=Object.getOwnPropertyDescriptors,c=Object.getOwnPropertySymbols,d=Object.prototype.hasOwnProperty,$=Object.prototype.propertyIsEnumerable,m=(r,e,t)=>e in r?C(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t,H=(r,e)=>{for(var t in e||(e={}))d.call(e,t)&&m(r,t,e[t]);if(c)for(var t of c(e))$.call(e,t)&&m(r,t,e[t]);return r},L=(r,e)=>N(r,P(e)),R=(r,e)=>{var t={};for(var o in r)d.call(r,o)&&e.indexOf(o)<0&&(t[o]=r[o]);if(r!=null&&c)for(var o of c(r))e.indexOf(o)<0&&$.call(r,o)&&(t[o]=r[o]);return t};const v={left:67,center:200,right:333},S={left:"ml-[calc(16.75%-36px)]",center:"ml-[calc(50%-36px)]",right:"ml-[calc(83.25%-36px)]"},V=8,x=11,a=24,n=7,f=36,A=42,w=4;function E(r,e){if(r===e)return`M${r} ${x}V${f}`;const t=e>r?1:-1;return[`M${r} ${x}`,`V${a-n}`,`Q${r} ${a} ${r+t*n} ${a}`,`H${e-t*n}`,`Q${e} ${a} ${e} ${a+n}`,`V${f}`].join("")}const M=g(function(r,e){var t=r,{position:o="center-to-center",done:p=!1,className:O}=t,b=R(t,["position","done","className"]);const s=p!=null?p:!1,[h,y]=o.split("-to-"),u=v[h],l=v[y];return j("svg",L(H({ref:e},b),{"data-slot":"connector","data-position":o,"data-done":s?"true":"false","aria-hidden":"true",focusable:"false",fill:"none",viewBox:"0 0 400 48",xmlns:"http://www.w3.org/2000/svg",className:k("block aspect-[400/48] h-auto w-[400px] min-w-0 max-w-full",s?"text-secondary-stroke-emphasis":"text-gray-stroke-muted",O),children:[i("circle",{"data-slot":"connector-dot",cx:u,cy:V,r:3,fill:"currentColor"}),i("path",{"data-slot":"connector-line",d:E(u,l),stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",strokeDasharray:s?void 0:"6 5"}),i("path",{"data-slot":"connector-arrow",d:`M${l-w} ${f}H${l+w}L${l} ${A}Z`,fill:"currentColor"})]}))});export{S as CONNECTOR_ANCHOR_CLASS,M as Connector};
@@ -0,0 +1,30 @@
1
+ import { type ComponentProps, type MouseEventHandler, type ReactNode } from "react";
2
+ import { type ConnectorPosition } from "./Connector.js";
3
+ type ConnectorNodeStatus = "done" | "current" | "upcoming";
4
+ type ConnectorNodeOwn = {
5
+ status?: ConnectorNodeStatus | null;
6
+ label: string;
7
+ icon?: ReactNode;
8
+ /**
9
+ * Linha que sai da etapa. Com ela, a etapa ocupa a largura da trilha,
10
+ * fica na âncora de início e desenha a linha embaixo. `null` não desenha.
11
+ */
12
+ connector?: ConnectorPosition | null;
13
+ };
14
+ type ConnectorNodeButtonProps = ConnectorNodeOwn & Omit<ComponentProps<"button">, "children" | "type"> & {
15
+ /**
16
+ * Torna a etapa um botão. Mantenha estável durante a vida da etapa:
17
+ * alternar entre função e `undefined` troca o elemento raiz e remonta a etapa.
18
+ */
19
+ onClick: MouseEventHandler<HTMLButtonElement>;
20
+ };
21
+ type ButtonOnlyKey = Exclude<keyof ComponentProps<"button">, keyof ComponentProps<"div">>;
22
+ type ConnectorNodeStaticProps = ConnectorNodeOwn & Omit<ComponentProps<"div">, "children" | "onClick"> & {
23
+ onClick?: undefined;
24
+ } & {
25
+ [K in ButtonOnlyKey]?: never;
26
+ };
27
+ type ConnectorNodeProps = ConnectorNodeButtonProps | ConnectorNodeStaticProps;
28
+ declare const ConnectorNode: import("react").ForwardRefExoticComponent<(Omit<ConnectorNodeButtonProps, "ref"> | Omit<ConnectorNodeStaticProps, "ref">) & import("react").RefAttributes<HTMLButtonElement | HTMLDivElement>>;
29
+ export { ConnectorNode };
30
+ export type { ConnectorNodeProps, ConnectorNodeStatus };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ "use client";
3
+ "use strict";var t=require("react/jsx-runtime"),s=require("class-variance-authority"),_=require("react"),x=require("./Connector.js"),h=require("../lib/utils.js"),E=Object.defineProperty,S=Object.defineProperties,z=Object.getOwnPropertyDescriptors,c=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,k=Object.prototype.propertyIsEnumerable,j=(e,r,n)=>r in e?E(e,r,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[r]=n,i=(e,r)=>{for(var n in r||(r={}))y.call(r,n)&&j(e,n,r[n]);if(c)for(var n of c(r))k.call(r,n)&&j(e,n,r[n]);return e},N=(e,r)=>S(e,z(r)),C=(e,r)=>{var n={};for(var o in e)y.call(e,o)&&r.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&c)for(var o of c(e))r.indexOf(o)<0&&k.call(e,o)&&(n[o]=e[o]);return n};const D={done:"Conclu\xEDdo",current:"Atual",upcoming:"Pr\xF3ximo"},$=s.cva("pointer-events-none absolute inset-0 block origin-center rounded-lg border-2 group-disabled/connector-node:border-gray-stroke-muted group-disabled/connector-node:animate-none",{variants:{status:{done:"border-solid border-secondary-stroke-emphasis",current:"border-solid border-secondary-stroke-emphasis animate-connector-node-pulse motion-reduce:animate-none",upcoming:"border-dashed border-gray-stroke-muted"}}}),F=s.cva("absolute inset-2 flex flex-col overflow-hidden rounded-[10px] px-0.5 pb-1.5 pt-0.5 transition-colors motion-reduce:transition-none group-disabled/connector-node:bg-gray-stroke-muted",{variants:{status:{done:"bg-secondary-stroke-emphasis",current:"bg-gray-stroke-muted [@media(hover:hover)]:group-hover/connector-node:bg-gray-stroke",upcoming:"bg-gray-stroke-muted [@media(hover:hover)]:group-hover/connector-node:bg-gray-stroke"}}}),H=s.cva("flex w-full flex-1 items-center justify-center rounded-md [&_svg]:size-6 [&_svg]:shrink-0 group-disabled/connector-node:text-gray-foreground-muted group-disabled/connector-node:[background:var(--color-surface-card)]",{variants:{status:{done:"text-secondary-foreground-muted [background:linear-gradient(0deg,var(--color-secondary-background-soft-muted),var(--color-secondary-background-soft-muted)),var(--color-surface-card)]",current:"bg-surface-card text-gray-stroke-emphasis",upcoming:"bg-surface-card text-gray-stroke-emphasis"}}}),I=s.cva("w-full text-center text-sm font-semibold leading-sm group-disabled/connector-node:text-gray-foreground-muted",{variants:{status:{done:"text-gray-stroke-emphasis line-through",current:"text-primary-foreground",upcoming:"text-gray-stroke-emphasis"}}}),L=_.forwardRef(function(e,r){var n;const o=(n=e.status)!=null?n:"current",{label:g,className:O,icon:w,connector:d}=e,l=typeof e.onClick=="function",u=l&&o==="current"?void 0:D[o],p=t.jsxs(t.Fragment,{children:[t.jsxs("span",{"data-slot":"connector-node-shape",className:"relative block size-[72px] shrink-0",children:[t.jsx("span",{"data-slot":"connector-node-ring",className:$({status:o})}),t.jsx("span",{"data-slot":"connector-node-base",className:F({status:o}),children:t.jsx("span",{"data-slot":"connector-node-face",className:H({status:o}),children:w})})]}),t.jsx("span",{"data-slot":"connector-node-label","aria-hidden":u?!0:void 0,className:I({status:o}),children:g}),u?t.jsx("span",{className:"sr-only",children:`${g}, ${u}`}):null]}),P=h.cn("inline-flex w-[72px] shrink-0 flex-col items-center gap-1.5 border-0 bg-transparent p-0",l&&"group/connector-node rounded-lg hover:cursor-pointer disabled:pointer-events-none focus:outline-0 focus-visible:ring-4 focus-visible:ring-state-focus",O),m={"data-slot":"connector-node","data-status":o,"aria-current":o==="current"?"step":void 0,className:P};if(l){const a=e,{status:v,label:V,className:W,icon:X,connector:Y,onClick:A}=a,R=C(a,["status","label","className","icon","connector","onClick"]);return f(t.jsx("button",N(i(i({ref:r},R),m),{type:"button",onClick:A,children:p})))}const b=e,{status:T,label:B,className:G,icon:J,connector:Q,onClick:U}=b,q=C(b,["status","label","className","icon","connector","onClick"]);return f(t.jsx("div",N(i(i({ref:r},q),m),{children:p})));function f(a){if(!d)return a;const v=d.split("-to-")[0];return t.jsxs("div",{"data-slot":"connector-node-item",className:"flex w-[400px] min-w-0 max-w-full flex-col",children:[t.jsx("div",{className:h.cn("w-fit",x.CONNECTOR_ANCHOR_CLASS[v]),children:a}),t.jsx(x.Connector,{position:d,done:o==="done"})]})}});exports.ConnectorNode=L;
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ "use client";
3
+ import{jsxs as m,Fragment as R,jsx as n}from"react/jsx-runtime";import{cva as s}from"class-variance-authority";import{forwardRef as S}from"react";import{CONNECTOR_ANCHOR_CLASS as $,Connector as z}from"./Connector.mjs";import{cn as x}from"../lib/utils.mjs";var D=Object.defineProperty,F=Object.defineProperties,H=Object.getOwnPropertyDescriptors,c=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,k=Object.prototype.propertyIsEnumerable,N=(e,r,t)=>r in e?D(e,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[r]=t,d=(e,r)=>{for(var t in r||(r={}))y.call(r,t)&&N(e,t,r[t]);if(c)for(var t of c(r))k.call(r,t)&&N(e,t,r[t]);return e},O=(e,r)=>F(e,H(r)),C=(e,r)=>{var t={};for(var o in e)y.call(e,o)&&r.indexOf(o)<0&&(t[o]=e[o]);if(e!=null&&c)for(var o of c(e))r.indexOf(o)<0&&k.call(e,o)&&(t[o]=e[o]);return t};const I={done:"Conclu\xEDdo",current:"Atual",upcoming:"Pr\xF3ximo"},L=s("pointer-events-none absolute inset-0 block origin-center rounded-lg border-2 group-disabled/connector-node:border-gray-stroke-muted group-disabled/connector-node:animate-none",{variants:{status:{done:"border-solid border-secondary-stroke-emphasis",current:"border-solid border-secondary-stroke-emphasis animate-connector-node-pulse motion-reduce:animate-none",upcoming:"border-dashed border-gray-stroke-muted"}}}),T=s("absolute inset-2 flex flex-col overflow-hidden rounded-[10px] px-0.5 pb-1.5 pt-0.5 transition-colors motion-reduce:transition-none group-disabled/connector-node:bg-gray-stroke-muted",{variants:{status:{done:"bg-secondary-stroke-emphasis",current:"bg-gray-stroke-muted [@media(hover:hover)]:group-hover/connector-node:bg-gray-stroke",upcoming:"bg-gray-stroke-muted [@media(hover:hover)]:group-hover/connector-node:bg-gray-stroke"}}}),q=s("flex w-full flex-1 items-center justify-center rounded-md [&_svg]:size-6 [&_svg]:shrink-0 group-disabled/connector-node:text-gray-foreground-muted group-disabled/connector-node:[background:var(--color-surface-card)]",{variants:{status:{done:"text-secondary-foreground-muted [background:linear-gradient(0deg,var(--color-secondary-background-soft-muted),var(--color-secondary-background-soft-muted)),var(--color-surface-card)]",current:"bg-surface-card text-gray-stroke-emphasis",upcoming:"bg-surface-card text-gray-stroke-emphasis"}}}),B=s("w-full text-center text-sm font-semibold leading-sm group-disabled/connector-node:text-gray-foreground-muted",{variants:{status:{done:"text-gray-stroke-emphasis line-through",current:"text-primary-foreground",upcoming:"text-gray-stroke-emphasis"}}}),G=S(function(e,r){var t;const o=(t=e.status)!=null?t:"current",{label:p,className:w,icon:j,connector:i}=e,l=typeof e.onClick=="function",u=l&&o==="current"?void 0:I[o],g=m(R,{children:[m("span",{"data-slot":"connector-node-shape",className:"relative block size-[72px] shrink-0",children:[n("span",{"data-slot":"connector-node-ring",className:L({status:o})}),n("span",{"data-slot":"connector-node-base",className:T({status:o}),children:n("span",{"data-slot":"connector-node-face",className:q({status:o}),children:j})})]}),n("span",{"data-slot":"connector-node-label","aria-hidden":u?!0:void 0,className:B({status:o}),children:p}),u?n("span",{className:"sr-only",children:`${p}, ${u}`}):null]}),P=x("inline-flex w-[72px] shrink-0 flex-col items-center gap-1.5 border-0 bg-transparent p-0",l&&"group/connector-node rounded-lg hover:cursor-pointer disabled:pointer-events-none focus:outline-0 focus-visible:ring-4 focus-visible:ring-state-focus",w),f={"data-slot":"connector-node","data-status":o,"aria-current":o==="current"?"step":void 0,className:P};if(l){const a=e,{status:h,label:Y,className:Z,icon:K,connector:M,onClick:A}=a,E=C(a,["status","label","className","icon","connector","onClick"]);return v(n("button",O(d(d({ref:r},E),f),{type:"button",onClick:A,children:g})))}const b=e,{status:J,label:Q,className:U,icon:V,connector:W,onClick:X}=b,_=C(b,["status","label","className","icon","connector","onClick"]);return v(n("div",O(d(d({ref:r},_),f),{children:g})));function v(a){if(!i)return a;const h=i.split("-to-")[0];return m("div",{"data-slot":"connector-node-item",className:"flex w-[400px] min-w-0 max-w-full flex-col",children:[n("div",{className:x("w-fit",$[h]),children:a}),n(z,{position:i,done:o==="done"})]})}});export{G as ConnectorNode};
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
  "use client";
3
- "use strict";var t=require("react/jsx-runtime"),x=require("@medway-ui/icons"),Z=require("class-variance-authority"),i=require("radix-ui"),d=require("react"),v=require("./Button.js"),$=require("./Separator.js"),C=require("./Tooltip.js"),B=require("../lib/utils.js"),ee=Object.defineProperty,re=Object.defineProperties,te=Object.getOwnPropertyDescriptors,q=Object.getOwnPropertySymbols,oe=Object.prototype.hasOwnProperty,ne=Object.prototype.propertyIsEnumerable,L=(e,r,o)=>r in e?ee(e,r,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[r]=o,E=(e,r)=>{for(var o in r||(r={}))oe.call(r,o)&&L(e,o,r[o]);if(q)for(var o of q(r))ne.call(r,o)&&L(e,o,r[o]);return e},M=(e,r)=>re(e,te(r));const F=Object.freeze(["cm","go","cir","ped","prev"]),ae={cm:"Azul",go:"Rosa",cir:"Verde",ped:"Amarelo",prev:"Roxo"},ie={toolbar:"Marca\xE7\xE3o da sele\xE7\xE3o",color:"Cor",strikethrough:"Riscar",strikethroughHint:"Riscar: passa um tra\xE7o sobre o trecho para destacar o que n\xE3o importa",underline:"Sublinhar",underlineHint:"Sublinhar: passa um tra\xE7o sob o trecho para destacar o que importa",annotate:"Anotar",annotateHint:"Anotar: abre a nota com o trecho selecionado",pin:"Fixar",pinHint:"Fixar: escolha uma cor e as pr\xF3ximas sele\xE7\xF5es j\xE1 saem marcadas com ela",pinArmedHint:"Escolha a cor que vai ficar fixada",unpinHint:"Desafixar: as pr\xF3ximas sele\xE7\xF5es voltam a abrir esta ferramenta",remove:"Remover marca\xE7\xE3o",removeHint:"Remover a marca\xE7\xE3o deste trecho",colorName:e=>ae[e]},le={cm:"bg-cm-background-fill",go:"bg-go-background-fill",cir:"bg-cir-background-fill",ped:"bg-ped-background-fill",prev:"bg-prev-background-fill"},se={cm:"bg-cm-16 dark:bg-cm-48",go:"bg-go-16 dark:bg-go-48",cir:"bg-cir-16 dark:bg-cir-24",ped:"bg-ped-24 dark:bg-ped-48",prev:"bg-prev-16 dark:bg-prev-48"},de=Z.cva("rounded-[2px] [-webkit-box-decoration-clone:clone] [box-decoration-clone:clone]",{variants:{color:M(E({},se),{none:"bg-transparent"}),strikethrough:{true:"text-gray-foreground-muted line-through",false:"text-inherit"},underline:{true:"underline underline-offset-2",false:""}},defaultVariants:{color:"none",strikethrough:!1,underline:!1}}),ce={cm:"aria-pressed:border-cm-background-fill",go:"aria-pressed:border-go-background-fill",cir:"aria-pressed:border-cir-background-fill",ped:"aria-pressed:border-ped-background-fill",prev:"aria-pressed:border-prev-background-fill"},ue="inline-flex items-center gap-2 rounded-pill border border-gray-stroke-muted bg-surface-elevated py-2 pl-3 pr-2 text-gray-foreground shadow-level-1",D="aria-pressed:bg-primary-background-soft-emphasis aria-pressed:text-primary-foreground-emphasis",pe="aria-pressed:bg-primary-background-fill aria-pressed:text-primary-foreground-onfill aria-pressed:hover:bg-primary-background-fill-emphasis aria-pressed:hover:text-primary-foreground-onfill";function h({label:e,children:r}){return t.jsxs(C.Tooltip,{children:[t.jsx(C.TooltipTrigger,{asChild:!0,children:r}),t.jsx(C.TooltipContent,{side:"bottom",className:"max-w-64",children:e})]})}function be({color:e,pressed:r,name:o,disabled:l,onSelect:c}){return t.jsx(h,{label:o,children:t.jsx(i.Toolbar.Button,{"data-slot":"text-marker-swatch","data-color":e,"aria-label":o,"aria-pressed":r,disabled:l,onClick:()=>c(e),className:B.cn("inline-flex size-8 shrink-0 items-center justify-center rounded-circular border border-transparent p-1 outline-none hover:cursor-pointer focus-visible:ring-[3px] focus-visible:ring-state-focus disabled:pointer-events-none disabled:opacity-50",ce[e]),children:t.jsx("span",{"aria-hidden":"true",className:B.cn("size-6 shrink-0 rounded-circular",le[e])})})})}function _(){return t.jsx($.Separator,{orientation:"vertical",decorative:!0,className:"h-7 self-center"})}function he(e){var r;if("getBoundingClientRect"in e){const p="commonAncestorContainer"in e?e.commonAncestorContainer:e,u=p.nodeType===Node.ELEMENT_NODE?p:(r=p.parentElement)!=null?r:void 0;return{getBoundingClientRect:()=>e.getBoundingClientRect(),contextElement:u}}const{top:o,left:l,width:c,height:j}=e,m={x:l,y:o,top:o,left:l,width:c,height:j,right:l+c,bottom:o+j};return{getBoundingClientRect:()=>M(E({},m),{toJSON:()=>m})}}function me(){const e=d.useRef(!1);return d.useEffect(()=>{const r=()=>{e.current=!1},o=()=>{e.current=!0};return document.addEventListener("pointerdown",r,!0),document.addEventListener("keydown",o,!0),()=>{document.removeEventListener("pointerdown",r,!0),document.removeEventListener("keydown",o,!0)}},[]),e}function V(e,r){return!e||!r||"getBoundingClientRect"in e||"getBoundingClientRect"in r?!1:e.top===r.top&&e.left===r.left&&e.bottom===r.bottom&&e.width===r.width&&e.height===r.height}function ge(e){const[r,o]=d.useState(e);return e!==r&&!V(e,r)&&o(e),V(e,r)?r:e}function fe({open:e=!1,anchor:r=null,mode:o="create",selectedText:l,color:c,colors:j=F,strikethrough:m=!1,underline:p=!1,pinnedColor:u=null,disabled:b=!1,className:U,labels:I,onHighlight:O,onStrikethrough:P,onUnderline:S,onPinnedColorChange:k,onNote:H,onRemove:s,onClose:z}){const n=E(E({},ie),I),J=me(),y=ge(r),g=d.useMemo(()=>y?{current:he(y)}:null,[y]),R=d.useRef(null),T=d.useRef(!1),[A,w]=d.useState(null),[K,W]=d.useState(e);e!==K&&(W(e),e||w(null));const f=e&&A!==null&&A===g,X=!!u||f,G=u?n.unpinHint:f?n.pinArmedHint:n.pinHint,Q=a=>{if(a===c&&!f){s==null||s();return}f&&(w(null),k==null||k(a)),O==null||O(a)},Y=()=>{if(u){k==null||k(null);return}w(f?null:g)};return t.jsxs(i.Popover.Root,{open:e&&!!g,onOpenChange:a=>{a||z==null||z()},children:[g?t.jsx(i.Popover.Anchor,{virtualRef:g}):null,t.jsx(i.Popover.Portal,{children:t.jsx(i.Popover.Content,{asChild:!0,role:"toolbar",side:"top",sideOffset:4,collisionPadding:16,sticky:"always",hideWhenDetached:!0,onOpenAutoFocus:a=>{R.current=document.activeElement instanceof HTMLElement?document.activeElement:null,T.current=!1,J.current||a.preventDefault()},onInteractOutside:()=>{T.current=!0},onCloseAutoFocus:a=>{a.preventDefault();const N=R.current;R.current=null,!T.current&&N!=null&&N.isConnected&&N.focus({preventScroll:!0})},children:t.jsxs(i.Toolbar.Root,{"aria-label":n.toolbar,"data-slot":"text-marker","data-mode":o,"data-text-marker-chrome":"",className:B.cn("z-50",ue,U),children:[t.jsxs(C.TooltipProvider,{delayDuration:200,children:[t.jsx("div",{role:"group","aria-label":n.color,className:"flex items-center gap-2",children:j.map(a=>t.jsx(be,{color:a,name:n.colorName(a),pressed:c===a,disabled:b,onSelect:Q},a))}),t.jsx(_,{}),t.jsx(h,{label:n.strikethroughHint,children:t.jsx(i.Toolbar.Button,{asChild:!0,children:t.jsx(v.Button,{variant:"regular-basic",size:"sm","aria-label":n.strikethrough,"aria-pressed":m,disabled:b,className:D,iconLeft:t.jsx(x.Strikethrough,{size:16,"aria-hidden":"true"}),onClick:()=>m?s==null?void 0:s():P==null?void 0:P()})})}),t.jsx(h,{label:n.underlineHint,children:t.jsx(i.Toolbar.Button,{asChild:!0,children:t.jsx(v.Button,{variant:"regular-basic",size:"sm","aria-label":n.underline,"aria-pressed":p,disabled:b,className:D,iconLeft:t.jsx(x.Underline,{size:16,"aria-hidden":"true"}),onClick:()=>p?s==null?void 0:s():S==null?void 0:S()})})}),t.jsx(h,{label:n.annotateHint,children:t.jsx(i.Toolbar.Button,{asChild:!0,children:t.jsx(v.Button,{variant:"regular-basic",size:"sm","aria-label":n.annotate,disabled:b,iconLeft:t.jsx(x.Note,{size:16,"aria-hidden":"true"}),onClick:()=>H==null?void 0:H(l!=null?l:"")})})}),t.jsx(_,{}),t.jsx(h,{label:G,children:t.jsx(i.Toolbar.Button,{asChild:!0,children:t.jsx(v.Button,{variant:"regular-basic",size:"sm","aria-label":n.pin,"aria-pressed":X,"data-pinned-color":u!=null?u:void 0,disabled:b,className:pe,iconLeft:t.jsx(x.Pin,{size:16,"aria-hidden":"true"}),onClick:Y})})}),o==="edit"?t.jsx(h,{label:n.removeHint,children:t.jsx(i.Toolbar.Button,{asChild:!0,children:t.jsx(v.Button,{variant:"error-soft",size:"sm","aria-label":n.remove,disabled:b,iconLeft:t.jsx(x.CloseSm,{size:16,"aria-hidden":"true"}),onClick:()=>s==null?void 0:s()})})}):null]}),t.jsx(i.Popover.Arrow,{width:16,height:10,className:"-my-px fill-surface-elevated drop-shadow-[0_1px_0_var(--color-gray-stroke-muted)]"})]})})})]})}exports.TEXT_MARKER_COLORS=F,exports.TextMarker=fe,exports.textMarkerMarkVariants=de;
3
+ "use strict";var r=require("react/jsx-runtime"),f=require("@medway-ui/icons"),Z=require("class-variance-authority"),i=require("radix-ui"),d=require("react"),v=require("./Button.js"),$=require("./Separator.js"),C=require("./Tooltip.js"),B=require("../lib/utils.js"),ee=Object.defineProperty,re=Object.defineProperties,te=Object.getOwnPropertyDescriptors,q=Object.getOwnPropertySymbols,oe=Object.prototype.hasOwnProperty,ne=Object.prototype.propertyIsEnumerable,L=(e,t,o)=>t in e?ee(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,E=(e,t)=>{for(var o in t||(t={}))oe.call(t,o)&&L(e,o,t[o]);if(q)for(var o of q(t))ne.call(t,o)&&L(e,o,t[o]);return e},M=(e,t)=>re(e,te(t));const F=Object.freeze(["cm","go","cir","ped","prev"]),ae={cm:"Azul",go:"Rosa",cir:"Verde",ped:"Amarelo",prev:"Roxo"},ie={toolbar:"Marca\xE7\xE3o da sele\xE7\xE3o",color:"Cor",strikethrough:"Riscar",strikethroughHint:"Riscar: passa um tra\xE7o sobre o trecho para destacar o que n\xE3o importa",underline:"Sublinhar",underlineHint:"Sublinhar: passa um tra\xE7o sob o trecho para destacar o que importa",annotate:"Anotar",annotateHint:"Anotar: abre a nota com o trecho selecionado",pin:"Fixar",pinHint:"Fixar: escolha uma cor e as pr\xF3ximas sele\xE7\xF5es j\xE1 saem marcadas com ela",pinArmedHint:"Escolha a cor que vai ficar fixada",unpinHint:"Desafixar: as pr\xF3ximas sele\xE7\xF5es voltam a abrir esta ferramenta",remove:"Remover marca\xE7\xE3o",removeHint:"Remover a marca\xE7\xE3o deste trecho",colorName:e=>ae[e]},le={cm:"bg-cm-background-fill",go:"bg-go-background-fill",cir:"bg-cir-background-fill",ped:"bg-ped-background-fill",prev:"bg-prev-background-fill"},se={cm:"bg-cm-16 dark:bg-cm-48",go:"bg-go-16 dark:bg-go-48",cir:"bg-cir-16 dark:bg-cir-24",ped:"bg-ped-24 dark:bg-ped-48",prev:"bg-prev-16 dark:bg-prev-48"},de=Z.cva("rounded-[2px] [-webkit-box-decoration-clone:clone] [box-decoration-clone:clone]",{variants:{color:M(E({},se),{none:"bg-transparent"}),strikethrough:{true:"text-gray-foreground-muted line-through",false:"text-inherit"},underline:{true:"underline underline-offset-2",false:""}},defaultVariants:{color:"none",strikethrough:!1,underline:!1}}),ce={cm:"aria-pressed:border-cm-background-fill",go:"aria-pressed:border-go-background-fill",cir:"aria-pressed:border-cir-background-fill",ped:"aria-pressed:border-ped-background-fill",prev:"aria-pressed:border-prev-background-fill"},ue="inline-flex max-w-[calc(100vw-32px)] items-center rounded-pill border border-gray-stroke-muted bg-surface-elevated text-gray-foreground shadow-level-1",pe="flex min-w-0 items-center gap-2 overflow-x-auto overscroll-x-contain rounded-pill py-2 pl-3 pr-2 [&>*]:shrink-0",D="aria-pressed:bg-primary-background-soft-emphasis aria-pressed:text-primary-foreground-emphasis",be="aria-pressed:bg-primary-background-fill aria-pressed:text-primary-foreground-onfill aria-pressed:hover:bg-primary-background-fill-emphasis aria-pressed:hover:text-primary-foreground-onfill";function h({label:e,children:t}){return r.jsxs(C.Tooltip,{children:[r.jsx(C.TooltipTrigger,{asChild:!0,children:t}),r.jsx(C.TooltipContent,{side:"bottom",className:"max-w-64",children:e})]})}function he({color:e,pressed:t,name:o,disabled:l,onSelect:c}){return r.jsx(h,{label:o,children:r.jsx(i.Toolbar.Button,{"data-slot":"text-marker-swatch","data-color":e,"aria-label":o,"aria-pressed":t,disabled:l,onClick:()=>c(e),className:B.cn("inline-flex size-8 shrink-0 items-center justify-center rounded-circular border border-transparent p-1 outline-none hover:cursor-pointer focus-visible:ring-[3px] focus-visible:ring-state-focus disabled:pointer-events-none disabled:opacity-50",ce[e]),children:r.jsx("span",{"aria-hidden":"true",className:B.cn("size-6 shrink-0 rounded-circular",le[e])})})})}function _(){return r.jsx($.Separator,{orientation:"vertical",decorative:!0,className:"h-7 self-center"})}function me(e){var t;if("getBoundingClientRect"in e){const p="commonAncestorContainer"in e?e.commonAncestorContainer:e,u=p.nodeType===Node.ELEMENT_NODE?p:(t=p.parentElement)!=null?t:void 0;return{getBoundingClientRect:()=>e.getBoundingClientRect(),contextElement:u}}const{top:o,left:l,width:c,height:j}=e,m={x:l,y:o,top:o,left:l,width:c,height:j,right:l+c,bottom:o+j};return{getBoundingClientRect:()=>M(E({},m),{toJSON:()=>m})}}function ge(){const e=d.useRef(!1);return d.useEffect(()=>{const t=()=>{e.current=!1},o=()=>{e.current=!0};return document.addEventListener("pointerdown",t,!0),document.addEventListener("keydown",o,!0),()=>{document.removeEventListener("pointerdown",t,!0),document.removeEventListener("keydown",o,!0)}},[]),e}function V(e,t){return!e||!t||"getBoundingClientRect"in e||"getBoundingClientRect"in t?!1:e.top===t.top&&e.left===t.left&&e.bottom===t.bottom&&e.width===t.width&&e.height===t.height}function xe(e){const[t,o]=d.useState(e);return e!==t&&!V(e,t)&&o(e),V(e,t)?t:e}function fe({open:e=!1,anchor:t=null,mode:o="create",selectedText:l,color:c,colors:j=F,strikethrough:m=!1,underline:p=!1,pinnedColor:u=null,disabled:b=!1,className:U,labels:I,onHighlight:O,onStrikethrough:S,onUnderline:H,onPinnedColorChange:k,onNote:P,onRemove:s,onClose:z}){const n=E(E({},ie),I),J=ge(),y=xe(t),g=d.useMemo(()=>y?{current:me(y)}:null,[y]),w=d.useRef(null),R=d.useRef(!1),[A,N]=d.useState(null),[K,W]=d.useState(e);e!==K&&(W(e),e||N(null));const x=e&&A!==null&&A===g,X=!!u||x,G=u?n.unpinHint:x?n.pinArmedHint:n.pinHint,Q=a=>{if(a===c&&!x){s==null||s();return}x&&(N(null),k==null||k(a)),O==null||O(a)},Y=()=>{if(u){k==null||k(null);return}N(x?null:g)};return r.jsxs(i.Popover.Root,{open:e&&!!g,onOpenChange:a=>{a||z==null||z()},children:[g?r.jsx(i.Popover.Anchor,{virtualRef:g}):null,r.jsx(i.Popover.Portal,{children:r.jsx(i.Popover.Content,{asChild:!0,role:"toolbar",side:"top",sideOffset:4,collisionPadding:16,sticky:"always",hideWhenDetached:!0,onOpenAutoFocus:a=>{w.current=document.activeElement instanceof HTMLElement?document.activeElement:null,R.current=!1,J.current||a.preventDefault()},onInteractOutside:()=>{R.current=!0},onCloseAutoFocus:a=>{a.preventDefault();const T=w.current;w.current=null,!R.current&&T!=null&&T.isConnected&&T.focus({preventScroll:!0})},children:r.jsxs(i.Toolbar.Root,{"aria-label":n.toolbar,"data-slot":"text-marker","data-mode":o,"data-text-marker-chrome":"",className:B.cn("z-50",ue,U),children:[r.jsx(C.TooltipProvider,{delayDuration:200,children:r.jsxs("div",{className:pe,children:[r.jsx("div",{role:"group","aria-label":n.color,className:"flex items-center gap-2",children:j.map(a=>r.jsx(he,{color:a,name:n.colorName(a),pressed:c===a,disabled:b,onSelect:Q},a))}),r.jsx(_,{}),r.jsx(h,{label:n.strikethroughHint,children:r.jsx(i.Toolbar.Button,{asChild:!0,children:r.jsx(v.Button,{variant:"regular-basic",size:"sm","aria-label":n.strikethrough,"aria-pressed":m,disabled:b,className:D,iconLeft:r.jsx(f.Strikethrough,{size:16,"aria-hidden":"true"}),onClick:()=>m?s==null?void 0:s():S==null?void 0:S()})})}),r.jsx(h,{label:n.underlineHint,children:r.jsx(i.Toolbar.Button,{asChild:!0,children:r.jsx(v.Button,{variant:"regular-basic",size:"sm","aria-label":n.underline,"aria-pressed":p,disabled:b,className:D,iconLeft:r.jsx(f.Underline,{size:16,"aria-hidden":"true"}),onClick:()=>p?s==null?void 0:s():H==null?void 0:H()})})}),r.jsx(h,{label:n.annotateHint,children:r.jsx(i.Toolbar.Button,{asChild:!0,children:r.jsx(v.Button,{variant:"regular-basic",size:"sm","aria-label":n.annotate,disabled:b,iconLeft:r.jsx(f.Note,{size:16,"aria-hidden":"true"}),onClick:()=>P==null?void 0:P(l!=null?l:"")})})}),r.jsx(_,{}),r.jsx(h,{label:G,children:r.jsx(i.Toolbar.Button,{asChild:!0,children:r.jsx(v.Button,{variant:"regular-basic",size:"sm","aria-label":n.pin,"aria-pressed":X,"data-pinned-color":u!=null?u:void 0,disabled:b,className:be,iconLeft:r.jsx(f.Pin,{size:16,"aria-hidden":"true"}),onClick:Y})})}),o==="edit"?r.jsx(h,{label:n.removeHint,children:r.jsx(i.Toolbar.Button,{asChild:!0,children:r.jsx(v.Button,{variant:"error-soft",size:"sm","aria-label":n.remove,disabled:b,iconLeft:r.jsx(f.CloseSm,{size:16,"aria-hidden":"true"}),onClick:()=>s==null?void 0:s()})})}):null]})}),r.jsx(i.Popover.Arrow,{width:16,height:10,className:"-my-px fill-surface-elevated drop-shadow-[0_1px_0_var(--color-gray-stroke-muted)]"})]})})})]})}exports.TEXT_MARKER_COLORS=F,exports.TextMarker=fe,exports.textMarkerMarkVariants=de;
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
  "use client";
3
- import{jsxs as C,jsx as t}from"react/jsx-runtime";import{Strikethrough as Z,Underline as ee,Note as re,Pin as te,CloseSm as ne}from"@medway-ui/icons";import{cva as oe}from"class-variance-authority";import{Popover as g,Toolbar as c}from"radix-ui";import{useMemo as ae,useRef as H,useState as z,useEffect as ie}from"react";import{Button as v}from"./Button.mjs";import{Separator as le}from"./Separator.mjs";import{TooltipProvider as se,Tooltip as de,TooltipTrigger as ce,TooltipContent as ue}from"./Tooltip.mjs";import{cn as T}from"../lib/utils.mjs";var pe=Object.defineProperty,me=Object.defineProperties,he=Object.getOwnPropertyDescriptors,M=Object.getOwnPropertySymbols,be=Object.prototype.hasOwnProperty,fe=Object.prototype.propertyIsEnumerable,F=(e,r,n)=>r in e?pe(e,r,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[r]=n,E=(e,r)=>{for(var n in r||(r={}))be.call(r,n)&&F(e,n,r[n]);if(M)for(var n of M(r))fe.call(r,n)&&F(e,n,r[n]);return e},D=(e,r)=>me(e,he(r));const _=Object.freeze(["cm","go","cir","ped","prev"]),ge={cm:"Azul",go:"Rosa",cir:"Verde",ped:"Amarelo",prev:"Roxo"},ve={toolbar:"Marca\xE7\xE3o da sele\xE7\xE3o",color:"Cor",strikethrough:"Riscar",strikethroughHint:"Riscar: passa um tra\xE7o sobre o trecho para destacar o que n\xE3o importa",underline:"Sublinhar",underlineHint:"Sublinhar: passa um tra\xE7o sob o trecho para destacar o que importa",annotate:"Anotar",annotateHint:"Anotar: abre a nota com o trecho selecionado",pin:"Fixar",pinHint:"Fixar: escolha uma cor e as pr\xF3ximas sele\xE7\xF5es j\xE1 saem marcadas com ela",pinArmedHint:"Escolha a cor que vai ficar fixada",unpinHint:"Desafixar: as pr\xF3ximas sele\xE7\xF5es voltam a abrir esta ferramenta",remove:"Remover marca\xE7\xE3o",removeHint:"Remover a marca\xE7\xE3o deste trecho",colorName:e=>ge[e]},xe={cm:"bg-cm-background-fill",go:"bg-go-background-fill",cir:"bg-cir-background-fill",ped:"bg-ped-background-fill",prev:"bg-prev-background-fill"},ke={cm:"bg-cm-16 dark:bg-cm-48",go:"bg-go-16 dark:bg-go-48",cir:"bg-cir-16 dark:bg-cir-24",ped:"bg-ped-24 dark:bg-ped-48",prev:"bg-prev-16 dark:bg-prev-48"},Ce=oe("rounded-[2px] [-webkit-box-decoration-clone:clone] [box-decoration-clone:clone]",{variants:{color:D(E({},ke),{none:"bg-transparent"}),strikethrough:{true:"text-gray-foreground-muted line-through",false:"text-inherit"},underline:{true:"underline underline-offset-2",false:""}},defaultVariants:{color:"none",strikethrough:!1,underline:!1}}),Ee={cm:"aria-pressed:border-cm-background-fill",go:"aria-pressed:border-go-background-fill",cir:"aria-pressed:border-cir-background-fill",ped:"aria-pressed:border-ped-background-fill",prev:"aria-pressed:border-prev-background-fill"},ye="inline-flex items-center gap-2 rounded-pill border border-gray-stroke-muted bg-surface-elevated py-2 pl-3 pr-2 text-gray-foreground shadow-level-1",V="aria-pressed:bg-primary-background-soft-emphasis aria-pressed:text-primary-foreground-emphasis",Re="aria-pressed:bg-primary-background-fill aria-pressed:text-primary-foreground-onfill aria-pressed:hover:bg-primary-background-fill-emphasis aria-pressed:hover:text-primary-foreground-onfill";function m({label:e,children:r}){return C(de,{children:[t(ce,{asChild:!0,children:r}),t(ue,{side:"bottom",className:"max-w-64",children:e})]})}function we({color:e,pressed:r,name:n,disabled:i,onSelect:s}){return t(m,{label:n,children:t(c.Button,{"data-slot":"text-marker-swatch","data-color":e,"aria-label":n,"aria-pressed":r,disabled:i,onClick:()=>s(e),className:T("inline-flex size-8 shrink-0 items-center justify-center rounded-circular border border-transparent p-1 outline-none hover:cursor-pointer focus-visible:ring-[3px] focus-visible:ring-state-focus disabled:pointer-events-none disabled:opacity-50",Ee[e]),children:t("span",{"aria-hidden":"true",className:T("size-6 shrink-0 rounded-circular",xe[e])})})})}function q(){return t(le,{orientation:"vertical",decorative:!0,className:"h-7 self-center"})}function Ne(e){var r;if("getBoundingClientRect"in e){const u="commonAncestorContainer"in e?e.commonAncestorContainer:e,d=u.nodeType===Node.ELEMENT_NODE?u:(r=u.parentElement)!=null?r:void 0;return{getBoundingClientRect:()=>e.getBoundingClientRect(),contextElement:d}}const{top:n,left:i,width:s,height:x}=e,h={x:i,y:n,top:n,left:i,width:s,height:x,right:i+s,bottom:n+x};return{getBoundingClientRect:()=>D(E({},h),{toJSON:()=>h})}}function Oe(){const e=H(!1);return ie(()=>{const r=()=>{e.current=!1},n=()=>{e.current=!0};return document.addEventListener("pointerdown",r,!0),document.addEventListener("keydown",n,!0),()=>{document.removeEventListener("pointerdown",r,!0),document.removeEventListener("keydown",n,!0)}},[]),e}function U(e,r){return!e||!r||"getBoundingClientRect"in e||"getBoundingClientRect"in r?!1:e.top===r.top&&e.left===r.left&&e.bottom===r.bottom&&e.width===r.width&&e.height===r.height}function He(e){const[r,n]=z(e);return e!==r&&!U(e,r)&&n(e),U(e,r)?r:e}function ze({open:e=!1,anchor:r=null,mode:n="create",selectedText:i,color:s,colors:x=_,strikethrough:h=!1,underline:u=!1,pinnedColor:d=null,disabled:p=!1,className:W,labels:I,onHighlight:A,onStrikethrough:B,onUnderline:S,onPinnedColorChange:k,onNote:P,onRemove:l,onClose:j}){const o=E(E({},ve),I),J=Oe(),y=He(r),b=ae(()=>y?{current:Ne(y)}:null,[y]),R=H(null),w=H(!1),[L,N]=z(null),[K,X]=z(e);e!==K&&(X(e),e||N(null));const f=e&&L!==null&&L===b,$=!!d||f,G=d?o.unpinHint:f?o.pinArmedHint:o.pinHint,Q=a=>{if(a===s&&!f){l==null||l();return}f&&(N(null),k==null||k(a)),A==null||A(a)},Y=()=>{if(d){k==null||k(null);return}N(f?null:b)};return C(g.Root,{open:e&&!!b,onOpenChange:a=>{a||j==null||j()},children:[b?t(g.Anchor,{virtualRef:b}):null,t(g.Portal,{children:t(g.Content,{asChild:!0,role:"toolbar",side:"top",sideOffset:4,collisionPadding:16,sticky:"always",hideWhenDetached:!0,onOpenAutoFocus:a=>{R.current=document.activeElement instanceof HTMLElement?document.activeElement:null,w.current=!1,J.current||a.preventDefault()},onInteractOutside:()=>{w.current=!0},onCloseAutoFocus:a=>{a.preventDefault();const O=R.current;R.current=null,!w.current&&O!=null&&O.isConnected&&O.focus({preventScroll:!0})},children:C(c.Root,{"aria-label":o.toolbar,"data-slot":"text-marker","data-mode":n,"data-text-marker-chrome":"",className:T("z-50",ye,W),children:[C(se,{delayDuration:200,children:[t("div",{role:"group","aria-label":o.color,className:"flex items-center gap-2",children:x.map(a=>t(we,{color:a,name:o.colorName(a),pressed:s===a,disabled:p,onSelect:Q},a))}),t(q,{}),t(m,{label:o.strikethroughHint,children:t(c.Button,{asChild:!0,children:t(v,{variant:"regular-basic",size:"sm","aria-label":o.strikethrough,"aria-pressed":h,disabled:p,className:V,iconLeft:t(Z,{size:16,"aria-hidden":"true"}),onClick:()=>h?l==null?void 0:l():B==null?void 0:B()})})}),t(m,{label:o.underlineHint,children:t(c.Button,{asChild:!0,children:t(v,{variant:"regular-basic",size:"sm","aria-label":o.underline,"aria-pressed":u,disabled:p,className:V,iconLeft:t(ee,{size:16,"aria-hidden":"true"}),onClick:()=>u?l==null?void 0:l():S==null?void 0:S()})})}),t(m,{label:o.annotateHint,children:t(c.Button,{asChild:!0,children:t(v,{variant:"regular-basic",size:"sm","aria-label":o.annotate,disabled:p,iconLeft:t(re,{size:16,"aria-hidden":"true"}),onClick:()=>P==null?void 0:P(i!=null?i:"")})})}),t(q,{}),t(m,{label:G,children:t(c.Button,{asChild:!0,children:t(v,{variant:"regular-basic",size:"sm","aria-label":o.pin,"aria-pressed":$,"data-pinned-color":d!=null?d:void 0,disabled:p,className:Re,iconLeft:t(te,{size:16,"aria-hidden":"true"}),onClick:Y})})}),n==="edit"?t(m,{label:o.removeHint,children:t(c.Button,{asChild:!0,children:t(v,{variant:"error-soft",size:"sm","aria-label":o.remove,disabled:p,iconLeft:t(ne,{size:16,"aria-hidden":"true"}),onClick:()=>l==null?void 0:l()})})}):null]}),t(g.Arrow,{width:16,height:10,className:"-my-px fill-surface-elevated drop-shadow-[0_1px_0_var(--color-gray-stroke-muted)]"})]})})})]})}export{_ as TEXT_MARKER_COLORS,ze as TextMarker,Ce as textMarkerMarkVariants};
3
+ import{jsxs as C,jsx as t}from"react/jsx-runtime";import{Strikethrough as Z,Underline as ee,Note as re,Pin as te,CloseSm as ne}from"@medway-ui/icons";import{cva as oe}from"class-variance-authority";import{Popover as g,Toolbar as c}from"radix-ui";import{useMemo as ae,useRef as H,useState as z,useEffect as ie}from"react";import{Button as v}from"./Button.mjs";import{Separator as le}from"./Separator.mjs";import{TooltipProvider as se,Tooltip as de,TooltipTrigger as ce,TooltipContent as ue}from"./Tooltip.mjs";import{cn as T}from"../lib/utils.mjs";var me=Object.defineProperty,pe=Object.defineProperties,he=Object.getOwnPropertyDescriptors,M=Object.getOwnPropertySymbols,be=Object.prototype.hasOwnProperty,fe=Object.prototype.propertyIsEnumerable,F=(e,r,n)=>r in e?me(e,r,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[r]=n,E=(e,r)=>{for(var n in r||(r={}))be.call(r,n)&&F(e,n,r[n]);if(M)for(var n of M(r))fe.call(r,n)&&F(e,n,r[n]);return e},D=(e,r)=>pe(e,he(r));const _=Object.freeze(["cm","go","cir","ped","prev"]),ge={cm:"Azul",go:"Rosa",cir:"Verde",ped:"Amarelo",prev:"Roxo"},ve={toolbar:"Marca\xE7\xE3o da sele\xE7\xE3o",color:"Cor",strikethrough:"Riscar",strikethroughHint:"Riscar: passa um tra\xE7o sobre o trecho para destacar o que n\xE3o importa",underline:"Sublinhar",underlineHint:"Sublinhar: passa um tra\xE7o sob o trecho para destacar o que importa",annotate:"Anotar",annotateHint:"Anotar: abre a nota com o trecho selecionado",pin:"Fixar",pinHint:"Fixar: escolha uma cor e as pr\xF3ximas sele\xE7\xF5es j\xE1 saem marcadas com ela",pinArmedHint:"Escolha a cor que vai ficar fixada",unpinHint:"Desafixar: as pr\xF3ximas sele\xE7\xF5es voltam a abrir esta ferramenta",remove:"Remover marca\xE7\xE3o",removeHint:"Remover a marca\xE7\xE3o deste trecho",colorName:e=>ge[e]},xe={cm:"bg-cm-background-fill",go:"bg-go-background-fill",cir:"bg-cir-background-fill",ped:"bg-ped-background-fill",prev:"bg-prev-background-fill"},ke={cm:"bg-cm-16 dark:bg-cm-48",go:"bg-go-16 dark:bg-go-48",cir:"bg-cir-16 dark:bg-cir-24",ped:"bg-ped-24 dark:bg-ped-48",prev:"bg-prev-16 dark:bg-prev-48"},Ce=oe("rounded-[2px] [-webkit-box-decoration-clone:clone] [box-decoration-clone:clone]",{variants:{color:D(E({},ke),{none:"bg-transparent"}),strikethrough:{true:"text-gray-foreground-muted line-through",false:"text-inherit"},underline:{true:"underline underline-offset-2",false:""}},defaultVariants:{color:"none",strikethrough:!1,underline:!1}}),Ee={cm:"aria-pressed:border-cm-background-fill",go:"aria-pressed:border-go-background-fill",cir:"aria-pressed:border-cir-background-fill",ped:"aria-pressed:border-ped-background-fill",prev:"aria-pressed:border-prev-background-fill"},ye="inline-flex max-w-[calc(100vw-32px)] items-center rounded-pill border border-gray-stroke-muted bg-surface-elevated text-gray-foreground shadow-level-1",we="flex min-w-0 items-center gap-2 overflow-x-auto overscroll-x-contain rounded-pill py-2 pl-3 pr-2 [&>*]:shrink-0",V="aria-pressed:bg-primary-background-soft-emphasis aria-pressed:text-primary-foreground-emphasis",Ne="aria-pressed:bg-primary-background-fill aria-pressed:text-primary-foreground-onfill aria-pressed:hover:bg-primary-background-fill-emphasis aria-pressed:hover:text-primary-foreground-onfill";function p({label:e,children:r}){return C(de,{children:[t(ce,{asChild:!0,children:r}),t(ue,{side:"bottom",className:"max-w-64",children:e})]})}function Re({color:e,pressed:r,name:n,disabled:i,onSelect:s}){return t(p,{label:n,children:t(c.Button,{"data-slot":"text-marker-swatch","data-color":e,"aria-label":n,"aria-pressed":r,disabled:i,onClick:()=>s(e),className:T("inline-flex size-8 shrink-0 items-center justify-center rounded-circular border border-transparent p-1 outline-none hover:cursor-pointer focus-visible:ring-[3px] focus-visible:ring-state-focus disabled:pointer-events-none disabled:opacity-50",Ee[e]),children:t("span",{"aria-hidden":"true",className:T("size-6 shrink-0 rounded-circular",xe[e])})})})}function q(){return t(le,{orientation:"vertical",decorative:!0,className:"h-7 self-center"})}function Oe(e){var r;if("getBoundingClientRect"in e){const u="commonAncestorContainer"in e?e.commonAncestorContainer:e,d=u.nodeType===Node.ELEMENT_NODE?u:(r=u.parentElement)!=null?r:void 0;return{getBoundingClientRect:()=>e.getBoundingClientRect(),contextElement:d}}const{top:n,left:i,width:s,height:x}=e,h={x:i,y:n,top:n,left:i,width:s,height:x,right:i+s,bottom:n+x};return{getBoundingClientRect:()=>D(E({},h),{toJSON:()=>h})}}function He(){const e=H(!1);return ie(()=>{const r=()=>{e.current=!1},n=()=>{e.current=!0};return document.addEventListener("pointerdown",r,!0),document.addEventListener("keydown",n,!0),()=>{document.removeEventListener("pointerdown",r,!0),document.removeEventListener("keydown",n,!0)}},[]),e}function U(e,r){return!e||!r||"getBoundingClientRect"in e||"getBoundingClientRect"in r?!1:e.top===r.top&&e.left===r.left&&e.bottom===r.bottom&&e.width===r.width&&e.height===r.height}function ze(e){const[r,n]=z(e);return e!==r&&!U(e,r)&&n(e),U(e,r)?r:e}function Te({open:e=!1,anchor:r=null,mode:n="create",selectedText:i,color:s,colors:x=_,strikethrough:h=!1,underline:u=!1,pinnedColor:d=null,disabled:m=!1,className:W,labels:I,onHighlight:A,onStrikethrough:S,onUnderline:B,onPinnedColorChange:k,onNote:j,onRemove:l,onClose:L}){const o=E(E({},ve),I),J=He(),y=ze(r),b=ae(()=>y?{current:Oe(y)}:null,[y]),w=H(null),N=H(!1),[P,R]=z(null),[K,X]=z(e);e!==K&&(X(e),e||R(null));const f=e&&P!==null&&P===b,$=!!d||f,G=d?o.unpinHint:f?o.pinArmedHint:o.pinHint,Q=a=>{if(a===s&&!f){l==null||l();return}f&&(R(null),k==null||k(a)),A==null||A(a)},Y=()=>{if(d){k==null||k(null);return}R(f?null:b)};return C(g.Root,{open:e&&!!b,onOpenChange:a=>{a||L==null||L()},children:[b?t(g.Anchor,{virtualRef:b}):null,t(g.Portal,{children:t(g.Content,{asChild:!0,role:"toolbar",side:"top",sideOffset:4,collisionPadding:16,sticky:"always",hideWhenDetached:!0,onOpenAutoFocus:a=>{w.current=document.activeElement instanceof HTMLElement?document.activeElement:null,N.current=!1,J.current||a.preventDefault()},onInteractOutside:()=>{N.current=!0},onCloseAutoFocus:a=>{a.preventDefault();const O=w.current;w.current=null,!N.current&&O!=null&&O.isConnected&&O.focus({preventScroll:!0})},children:C(c.Root,{"aria-label":o.toolbar,"data-slot":"text-marker","data-mode":n,"data-text-marker-chrome":"",className:T("z-50",ye,W),children:[t(se,{delayDuration:200,children:C("div",{className:we,children:[t("div",{role:"group","aria-label":o.color,className:"flex items-center gap-2",children:x.map(a=>t(Re,{color:a,name:o.colorName(a),pressed:s===a,disabled:m,onSelect:Q},a))}),t(q,{}),t(p,{label:o.strikethroughHint,children:t(c.Button,{asChild:!0,children:t(v,{variant:"regular-basic",size:"sm","aria-label":o.strikethrough,"aria-pressed":h,disabled:m,className:V,iconLeft:t(Z,{size:16,"aria-hidden":"true"}),onClick:()=>h?l==null?void 0:l():S==null?void 0:S()})})}),t(p,{label:o.underlineHint,children:t(c.Button,{asChild:!0,children:t(v,{variant:"regular-basic",size:"sm","aria-label":o.underline,"aria-pressed":u,disabled:m,className:V,iconLeft:t(ee,{size:16,"aria-hidden":"true"}),onClick:()=>u?l==null?void 0:l():B==null?void 0:B()})})}),t(p,{label:o.annotateHint,children:t(c.Button,{asChild:!0,children:t(v,{variant:"regular-basic",size:"sm","aria-label":o.annotate,disabled:m,iconLeft:t(re,{size:16,"aria-hidden":"true"}),onClick:()=>j==null?void 0:j(i!=null?i:"")})})}),t(q,{}),t(p,{label:G,children:t(c.Button,{asChild:!0,children:t(v,{variant:"regular-basic",size:"sm","aria-label":o.pin,"aria-pressed":$,"data-pinned-color":d!=null?d:void 0,disabled:m,className:Ne,iconLeft:t(te,{size:16,"aria-hidden":"true"}),onClick:Y})})}),n==="edit"?t(p,{label:o.removeHint,children:t(c.Button,{asChild:!0,children:t(v,{variant:"error-soft",size:"sm","aria-label":o.remove,disabled:m,iconLeft:t(ne,{size:16,"aria-hidden":"true"}),onClick:()=>l==null?void 0:l()})})}):null]})}),t(g.Arrow,{width:16,height:10,className:"-my-px fill-surface-elevated drop-shadow-[0_1px_0_var(--color-gray-stroke-muted)]"})]})})})]})}export{_ as TEXT_MARKER_COLORS,Te as TextMarker,Ce as textMarkerMarkVariants};
@@ -0,0 +1,24 @@
1
+ import { type ComponentProps, type ReactNode } from "react";
2
+ import { type ConnectorAnchor } from "./Connector.js";
3
+ import { type ConnectorNodeStatus } from "./ConnectorNode.js";
4
+ type TrailStepStatus = ConnectorNodeStatus;
5
+ type TrailStepPosition = ConnectorAnchor;
6
+ type TrailStepItem = {
7
+ id: string;
8
+ label: string;
9
+ icon: ReactNode;
10
+ status: TrailStepStatus;
11
+ position?: TrailStepPosition;
12
+ disabled?: boolean;
13
+ };
14
+ type TrailStepProps = Omit<ComponentProps<"ol">, "children" | "onClick"> & {
15
+ steps: readonly TrailStepItem[];
16
+ /**
17
+ * Torna as etapas botões. Mantenha estável: alternar entre função e
18
+ * `undefined` troca o elemento de cada etapa e remonta a trilha.
19
+ */
20
+ onStepClick?: (step: TrailStepItem, index: number) => void;
21
+ };
22
+ declare const TrailStep: import("react").ForwardRefExoticComponent<Omit<TrailStepProps, "ref"> & import("react").RefAttributes<HTMLOListElement>>;
23
+ export { TrailStep };
24
+ export type { TrailStepItem, TrailStepPosition, TrailStepProps, TrailStepStatus, };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ "use client";
3
+ "use strict";var n=require("react/jsx-runtime"),h=require("react"),q=require("./Connector.js"),O=require("./ConnectorNode.js"),j=require("../lib/utils.js"),P=Object.defineProperty,R=Object.defineProperties,g=Object.getOwnPropertyDescriptors,i=Object.getOwnPropertySymbols,m=Object.prototype.hasOwnProperty,C=Object.prototype.propertyIsEnumerable,N=(e,r,a)=>r in e?P(e,r,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[r]=a,s=(e,r)=>{for(var a in r||(r={}))m.call(r,a)&&N(e,a,r[a]);if(i)for(var a of i(r))C.call(r,a)&&N(e,a,r[a]);return e},y=(e,r)=>R(e,g(r)),k=(e,r)=>{var a={};for(var l in e)m.call(e,l)&&r.indexOf(l)<0&&(a[l]=e[l]);if(e!=null&&i)for(var l of i(e))r.indexOf(l)<0&&C.call(e,l)&&(a[l]=e[l]);return a};const A=h.forwardRef(function(e,r){var a=e,{steps:l,onStepClick:c,className:w}=a,S=k(a,["steps","onStepClick","className"]);return n.jsx("ol",y(s({ref:r},S),{"data-slot":"trail-step",className:j.cn("m-0 flex w-[400px] max-w-full list-none flex-col p-0",w),children:l.map((t,u)=>{var p,f;const o=(p=t.position)!=null?p:"center",d=l[u+1],v=d?`${o}-to-${(f=d.position)!=null?f:"center"}`:null,b={status:t.status,label:t.label,icon:t.icon,connector:v},x=c?n.jsx(O.ConnectorNode,y(s({},b),{onClick:()=>c(t,u),disabled:t.disabled})):n.jsx(O.ConnectorNode,s({},b));return n.jsx("li",{"data-slot":"trail-step-item","data-position":o,className:"flex flex-col",children:v?x:n.jsx("div",{className:j.cn("w-fit",q.CONNECTOR_ANCHOR_CLASS[o]),children:x})},t.id)})}))});exports.TrailStep=A;
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ "use client";
3
+ import{jsx as o}from"react/jsx-runtime";import{forwardRef as h}from"react";import{CONNECTOR_ANCHOR_CLASS as P}from"./Connector.mjs";import{ConnectorNode as O}from"./ConnectorNode.mjs";import{cn as x}from"../lib/utils.mjs";var R=Object.defineProperty,g=Object.defineProperties,k=Object.getOwnPropertyDescriptors,i=Object.getOwnPropertySymbols,N=Object.prototype.hasOwnProperty,y=Object.prototype.propertyIsEnumerable,C=(e,r,a)=>r in e?R(e,r,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[r]=a,n=(e,r)=>{for(var a in r||(r={}))N.call(r,a)&&C(e,a,r[a]);if(i)for(var a of i(r))y.call(r,a)&&C(e,a,r[a]);return e},w=(e,r)=>g(e,k(r)),A=(e,r)=>{var a={};for(var l in e)N.call(e,l)&&r.indexOf(l)<0&&(a[l]=e[l]);if(e!=null&&i)for(var l of i(e))r.indexOf(l)<0&&y.call(e,l)&&(a[l]=e[l]);return a};const T=h(function(e,r){var a=e,{steps:l,onStepClick:c,className:j}=a,S=A(a,["steps","onStepClick","className"]);return o("ol",w(n({ref:r},S),{"data-slot":"trail-step",className:x("m-0 flex w-[400px] max-w-full list-none flex-col p-0",j),children:l.map((t,p)=>{var f,m;const s=(f=t.position)!=null?f:"center",u=l[p+1],d=u?`${s}-to-${(m=u.position)!=null?m:"center"}`:null,b={status:t.status,label:t.label,icon:t.icon,connector:d},v=c?o(O,w(n({},b),{onClick:()=>c(t,p),disabled:t.disabled})):o(O,n({},b));return o("li",{"data-slot":"trail-step-item","data-position":s,className:"flex flex-col",children:d?v:o("div",{className:x("w-fit",P[s]),children:v})},t.id)})}))});export{T as TrailStep};
package/dist/index.d.ts CHANGED
@@ -34,6 +34,10 @@ export { Collapsible, CollapsibleContent, CollapsibleTrigger, } from "./componen
34
34
  export type { AnimationType, CollapsibleContentProps, CollapsibleProps, } from "./components/Collapsible.js";
35
35
  export { ConfirmDeleteButton } from "./components/ConfirmDeleteButton.js";
36
36
  export type { ConfirmDeleteButtonProps } from "./components/ConfirmDeleteButton.js";
37
+ export { Connector } from "./components/Connector.js";
38
+ export type { ConnectorAnchor, ConnectorPosition, ConnectorProps, } from "./components/Connector.js";
39
+ export { ConnectorNode } from "./components/ConnectorNode.js";
40
+ export type { ConnectorNodeProps, ConnectorNodeStatus, } from "./components/ConnectorNode.js";
37
41
  export { Dialog, DialogClose, DialogContainer, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, } from "./components/Dialog.js";
38
42
  export type { DialogContainerProps, DialogContentProps, DialogFooterProps, DialogHeaderProps, DialogTitleProps, } from "./components/Dialog.js";
39
43
  export { Dismiss, dismissVariants } from "./components/Dismiss.js";
@@ -100,4 +104,6 @@ export { Toast, ToastAction, ToastClose, ToastDescription, ToastProvider, ToastT
100
104
  export type { ToastActionElement, ToastActionProps, ToastActionVariant, ToastCloseProps, ToastProps, ToastProviderProps, } from "./components/Toast.js";
101
105
  export { useToast } from "./hooks/use-toast.js";
102
106
  export { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, } from "./components/Tooltip.js";
107
+ export { TrailStep } from "./components/TrailStep.js";
108
+ export type { TrailStepItem, TrailStepPosition, TrailStepProps, TrailStepStatus, } from "./components/TrailStep.js";
103
109
  export { useIsMobile } from "./hooks/use-mobile.js";
package/dist/index.js CHANGED
@@ -1,2 +1,2 @@
1
1
  "use strict";
2
- "use strict";var C=require("./components/Alert.js"),n=require("./components/AlertDialog.js"),S=require("./components/Autocomplete.js"),P=require("./components/Avatar.js"),N=require("./components/Badge.js"),v=require("./components/Breadcrumb.js"),O=require("./components/Button.js"),t=require("./components/CardWeek.js"),g=require("./components/CardModule.js"),p=require("./components/CardTopic.js"),D=require("./components/CardContinue.js"),i=require("./components/CardLesson.js"),l=require("./components/CardNews.js"),T=require("./components/Carousel.js"),W=require("./components/Checkbox.js"),m=require("./components/Chip.js"),B=require("./components/Collapsible.js"),z=require("./components/ConfirmDeleteButton.js"),d=require("./components/Dialog.js"),F=require("./components/Dismiss.js"),a=require("./components/DropdownMenu.js"),I=require("./components/DatePicker.js"),L=require("./components/IndexLevel.js"),G=require("./components/IndexLevelAnimated.js"),s=require("./components/Input.js"),y=require("./components/Label.js"),Q=require("./components/FallbackImage.js"),U=require("./components/Loading.js"),q=require("./components/LoadingOverlay.js"),f=require("./components/Logo.js"),u=require("./components/Offcanvas.js"),c=require("./components/Pagination.js"),j=require("./components/Progress.js"),J=require("./components/ProgressCircle.js"),h=require("./components/RadioGroup.js"),r=require("./components/Ranking.js"),V=require("./components/Rating.js"),E=require("./components/ScrollArea.js"),o=require("./components/Select.js"),M=require("./components/SegmentControl.js"),Y=require("./components/Separator.js"),e=require("./components/Sidebar.js"),Z=require("./components/Skeleton.js"),H=require("./components/Switch.js"),k=require("./components/Switcher.js"),A=require("./components/Tabs.js"),_=require("./components/Tag.js"),K=require("./components/TagPicker.js"),x=require("./components/TextMarker.js"),X=require("./components/Textarea.js"),w=require("./components/Tile.js"),b=require("./components/Toast.js"),$=require("./hooks/use-toast.js"),R=require("./components/Tooltip.js"),ee=require("./hooks/use-mobile.js");exports.Alert=C.Alert,exports.AlertActions=C.AlertActions,exports.AlertButton=C.AlertButton,exports.AlertContainer=C.AlertContainer,exports.AlertContent=C.AlertContent,exports.AlertDescription=C.AlertDescription,exports.AlertIcon=C.AlertIcon,exports.AlertTitle=C.AlertTitle,exports.alertButtonVariants=C.alertButtonVariants,exports.alertVariants=C.alertVariants,exports.AlertDialog=n.AlertDialog,exports.AlertDialogAction=n.AlertDialogAction,exports.AlertDialogCancel=n.AlertDialogCancel,exports.AlertDialogContent=n.AlertDialogContent,exports.AlertDialogDescription=n.AlertDialogDescription,exports.AlertDialogFooter=n.AlertDialogFooter,exports.AlertDialogHeader=n.AlertDialogHeader,exports.AlertDialogIcon=n.AlertDialogIcon,exports.AlertDialogOverlay=n.AlertDialogOverlay,exports.AlertDialogPortal=n.AlertDialogPortal,exports.AlertDialogTag=n.AlertDialogTag,exports.AlertDialogTitle=n.AlertDialogTitle,exports.AlertDialogTrigger=n.AlertDialogTrigger,exports.Autocomplete=S.Autocomplete,exports.AutocompleteContent=S.AutocompleteContent,exports.AutocompleteContentFooter=S.AutocompleteContentFooter,exports.AutocompleteGroup=S.AutocompleteGroup,exports.AutocompleteItem=S.AutocompleteItem,exports.AutocompleteText=S.AutocompleteText,exports.AutocompleteTrigger=S.AutocompleteTrigger,exports.AutocompleteWrapper=S.AutocompleteWrapper,exports.Avatar=P.Avatar,exports.AvatarFallback=P.AvatarFallback,exports.AvatarImage=P.AvatarImage,exports.avatarVariants=P.avatarVariants,exports.Badge=N.Badge,exports.badgeVariants=N.badgeVariants,exports.Breadcrumb=v.Breadcrumb,exports.BreadcrumbEllipsis=v.BreadcrumbEllipsis,exports.BreadcrumbItem=v.BreadcrumbItem,exports.BreadcrumbLink=v.BreadcrumbLink,exports.BreadcrumbList=v.BreadcrumbList,exports.BreadcrumbPage=v.BreadcrumbPage,exports.BreadcrumbSeparator=v.BreadcrumbSeparator,exports.Button=O.Button,exports.buttonVariants=O.buttonVariants,exports.CardWeek=t.CardWeek,exports.CardWeekActions=t.CardWeekActions,exports.CardWeekBreadcrumb=t.CardWeekBreadcrumb,exports.CardWeekContainer=t.CardWeekContainer,exports.CardWeekContent=t.CardWeekContent,exports.CardWeekDescription=t.CardWeekDescription,exports.CardWeekFooter=t.CardWeekFooter,exports.CardWeekHeader=t.CardWeekHeader,exports.CardWeekProgress=t.CardWeekProgress,exports.CardWeekProgressCircle=t.CardWeekProgressCircle,exports.CardWeekStatus=t.CardWeekStatus,exports.CardWeekTags=t.CardWeekTags,exports.CardWeekText=t.CardWeekText,exports.CardWeekTitle=t.CardWeekTitle,exports.CardModule=g.CardModule,exports.CardModuleAction=g.CardModuleAction,exports.CardModuleButton=g.CardModuleButton,exports.CardModuleFooter=g.CardModuleFooter,exports.CardModuleHeader=g.CardModuleHeader,exports.CardModuleLabel=g.CardModuleLabel,exports.CardModuleProgress=g.CardModuleProgress,exports.CardModuleTitle=g.CardModuleTitle,exports.cardModuleStatusVariants=g.cardModuleStatusVariants,exports.cardModuleVariants=g.cardModuleVariants,exports.CardTopic=p.CardTopic,exports.CardTopicColumn=p.CardTopicColumn,exports.CardTopicContent=p.CardTopicContent,exports.CardTopicCount=p.CardTopicCount,exports.CardTopicNumber=p.CardTopicNumber,exports.CardTopicProgress=p.CardTopicProgress,exports.CardTopicTitle=p.CardTopicTitle,exports.CardTopicTrigger=p.CardTopicTrigger,exports.cardTopicVariants=p.cardTopicVariants,exports.CardContinue=D.CardContinue,exports.CardContinueBreadcrumb=D.CardContinueBreadcrumb,exports.CardContinueButton=D.CardContinueButton,exports.CardContinueContent=D.CardContinueContent,exports.CardContinueHeader=D.CardContinueHeader,exports.CardContinueImage=D.CardContinueImage,exports.CardContinueTitle=D.CardContinueTitle,exports.CardLesson=i.CardLesson,exports.CardLessonButton=i.CardLessonButton,exports.CardLessonContent=i.CardLessonContent,exports.CardLessonDuration=i.CardLessonDuration,exports.CardLessonFooter=i.CardLessonFooter,exports.CardLessonHeader=i.CardLessonHeader,exports.CardLessonIcon=i.CardLessonIcon,exports.CardLessonIcons=i.CardLessonIcons,exports.CardLessonImage=i.CardLessonImage,exports.CardLessonLabel=i.CardLessonLabel,exports.CardLessonStatus=i.CardLessonStatus,exports.CardLessonTitle=i.CardLessonTitle,exports.cardLessonVariants=i.cardLessonVariants,exports.CardNews=l.CardNews,exports.CardNewsAuthor=l.CardNewsAuthor,exports.CardNewsBody=l.CardNewsBody,exports.CardNewsContent=l.CardNewsContent,exports.CardNewsDate=l.CardNewsDate,exports.CardNewsDescription=l.CardNewsDescription,exports.CardNewsFooter=l.CardNewsFooter,exports.CardNewsHeader=l.CardNewsHeader,exports.CardNewsImage=l.CardNewsImage,exports.CardNewsResourceItem=l.CardNewsResourceItem,exports.CardNewsResources=l.CardNewsResources,exports.CardNewsTags=l.CardNewsTags,exports.CardNewsTitle=l.CardNewsTitle,exports.Carousel=T.Carousel,exports.CarouselAutoplayToggle=T.CarouselAutoplayToggle,exports.CarouselContent=T.CarouselContent,exports.CarouselDots=T.CarouselDots,exports.CarouselItem=T.CarouselItem,exports.CarouselNext=T.CarouselNext,exports.CarouselPrevious=T.CarouselPrevious,exports.useCarousel=T.useCarousel,exports.Checkbox=W.Checkbox,exports.checkboxVariants=W.checkboxVariants,exports.Chip=m.Chip,exports.ChipChoice=m.ChipChoice,exports.ChipClear=m.ChipClear,exports.ChipFilter=m.ChipFilter,exports.chipClearVariants=m.chipClearVariants,exports.chipSelectableVariants=m.chipSelectableVariants,exports.chipVariants=m.chipVariants,exports.Collapsible=B.Collapsible,exports.CollapsibleContent=B.CollapsibleContent,exports.CollapsibleTrigger=B.CollapsibleTrigger,exports.ConfirmDeleteButton=z.ConfirmDeleteButton,exports.Dialog=d.Dialog,exports.DialogClose=d.DialogClose,exports.DialogContainer=d.DialogContainer,exports.DialogContent=d.DialogContent,exports.DialogDescription=d.DialogDescription,exports.DialogFooter=d.DialogFooter,exports.DialogHeader=d.DialogHeader,exports.DialogOverlay=d.DialogOverlay,exports.DialogPortal=d.DialogPortal,exports.DialogTitle=d.DialogTitle,exports.DialogTrigger=d.DialogTrigger,exports.Dismiss=F.Dismiss,exports.dismissVariants=F.dismissVariants,exports.DropdownMenu=a.DropdownMenu,exports.DropdownMenuCheckboxItem=a.DropdownMenuCheckboxItem,exports.DropdownMenuContent=a.DropdownMenuContent,exports.DropdownMenuGroup=a.DropdownMenuGroup,exports.DropdownMenuItem=a.DropdownMenuItem,exports.DropdownMenuLabel=a.DropdownMenuLabel,exports.DropdownMenuPortal=a.DropdownMenuPortal,exports.DropdownMenuRadioGroup=a.DropdownMenuRadioGroup,exports.DropdownMenuRadioItem=a.DropdownMenuRadioItem,exports.DropdownMenuSeparator=a.DropdownMenuSeparator,exports.DropdownMenuShortcut=a.DropdownMenuShortcut,exports.DropdownMenuSub=a.DropdownMenuSub,exports.DropdownMenuSubContent=a.DropdownMenuSubContent,exports.DropdownMenuSubTrigger=a.DropdownMenuSubTrigger,exports.DropdownMenuTrigger=a.DropdownMenuTrigger,exports.DatePicker=I.DatePicker,exports.DatePickerLabel=I.DatePickerLabel,exports.DatePickerText=I.DatePickerText,exports.DatePickerWrapper=I.DatePickerWrapper,exports.DateRangePicker=I.DateRangePicker,exports.datePickerTriggerVariants=I.datePickerTriggerVariants,exports.INDEX_LEVEL_LABELS=L.INDEX_LEVEL_LABELS,exports.IndexLevel=L.IndexLevel,exports.IndexLevelIcon=L.IndexLevelIcon,exports.indexLevelIconVariants=L.indexLevelIconVariants,exports.indexLevelVariants=L.indexLevelVariants,exports.IndexLevelAnimated=G.IndexLevelAnimated,exports.indexLevelAnimatedVariants=G.indexLevelAnimatedVariants,exports.Input=s.Input,exports.InputAdornment=s.InputAdornment,exports.InputEndIcon=s.InputEndIcon,exports.InputField=s.InputField,exports.InputLabel=s.InputLabel,exports.InputNumeric=s.InputNumeric,exports.InputPassword=s.InputPassword,exports.InputStartIcon=s.InputStartIcon,exports.InputText=s.InputText,exports.InputWrapper=s.InputWrapper,exports.applyInputIconSize=s.applyInputIconSize,exports.inputVariants=s.inputVariants,exports.Label=y.Label,exports.labelVariants=y.labelVariants,exports.FallbackImage=Q.FallbackImage,exports.Loading=U.Loading,exports.LoadingOverlay=q.LoadingOverlay,exports.LoadingOverlayCard=q.LoadingOverlayCard,exports.LoadingOverlaySpinner=q.LoadingOverlaySpinner,exports.Logo=f.Logo,exports.LogoCircular=f.LogoCircular,exports.LogoShort=f.LogoShort,exports.Offcanvas=u.Offcanvas,exports.OffcanvasBody=u.OffcanvasBody,exports.OffcanvasClose=u.OffcanvasClose,exports.OffcanvasContent=u.OffcanvasContent,exports.OffcanvasDescription=u.OffcanvasDescription,exports.OffcanvasFooter=u.OffcanvasFooter,exports.OffcanvasHeader=u.OffcanvasHeader,exports.OffcanvasOverlay=u.OffcanvasOverlay,exports.OffcanvasPortal=u.OffcanvasPortal,exports.OffcanvasTitle=u.OffcanvasTitle,exports.OffcanvasTrigger=u.OffcanvasTrigger,exports.Pagination=c.Pagination,exports.PaginationContent=c.PaginationContent,exports.PaginationEllipsis=c.PaginationEllipsis,exports.PaginationInfo=c.PaginationInfo,exports.PaginationItem=c.PaginationItem,exports.PaginationLink=c.PaginationLink,exports.PaginationNext=c.PaginationNext,exports.PaginationPrevious=c.PaginationPrevious,exports.PaginationRoot=c.PaginationRoot,exports.calculatePageNumbers=c.calculatePageNumbers,exports.Progress=j.Progress,exports.ProgressCircle=J.ProgressCircle,exports.RadioGroup=h.RadioGroup,exports.RadioGroupItem=h.RadioGroupItem,exports.radioGroupVariants=h.radioGroupVariants,exports.Ranking=r.Ranking,exports.RankingAssigneeGroup=r.RankingAssigneeGroup,exports.RankingAssigneeItem=r.RankingAssigneeItem,exports.RankingAssigneeLabel=r.RankingAssigneeLabel,exports.RankingAssigneesColumn=r.RankingAssigneesColumn,exports.RankingBody=r.RankingBody,exports.RankingButton=r.RankingButton,exports.RankingHeader=r.RankingHeader,exports.RankingHeaderCell=r.RankingHeaderCell,exports.RankingItem=r.RankingItem,exports.RankingNumber=r.RankingNumber,exports.RankingPerformance=r.RankingPerformance,exports.RankingPriority=r.RankingPriority,exports.RankingQuestions=r.RankingQuestions,exports.RankingSpecialty=r.RankingSpecialty,exports.RankingSuperFocus=r.RankingSuperFocus,exports.RankingTopic=r.RankingTopic,exports.RankingTopicColumn=r.RankingTopicColumn,exports.RankingTopicContent=r.RankingTopicContent,exports.Rating=V.Rating,exports.RatingButtonVariants=V.RatingButtonVariants,exports.RatingLabelVariants=V.RatingLabelVariants,exports.RatingStarVariants=V.RatingStarVariants,exports.ScrollArea=E.ScrollArea,exports.ScrollBar=E.ScrollBar,exports.Select=o.Select,exports.SelectContent=o.SelectContent,exports.SelectGroup=o.SelectGroup,exports.SelectHeader=o.SelectHeader,exports.SelectItem=o.SelectItem,exports.SelectLabel=o.SelectLabel,exports.SelectScrollDownButton=o.SelectScrollDownButton,exports.SelectScrollUpButton=o.SelectScrollUpButton,exports.SelectSeparator=o.SelectSeparator,exports.SelectText=o.SelectText,exports.SelectTrigger=o.SelectTrigger,exports.SelectValue=o.SelectValue,exports.SelectWrapper=o.SelectWrapper,exports.selectVariants=o.selectVariants,exports.SegmentControl=M.SegmentControl,exports.SegmentControlContent=M.SegmentControlContent,exports.SegmentControlList=M.SegmentControlList,exports.SegmentControlTrigger=M.SegmentControlTrigger,exports.segmentControlTriggerVariants=M.segmentControlTriggerVariants,exports.Separator=Y.Separator,exports.Sidebar=e.Sidebar,exports.SidebarContent=e.SidebarContent,exports.SidebarFooter=e.SidebarFooter,exports.SidebarGroup=e.SidebarGroup,exports.SidebarGroupAction=e.SidebarGroupAction,exports.SidebarGroupContent=e.SidebarGroupContent,exports.SidebarGroupLabel=e.SidebarGroupLabel,exports.SidebarHeader=e.SidebarHeader,exports.SidebarInput=e.SidebarInput,exports.SidebarInset=e.SidebarInset,exports.SidebarMenu=e.SidebarMenu,exports.SidebarMenuAction=e.SidebarMenuAction,exports.SidebarMenuBadge=e.SidebarMenuBadge,exports.SidebarMenuButton=e.SidebarMenuButton,exports.SidebarMenuItem=e.SidebarMenuItem,exports.SidebarMenuItemCollapse=e.SidebarMenuItemCollapse,exports.SidebarMenuItemTitle=e.SidebarMenuItemTitle,exports.SidebarMenuSkeleton=e.SidebarMenuSkeleton,exports.SidebarMenuSub=e.SidebarMenuSub,exports.SidebarMenuSubButton=e.SidebarMenuSubButton,exports.SidebarMenuSubItem=e.SidebarMenuSubItem,exports.SidebarProvider=e.SidebarProvider,exports.SidebarRail=e.SidebarRail,exports.SidebarSeparator=e.SidebarSeparator,exports.SidebarTrigger=e.SidebarTrigger,exports.useSidebar=e.useSidebar,exports.Skeleton=Z.Skeleton,exports.Switch=H.Switch,exports.switchVariants=H.switchVariants,exports.Switcher=k.Switcher,exports.SwitcherContent=k.SwitcherContent,exports.SwitcherFooter=k.SwitcherFooter,exports.SwitcherGroup=k.SwitcherGroup,exports.SwitcherItem=k.SwitcherItem,exports.SwitcherSeparator=k.SwitcherSeparator,exports.SwitcherTrigger=k.SwitcherTrigger,exports.Tabs=A.Tabs,exports.TabsContent=A.TabsContent,exports.TabsList=A.TabsList,exports.TabsTrigger=A.TabsTrigger,exports.tabsContentVariants=A.tabsContentVariants,exports.tabsListVariants=A.tabsListVariants,exports.tabsTriggerVariants=A.tabsTriggerVariants,exports.Tag=_.Tag,exports.tagVariants=_.tagVariants,exports.TAG_PICKER_PALETTE=K.TAG_PICKER_PALETTE,exports.TagPicker=K.TagPicker,exports.TEXT_MARKER_COLORS=x.TEXT_MARKER_COLORS,exports.TextMarker=x.TextMarker,exports.textMarkerMarkVariants=x.textMarkerMarkVariants,exports.Textarea=X.Textarea,exports.textareaVariants=X.textareaVariants,exports.Tile=w.Tile,exports.TileDescription=w.TileDescription,exports.TileIcon=w.TileIcon,exports.TileTitle=w.TileTitle,exports.tileVariants=w.tileVariants,exports.Toast=b.Toast,exports.ToastAction=b.ToastAction,exports.ToastClose=b.ToastClose,exports.ToastDescription=b.ToastDescription,exports.ToastProvider=b.ToastProvider,exports.ToastTitle=b.ToastTitle,exports.ToastViewport=b.ToastViewport,exports.toastVariants=b.toastVariants,exports.useToast=$.useToast,exports.Tooltip=R.Tooltip,exports.TooltipContent=R.TooltipContent,exports.TooltipProvider=R.TooltipProvider,exports.TooltipTrigger=R.TooltipTrigger,exports.useIsMobile=ee.useIsMobile;
2
+ "use strict";var C=require("./components/Alert.js"),n=require("./components/AlertDialog.js"),S=require("./components/Autocomplete.js"),P=require("./components/Avatar.js"),N=require("./components/Badge.js"),v=require("./components/Breadcrumb.js"),O=require("./components/Button.js"),t=require("./components/CardWeek.js"),g=require("./components/CardModule.js"),p=require("./components/CardTopic.js"),D=require("./components/CardContinue.js"),i=require("./components/CardLesson.js"),l=require("./components/CardNews.js"),T=require("./components/Carousel.js"),W=require("./components/Checkbox.js"),m=require("./components/Chip.js"),B=require("./components/Collapsible.js"),z=require("./components/ConfirmDeleteButton.js"),Q=require("./components/Connector.js"),U=require("./components/ConnectorNode.js"),d=require("./components/Dialog.js"),F=require("./components/Dismiss.js"),a=require("./components/DropdownMenu.js"),I=require("./components/DatePicker.js"),L=require("./components/IndexLevel.js"),G=require("./components/IndexLevelAnimated.js"),s=require("./components/Input.js"),y=require("./components/Label.js"),j=require("./components/FallbackImage.js"),J=require("./components/Loading.js"),q=require("./components/LoadingOverlay.js"),f=require("./components/Logo.js"),u=require("./components/Offcanvas.js"),c=require("./components/Pagination.js"),Y=require("./components/Progress.js"),Z=require("./components/ProgressCircle.js"),h=require("./components/RadioGroup.js"),r=require("./components/Ranking.js"),V=require("./components/Rating.js"),E=require("./components/ScrollArea.js"),o=require("./components/Select.js"),M=require("./components/SegmentControl.js"),$=require("./components/Separator.js"),e=require("./components/Sidebar.js"),ee=require("./components/Skeleton.js"),H=require("./components/Switch.js"),k=require("./components/Switcher.js"),A=require("./components/Tabs.js"),_=require("./components/Tag.js"),K=require("./components/TagPicker.js"),x=require("./components/TextMarker.js"),X=require("./components/Textarea.js"),w=require("./components/Tile.js"),b=require("./components/Toast.js"),re=require("./hooks/use-toast.js"),R=require("./components/Tooltip.js"),ae=require("./components/TrailStep.js"),te=require("./hooks/use-mobile.js");exports.Alert=C.Alert,exports.AlertActions=C.AlertActions,exports.AlertButton=C.AlertButton,exports.AlertContainer=C.AlertContainer,exports.AlertContent=C.AlertContent,exports.AlertDescription=C.AlertDescription,exports.AlertIcon=C.AlertIcon,exports.AlertTitle=C.AlertTitle,exports.alertButtonVariants=C.alertButtonVariants,exports.alertVariants=C.alertVariants,exports.AlertDialog=n.AlertDialog,exports.AlertDialogAction=n.AlertDialogAction,exports.AlertDialogCancel=n.AlertDialogCancel,exports.AlertDialogContent=n.AlertDialogContent,exports.AlertDialogDescription=n.AlertDialogDescription,exports.AlertDialogFooter=n.AlertDialogFooter,exports.AlertDialogHeader=n.AlertDialogHeader,exports.AlertDialogIcon=n.AlertDialogIcon,exports.AlertDialogOverlay=n.AlertDialogOverlay,exports.AlertDialogPortal=n.AlertDialogPortal,exports.AlertDialogTag=n.AlertDialogTag,exports.AlertDialogTitle=n.AlertDialogTitle,exports.AlertDialogTrigger=n.AlertDialogTrigger,exports.Autocomplete=S.Autocomplete,exports.AutocompleteContent=S.AutocompleteContent,exports.AutocompleteContentFooter=S.AutocompleteContentFooter,exports.AutocompleteGroup=S.AutocompleteGroup,exports.AutocompleteItem=S.AutocompleteItem,exports.AutocompleteText=S.AutocompleteText,exports.AutocompleteTrigger=S.AutocompleteTrigger,exports.AutocompleteWrapper=S.AutocompleteWrapper,exports.Avatar=P.Avatar,exports.AvatarFallback=P.AvatarFallback,exports.AvatarImage=P.AvatarImage,exports.avatarVariants=P.avatarVariants,exports.Badge=N.Badge,exports.badgeVariants=N.badgeVariants,exports.Breadcrumb=v.Breadcrumb,exports.BreadcrumbEllipsis=v.BreadcrumbEllipsis,exports.BreadcrumbItem=v.BreadcrumbItem,exports.BreadcrumbLink=v.BreadcrumbLink,exports.BreadcrumbList=v.BreadcrumbList,exports.BreadcrumbPage=v.BreadcrumbPage,exports.BreadcrumbSeparator=v.BreadcrumbSeparator,exports.Button=O.Button,exports.buttonVariants=O.buttonVariants,exports.CardWeek=t.CardWeek,exports.CardWeekActions=t.CardWeekActions,exports.CardWeekBreadcrumb=t.CardWeekBreadcrumb,exports.CardWeekContainer=t.CardWeekContainer,exports.CardWeekContent=t.CardWeekContent,exports.CardWeekDescription=t.CardWeekDescription,exports.CardWeekFooter=t.CardWeekFooter,exports.CardWeekHeader=t.CardWeekHeader,exports.CardWeekProgress=t.CardWeekProgress,exports.CardWeekProgressCircle=t.CardWeekProgressCircle,exports.CardWeekStatus=t.CardWeekStatus,exports.CardWeekTags=t.CardWeekTags,exports.CardWeekText=t.CardWeekText,exports.CardWeekTitle=t.CardWeekTitle,exports.CardModule=g.CardModule,exports.CardModuleAction=g.CardModuleAction,exports.CardModuleButton=g.CardModuleButton,exports.CardModuleFooter=g.CardModuleFooter,exports.CardModuleHeader=g.CardModuleHeader,exports.CardModuleLabel=g.CardModuleLabel,exports.CardModuleProgress=g.CardModuleProgress,exports.CardModuleTitle=g.CardModuleTitle,exports.cardModuleStatusVariants=g.cardModuleStatusVariants,exports.cardModuleVariants=g.cardModuleVariants,exports.CardTopic=p.CardTopic,exports.CardTopicColumn=p.CardTopicColumn,exports.CardTopicContent=p.CardTopicContent,exports.CardTopicCount=p.CardTopicCount,exports.CardTopicNumber=p.CardTopicNumber,exports.CardTopicProgress=p.CardTopicProgress,exports.CardTopicTitle=p.CardTopicTitle,exports.CardTopicTrigger=p.CardTopicTrigger,exports.cardTopicVariants=p.cardTopicVariants,exports.CardContinue=D.CardContinue,exports.CardContinueBreadcrumb=D.CardContinueBreadcrumb,exports.CardContinueButton=D.CardContinueButton,exports.CardContinueContent=D.CardContinueContent,exports.CardContinueHeader=D.CardContinueHeader,exports.CardContinueImage=D.CardContinueImage,exports.CardContinueTitle=D.CardContinueTitle,exports.CardLesson=i.CardLesson,exports.CardLessonButton=i.CardLessonButton,exports.CardLessonContent=i.CardLessonContent,exports.CardLessonDuration=i.CardLessonDuration,exports.CardLessonFooter=i.CardLessonFooter,exports.CardLessonHeader=i.CardLessonHeader,exports.CardLessonIcon=i.CardLessonIcon,exports.CardLessonIcons=i.CardLessonIcons,exports.CardLessonImage=i.CardLessonImage,exports.CardLessonLabel=i.CardLessonLabel,exports.CardLessonStatus=i.CardLessonStatus,exports.CardLessonTitle=i.CardLessonTitle,exports.cardLessonVariants=i.cardLessonVariants,exports.CardNews=l.CardNews,exports.CardNewsAuthor=l.CardNewsAuthor,exports.CardNewsBody=l.CardNewsBody,exports.CardNewsContent=l.CardNewsContent,exports.CardNewsDate=l.CardNewsDate,exports.CardNewsDescription=l.CardNewsDescription,exports.CardNewsFooter=l.CardNewsFooter,exports.CardNewsHeader=l.CardNewsHeader,exports.CardNewsImage=l.CardNewsImage,exports.CardNewsResourceItem=l.CardNewsResourceItem,exports.CardNewsResources=l.CardNewsResources,exports.CardNewsTags=l.CardNewsTags,exports.CardNewsTitle=l.CardNewsTitle,exports.Carousel=T.Carousel,exports.CarouselAutoplayToggle=T.CarouselAutoplayToggle,exports.CarouselContent=T.CarouselContent,exports.CarouselDots=T.CarouselDots,exports.CarouselItem=T.CarouselItem,exports.CarouselNext=T.CarouselNext,exports.CarouselPrevious=T.CarouselPrevious,exports.useCarousel=T.useCarousel,exports.Checkbox=W.Checkbox,exports.checkboxVariants=W.checkboxVariants,exports.Chip=m.Chip,exports.ChipChoice=m.ChipChoice,exports.ChipClear=m.ChipClear,exports.ChipFilter=m.ChipFilter,exports.chipClearVariants=m.chipClearVariants,exports.chipSelectableVariants=m.chipSelectableVariants,exports.chipVariants=m.chipVariants,exports.Collapsible=B.Collapsible,exports.CollapsibleContent=B.CollapsibleContent,exports.CollapsibleTrigger=B.CollapsibleTrigger,exports.ConfirmDeleteButton=z.ConfirmDeleteButton,exports.Connector=Q.Connector,exports.ConnectorNode=U.ConnectorNode,exports.Dialog=d.Dialog,exports.DialogClose=d.DialogClose,exports.DialogContainer=d.DialogContainer,exports.DialogContent=d.DialogContent,exports.DialogDescription=d.DialogDescription,exports.DialogFooter=d.DialogFooter,exports.DialogHeader=d.DialogHeader,exports.DialogOverlay=d.DialogOverlay,exports.DialogPortal=d.DialogPortal,exports.DialogTitle=d.DialogTitle,exports.DialogTrigger=d.DialogTrigger,exports.Dismiss=F.Dismiss,exports.dismissVariants=F.dismissVariants,exports.DropdownMenu=a.DropdownMenu,exports.DropdownMenuCheckboxItem=a.DropdownMenuCheckboxItem,exports.DropdownMenuContent=a.DropdownMenuContent,exports.DropdownMenuGroup=a.DropdownMenuGroup,exports.DropdownMenuItem=a.DropdownMenuItem,exports.DropdownMenuLabel=a.DropdownMenuLabel,exports.DropdownMenuPortal=a.DropdownMenuPortal,exports.DropdownMenuRadioGroup=a.DropdownMenuRadioGroup,exports.DropdownMenuRadioItem=a.DropdownMenuRadioItem,exports.DropdownMenuSeparator=a.DropdownMenuSeparator,exports.DropdownMenuShortcut=a.DropdownMenuShortcut,exports.DropdownMenuSub=a.DropdownMenuSub,exports.DropdownMenuSubContent=a.DropdownMenuSubContent,exports.DropdownMenuSubTrigger=a.DropdownMenuSubTrigger,exports.DropdownMenuTrigger=a.DropdownMenuTrigger,exports.DatePicker=I.DatePicker,exports.DatePickerLabel=I.DatePickerLabel,exports.DatePickerText=I.DatePickerText,exports.DatePickerWrapper=I.DatePickerWrapper,exports.DateRangePicker=I.DateRangePicker,exports.datePickerTriggerVariants=I.datePickerTriggerVariants,exports.INDEX_LEVEL_LABELS=L.INDEX_LEVEL_LABELS,exports.IndexLevel=L.IndexLevel,exports.IndexLevelIcon=L.IndexLevelIcon,exports.indexLevelIconVariants=L.indexLevelIconVariants,exports.indexLevelVariants=L.indexLevelVariants,exports.IndexLevelAnimated=G.IndexLevelAnimated,exports.indexLevelAnimatedVariants=G.indexLevelAnimatedVariants,exports.Input=s.Input,exports.InputAdornment=s.InputAdornment,exports.InputEndIcon=s.InputEndIcon,exports.InputField=s.InputField,exports.InputLabel=s.InputLabel,exports.InputNumeric=s.InputNumeric,exports.InputPassword=s.InputPassword,exports.InputStartIcon=s.InputStartIcon,exports.InputText=s.InputText,exports.InputWrapper=s.InputWrapper,exports.applyInputIconSize=s.applyInputIconSize,exports.inputVariants=s.inputVariants,exports.Label=y.Label,exports.labelVariants=y.labelVariants,exports.FallbackImage=j.FallbackImage,exports.Loading=J.Loading,exports.LoadingOverlay=q.LoadingOverlay,exports.LoadingOverlayCard=q.LoadingOverlayCard,exports.LoadingOverlaySpinner=q.LoadingOverlaySpinner,exports.Logo=f.Logo,exports.LogoCircular=f.LogoCircular,exports.LogoShort=f.LogoShort,exports.Offcanvas=u.Offcanvas,exports.OffcanvasBody=u.OffcanvasBody,exports.OffcanvasClose=u.OffcanvasClose,exports.OffcanvasContent=u.OffcanvasContent,exports.OffcanvasDescription=u.OffcanvasDescription,exports.OffcanvasFooter=u.OffcanvasFooter,exports.OffcanvasHeader=u.OffcanvasHeader,exports.OffcanvasOverlay=u.OffcanvasOverlay,exports.OffcanvasPortal=u.OffcanvasPortal,exports.OffcanvasTitle=u.OffcanvasTitle,exports.OffcanvasTrigger=u.OffcanvasTrigger,exports.Pagination=c.Pagination,exports.PaginationContent=c.PaginationContent,exports.PaginationEllipsis=c.PaginationEllipsis,exports.PaginationInfo=c.PaginationInfo,exports.PaginationItem=c.PaginationItem,exports.PaginationLink=c.PaginationLink,exports.PaginationNext=c.PaginationNext,exports.PaginationPrevious=c.PaginationPrevious,exports.PaginationRoot=c.PaginationRoot,exports.calculatePageNumbers=c.calculatePageNumbers,exports.Progress=Y.Progress,exports.ProgressCircle=Z.ProgressCircle,exports.RadioGroup=h.RadioGroup,exports.RadioGroupItem=h.RadioGroupItem,exports.radioGroupVariants=h.radioGroupVariants,exports.Ranking=r.Ranking,exports.RankingAssigneeGroup=r.RankingAssigneeGroup,exports.RankingAssigneeItem=r.RankingAssigneeItem,exports.RankingAssigneeLabel=r.RankingAssigneeLabel,exports.RankingAssigneesColumn=r.RankingAssigneesColumn,exports.RankingBody=r.RankingBody,exports.RankingButton=r.RankingButton,exports.RankingHeader=r.RankingHeader,exports.RankingHeaderCell=r.RankingHeaderCell,exports.RankingItem=r.RankingItem,exports.RankingNumber=r.RankingNumber,exports.RankingPerformance=r.RankingPerformance,exports.RankingPriority=r.RankingPriority,exports.RankingQuestions=r.RankingQuestions,exports.RankingSpecialty=r.RankingSpecialty,exports.RankingSuperFocus=r.RankingSuperFocus,exports.RankingTopic=r.RankingTopic,exports.RankingTopicColumn=r.RankingTopicColumn,exports.RankingTopicContent=r.RankingTopicContent,exports.Rating=V.Rating,exports.RatingButtonVariants=V.RatingButtonVariants,exports.RatingLabelVariants=V.RatingLabelVariants,exports.RatingStarVariants=V.RatingStarVariants,exports.ScrollArea=E.ScrollArea,exports.ScrollBar=E.ScrollBar,exports.Select=o.Select,exports.SelectContent=o.SelectContent,exports.SelectGroup=o.SelectGroup,exports.SelectHeader=o.SelectHeader,exports.SelectItem=o.SelectItem,exports.SelectLabel=o.SelectLabel,exports.SelectScrollDownButton=o.SelectScrollDownButton,exports.SelectScrollUpButton=o.SelectScrollUpButton,exports.SelectSeparator=o.SelectSeparator,exports.SelectText=o.SelectText,exports.SelectTrigger=o.SelectTrigger,exports.SelectValue=o.SelectValue,exports.SelectWrapper=o.SelectWrapper,exports.selectVariants=o.selectVariants,exports.SegmentControl=M.SegmentControl,exports.SegmentControlContent=M.SegmentControlContent,exports.SegmentControlList=M.SegmentControlList,exports.SegmentControlTrigger=M.SegmentControlTrigger,exports.segmentControlTriggerVariants=M.segmentControlTriggerVariants,exports.Separator=$.Separator,exports.Sidebar=e.Sidebar,exports.SidebarContent=e.SidebarContent,exports.SidebarFooter=e.SidebarFooter,exports.SidebarGroup=e.SidebarGroup,exports.SidebarGroupAction=e.SidebarGroupAction,exports.SidebarGroupContent=e.SidebarGroupContent,exports.SidebarGroupLabel=e.SidebarGroupLabel,exports.SidebarHeader=e.SidebarHeader,exports.SidebarInput=e.SidebarInput,exports.SidebarInset=e.SidebarInset,exports.SidebarMenu=e.SidebarMenu,exports.SidebarMenuAction=e.SidebarMenuAction,exports.SidebarMenuBadge=e.SidebarMenuBadge,exports.SidebarMenuButton=e.SidebarMenuButton,exports.SidebarMenuItem=e.SidebarMenuItem,exports.SidebarMenuItemCollapse=e.SidebarMenuItemCollapse,exports.SidebarMenuItemTitle=e.SidebarMenuItemTitle,exports.SidebarMenuSkeleton=e.SidebarMenuSkeleton,exports.SidebarMenuSub=e.SidebarMenuSub,exports.SidebarMenuSubButton=e.SidebarMenuSubButton,exports.SidebarMenuSubItem=e.SidebarMenuSubItem,exports.SidebarProvider=e.SidebarProvider,exports.SidebarRail=e.SidebarRail,exports.SidebarSeparator=e.SidebarSeparator,exports.SidebarTrigger=e.SidebarTrigger,exports.useSidebar=e.useSidebar,exports.Skeleton=ee.Skeleton,exports.Switch=H.Switch,exports.switchVariants=H.switchVariants,exports.Switcher=k.Switcher,exports.SwitcherContent=k.SwitcherContent,exports.SwitcherFooter=k.SwitcherFooter,exports.SwitcherGroup=k.SwitcherGroup,exports.SwitcherItem=k.SwitcherItem,exports.SwitcherSeparator=k.SwitcherSeparator,exports.SwitcherTrigger=k.SwitcherTrigger,exports.Tabs=A.Tabs,exports.TabsContent=A.TabsContent,exports.TabsList=A.TabsList,exports.TabsTrigger=A.TabsTrigger,exports.tabsContentVariants=A.tabsContentVariants,exports.tabsListVariants=A.tabsListVariants,exports.tabsTriggerVariants=A.tabsTriggerVariants,exports.Tag=_.Tag,exports.tagVariants=_.tagVariants,exports.TAG_PICKER_PALETTE=K.TAG_PICKER_PALETTE,exports.TagPicker=K.TagPicker,exports.TEXT_MARKER_COLORS=x.TEXT_MARKER_COLORS,exports.TextMarker=x.TextMarker,exports.textMarkerMarkVariants=x.textMarkerMarkVariants,exports.Textarea=X.Textarea,exports.textareaVariants=X.textareaVariants,exports.Tile=w.Tile,exports.TileDescription=w.TileDescription,exports.TileIcon=w.TileIcon,exports.TileTitle=w.TileTitle,exports.tileVariants=w.tileVariants,exports.Toast=b.Toast,exports.ToastAction=b.ToastAction,exports.ToastClose=b.ToastClose,exports.ToastDescription=b.ToastDescription,exports.ToastProvider=b.ToastProvider,exports.ToastTitle=b.ToastTitle,exports.ToastViewport=b.ToastViewport,exports.toastVariants=b.toastVariants,exports.useToast=re.useToast,exports.Tooltip=R.Tooltip,exports.TooltipContent=R.TooltipContent,exports.TooltipProvider=R.TooltipProvider,exports.TooltipTrigger=R.TooltipTrigger,exports.TrailStep=ae.TrailStep,exports.useIsMobile=te.useIsMobile;