@stagewise/ui 0.1.0 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -3
- package/package.json +9 -15
- package/src/components/ui/accordion.tsx +13 -15
- package/src/components/ui/alert-dialog.tsx +38 -38
- package/src/components/ui/alert.tsx +22 -22
- package/src/components/ui/aspect-ratio.tsx +6 -6
- package/src/components/ui/avatar.tsx +30 -30
- package/src/components/ui/badge.tsx +24 -22
- package/src/components/ui/breadcrumb.tsx +34 -37
- package/src/components/ui/bubble.tsx +48 -48
- package/src/components/ui/button-group.tsx +24 -24
- package/src/components/ui/button.tsx +24 -24
- package/src/components/ui/calendar.tsx +94 -81
- package/src/components/ui/card.tsx +30 -30
- package/src/components/ui/carousel.tsx +95 -92
- package/src/components/ui/chart.tsx +110 -110
- package/src/components/ui/checkbox.tsx +9 -10
- package/src/components/ui/collapsible.tsx +5 -5
- package/src/components/ui/combobox.tsx +51 -44
- package/src/components/ui/command.tsx +173 -190
- package/src/components/ui/context-menu.tsx +60 -50
- package/src/components/ui/dialog.tsx +33 -34
- package/src/components/ui/direction.tsx +1 -1
- package/src/components/ui/drawer.tsx +61 -61
- package/src/components/ui/dropdown-menu.tsx +54 -50
- package/src/components/ui/empty.tsx +30 -30
- package/src/components/ui/field.tsx +64 -64
- package/src/components/ui/hover-card.tsx +12 -12
- package/src/components/ui/input-group.tsx +54 -54
- package/src/components/ui/input-otp.tsx +24 -25
- package/src/components/ui/input.tsx +8 -8
- package/src/components/ui/item.tsx +64 -64
- package/src/components/ui/kbd.tsx +8 -8
- package/src/components/ui/klex-logo-combo.tsx +69 -0
- package/src/components/ui/klex-logo-text.tsx +70 -0
- package/src/components/ui/klex-logo.tsx +146 -0
- package/src/components/ui/label.tsx +8 -8
- package/src/components/ui/marker.tsx +25 -25
- package/src/components/ui/menubar.tsx +54 -50
- package/src/components/ui/message-scroller.tsx +130 -0
- package/src/components/ui/message.tsx +27 -27
- package/src/components/ui/native-select.tsx +22 -18
- package/src/components/ui/navigation-menu.tsx +37 -34
- package/src/components/ui/pagination.tsx +34 -31
- package/src/components/ui/popover.tsx +19 -19
- package/src/components/ui/progress.tsx +16 -16
- package/src/components/ui/questionnaire.tsx +72 -69
- package/src/components/ui/radio-group.tsx +9 -9
- package/src/components/ui/resizable.tsx +19 -12
- package/src/components/ui/scroll-area.tsx +10 -10
- package/src/components/ui/select.tsx +39 -34
- package/src/components/ui/separator.tsx +7 -7
- package/src/components/ui/sheet.tsx +31 -32
- package/src/components/ui/sidebar.tsx +244 -232
- package/src/components/ui/skeleton.tsx +5 -5
- package/src/components/ui/slider.tsx +11 -7
- package/src/components/ui/spinner.tsx +15 -6
- package/src/components/ui/stagewise-logo-combo.tsx +43 -0
- package/src/components/ui/stagewise-logo-text.tsx +30 -0
- package/src/components/ui/stagewise-logo.tsx +42 -0
- package/src/components/ui/switch.tsx +9 -9
- package/src/components/ui/table.tsx +31 -31
- package/src/components/ui/tabs.tsx +37 -26
- package/src/components/ui/textarea.tsx +7 -7
- package/src/components/ui/toast.tsx +70 -70
- package/src/components/ui/toggle-group.tsx +26 -26
- package/src/components/ui/toggle.tsx +15 -15
- package/src/components/ui/tooltip.tsx +13 -13
- package/src/hooks/use-mobile.ts +13 -11
- package/src/icons/custom/ui-outline-18/IconKlexOutline18.tsx +39 -0
- package/src/icons/custom/ui-outline-18/IconLaptop.tsx +35 -0
- package/src/icons/custom/ui-outline-18/IconSignOut.tsx +33 -0
- package/src/icons/custom/ui-outline-18/index.ts +4 -1
- package/src/icons/index.ts +42 -20
- package/src/icons/nucleo/social-media/IconMicrosoftEntraId.tsx +56 -0
- package/src/icons/nucleo/social-media/index.ts +1 -0
- package/src/icons/nucleo/ui-outline-18/IconArrowDownOutline18.tsx +4 -3
- package/src/icons/nucleo/ui-outline-18/IconArrowTurnRightOutline18.tsx +32 -0
- package/src/icons/nucleo/ui-outline-18/IconArrowUpOutline18.tsx +35 -0
- package/src/icons/nucleo/ui-outline-18/IconChartPieOutline18.tsx +4 -3
- package/src/icons/nucleo/ui-outline-18/IconChevronMaximizeDiagonal2Outline18.tsx +33 -0
- package/src/icons/nucleo/ui-outline-18/IconChevronUpOutline18.tsx +4 -3
- package/src/icons/nucleo/ui-outline-18/IconEmptyOutline18.tsx +41 -0
- package/src/icons/nucleo/ui-outline-18/IconEyeOffOutline18.tsx +18 -0
- package/src/icons/nucleo/ui-outline-18/IconLinkBrokenOutline18.tsx +66 -0
- package/src/icons/nucleo/ui-outline-18/IconLock18Outline.tsx +48 -0
- package/src/icons/nucleo/ui-outline-18/IconMinusOutline18.tsx +4 -3
- package/src/icons/nucleo/ui-outline-18/IconMsgs2Outline18.tsx +32 -0
- package/src/icons/nucleo/ui-outline-18/IconPanelLeftOutline18.tsx +4 -3
- package/src/icons/nucleo/ui-outline-18/IconSidebarLeft2HideOutline18.tsx +63 -0
- package/src/icons/nucleo/ui-outline-18/IconSidebarRight2HideOutline18.tsx +63 -0
- package/src/icons/nucleo/ui-outline-18/index.ts +11 -1
- package/src/icons/provider/IconAnthropic.tsx +15 -0
- package/src/icons/provider/IconCodex.tsx +18 -0
- package/src/icons/provider/IconDiscord.tsx +17 -0
- package/src/icons/provider/IconGemini.tsx +152 -0
- package/src/icons/provider/IconLinear.tsx +9 -0
- package/src/icons/provider/IconOpenAI.tsx +15 -0
- package/src/icons/provider/IconOpenRouter.tsx +24 -0
- package/src/icons/provider/IconSlack.tsx +24 -0
- package/src/icons/provider/IconTelegram.tsx +29 -0
- package/src/icons/provider/IconWhatsapp.tsx +14 -0
- package/src/icons/provider/LICENSE +21 -0
- package/src/icons/provider/index.ts +10 -0
- package/src/index.ts +68 -61
- package/src/lib/utils.ts +3 -3
- package/src/styles/bridge.css +7 -3
- package/src/styles/derived-utilities.css +129 -50
- package/src/styles/index.css +17 -2
- package/src/styles/palette.css +266 -105
- package/src/styles/scroll-fade.css +116 -0
- package/src/styles/tailwind-tokens.css +3 -0
- package/src/styles/theme.css +57 -43
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { cn } from
|
|
1
|
+
import { cn } from '../../lib/utils';
|
|
2
2
|
|
|
3
|
-
function Skeleton({ className, ...props }: React.ComponentProps<
|
|
3
|
+
function Skeleton({ className, ...props }: React.ComponentProps<'div'>) {
|
|
4
4
|
return (
|
|
5
5
|
<div
|
|
6
6
|
data-slot="skeleton"
|
|
7
|
-
className={cn(
|
|
7
|
+
className={cn('animate-pulse rounded-md bg-muted', className)}
|
|
8
8
|
{...props}
|
|
9
9
|
/>
|
|
10
|
-
)
|
|
10
|
+
);
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
-
export { Skeleton }
|
|
13
|
+
export { Skeleton };
|
|
@@ -1,24 +1,27 @@
|
|
|
1
|
-
import { Slider as SliderPrimitive } from
|
|
1
|
+
import { Slider as SliderPrimitive } from '@base-ui/react/slider';
|
|
2
2
|
|
|
3
|
-
import { cn } from
|
|
3
|
+
import { cn } from '../../lib/utils';
|
|
4
4
|
|
|
5
5
|
function Slider({
|
|
6
6
|
className,
|
|
7
7
|
defaultValue,
|
|
8
|
+
getAriaLabel,
|
|
8
9
|
value,
|
|
9
10
|
min = 0,
|
|
10
11
|
max = 100,
|
|
11
12
|
...props
|
|
12
|
-
}: SliderPrimitive.Root.Props
|
|
13
|
+
}: SliderPrimitive.Root.Props & {
|
|
14
|
+
getAriaLabel?: (index: number) => string;
|
|
15
|
+
}) {
|
|
13
16
|
const _values = Array.isArray(value)
|
|
14
17
|
? value
|
|
15
18
|
: Array.isArray(defaultValue)
|
|
16
19
|
? defaultValue
|
|
17
|
-
: [min, max]
|
|
20
|
+
: [min, max];
|
|
18
21
|
|
|
19
22
|
return (
|
|
20
23
|
<SliderPrimitive.Root
|
|
21
|
-
className={cn(
|
|
24
|
+
className={cn('data-horizontal:w-full data-vertical:h-full', className)}
|
|
22
25
|
data-slot="slider"
|
|
23
26
|
defaultValue={defaultValue}
|
|
24
27
|
value={value}
|
|
@@ -41,12 +44,13 @@ function Slider({
|
|
|
41
44
|
<SliderPrimitive.Thumb
|
|
42
45
|
data-slot="slider-thumb"
|
|
43
46
|
key={index}
|
|
47
|
+
getAriaLabel={getAriaLabel}
|
|
44
48
|
className="relative block size-4 shrink-0 rounded-full border border-ring bg-white ring-ring/50 transition-[color,box-shadow] select-none after:absolute after:-inset-2 hover:ring-3 focus-visible:ring-3 focus-visible:outline-hidden active:ring-3 disabled:pointer-events-none disabled:opacity-50"
|
|
45
49
|
/>
|
|
46
50
|
))}
|
|
47
51
|
</SliderPrimitive.Control>
|
|
48
52
|
</SliderPrimitive.Root>
|
|
49
|
-
)
|
|
53
|
+
);
|
|
50
54
|
}
|
|
51
55
|
|
|
52
|
-
export { Slider }
|
|
56
|
+
export { Slider };
|
|
@@ -1,10 +1,19 @@
|
|
|
1
|
-
import { cn } from
|
|
2
|
-
import { IconLoader6Outline18 } from
|
|
1
|
+
import { cn } from '../../lib/utils';
|
|
2
|
+
import { IconLoader6Outline18 } from '../../icons';
|
|
3
3
|
|
|
4
|
-
function Spinner({
|
|
4
|
+
function Spinner({
|
|
5
|
+
className,
|
|
6
|
+
...props
|
|
7
|
+
}: Omit<React.ComponentProps<'svg'>, 'strokeWidth'>) {
|
|
5
8
|
return (
|
|
6
|
-
<IconLoader6Outline18
|
|
7
|
-
|
|
9
|
+
<IconLoader6Outline18
|
|
10
|
+
data-slot="spinner"
|
|
11
|
+
role="status"
|
|
12
|
+
aria-label="Loading"
|
|
13
|
+
className={cn('size-4 animate-spin', className)}
|
|
14
|
+
{...props}
|
|
15
|
+
/>
|
|
16
|
+
);
|
|
8
17
|
}
|
|
9
18
|
|
|
10
|
-
export { Spinner }
|
|
19
|
+
export { Spinner };
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import type { FC, HTMLAttributes } from 'react';
|
|
2
|
+
|
|
3
|
+
import { cn } from '../../lib/utils';
|
|
4
|
+
import { StagewiseLogo } from './stagewise-logo';
|
|
5
|
+
import { StagewiseLogoText } from './stagewise-logo-text';
|
|
6
|
+
|
|
7
|
+
export interface StagewiseLogoComboProps
|
|
8
|
+
extends HTMLAttributes<HTMLDivElement> {
|
|
9
|
+
/** className applied to the logo mark */
|
|
10
|
+
logoClassName?: string;
|
|
11
|
+
/** className applied to the wordmark */
|
|
12
|
+
textClassName?: string;
|
|
13
|
+
/** Height of the combined logo in px. Defaults to 32. */
|
|
14
|
+
size?: number;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export const StagewiseLogoCombo: FC<StagewiseLogoComboProps> = ({
|
|
18
|
+
className,
|
|
19
|
+
logoClassName,
|
|
20
|
+
textClassName,
|
|
21
|
+
size = 32,
|
|
22
|
+
style,
|
|
23
|
+
...props
|
|
24
|
+
}) => {
|
|
25
|
+
return (
|
|
26
|
+
<div
|
|
27
|
+
className={cn('flex shrink-0 items-center', className)}
|
|
28
|
+
style={{ gap: size * 0.26, ...style }}
|
|
29
|
+
role="img"
|
|
30
|
+
aria-label="stagewise"
|
|
31
|
+
{...props}
|
|
32
|
+
>
|
|
33
|
+
<StagewiseLogo
|
|
34
|
+
className={cn('shrink-0', logoClassName)}
|
|
35
|
+
style={{ width: size, height: size }}
|
|
36
|
+
/>
|
|
37
|
+
<StagewiseLogoText
|
|
38
|
+
className={cn('shrink-0', textClassName)}
|
|
39
|
+
style={{ height: size * 0.9, width: 'auto' }}
|
|
40
|
+
/>
|
|
41
|
+
</div>
|
|
42
|
+
);
|
|
43
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { FC, SVGAttributes } from 'react';
|
|
2
|
+
|
|
3
|
+
import { cn } from '../../lib/utils';
|
|
4
|
+
|
|
5
|
+
export interface StagewiseLogoTextProps extends SVGAttributes<SVGSVGElement> {
|
|
6
|
+
/** className applied to the wordmark path */
|
|
7
|
+
pathClassName?: string;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export const StagewiseLogoText: FC<StagewiseLogoTextProps> = ({
|
|
11
|
+
className,
|
|
12
|
+
pathClassName,
|
|
13
|
+
...props
|
|
14
|
+
}) => {
|
|
15
|
+
return (
|
|
16
|
+
<svg
|
|
17
|
+
viewBox="0 0 114 23.8"
|
|
18
|
+
fill="none"
|
|
19
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
20
|
+
className={cn('h-auto w-auto', className)}
|
|
21
|
+
aria-hidden="true"
|
|
22
|
+
{...props}
|
|
23
|
+
>
|
|
24
|
+
<path
|
|
25
|
+
className={cn('fill-current text-foreground', pathClassName)}
|
|
26
|
+
d="m 13.584881,3.323 v 2.406547 l -1.281555,-3.85e-4 v 2.517676 l 1.281555,3.85e-4 v 7.280176 c 0,1.124479 0.318327,1.955436 0.954981,2.492871 0.644922,0.537435 1.632975,0.806152 2.96416,0.806152 h 1.885156 v -2.517676 h -1.339453 c -0.504362,0 -0.851628,-0.08682 -1.041797,-0.260449 -0.190174,-0.181901 -0.285254,-0.508496 -0.285254,-0.979785 V 8.247223 h 2.666504 V 5.729547 H 16.722674 V 3.323 Z m 42.440828,2.108891 c -1.2237,0 -2.30684,0.297656 -3.24942,0.892969 -0.942579,0.587044 -1.682586,1.39733 -2.220021,2.430859 -0.529167,1.025261 -0.79375,2.203483 -0.79375,3.534668 0,1.322917 0.256315,2.501139 0.768945,3.534668 0.520898,1.025261 1.260902,1.831413 2.220026,2.418457 0.95911,0.587045 2.09186,0.880566 3.39824,0.880566 1.02526,0 1.95957,-0.181901 2.80293,-0.545703 0.84336,-0.372071 1.54203,-0.8847 2.096,-1.53789 0.56224,-0.65319 0.92604,-1.405599 1.0914,-2.257227 h -2.92695 c -0.1819,0.56224 -0.52916,1.016992 -1.0418,1.364258 -0.51263,0.338997 -1.16169,0.508496 -1.94717,0.508496 -1.05006,0 -1.86862,-0.326595 -2.45566,-0.979785 -0.58705,-0.65319 -0.90124,-1.513086 -0.94258,-2.579688 h 9.47539 v -0.855761 c 0,-1.339454 -0.26045,-2.517676 -0.78135,-3.534668 -0.52089,-1.025261 -1.25263,-1.827279 -2.19521,-2.406055 -0.94258,-0.578776 -2.04225,-0.868164 -3.29902,-0.868164 z m 51.564811,0 c -1.2237,0 -2.30684,0.297656 -3.24942,0.892969 -0.94257,0.587044 -1.68258,1.39733 -2.22002,2.430859 -0.52916,1.025261 -0.79375,2.203483 -0.79375,3.534668 0,1.322917 0.25632,2.501139 0.76895,3.534668 0.5209,1.025261 1.26091,1.831413 2.22002,2.418457 0.95911,0.587045 2.09186,0.880566 3.39824,0.880566 1.02526,0 1.95957,-0.181901 2.80293,-0.545703 0.84336,-0.372071 1.54202,-0.8847 2.096,-1.53789 0.56223,-0.65319 0.92604,-1.405599 1.0914,-2.257227 h -2.92695 c -0.1819,0.56224 -0.52916,1.016992 -1.0418,1.364258 -0.51262,0.338997 -1.16168,0.508496 -1.94716,0.508496 -1.05006,0 -1.86862,-0.326595 -2.45567,-0.979785 -0.58705,-0.65319 -0.90124,-1.513086 -0.94258,-2.579688 h 9.47539 v -0.855761 c 0,-1.339454 -0.26044,-2.517676 -0.78134,-3.534668 -0.5209,-1.025261 -1.25264,-1.827279 -2.19522,-2.406055 -0.94258,-0.578776 -2.04226,-0.868164 -3.29902,-0.868164 z M 5.72251,5.444291 c -1.595769,0 -2.873209,0.37207 -3.832324,1.116211 -0.959114,0.735872 -1.438672,1.70739 -1.438672,2.914551 0,1.992643 1.273308,3.253548 3.819922,3.782715 l 2.232421,0.458886 c 0.545703,0.115755 0.979786,0.293522 1.302247,0.533301 0.322461,0.239779 0.483691,0.558106 0.483691,0.954981 0,0.463021 -0.219107,0.843358 -0.657324,1.141015 -0.429947,0.297656 -1.021126,0.446485 -1.773535,0.446485 -0.785481,0 -1.401465,-0.173634 -1.84795,-0.520899 C 3.564503,15.916003 3.308191,15.41991 3.242041,14.783256 H 0.153857 c 0.09922,1.405599 0.682129,2.484603 1.748731,3.237012 1.074869,0.744141 2.410188,1.116211 4.005957,1.116211 1.083138,0 2.042253,-0.169499 2.877344,-0.508496 0.835091,-0.338997 1.488281,-0.818555 1.95957,-1.438672 0.479557,-0.628385 0.719336,-1.368393 0.719336,-2.22002 0,-0.959115 -0.310059,-1.732193 -0.930176,-2.319238 C 9.92277,12.063009 8.96779,11.63306 7.669678,11.360209 L 5.313232,10.876518 C 4.767529,10.752495 4.341716,10.570594 4.035791,10.330815 3.729866,10.082768 3.576904,9.764441 3.576904,9.375834 c 0,-0.446485 0.198438,-0.822688 0.595313,-1.128613 0.396875,-0.305924 0.938444,-0.458887 1.624707,-0.458887 0.711067,0 1.28571,0.19017 1.723926,0.570508 0.438219,0.380339 0.665599,0.864029 0.682129,1.451074 h 2.939355 C 11.109264,8.462195 10.592496,7.399728 9.592041,6.622514 8.599853,5.837033 7.310009,5.444291 5.72251,5.444291 Z m 88.601629,0 c -1.59576,0 -2.87321,0.37207 -3.83232,1.116211 -0.95911,0.735872 -1.43867,1.70739 -1.43867,2.914551 0,1.992643 1.27331,3.253548 3.81992,3.782715 l 2.23242,0.458886 c 0.5457,0.115756 0.97978,0.293523 1.30225,0.533301 0.32246,0.239779 0.48369,0.558106 0.48369,0.954981 0,0.46302 -0.21911,0.843359 -0.65733,1.141015 -0.42994,0.297656 -1.02112,0.446485 -1.77353,0.446485 -0.78548,0 -1.40146,-0.173633 -1.84795,-0.520899 -0.4465,-0.355534 -0.70281,-0.851627 -0.76894,-1.488281 h -3.08819 c 0.0992,1.405599 0.68213,2.484603 1.74873,3.237012 1.07488,0.74414 2.41019,1.116211 4.00596,1.116211 1.08313,0 2.04225,-0.169499 2.87734,-0.508496 0.8351,-0.338998 1.48829,-0.818555 1.95957,-1.438672 0.47956,-0.628386 0.719341,-1.368393 0.719341,-2.22002 0,-0.959115 -0.310061,-1.732193 -0.930181,-2.319238 -0.61184,-0.587044 -1.56682,-1.016993 -2.86494,-1.289844 l -2.35644,-0.483691 c -0.5457,-0.124024 -0.97152,-0.305925 -1.27744,-0.545703 -0.30592,-0.248047 -0.45889,-0.566374 -0.45889,-0.954981 0,-0.446485 0.19844,-0.822689 0.59531,-1.128613 0.39687,-0.305924 0.93844,-0.458887 1.62471,-0.458887 0.71106,0 1.28571,0.19017 1.72392,0.570508 0.43822,0.380339 0.6656,0.864029 0.68213,1.451074 h 2.93936 c -0.0331,-1.347721 -0.54983,-2.410188 -1.55029,-3.187402 -0.99219,-0.785482 -2.28204,-1.178223 -3.86954,-1.178223 z m -68.19222,0.02481 c -1.116211,0 -2.10013,0.289388 -2.951758,0.868164 -0.851627,0.570508 -1.513086,1.368392 -1.984375,2.393652 -0.471289,1.016992 -0.706933,2.195215 -0.706933,3.534668 0,1.364258 0.23151,2.559017 0.694531,3.584278 0.471289,1.016992 1.132747,1.810742 1.984375,2.38125 0.851627,0.570508 1.847949,0.855761 2.988965,0.855761 0.851627,0 1.620572,-0.186035 2.306836,-0.558105 0.686262,-0.37207 1.2361,-0.930176 1.649511,-1.674317 h 0.03721 v 1.971973 H 33.21366 V 5.729547 h -3.063379 v 1.823145 h -0.04961 C 29.695528,6.85816 29.145691,6.337262 28.451159,5.989996 27.756628,5.64273 26.983548,5.469098 26.131921,5.469098 Z m 14.630631,0 c -1.11621,0 -2.10013,0.285254 -2.951757,0.855762 -0.851628,0.570508 -1.513087,1.364258 -1.984375,2.38125 -0.47129,1.016992 -0.706934,2.186946 -0.706934,3.509863 0,1.314648 0.231511,2.476334 0.694531,3.485058 0.47129,1.000456 1.132748,1.785938 1.984375,2.356446 0.851628,0.570508 1.84795,0.855761 2.988965,0.855761 0.859896,0 1.628841,-0.177766 2.306836,-0.5333 0.677995,-0.363802 1.227832,-0.930176 1.649512,-1.699121 h 0.0124 v 1.496877 c 0,1.000456 -0.272851,1.765267 -0.818555,2.294434 -0.537434,0.529166 -1.293978,0.79375 -2.269628,0.79375 -0.735873,0 -1.35599,-0.148828 -1.860352,-0.446485 C 39.303206,20.530008 39.077361,20.23293 38.885016,19.823 h -3.063379 c 0.259761,0.935616 0.842263,2.044503 1.859255,2.788644 1.016992,0.74414 2.258968,1.072694 3.987028,1.072694 1.182356,0 2.24069,-0.194304 3.175,-0.582911 0.934309,-0.380338 1.670181,-0.992187 2.207617,-1.835546 0.537434,-0.835092 0.806152,-1.926498 0.806152,-3.274219 V 5.729547 h -3.088184 v 1.947168 h -0.0124 C 44.326157,6.924306 43.763918,6.370335 43.069386,6.014801 42.383124,5.650999 41.614178,5.469098 40.76255,5.469098 Z m 21.844669,0.260449 4.04316,13.096875 h 3.22461 l 1.61231,-5.457031 c 0.1819,-0.603581 0.35553,-1.223698 0.52089,-1.860352 0.16537,-0.636654 0.32659,-1.273307 0.48369,-1.909961 0.16536,0.636654 0.33073,1.273307 0.4961,1.909961 0.16537,0.636654 0.33487,1.256771 0.50849,1.860352 l 1.5875,5.457031 h 3.24942 L 82.388959,5.72955 h -3.32383 l -1.35186,4.97334 c -0.20671,0.777214 -0.40514,1.575098 -0.59531,2.393652 -0.19017,0.818555 -0.38034,1.632976 -0.57051,2.443262 -0.20671,-0.810286 -0.41341,-1.624707 -0.62012,-2.443262 -0.19843,-0.818554 -0.401,-1.616438 -0.60771,-2.393652 l -1.37666,-4.97334 h -2.88975 l -1.38906,4.97334 c -0.21497,0.777214 -0.42581,1.579232 -0.63252,2.406055 -0.20671,0.826822 -0.40928,1.645377 -0.60771,2.455664 -0.19844,-0.810287 -0.39275,-1.628842 -0.58291,-2.455664 -0.19018,-0.826823 -0.38861,-1.628841 -0.59532,-2.406055 l -1.35185,-4.97334 z m 21.12946,0 v 13.096875 h 3.12539 V 5.729547 Z m -27.66136,2.182813 c 0.90124,0 1.63711,0.272851 2.20761,0.818554 0.57878,0.537435 0.91778,1.273307 1.017,2.207617 h -6.44922 c 0.10749,-0.93431 0.44235,-1.670182 1.00459,-2.207617 0.57051,-0.545703 1.31052,-0.818554 2.22002,-0.818554 z m 51.564811,0 c 0.90123,0 1.63711,0.272851 2.20761,0.818554 0.57878,0.537435 0.91778,1.273307 1.017,2.207617 h -6.44922 c 0.10748,-0.93431 0.44235,-1.670182 1.00459,-2.207617 0.5705,-0.545703 1.31051,-0.818554 2.22002,-0.818554 z M 41.519093,8.023984 c 1.025261,0 1.843816,0.380338 2.455664,1.141015 0.620118,0.752409 0.930176,1.756999 0.930176,3.01377 0,1.25677 -0.310058,2.265494 -0.930176,3.026172 -0.611848,0.752408 -1.430403,1.128613 -2.455664,1.128613 -0.967382,0 -1.748731,-0.355534 -2.344043,-1.066602 -0.595312,-0.719336 -0.892968,-1.74873 -0.892968,-3.088183 0,-1.331185 0.297656,-2.356445 0.892968,-3.075781 0.595312,-0.719336 1.376661,-1.079004 2.344043,-1.079004 z m -14.630631,0.03721 c 1.025261,0 1.843815,0.384472 2.455664,1.153418 0.620117,0.760677 0.930176,1.777669 0.930176,3.050976 0,1.273308 -0.310059,2.294434 -0.930176,3.063379 -0.611849,0.760677 -1.430403,1.141016 -2.455664,1.141016 -0.967383,0 -1.74873,-0.359668 -2.344043,-1.079004 -0.595313,-0.727604 -0.892969,-1.769401 -0.892969,-3.125391 0,-1.347721 0.297656,-2.385383 0.892969,-3.112988 0.595313,-0.727604 1.37666,-1.091406 2.344043,-1.091406 z"
|
|
27
|
+
/>
|
|
28
|
+
</svg>
|
|
29
|
+
);
|
|
30
|
+
};
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import type { FC, SVGAttributes } from 'react';
|
|
2
|
+
|
|
3
|
+
import { cn } from '../../lib/utils';
|
|
4
|
+
|
|
5
|
+
export interface StagewiseLogoProps extends SVGAttributes<SVGSVGElement> {
|
|
6
|
+
/** className applied to the inner SVG paths */
|
|
7
|
+
pathClassName?: string;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export const StagewiseLogo: FC<StagewiseLogoProps> = ({
|
|
11
|
+
className,
|
|
12
|
+
pathClassName,
|
|
13
|
+
...props
|
|
14
|
+
}) => {
|
|
15
|
+
return (
|
|
16
|
+
<svg
|
|
17
|
+
viewBox="0 0 100 100"
|
|
18
|
+
fill="none"
|
|
19
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
20
|
+
className={cn('size-full', className)}
|
|
21
|
+
aria-hidden="true"
|
|
22
|
+
{...props}
|
|
23
|
+
>
|
|
24
|
+
<path
|
|
25
|
+
className={cn(
|
|
26
|
+
'fill-current text-brand-solid dark:text-brand-400',
|
|
27
|
+
pathClassName,
|
|
28
|
+
)}
|
|
29
|
+
d="M50 0C77.6142 0 100 22.3858 100 50V90C100 95.5228 95.5228 100 90 100H50C22.3858 100 0 77.6142 0 50C0 22.3858 22.3858 0 50 0ZM50.1367 12C29.15 12.0002 12.1367 29.0133 12.1367 50C12.1367 70.9867 29.15 87.9998 50.1367 88C71.1235 88 88.1367 70.9868 88.1367 50C88.1367 29.0132 71.1235 12 50.1367 12Z"
|
|
30
|
+
/>
|
|
31
|
+
<circle
|
|
32
|
+
className={cn(
|
|
33
|
+
'fill-current text-brand-solid dark:text-brand-400',
|
|
34
|
+
pathClassName,
|
|
35
|
+
)}
|
|
36
|
+
cx="50"
|
|
37
|
+
cy="50"
|
|
38
|
+
r="28"
|
|
39
|
+
/>
|
|
40
|
+
</svg>
|
|
41
|
+
);
|
|
42
|
+
};
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
|
|
1
|
+
'use client';
|
|
2
2
|
|
|
3
|
-
import { Switch as SwitchPrimitive } from
|
|
3
|
+
import { Switch as SwitchPrimitive } from '@base-ui/react/switch';
|
|
4
4
|
|
|
5
|
-
import { cn } from
|
|
5
|
+
import { cn } from '../../lib/utils';
|
|
6
6
|
|
|
7
7
|
function Switch({
|
|
8
8
|
className,
|
|
9
|
-
size =
|
|
9
|
+
size = 'default',
|
|
10
10
|
...props
|
|
11
11
|
}: SwitchPrimitive.Root.Props & {
|
|
12
|
-
size?:
|
|
12
|
+
size?: 'sm' | 'default';
|
|
13
13
|
}) {
|
|
14
14
|
return (
|
|
15
15
|
<SwitchPrimitive.Root
|
|
16
16
|
data-slot="switch"
|
|
17
17
|
data-size={size}
|
|
18
18
|
className={cn(
|
|
19
|
-
|
|
20
|
-
className
|
|
19
|
+
'peer group/switch relative inline-flex shrink-0 items-center rounded-full border border-transparent transition-all outline-none after:absolute after:-inset-x-3 after:-inset-y-2 focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 data-[size=default]:h-5 data-[size=default]:w-[34px] data-[size=sm]:h-4 data-[size=sm]:w-[26px] px-px dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 data-checked:bg-primary data-unchecked:bg-input dark:data-unchecked:bg-input/80 data-disabled:cursor-not-allowed data-disabled:opacity-50',
|
|
20
|
+
className,
|
|
21
21
|
)}
|
|
22
22
|
{...props}
|
|
23
23
|
>
|
|
@@ -26,7 +26,7 @@ function Switch({
|
|
|
26
26
|
className="pointer-events-none block rounded-full bg-background ring-0 group-data-[size=default]/switch:h-4 group-data-[size=sm]/switch:h-3 group-data-[size=default]/switch:w-4 group-data-[size=sm]/switch:w-3 group-data-[size=default]/switch:[--knob-w:1rem] group-data-[size=sm]/switch:[--knob-w:0.75rem] group-data-[size=default]/switch:[--knob-travel:14px] group-data-[size=sm]/switch:[--knob-travel:10px] group-data-[size=default]/switch:[--track-w:30px] group-data-[size=sm]/switch:[--track-w:22px] group-data-[size=default]/switch:data-checked:translate-x-[14px] group-data-[size=sm]/switch:data-checked:translate-x-[10px] dark:data-checked:bg-primary-foreground dark:data-unchecked:bg-foreground group-data-checked/switch:animate-switch-knob-on group-data-unchecked/switch:animate-switch-knob-off"
|
|
27
27
|
/>
|
|
28
28
|
</SwitchPrimitive.Root>
|
|
29
|
-
)
|
|
29
|
+
);
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
export { Switch }
|
|
32
|
+
export { Switch };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as React from
|
|
1
|
+
import * as React from 'react';
|
|
2
2
|
|
|
3
|
-
import { cn } from
|
|
3
|
+
import { cn } from '../../lib/utils';
|
|
4
4
|
|
|
5
|
-
function Table({ className, ...props }: React.ComponentProps<
|
|
5
|
+
function Table({ className, ...props }: React.ComponentProps<'table'>) {
|
|
6
6
|
return (
|
|
7
7
|
<div
|
|
8
8
|
data-slot="table-container"
|
|
@@ -10,96 +10,96 @@ function Table({ className, ...props }: React.ComponentProps<"table">) {
|
|
|
10
10
|
>
|
|
11
11
|
<table
|
|
12
12
|
data-slot="table"
|
|
13
|
-
className={cn(
|
|
13
|
+
className={cn('w-full caption-bottom text-sm', className)}
|
|
14
14
|
{...props}
|
|
15
15
|
/>
|
|
16
16
|
</div>
|
|
17
|
-
)
|
|
17
|
+
);
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
-
function TableHeader({ className, ...props }: React.ComponentProps<
|
|
20
|
+
function TableHeader({ className, ...props }: React.ComponentProps<'thead'>) {
|
|
21
21
|
return (
|
|
22
22
|
<thead
|
|
23
23
|
data-slot="table-header"
|
|
24
|
-
className={cn(
|
|
24
|
+
className={cn('[&_tr]:border-b', className)}
|
|
25
25
|
{...props}
|
|
26
26
|
/>
|
|
27
|
-
)
|
|
27
|
+
);
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
-
function TableBody({ className, ...props }: React.ComponentProps<
|
|
30
|
+
function TableBody({ className, ...props }: React.ComponentProps<'tbody'>) {
|
|
31
31
|
return (
|
|
32
32
|
<tbody
|
|
33
33
|
data-slot="table-body"
|
|
34
|
-
className={cn(
|
|
34
|
+
className={cn('[&_tr:last-child]:border-0', className)}
|
|
35
35
|
{...props}
|
|
36
36
|
/>
|
|
37
|
-
)
|
|
37
|
+
);
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
-
function TableFooter({ className, ...props }: React.ComponentProps<
|
|
40
|
+
function TableFooter({ className, ...props }: React.ComponentProps<'tfoot'>) {
|
|
41
41
|
return (
|
|
42
42
|
<tfoot
|
|
43
43
|
data-slot="table-footer"
|
|
44
44
|
className={cn(
|
|
45
|
-
|
|
46
|
-
className
|
|
45
|
+
'border-t bg-muted/50 font-medium [&>tr]:last:border-b-0',
|
|
46
|
+
className,
|
|
47
47
|
)}
|
|
48
48
|
{...props}
|
|
49
49
|
/>
|
|
50
|
-
)
|
|
50
|
+
);
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
-
function TableRow({ className, ...props }: React.ComponentProps<
|
|
53
|
+
function TableRow({ className, ...props }: React.ComponentProps<'tr'>) {
|
|
54
54
|
return (
|
|
55
55
|
<tr
|
|
56
56
|
data-slot="table-row"
|
|
57
57
|
className={cn(
|
|
58
|
-
|
|
59
|
-
className
|
|
58
|
+
'border-b transition-colors hover:bg-muted/50 has-aria-expanded:bg-muted/50 data-[state=selected]:bg-muted',
|
|
59
|
+
className,
|
|
60
60
|
)}
|
|
61
61
|
{...props}
|
|
62
62
|
/>
|
|
63
|
-
)
|
|
63
|
+
);
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
-
function TableHead({ className, ...props }: React.ComponentProps<
|
|
66
|
+
function TableHead({ className, ...props }: React.ComponentProps<'th'>) {
|
|
67
67
|
return (
|
|
68
68
|
<th
|
|
69
69
|
data-slot="table-head"
|
|
70
70
|
className={cn(
|
|
71
|
-
|
|
72
|
-
className
|
|
71
|
+
'h-10 px-2 text-left align-middle font-medium whitespace-nowrap text-foreground [&:has([role=checkbox])]:pr-0',
|
|
72
|
+
className,
|
|
73
73
|
)}
|
|
74
74
|
{...props}
|
|
75
75
|
/>
|
|
76
|
-
)
|
|
76
|
+
);
|
|
77
77
|
}
|
|
78
78
|
|
|
79
|
-
function TableCell({ className, ...props }: React.ComponentProps<
|
|
79
|
+
function TableCell({ className, ...props }: React.ComponentProps<'td'>) {
|
|
80
80
|
return (
|
|
81
81
|
<td
|
|
82
82
|
data-slot="table-cell"
|
|
83
83
|
className={cn(
|
|
84
|
-
|
|
85
|
-
className
|
|
84
|
+
'p-2 align-middle whitespace-nowrap [&:has([role=checkbox])]:pr-0',
|
|
85
|
+
className,
|
|
86
86
|
)}
|
|
87
87
|
{...props}
|
|
88
88
|
/>
|
|
89
|
-
)
|
|
89
|
+
);
|
|
90
90
|
}
|
|
91
91
|
|
|
92
92
|
function TableCaption({
|
|
93
93
|
className,
|
|
94
94
|
...props
|
|
95
|
-
}: React.ComponentProps<
|
|
95
|
+
}: React.ComponentProps<'caption'>) {
|
|
96
96
|
return (
|
|
97
97
|
<caption
|
|
98
98
|
data-slot="table-caption"
|
|
99
|
-
className={cn(
|
|
99
|
+
className={cn('mt-4 text-sm text-muted-foreground', className)}
|
|
100
100
|
{...props}
|
|
101
101
|
/>
|
|
102
|
-
)
|
|
102
|
+
);
|
|
103
103
|
}
|
|
104
104
|
|
|
105
105
|
export {
|
|
@@ -111,4 +111,4 @@ export {
|
|
|
111
111
|
TableRow,
|
|
112
112
|
TableCell,
|
|
113
113
|
TableCaption,
|
|
114
|
-
}
|
|
114
|
+
};
|
|
@@ -1,46 +1,48 @@
|
|
|
1
|
-
|
|
1
|
+
'use client';
|
|
2
2
|
|
|
3
|
-
import { Tabs as TabsPrimitive } from
|
|
4
|
-
import { cva, type VariantProps } from
|
|
3
|
+
import { Tabs as TabsPrimitive } from '@base-ui/react/tabs';
|
|
4
|
+
import { cva, type VariantProps } from 'class-variance-authority';
|
|
5
5
|
|
|
6
|
-
import { cn } from
|
|
6
|
+
import { cn } from '../../lib/utils';
|
|
7
7
|
|
|
8
8
|
function Tabs({
|
|
9
9
|
className,
|
|
10
|
-
orientation =
|
|
10
|
+
orientation = 'horizontal',
|
|
11
11
|
...props
|
|
12
12
|
}: TabsPrimitive.Root.Props) {
|
|
13
13
|
return (
|
|
14
14
|
<TabsPrimitive.Root
|
|
15
15
|
data-slot="tabs"
|
|
16
16
|
data-orientation={orientation}
|
|
17
|
+
orientation={orientation}
|
|
17
18
|
className={cn(
|
|
18
|
-
|
|
19
|
-
className
|
|
19
|
+
'group/tabs flex gap-2 data-horizontal:flex-col',
|
|
20
|
+
className,
|
|
20
21
|
)}
|
|
21
22
|
{...props}
|
|
22
23
|
/>
|
|
23
|
-
)
|
|
24
|
+
);
|
|
24
25
|
}
|
|
25
26
|
|
|
26
27
|
const tabsListVariants = cva(
|
|
27
|
-
|
|
28
|
+
'group/tabs-list relative inline-flex w-fit items-center justify-center rounded-lg p-[3px] text-muted-foreground group-data-horizontal/tabs:h-8 group-data-vertical/tabs:h-fit group-data-vertical/tabs:flex-col data-[variant=line]:rounded-none',
|
|
28
29
|
{
|
|
29
30
|
variants: {
|
|
30
31
|
variant: {
|
|
31
|
-
default:
|
|
32
|
-
line:
|
|
32
|
+
default: 'bg-muted',
|
|
33
|
+
line: 'gap-1 bg-transparent',
|
|
33
34
|
},
|
|
34
35
|
},
|
|
35
36
|
defaultVariants: {
|
|
36
|
-
variant:
|
|
37
|
+
variant: 'default',
|
|
37
38
|
},
|
|
38
|
-
}
|
|
39
|
-
)
|
|
39
|
+
},
|
|
40
|
+
);
|
|
40
41
|
|
|
41
42
|
function TabsList({
|
|
42
43
|
className,
|
|
43
|
-
|
|
44
|
+
children,
|
|
45
|
+
variant = 'default',
|
|
44
46
|
...props
|
|
45
47
|
}: TabsPrimitive.List.Props & VariantProps<typeof tabsListVariants>) {
|
|
46
48
|
return (
|
|
@@ -49,8 +51,19 @@ function TabsList({
|
|
|
49
51
|
data-variant={variant}
|
|
50
52
|
className={cn(tabsListVariants({ variant }), className)}
|
|
51
53
|
{...props}
|
|
52
|
-
|
|
53
|
-
|
|
54
|
+
>
|
|
55
|
+
<TabsPrimitive.Indicator
|
|
56
|
+
data-slot="tabs-indicator"
|
|
57
|
+
className={cn(
|
|
58
|
+
'pointer-events-none absolute top-(--active-tab-top) left-(--active-tab-left) h-(--active-tab-height) w-(--active-tab-width) transition-[top,left,width,height] duration-150 ease-out motion-reduce:transition-none',
|
|
59
|
+
variant === 'line'
|
|
60
|
+
? 'rounded-none bg-foreground data-horizontal:top-auto data-horizontal:-bottom-1 data-horizontal:h-0.5 data-vertical:left-auto data-vertical:-right-1 data-vertical:w-0.5'
|
|
61
|
+
: 'rounded-md bg-background shadow-sm',
|
|
62
|
+
)}
|
|
63
|
+
/>
|
|
64
|
+
{children}
|
|
65
|
+
</TabsPrimitive.List>
|
|
66
|
+
);
|
|
54
67
|
}
|
|
55
68
|
|
|
56
69
|
function TabsTrigger({ className, ...props }: TabsPrimitive.Tab.Props) {
|
|
@@ -58,25 +71,23 @@ function TabsTrigger({ className, ...props }: TabsPrimitive.Tab.Props) {
|
|
|
58
71
|
<TabsPrimitive.Tab
|
|
59
72
|
data-slot="tabs-trigger"
|
|
60
73
|
className={cn(
|
|
61
|
-
"relative inline-flex h-[calc(100%-1px)] flex-1 items-center justify-center gap-1.5 rounded-md border border-transparent px-1.5 py-0.5 text-sm font-medium whitespace-nowrap text-foreground/60 transition-all group-data-vertical/tabs:w-full group-data-vertical/tabs:justify-start hover:text-foreground focus-visible:relative focus-visible:z-10 focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 focus-visible:outline-1 focus-visible:outline-ring disabled:pointer-events-none disabled:opacity-50 has-data-[icon=inline-end]:pr-1 has-data-[icon=inline-start]:pl-1 aria-disabled:pointer-events-none aria-disabled:opacity-50 dark:text-muted-foreground dark:hover:text-foreground
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
"after:absolute after:bg-foreground after:opacity-0 after:transition-opacity group-data-horizontal/tabs:after:inset-x-0 group-data-horizontal/tabs:after:bottom-[-5px] group-data-horizontal/tabs:after:h-0.5 group-data-vertical/tabs:after:inset-y-0 group-data-vertical/tabs:after:-right-1 group-data-vertical/tabs:after:w-0.5 group-data-[variant=line]/tabs-list:data-active:after:opacity-100",
|
|
65
|
-
className
|
|
74
|
+
"relative inline-flex h-[calc(100%-1px)] flex-1 items-center justify-center gap-1.5 rounded-md border border-transparent px-1.5 py-0.5 text-sm font-medium whitespace-nowrap text-foreground/60 transition-all group-data-vertical/tabs:w-full group-data-vertical/tabs:justify-start hover:text-foreground focus-visible:relative focus-visible:z-10 focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 focus-visible:outline-1 focus-visible:outline-ring disabled:pointer-events-none disabled:opacity-50 has-data-[icon=inline-end]:pr-1 has-data-[icon=inline-start]:pl-1 aria-disabled:pointer-events-none aria-disabled:opacity-50 dark:text-muted-foreground dark:hover:text-foreground [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
|
|
75
|
+
'data-active:text-foreground dark:data-active:text-foreground',
|
|
76
|
+
className,
|
|
66
77
|
)}
|
|
67
78
|
{...props}
|
|
68
79
|
/>
|
|
69
|
-
)
|
|
80
|
+
);
|
|
70
81
|
}
|
|
71
82
|
|
|
72
83
|
function TabsContent({ className, ...props }: TabsPrimitive.Panel.Props) {
|
|
73
84
|
return (
|
|
74
85
|
<TabsPrimitive.Panel
|
|
75
86
|
data-slot="tabs-content"
|
|
76
|
-
className={cn(
|
|
87
|
+
className={cn('flex-1 text-sm outline-none', className)}
|
|
77
88
|
{...props}
|
|
78
89
|
/>
|
|
79
|
-
)
|
|
90
|
+
);
|
|
80
91
|
}
|
|
81
92
|
|
|
82
|
-
export { Tabs, TabsList, TabsTrigger,
|
|
93
|
+
export { Tabs, TabsContent, TabsList, TabsTrigger, tabsListVariants };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import * as React from
|
|
1
|
+
import * as React from 'react';
|
|
2
2
|
|
|
3
|
-
import { cn } from
|
|
3
|
+
import { cn } from '../../lib/utils';
|
|
4
4
|
|
|
5
|
-
function Textarea({ className, ...props }: React.ComponentProps<
|
|
5
|
+
function Textarea({ className, ...props }: React.ComponentProps<'textarea'>) {
|
|
6
6
|
return (
|
|
7
7
|
<textarea
|
|
8
8
|
data-slot="textarea"
|
|
9
9
|
className={cn(
|
|
10
|
-
|
|
11
|
-
className
|
|
10
|
+
'flex field-sizing-content min-h-16 w-full rounded-lg border border-derived-strong bg-transparent px-2.5 py-2 text-base transition-colors outline-none placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:bg-input/50 disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 md:text-sm dark:bg-input/30 dark:disabled:bg-input/80 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40',
|
|
11
|
+
className,
|
|
12
12
|
)}
|
|
13
13
|
{...props}
|
|
14
14
|
/>
|
|
15
|
-
)
|
|
15
|
+
);
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
export { Textarea }
|
|
18
|
+
export { Textarea };
|