@12min/ds 0.1.0 → 1.0.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.
@@ -1 +1 @@
1
- {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
1
+ {"version":3,"sources":["../src/context/ThemeProvider.tsx","../src/components/Button/Button.native.tsx","../src/components/Button/Button.styles.ts","../src/components/Chip/Chip.native.tsx","../src/components/Chip/Chip.styles.ts","../src/components/Alert/Alert.native.tsx","../src/components/Alert/Alert.styles.ts","../src/components/ProgressBar/ProgressBar.native.tsx","../src/components/ProgressBar/ProgressBar.styles.ts","../src/components/Input/Input.native.tsx","../src/components/Input/Input.styles.ts","../src/components/Checkbox/Checkbox.native.tsx","../src/components/Checkbox/Checkbox.styles.ts","../src/components/RadioItem/RadioItem.native.tsx","../src/components/RadioItem/RadioItem.styles.ts","../src/components/RadioGroup/RadioGroup.native.tsx","../src/components/ActionItem/ActionItem.native.tsx","../src/components/ActionItem/ActionItem.styles.ts","../src/components/Stepper/Stepper.native.tsx","../src/components/Stepper/Stepper.styles.ts","../src/components/RatingScale/RatingScale.native.tsx"],"sourcesContent":["import { createContext, useContext, useMemo } from 'react'\nimport { lightTheme } from '../themes/lightTheme'\nimport { darkTheme } from '../themes/darkTheme'\nimport type { Theme } from '../themes/types'\n\ntype DSThemeCtx = { theme: Theme; colorScheme: 'light' | 'dark' }\n\nconst DSThemeContext = createContext<DSThemeCtx>({ theme: lightTheme, colorScheme: 'light' })\n\nexport function DSThemeProvider({\n colorScheme = 'light',\n children,\n}: {\n colorScheme?: 'light' | 'dark'\n children: React.ReactNode\n}) {\n const value = useMemo<DSThemeCtx>(\n () => ({ theme: colorScheme === 'dark' ? darkTheme : lightTheme, colorScheme }),\n [colorScheme]\n )\n return <DSThemeContext.Provider value={value}>{children}</DSThemeContext.Provider>\n}\n\nexport function useTheme(): DSThemeCtx {\n return useContext(DSThemeContext)\n}\n","import { Pressable, Text, StyleSheet, type PressableProps } from 'react-native'\nimport { useTheme } from '../../context/ThemeProvider'\nimport { buttonTokens } from './Button.styles'\n\ntype ButtonVariant = 'primary' | 'secondary' | 'ghost'\ntype ButtonSize = 'sm' | 'md' | 'lg'\n\ntype ButtonProps = {\n variant?: ButtonVariant\n size?: ButtonSize\n disabled?: boolean\n children: React.ReactNode\n onPress?: PressableProps['onPress']\n}\n\nexport function Button({ variant = 'primary', size = 'md', disabled = false, children, onPress }: ButtonProps) {\n const { theme } = useTheme()\n const { sizes, borderRadius } = buttonTokens\n\n const sizeStyle = sizes[size]\n\n const bgColor =\n disabled\n ? theme.surfaceDisabled\n : variant === 'primary'\n ? theme.primary\n : variant === 'secondary'\n ? theme.surface\n : 'transparent'\n\n const textColor =\n variant === 'primary'\n ? theme.textInverse\n : variant === 'secondary'\n ? theme.onBackground\n : theme.primary\n\n return (\n <Pressable\n onPress={disabled ? undefined : onPress}\n style={({ pressed }) => [\n styles.base,\n {\n height: sizeStyle.height,\n paddingHorizontal: sizeStyle.paddingHorizontal,\n borderRadius,\n backgroundColor: bgColor,\n opacity: disabled ? 0.5 : pressed ? 0.85 : 1,\n },\n ]}\n accessibilityRole=\"button\"\n accessibilityState={{ disabled }}\n >\n <Text style={[styles.label, { fontSize: sizeStyle.fontSize, color: textColor }]}>\n {children}\n </Text>\n </Pressable>\n )\n}\n\nconst styles = StyleSheet.create({\n base: { flexDirection: 'row', alignItems: 'center', justifyContent: 'center' },\n label: { fontWeight: '600' },\n})\n","export const buttonTokens = {\n sizes: {\n sm: { height: 36, paddingHorizontal: 14, fontSize: 14 },\n md: { height: 48, paddingHorizontal: 16, fontSize: 16 },\n lg: { height: 56, paddingHorizontal: 24, fontSize: 18 },\n },\n borderRadius: 9999,\n}\n","import { Pressable, Text, StyleSheet, type StyleProp, type ViewStyle } from 'react-native'\nimport { useTheme } from '../../context/ThemeProvider'\nimport { chipTokens } from './Chip.styles'\n\ntype ChipProps = {\n children: React.ReactNode\n checked?: boolean\n onPress?: () => void\n style?: StyleProp<ViewStyle>\n}\n\nexport function Chip({ children, checked = false, onPress, style }: ChipProps) {\n const { theme } = useTheme()\n const { size, borderRadius } = chipTokens\n\n const bg = checked ? theme.primary : theme.surface\n const textColor = checked ? theme.textInverse : theme.onBackground\n\n return (\n <Pressable\n onPress={onPress}\n style={({ pressed }) => [\n styles.base,\n { height: size.height, paddingHorizontal: size.paddingHorizontal, borderRadius, backgroundColor: bg, opacity: pressed ? 0.85 : 1 },\n style,\n ]}\n accessibilityRole=\"button\"\n >\n <Text style={{ fontSize: size.fontSize, color: textColor, fontWeight: checked ? '600' : '500' }}>\n {children}\n </Text>\n </Pressable>\n )\n}\n\nconst styles = StyleSheet.create({\n base: { flexDirection: 'row', alignItems: 'center', justifyContent: 'center' },\n})\n","export const chipTokens = {\n size: { height: 48, paddingHorizontal: 16, fontSize: 14 },\n borderRadius: 56,\n}\n","import { View, Text, StyleSheet } from 'react-native'\nimport { useTheme } from '../../context/ThemeProvider'\nimport { alertTokens } from './Alert.styles'\n\ntype AlertVariant = 'success' | 'info'\n\ntype AlertProps = {\n variant?: AlertVariant\n title: string\n description?: string\n}\n\nexport function Alert({ variant = 'info', title, description }: AlertProps) {\n const { theme } = useTheme()\n const { padding, borderRadius } = alertTokens\n\n const bg = variant === 'success' ? theme.successBg : theme.surface\n\n return (\n <View style={[styles.container, { backgroundColor: bg, padding, borderColor: theme.border }]}>\n <Text style={[styles.title, { color: theme.onBackground }]}>{title}</Text>\n {description && (\n <Text style={[styles.description, { color: theme.muted }]}>{description}</Text>\n )}\n </View>\n )\n}\n\nconst styles = StyleSheet.create({\n container: {\n width: '100%',\n borderWidth: 1,\n borderTopLeftRadius: 32,\n borderTopRightRadius: 32,\n borderBottomRightRadius: 32,\n borderBottomLeftRadius: 0,\n },\n title: { fontWeight: '600', fontSize: 16, lineHeight: 22 },\n description: { fontWeight: '500', fontSize: 14, lineHeight: 21, marginTop: 12 },\n})\n","export const alertTokens = {\n padding: 20,\n borderRadius: 32,\n}\n","import { View, StyleSheet } from 'react-native'\nimport { useTheme } from '../../context/ThemeProvider'\nimport { progressBarTokens } from './ProgressBar.styles'\n\ntype ProgressBarProps = {\n value: number\n}\n\nexport function ProgressBar({ value }: ProgressBarProps) {\n const { theme } = useTheme()\n const { height, borderRadius, fillBorderRadius } = progressBarTokens\n const pct = Math.min(100, Math.max(0, value))\n\n return (\n <View\n style={[styles.track, { height, borderRadius, backgroundColor: theme.border }]}\n accessibilityRole=\"progressbar\"\n accessibilityValue={{ min: 0, max: 100, now: pct }}\n >\n <View style={{ height, width: `${pct}%`, borderRadius: fillBorderRadius, backgroundColor: theme.primary }} />\n </View>\n )\n}\n\nconst styles = StyleSheet.create({\n track: { width: '100%', overflow: 'hidden' },\n})\n","export const progressBarTokens = {\n height: 8,\n borderRadius: 999,\n fillBorderRadius: 24,\n}\n","import { useState } from 'react'\nimport { View, TextInput, StyleSheet, type StyleProp, type ViewStyle } from 'react-native'\nimport { useTheme } from '../../context/ThemeProvider'\nimport { inputTokens } from './Input.styles'\n\ntype InputState = 'default' | 'filled' | 'error' | 'disabled'\n\ntype InputProps = {\n value?: string\n placeholder?: string\n state?: InputState\n leadingIcon?: React.ReactNode\n onChangeText?: (text: string) => void\n onFocus?: () => void\n onBlur?: () => void\n style?: StyleProp<ViewStyle>\n}\n\nexport function Input({ value, placeholder = 'exemplo@email.com', state = 'default', leadingIcon, onChangeText, onFocus, onBlur, style }: InputProps) {\n const { theme } = useTheme()\n const { height, padding, gap, borderRadius, fontSize } = inputTokens\n const [isFocused, setIsFocused] = useState(false)\n\n const isDisabled = state === 'disabled'\n const isError = state === 'error'\n const isFilled = state === 'filled'\n\n const bg = isDisabled ? theme.background : theme.surface\n const borderColor = isDisabled\n ? theme.muted\n : isError\n ? theme.error\n : isFocused\n ? theme.primary\n : theme.border\n const borderWidth = isFocused ? 2 : 1\n const textColor = isDisabled\n ? theme.muted\n : isError\n ? theme.error\n : isFilled || isFocused\n ? theme.onBackground\n : theme.muted\n\n return (\n <View style={[styles.container, { height, padding, gap, borderRadius, backgroundColor: bg, borderColor, borderWidth }, style]}>\n {leadingIcon}\n <TextInput\n value={value}\n placeholder={placeholder}\n placeholderTextColor={textColor}\n editable={!isDisabled}\n onChangeText={onChangeText}\n onFocus={() => { setIsFocused(true); onFocus?.() }}\n onBlur={() => { setIsFocused(false); onBlur?.() }}\n style={[styles.input, { fontSize, color: textColor }]}\n />\n </View>\n )\n}\n\nconst styles = StyleSheet.create({\n container: { flexDirection: 'row', alignItems: 'center', borderStyle: 'solid' },\n input: { flex: 1, fontWeight: '500', padding: 0 },\n})\n","export const inputTokens = {\n height: 48,\n padding: 12,\n gap: 8,\n borderRadius: 12,\n fontSize: 14,\n}\n","import { Pressable, View, StyleSheet } from 'react-native'\nimport { useTheme } from '../../context/ThemeProvider'\nimport { checkboxTokens } from './Checkbox.styles'\n\ntype CheckboxProps = {\n checked?: boolean\n onChange?: (checked: boolean) => void\n disabled?: boolean\n}\n\nexport function Checkbox({ checked = false, onChange, disabled = false }: CheckboxProps) {\n const { theme } = useTheme()\n const { size, borderRadius } = checkboxTokens\n\n return (\n <Pressable\n onPress={disabled ? undefined : () => onChange?.(!checked)}\n style={({ pressed }) => [\n styles.base,\n {\n width: size,\n height: size,\n borderRadius,\n backgroundColor: checked ? theme.primary : 'transparent',\n borderWidth: checked ? 0 : 1,\n borderColor: theme.primary,\n opacity: disabled ? 0.5 : pressed ? 0.85 : 1,\n },\n ]}\n accessibilityRole=\"checkbox\"\n accessibilityState={{ checked, disabled }}\n >\n {checked && (\n <View style={styles.checkmark}>\n <View style={[styles.checkLine, { borderColor: theme.textInverse }]} />\n </View>\n )}\n </Pressable>\n )\n}\n\nconst styles = StyleSheet.create({\n base: { alignItems: 'center', justifyContent: 'center' },\n checkmark: { width: 10, height: 8, alignItems: 'center', justifyContent: 'center' },\n checkLine: { width: 10, height: 8, borderLeftWidth: 1.5, borderBottomWidth: 1.5, transform: [{ rotate: '-45deg' }, { translateY: -2 }] },\n})\n","export const checkboxTokens = {\n size: 20,\n borderRadius: 6,\n}\n","import { Pressable, View, Text, StyleSheet, type StyleProp, type ViewStyle } from 'react-native'\nimport { useTheme } from '../../context/ThemeProvider'\nimport { radioItemTokens } from './RadioItem.styles'\n\ntype RadioItemProps = {\n label: string\n description?: string\n selected?: boolean\n icon?: React.ReactNode\n onPress?: () => void\n style?: StyleProp<ViewStyle>\n}\n\nexport function RadioItem({ label, description, selected = false, icon, onPress, style }: RadioItemProps) {\n const { theme } = useTheme()\n const { height, padding, gap, borderRadius, radioSize, fontSize } = radioItemTokens\n\n const bg = selected ? theme.primary : theme.surface\n const textColor = selected ? theme.textInverse : theme.onBackground\n const descColor = selected ? theme.textInverse : theme.textSecondary\n const descOpacity = selected ? 0.8 : 1\n const radioBorderColor = selected ? theme.textInverse : theme.onBackground\n\n return (\n <Pressable\n onPress={onPress}\n style={({ pressed }) => [\n styles.container,\n { height, paddingHorizontal: padding, gap, borderRadius, backgroundColor: bg, opacity: pressed ? 0.9 : 1 },\n style,\n ]}\n accessibilityRole=\"radio\"\n accessibilityState={{ selected }}\n >\n <View style={styles.left}>\n {icon && <View style={styles.icon}>{icon}</View>}\n <View style={styles.textContainer}>\n <Text style={[styles.label, { fontSize, color: textColor, fontWeight: selected ? '700' : '500' }]}>\n {label}\n </Text>\n {description && (\n <Text style={[styles.description, { color: descColor, opacity: descOpacity }]}>{description}</Text>\n )}\n </View>\n </View>\n <View style={[styles.radio, { width: radioSize, height: radioSize, borderRadius: radioSize / 2, borderColor: radioBorderColor }]} />\n </Pressable>\n )\n}\n\nconst styles = StyleSheet.create({\n container: { flexDirection: 'row', alignItems: 'center', justifyContent: 'space-between' },\n left: { flexDirection: 'row', alignItems: 'center', gap: 12 },\n icon: { width: 20, height: 20 },\n textContainer: { flexDirection: 'column', gap: 2 },\n label: { lineHeight: 21 },\n description: { fontSize: 12, fontWeight: '400', lineHeight: 18, letterSpacing: 0.024 },\n radio: { borderWidth: 1 },\n})\n","export const radioItemTokens = {\n height: 48,\n padding: 16,\n gap: 12,\n borderRadius: 16,\n radioSize: 20,\n fontSize: 14,\n}\n","import { View, type StyleProp, type ViewStyle } from 'react-native'\n\ntype RadioGroupProps = {\n children: React.ReactNode\n label?: string\n style?: StyleProp<ViewStyle>\n}\n\nexport function RadioGroup({ children, label, style }: RadioGroupProps) {\n return (\n <View accessibilityRole=\"radiogroup\" accessibilityLabel={label} style={[{ gap: 8 }, style]}>\n {children}\n </View>\n )\n}\n","import { Pressable, View, Text, StyleSheet, type StyleProp, type ViewStyle } from 'react-native'\nimport { useTheme } from '../../context/ThemeProvider'\nimport { actionItemTokens } from './ActionItem.styles'\n\ntype ActionItemProps = {\n label: string\n description?: string\n selected?: boolean\n icon?: React.ReactNode\n onPress?: () => void\n style?: StyleProp<ViewStyle>\n}\n\nexport function ActionItem({ label, description, selected = false, icon, onPress, style }: ActionItemProps) {\n const { theme } = useTheme()\n const { height, padding, gap, innerGap, borderRadius, fontSize } = actionItemTokens\n\n const bg = selected ? theme.border : theme.surface\n\n return (\n <Pressable\n onPress={onPress}\n style={({ pressed }) => [\n styles.container,\n {\n height,\n paddingHorizontal: padding,\n gap,\n borderRadius,\n backgroundColor: bg,\n borderWidth: selected ? 2 : 0,\n borderColor: selected ? theme.primary : 'transparent',\n opacity: pressed ? 0.9 : 1,\n },\n style,\n ]}\n accessibilityRole=\"button\"\n >\n <View style={[styles.content, { gap: innerGap }]}>\n {icon && <View style={styles.icon}>{icon}</View>}\n <View style={styles.textContainer}>\n <Text style={[styles.label, { fontSize, color: theme.onBackground }]} numberOfLines={1}>\n {label}\n </Text>\n {description && (\n <Text style={[styles.description, { color: theme.textSecondary }]} numberOfLines={1}>\n {description}\n </Text>\n )}\n </View>\n </View>\n <View style={styles.chevron}>\n <Text style={[styles.chevronText, { color: theme.onBackground }]}>›</Text>\n </View>\n </Pressable>\n )\n}\n\nconst styles = StyleSheet.create({\n container: { flexDirection: 'row', alignItems: 'center', justifyContent: 'space-between' },\n content: { flex: 1, flexDirection: 'row', alignItems: 'center', minWidth: 0 },\n icon: { width: 24, height: 24, overflow: 'hidden', flexShrink: 0 },\n textContainer: { flex: 1, flexDirection: 'column', gap: 4, minWidth: 0 },\n label: { fontWeight: '500', lineHeight: 21 },\n description: { fontSize: 12, fontWeight: '400', lineHeight: 18, letterSpacing: 0.024 },\n chevron: { width: 24, height: 24, alignItems: 'center', justifyContent: 'center', flexShrink: 0 },\n chevronText: { fontSize: 20 },\n})\n","export const actionItemTokens = {\n height: 56,\n padding: 16,\n gap: 20,\n innerGap: 16,\n borderRadius: 16,\n fontSize: 14,\n}\n","import { View, Text, StyleSheet, type StyleProp, type ViewStyle } from 'react-native'\nimport { useTheme } from '../../context/ThemeProvider'\nimport { stepperTokens } from './Stepper.styles'\n\ntype StepState = 'completed' | 'active' | 'upcoming'\n\ntype Step = {\n label: string\n}\n\ntype StepperProps = {\n steps: Step[]\n currentStep: number\n style?: StyleProp<ViewStyle>\n}\n\nexport function Stepper({ steps, currentStep, style }: StepperProps) {\n const { theme } = useTheme()\n const { trackHeight, trackRadius, dotSize, labelFontSize, gap } = stepperTokens\n\n const getState = (i: number): StepState =>\n i < currentStep ? 'completed' : i === currentStep ? 'active' : 'upcoming'\n\n return (\n <View style={[styles.container, { gap }, style]}>\n {steps.map((step, i) => {\n const state = getState(i)\n const isLast = i === steps.length - 1\n const trackBg = state === 'completed' ? theme.primary : theme.border\n const dotBg = state === 'completed' ? theme.primary : theme.border\n\n return (\n <View key={step.label} style={{ flexDirection: 'row', alignItems: 'flex-end', flex: 1 }}>\n <View style={styles.stepItem}>\n <View style={styles.labelRow}>\n <Text\n style={[styles.label, { fontSize: labelFontSize, color: theme.onBackground, opacity: state === 'active' ? 1 : 0 }]}\n numberOfLines={1}\n >\n {step.label}\n </Text>\n </View>\n <View style={[styles.track, { height: trackHeight, borderRadius: trackRadius, backgroundColor: trackBg }]}>\n {state === 'active' && (\n <View\n style={[styles.trackFill, { height: trackHeight, borderRadius: trackRadius, backgroundColor: theme.onBackground, right: 12 }]}\n />\n )}\n </View>\n </View>\n {!isLast && (\n <View style={[styles.dot, { width: dotSize, height: dotSize, borderRadius: dotSize / 2, backgroundColor: dotBg }]} />\n )}\n </View>\n )\n })}\n </View>\n )\n}\n\nconst styles = StyleSheet.create({\n container: { width: '100%', flexDirection: 'row', alignItems: 'flex-end' },\n stepItem: { flex: 1, flexDirection: 'column', gap: 4 },\n labelRow: { height: 12, justifyContent: 'flex-end' },\n label: { fontWeight: '600', letterSpacing: 0.8, textTransform: 'uppercase' },\n track: { overflow: 'hidden', position: 'relative' },\n trackFill: { position: 'absolute', left: 0 },\n dot: { alignSelf: 'flex-end' },\n})\n","export const stepperTokens = {\n trackHeight: 4,\n trackRadius: 8,\n dotSize: 4,\n labelFontSize: 10,\n gap: 4,\n}\n","import { Pressable, View, Text, StyleSheet, type StyleProp, type ViewStyle } from 'react-native'\nimport { useTheme } from '../../context/ThemeProvider'\nimport { ratingScaleTokens, DEFAULT_OPTIONS } from './RatingScale.styles'\n\ntype RatingScaleOption = {\n emoji: string\n label: string\n}\n\ntype RatingScaleProps = {\n value?: number | null\n onChange?: (value: number) => void\n options?: ReadonlyArray<RatingScaleOption>\n style?: StyleProp<ViewStyle>\n}\n\nexport function RatingScale({ value = null, onChange, options = DEFAULT_OPTIONS, style }: RatingScaleProps) {\n const { theme } = useTheme()\n const { itemWidth, circleSize, circlePadding, circleRadius, emojiFontSize, emojiLineHeight, labelFontSize, numberFontSize, labelNumberGap } = ratingScaleTokens\n\n return (\n <View style={[styles.container, style]}>\n {options.map((option, index) => {\n const itemValue = index + 1\n const selected = value === itemValue\n return (\n <Pressable\n key={itemValue}\n onPress={() => onChange?.(itemValue)}\n style={styles.item}\n accessibilityRole=\"button\"\n accessibilityState={{ selected }}\n >\n <View\n style={[\n styles.circle,\n {\n width: circleSize,\n height: circleSize,\n borderRadius: circleRadius,\n padding: circlePadding,\n backgroundColor: selected ? theme.primary : theme.surface,\n borderWidth: selected ? 0 : 1,\n borderColor: theme.border,\n },\n ]}\n >\n <Text style={[styles.emoji, { fontSize: emojiFontSize, lineHeight: emojiLineHeight }]}>\n {option.emoji}\n </Text>\n </View>\n <View style={[styles.labelContainer, { gap: labelNumberGap }]}>\n <Text\n style={[\n styles.label,\n {\n fontSize: labelFontSize,\n color: selected ? theme.primary : theme.onBackground,\n fontWeight: selected ? '700' : '500',\n width: itemWidth,\n },\n ]}\n >\n {option.label}\n </Text>\n <Text style={[styles.number, { fontSize: numberFontSize, color: theme.textTertiary }]}>\n {itemValue}\n </Text>\n </View>\n </Pressable>\n )\n })}\n </View>\n )\n}\n\nconst styles = StyleSheet.create({\n container: { flexDirection: 'row', justifyContent: 'space-between' },\n item: { alignItems: 'center', gap: 8 },\n circle: { alignItems: 'center', justifyContent: 'center', overflow: 'hidden' },\n emoji: { textAlign: 'center' },\n labelContainer: { alignItems: 'center' },\n label: { textAlign: 'center', lineHeight: 16 },\n number: { fontWeight: '600', letterSpacing: 0.8, textAlign: 'center', lineHeight: 10 },\n})\n"],"mappings":";;;;;;;;;;;;AAAA,SAAS,eAAe,YAAY,eAAe;AAoB1C;AAbT,IAAM,iBAAiB,cAA0B,EAAE,OAAO,YAAY,aAAa,QAAQ,CAAC;AAErF,SAAS,gBAAgB;AAAA,EAC9B,cAAc;AAAA,EACd;AACF,GAGG;AACD,QAAM,QAAQ;AAAA,IACZ,OAAO,EAAE,OAAO,gBAAgB,SAAS,YAAY,YAAY,YAAY;AAAA,IAC7E,CAAC,WAAW;AAAA,EACd;AACA,SAAO,oBAAC,eAAe,UAAf,EAAwB,OAAe,UAAS;AAC1D;AAEO,SAAS,WAAuB;AACrC,SAAO,WAAW,cAAc;AAClC;;;ACzBA,SAAS,WAAW,MAAM,kBAAuC;;;ACA1D,IAAM,eAAe;AAAA,EAC1B,OAAO;AAAA,IACL,IAAI,EAAE,QAAQ,IAAI,mBAAmB,IAAI,UAAU,GAAG;AAAA,IACtD,IAAI,EAAE,QAAQ,IAAI,mBAAmB,IAAI,UAA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StyleSheet","View","StyleSheet","jsx","View","styles","StyleSheet","View","StyleSheet","jsx","jsxs","View","styles","StyleSheet","Pressable","View","StyleSheet","jsx","Pressable","styles","View","StyleSheet","Pressable","View","Text","StyleSheet","jsx","jsxs","Pressable","styles","View","Text","StyleSheet","View","jsx","Pressable","View","Text","StyleSheet","jsx","jsxs","Pressable","styles","View","Text","StyleSheet","View","Text","StyleSheet","jsx","jsxs","View","styles","Text","StyleSheet","Pressable","View","Text","StyleSheet","jsx","jsxs","View","styles","Pressable","Text","StyleSheet"]}
@@ -1,22 +1,111 @@
1
- export { Colors, colors } from './tokens/index.mjs';
2
-
3
- interface Theme {
4
- background: string;
5
- surface: string;
6
- border: string;
7
- onBackground: string;
8
- onSurface: string;
9
- muted: string;
10
- primary: string;
11
- secondary: string;
12
- success: string;
13
- error: string;
14
- warning: string;
15
- info: string;
16
- }
17
-
18
- declare const lightTheme: Theme;
19
-
20
- declare const darkTheme: Theme;
21
-
22
- export { type Theme, darkTheme, lightTheme };
1
+ export { Colors, Typography, colors, typography } from './tokens/index.mjs';
2
+ export { T as Theme, d as darkTheme, l as lightTheme } from './darkTheme-gaad4-zD.mjs';
3
+ import * as react_jsx_runtime from 'react/jsx-runtime';
4
+ import * as class_variance_authority_types from 'class-variance-authority/types';
5
+ import { VariantProps } from 'class-variance-authority';
6
+
7
+ declare const button: (props?: ({
8
+ variant?: "primary" | "secondary" | "ghost" | null | undefined;
9
+ size?: "sm" | "md" | "lg" | null | undefined;
10
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
11
+ type ButtonProps = VariantProps<typeof button> & {
12
+ children: React.ReactNode;
13
+ disabled?: boolean;
14
+ onClick?: React.MouseEventHandler<HTMLButtonElement>;
15
+ type?: 'button' | 'submit' | 'reset';
16
+ className?: string;
17
+ };
18
+ declare function Button({ variant, size, disabled, children, onClick, type, className }: ButtonProps): react_jsx_runtime.JSX.Element;
19
+
20
+ type ChipProps = {
21
+ children: React.ReactNode;
22
+ checked?: boolean;
23
+ onClick?: () => void;
24
+ className?: string;
25
+ };
26
+ declare function Chip({ children, checked, onClick, className }: ChipProps): react_jsx_runtime.JSX.Element;
27
+
28
+ type AlertVariant = 'success' | 'info';
29
+ type AlertProps = {
30
+ variant?: AlertVariant;
31
+ title: string;
32
+ description?: string;
33
+ className?: string;
34
+ };
35
+ declare function Alert({ variant, title, description, className }: AlertProps): react_jsx_runtime.JSX.Element;
36
+
37
+ type ProgressBarProps = {
38
+ value: number;
39
+ className?: string;
40
+ };
41
+ declare function ProgressBar({ value, className }: ProgressBarProps): react_jsx_runtime.JSX.Element;
42
+
43
+ type InputState = 'default' | 'filled' | 'error' | 'disabled';
44
+ type InputProps = {
45
+ value?: string;
46
+ placeholder?: string;
47
+ state?: InputState;
48
+ leadingIcon?: React.ReactNode;
49
+ onChange?: React.ChangeEventHandler<HTMLInputElement>;
50
+ className?: string;
51
+ };
52
+ declare function Input({ value, placeholder, state, leadingIcon, onChange, className }: InputProps): react_jsx_runtime.JSX.Element;
53
+
54
+ type CheckboxProps = {
55
+ checked?: boolean;
56
+ onChange?: (checked: boolean) => void;
57
+ disabled?: boolean;
58
+ className?: string;
59
+ };
60
+ declare function Checkbox({ checked, onChange, disabled, className }: CheckboxProps): react_jsx_runtime.JSX.Element;
61
+
62
+ type RadioItemProps = {
63
+ label: string;
64
+ description?: string;
65
+ selected?: boolean;
66
+ icon?: React.ReactNode;
67
+ onClick?: () => void;
68
+ className?: string;
69
+ };
70
+ declare function RadioItem({ label, description, selected, icon, onClick, className }: RadioItemProps): react_jsx_runtime.JSX.Element;
71
+
72
+ type RadioGroupProps = {
73
+ children: React.ReactNode;
74
+ label?: string;
75
+ className?: string;
76
+ };
77
+ declare function RadioGroup({ children, label, className }: RadioGroupProps): react_jsx_runtime.JSX.Element;
78
+
79
+ type ActionItemProps = {
80
+ label: string;
81
+ description?: string;
82
+ selected?: boolean;
83
+ icon?: React.ReactNode;
84
+ onClick?: () => void;
85
+ className?: string;
86
+ };
87
+ declare function ActionItem({ label, description, selected, icon, onClick, className }: ActionItemProps): react_jsx_runtime.JSX.Element;
88
+
89
+ type Step = {
90
+ label: string;
91
+ };
92
+ type StepperProps = {
93
+ steps: Step[];
94
+ currentStep: number;
95
+ className?: string;
96
+ };
97
+ declare function Stepper({ steps, currentStep, className }: StepperProps): react_jsx_runtime.JSX.Element;
98
+
99
+ type RatingScaleOption = {
100
+ emoji: string;
101
+ label: string;
102
+ };
103
+ type RatingScaleProps = {
104
+ value?: number | null;
105
+ onChange?: (value: number) => void;
106
+ options?: ReadonlyArray<RatingScaleOption>;
107
+ className?: string;
108
+ };
109
+ declare function RatingScale({ value, onChange, options, className }: RatingScaleProps): react_jsx_runtime.JSX.Element;
110
+
111
+ export { ActionItem, Alert, Button, Checkbox, Chip, Input, ProgressBar, RadioGroup, RadioItem, RatingScale, Stepper };
@@ -1,22 +1,111 @@
1
- export { Colors, colors } from './tokens/index.js';
2
-
3
- interface Theme {
4
- background: string;
5
- surface: string;
6
- border: string;
7
- onBackground: string;
8
- onSurface: string;
9
- muted: string;
10
- primary: string;
11
- secondary: string;
12
- success: string;
13
- error: string;
14
- warning: string;
15
- info: string;
16
- }
17
-
18
- declare const lightTheme: Theme;
19
-
20
- declare const darkTheme: Theme;
21
-
22
- export { type Theme, darkTheme, lightTheme };
1
+ export { Colors, Typography, colors, typography } from './tokens/index.js';
2
+ export { T as Theme, d as darkTheme, l as lightTheme } from './darkTheme-gaad4-zD.js';
3
+ import * as react_jsx_runtime from 'react/jsx-runtime';
4
+ import * as class_variance_authority_types from 'class-variance-authority/types';
5
+ import { VariantProps } from 'class-variance-authority';
6
+
7
+ declare const button: (props?: ({
8
+ variant?: "primary" | "secondary" | "ghost" | null | undefined;
9
+ size?: "sm" | "md" | "lg" | null | undefined;
10
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
11
+ type ButtonProps = VariantProps<typeof button> & {
12
+ children: React.ReactNode;
13
+ disabled?: boolean;
14
+ onClick?: React.MouseEventHandler<HTMLButtonElement>;
15
+ type?: 'button' | 'submit' | 'reset';
16
+ className?: string;
17
+ };
18
+ declare function Button({ variant, size, disabled, children, onClick, type, className }: ButtonProps): react_jsx_runtime.JSX.Element;
19
+
20
+ type ChipProps = {
21
+ children: React.ReactNode;
22
+ checked?: boolean;
23
+ onClick?: () => void;
24
+ className?: string;
25
+ };
26
+ declare function Chip({ children, checked, onClick, className }: ChipProps): react_jsx_runtime.JSX.Element;
27
+
28
+ type AlertVariant = 'success' | 'info';
29
+ type AlertProps = {
30
+ variant?: AlertVariant;
31
+ title: string;
32
+ description?: string;
33
+ className?: string;
34
+ };
35
+ declare function Alert({ variant, title, description, className }: AlertProps): react_jsx_runtime.JSX.Element;
36
+
37
+ type ProgressBarProps = {
38
+ value: number;
39
+ className?: string;
40
+ };
41
+ declare function ProgressBar({ value, className }: ProgressBarProps): react_jsx_runtime.JSX.Element;
42
+
43
+ type InputState = 'default' | 'filled' | 'error' | 'disabled';
44
+ type InputProps = {
45
+ value?: string;
46
+ placeholder?: string;
47
+ state?: InputState;
48
+ leadingIcon?: React.ReactNode;
49
+ onChange?: React.ChangeEventHandler<HTMLInputElement>;
50
+ className?: string;
51
+ };
52
+ declare function Input({ value, placeholder, state, leadingIcon, onChange, className }: InputProps): react_jsx_runtime.JSX.Element;
53
+
54
+ type CheckboxProps = {
55
+ checked?: boolean;
56
+ onChange?: (checked: boolean) => void;
57
+ disabled?: boolean;
58
+ className?: string;
59
+ };
60
+ declare function Checkbox({ checked, onChange, disabled, className }: CheckboxProps): react_jsx_runtime.JSX.Element;
61
+
62
+ type RadioItemProps = {
63
+ label: string;
64
+ description?: string;
65
+ selected?: boolean;
66
+ icon?: React.ReactNode;
67
+ onClick?: () => void;
68
+ className?: string;
69
+ };
70
+ declare function RadioItem({ label, description, selected, icon, onClick, className }: RadioItemProps): react_jsx_runtime.JSX.Element;
71
+
72
+ type RadioGroupProps = {
73
+ children: React.ReactNode;
74
+ label?: string;
75
+ className?: string;
76
+ };
77
+ declare function RadioGroup({ children, label, className }: RadioGroupProps): react_jsx_runtime.JSX.Element;
78
+
79
+ type ActionItemProps = {
80
+ label: string;
81
+ description?: string;
82
+ selected?: boolean;
83
+ icon?: React.ReactNode;
84
+ onClick?: () => void;
85
+ className?: string;
86
+ };
87
+ declare function ActionItem({ label, description, selected, icon, onClick, className }: ActionItemProps): react_jsx_runtime.JSX.Element;
88
+
89
+ type Step = {
90
+ label: string;
91
+ };
92
+ type StepperProps = {
93
+ steps: Step[];
94
+ currentStep: number;
95
+ className?: string;
96
+ };
97
+ declare function Stepper({ steps, currentStep, className }: StepperProps): react_jsx_runtime.JSX.Element;
98
+
99
+ type RatingScaleOption = {
100
+ emoji: string;
101
+ label: string;
102
+ };
103
+ type RatingScaleProps = {
104
+ value?: number | null;
105
+ onChange?: (value: number) => void;
106
+ options?: ReadonlyArray<RatingScaleOption>;
107
+ className?: string;
108
+ };
109
+ declare function RatingScale({ value, onChange, options, className }: RatingScaleProps): react_jsx_runtime.JSX.Element;
110
+
111
+ export { ActionItem, Alert, Button, Checkbox, Chip, Input, ProgressBar, RadioGroup, RadioItem, RatingScale, Stepper };