@onesaz/ui 0.2.0 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -170,4 +170,6 @@ interface ComboboxProps {
170
170
  }
171
171
  declare const Combobox: React.ForwardRefExoticComponent<ComboboxProps & React.RefAttributes<HTMLInputElement>>;
172
172
 
173
- export { Badge, type BadgeProps, Button, type ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, type CheckboxProps, Combobox, type ComboboxOption, type ComboboxProps, DialogNamespace as Dialog, DialogContent, type DialogContentProps, DialogDescription, DialogFooter, DialogHeader, type DialogProps, DialogTitle, Input, type InputProps, Label, type LabelProps, PaginationNamespace as Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, type PaginationLinkProps, PaginationNext, PaginationPrevious, type PaginationProps, SelectNamespace as Select, SelectGroup, type SelectGroupProps, SelectOption, type SelectOptionProps, type SelectProps, Separator, type SeparatorProps, Spinner, type SpinnerProps, Switch, type SwitchProps, TableNamespace as Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Textarea, type TextareaProps, ThemeContext, type ThemeContextValue, ThemeProvider, type ThemeProviderProps, cn, useTheme };
173
+ declare const Playground: () => react_jsx_runtime.JSX.Element;
174
+
175
+ export { Badge, type BadgeProps, Button, type ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, type CheckboxProps, Combobox, type ComboboxOption, type ComboboxProps, DialogNamespace as Dialog, DialogContent, type DialogContentProps, DialogDescription, DialogFooter, DialogHeader, type DialogProps, DialogTitle, Input, type InputProps, Label, type LabelProps, PaginationNamespace as Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, type PaginationLinkProps, PaginationNext, PaginationPrevious, type PaginationProps, Playground, SelectNamespace as Select, SelectGroup, type SelectGroupProps, SelectOption, type SelectOptionProps, type SelectProps, Separator, type SeparatorProps, Spinner, type SpinnerProps, Switch, type SwitchProps, TableNamespace as Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Textarea, type TextareaProps, ThemeContext, type ThemeContextValue, ThemeProvider, type ThemeProviderProps, cn, useTheme };
package/dist/index.js CHANGED
@@ -997,6 +997,329 @@ var Combobox = React16.forwardRef(
997
997
  }
998
998
  );
999
999
  Combobox.displayName = "Combobox";
1000
+
1001
+ // src/playground.tsx
1002
+ import * as React17 from "react";
1003
+ import { jsx as jsx17, jsxs as jsxs5 } from "react/jsx-runtime";
1004
+ var Section = ({ title, children }) => /* @__PURE__ */ jsxs5("div", { className: "mb-8", children: [
1005
+ /* @__PURE__ */ jsx17("h2", { className: "text-xl font-semibold mb-4 text-foreground", children: title }),
1006
+ /* @__PURE__ */ jsx17("div", { className: "p-4 border border-border rounded-lg bg-background", children })
1007
+ ] });
1008
+ var ThemeToggle = () => {
1009
+ const { theme, setTheme } = useTheme();
1010
+ return /* @__PURE__ */ jsxs5("div", { className: "flex items-center gap-2", children: [
1011
+ /* @__PURE__ */ jsx17(Label, { children: "Theme:" }),
1012
+ /* @__PURE__ */ jsxs5(SelectNamespace, { value: theme, onChange: (e) => setTheme(e.target.value), children: [
1013
+ /* @__PURE__ */ jsx17(SelectOption, { value: "light", children: "Light" }),
1014
+ /* @__PURE__ */ jsx17(SelectOption, { value: "dark", children: "Dark" }),
1015
+ /* @__PURE__ */ jsx17(SelectOption, { value: "system", children: "System" })
1016
+ ] })
1017
+ ] });
1018
+ };
1019
+ var PlaygroundContent = () => {
1020
+ const [dialogOpen, setDialogOpen] = React17.useState(false);
1021
+ const [checkboxChecked, setCheckboxChecked] = React17.useState(false);
1022
+ const [switchChecked, setSwitchChecked] = React17.useState(false);
1023
+ const [inputValue, setInputValue] = React17.useState("");
1024
+ const [textareaValue, setTextareaValue] = React17.useState("");
1025
+ const [selectValue, setSelectValue] = React17.useState("");
1026
+ const [comboboxValue, setComboboxValue] = React17.useState("");
1027
+ const comboboxOptions = [
1028
+ { value: "react", label: "React" },
1029
+ { value: "vue", label: "Vue" },
1030
+ { value: "angular", label: "Angular" },
1031
+ { value: "svelte", label: "Svelte" },
1032
+ { value: "solid", label: "SolidJS" }
1033
+ ];
1034
+ return /* @__PURE__ */ jsx17("div", { className: "min-h-screen bg-background p-8", children: /* @__PURE__ */ jsxs5("div", { className: "max-w-4xl mx-auto", children: [
1035
+ /* @__PURE__ */ jsxs5("div", { className: "flex items-center justify-between mb-8", children: [
1036
+ /* @__PURE__ */ jsx17("h1", { className: "text-3xl font-bold text-foreground", children: "@onesaz/ui Playground" }),
1037
+ /* @__PURE__ */ jsx17(ThemeToggle, {})
1038
+ ] }),
1039
+ /* @__PURE__ */ jsxs5(Section, { title: "Button", children: [
1040
+ /* @__PURE__ */ jsxs5("div", { className: "flex flex-wrap gap-4", children: [
1041
+ /* @__PURE__ */ jsx17(Button, { variant: "default", children: "Default" }),
1042
+ /* @__PURE__ */ jsx17(Button, { variant: "destructive", children: "Destructive" }),
1043
+ /* @__PURE__ */ jsx17(Button, { variant: "outline", children: "Outline" }),
1044
+ /* @__PURE__ */ jsx17(Button, { variant: "secondary", children: "Secondary" }),
1045
+ /* @__PURE__ */ jsx17(Button, { variant: "ghost", children: "Ghost" }),
1046
+ /* @__PURE__ */ jsx17(Button, { variant: "link", children: "Link" })
1047
+ ] }),
1048
+ /* @__PURE__ */ jsxs5("div", { className: "flex flex-wrap gap-4 mt-4", children: [
1049
+ /* @__PURE__ */ jsx17(Button, { size: "sm", children: "Small" }),
1050
+ /* @__PURE__ */ jsx17(Button, { size: "default", children: "Default" }),
1051
+ /* @__PURE__ */ jsx17(Button, { size: "lg", children: "Large" }),
1052
+ /* @__PURE__ */ jsx17(Button, { size: "icon", children: "\u{1F514}" })
1053
+ ] }),
1054
+ /* @__PURE__ */ jsxs5("div", { className: "flex flex-wrap gap-4 mt-4", children: [
1055
+ /* @__PURE__ */ jsx17(Button, { disabled: true, children: "Disabled" }),
1056
+ /* @__PURE__ */ jsx17(Button, { variant: "outline", disabled: true, children: "Disabled Outline" })
1057
+ ] })
1058
+ ] }),
1059
+ /* @__PURE__ */ jsx17(Section, { title: "Input", children: /* @__PURE__ */ jsxs5("div", { className: "space-y-4 max-w-md", children: [
1060
+ /* @__PURE__ */ jsxs5("div", { children: [
1061
+ /* @__PURE__ */ jsx17(Label, { htmlFor: "input-default", children: "Default Input" }),
1062
+ /* @__PURE__ */ jsx17(
1063
+ Input,
1064
+ {
1065
+ id: "input-default",
1066
+ placeholder: "Enter text...",
1067
+ value: inputValue,
1068
+ onChange: (e) => setInputValue(e.target.value)
1069
+ }
1070
+ )
1071
+ ] }),
1072
+ /* @__PURE__ */ jsxs5("div", { children: [
1073
+ /* @__PURE__ */ jsx17(Label, { htmlFor: "input-disabled", children: "Disabled Input" }),
1074
+ /* @__PURE__ */ jsx17(Input, { id: "input-disabled", placeholder: "Disabled...", disabled: true })
1075
+ ] }),
1076
+ /* @__PURE__ */ jsxs5("div", { children: [
1077
+ /* @__PURE__ */ jsx17(Label, { htmlFor: "input-type", children: "Email Input" }),
1078
+ /* @__PURE__ */ jsx17(Input, { id: "input-type", type: "email", placeholder: "email@example.com" })
1079
+ ] })
1080
+ ] }) }),
1081
+ /* @__PURE__ */ jsx17(Section, { title: "Textarea", children: /* @__PURE__ */ jsxs5("div", { className: "space-y-4 max-w-md", children: [
1082
+ /* @__PURE__ */ jsxs5("div", { children: [
1083
+ /* @__PURE__ */ jsx17(Label, { htmlFor: "textarea-default", children: "Default Textarea" }),
1084
+ /* @__PURE__ */ jsx17(
1085
+ Textarea,
1086
+ {
1087
+ id: "textarea-default",
1088
+ placeholder: "Enter long text...",
1089
+ value: textareaValue,
1090
+ onChange: (e) => setTextareaValue(e.target.value)
1091
+ }
1092
+ )
1093
+ ] }),
1094
+ /* @__PURE__ */ jsxs5("div", { children: [
1095
+ /* @__PURE__ */ jsx17(Label, { htmlFor: "textarea-disabled", children: "Disabled Textarea" }),
1096
+ /* @__PURE__ */ jsx17(Textarea, { id: "textarea-disabled", placeholder: "Disabled...", disabled: true })
1097
+ ] })
1098
+ ] }) }),
1099
+ /* @__PURE__ */ jsx17(Section, { title: "Select", children: /* @__PURE__ */ jsxs5("div", { className: "space-y-4 max-w-md", children: [
1100
+ /* @__PURE__ */ jsxs5("div", { children: [
1101
+ /* @__PURE__ */ jsx17(Label, { htmlFor: "select-default", children: "Default Select" }),
1102
+ /* @__PURE__ */ jsxs5(
1103
+ SelectNamespace,
1104
+ {
1105
+ id: "select-default",
1106
+ value: selectValue,
1107
+ onChange: (e) => setSelectValue(e.target.value),
1108
+ children: [
1109
+ /* @__PURE__ */ jsx17(SelectOption, { value: "", children: "Select an option..." }),
1110
+ /* @__PURE__ */ jsx17(SelectOption, { value: "option1", children: "Option 1" }),
1111
+ /* @__PURE__ */ jsx17(SelectOption, { value: "option2", children: "Option 2" }),
1112
+ /* @__PURE__ */ jsx17(SelectOption, { value: "option3", children: "Option 3" })
1113
+ ]
1114
+ }
1115
+ )
1116
+ ] }),
1117
+ /* @__PURE__ */ jsxs5("div", { children: [
1118
+ /* @__PURE__ */ jsx17(Label, { htmlFor: "select-grouped", children: "Grouped Select" }),
1119
+ /* @__PURE__ */ jsxs5(SelectNamespace, { id: "select-grouped", children: [
1120
+ /* @__PURE__ */ jsxs5(SelectGroup, { label: "Fruits", children: [
1121
+ /* @__PURE__ */ jsx17(SelectOption, { value: "apple", children: "Apple" }),
1122
+ /* @__PURE__ */ jsx17(SelectOption, { value: "banana", children: "Banana" })
1123
+ ] }),
1124
+ /* @__PURE__ */ jsxs5(SelectGroup, { label: "Vegetables", children: [
1125
+ /* @__PURE__ */ jsx17(SelectOption, { value: "carrot", children: "Carrot" }),
1126
+ /* @__PURE__ */ jsx17(SelectOption, { value: "potato", children: "Potato" })
1127
+ ] })
1128
+ ] })
1129
+ ] }),
1130
+ /* @__PURE__ */ jsxs5("div", { children: [
1131
+ /* @__PURE__ */ jsx17(Label, { htmlFor: "select-disabled", children: "Disabled Select" }),
1132
+ /* @__PURE__ */ jsx17(SelectNamespace, { id: "select-disabled", disabled: true, children: /* @__PURE__ */ jsx17(SelectOption, { value: "", children: "Disabled..." }) })
1133
+ ] })
1134
+ ] }) }),
1135
+ /* @__PURE__ */ jsx17(Section, { title: "Combobox (Searchable Select)", children: /* @__PURE__ */ jsx17("div", { className: "space-y-4 max-w-md", children: /* @__PURE__ */ jsxs5("div", { children: [
1136
+ /* @__PURE__ */ jsx17(Label, { children: "Framework" }),
1137
+ /* @__PURE__ */ jsx17(
1138
+ Combobox,
1139
+ {
1140
+ options: comboboxOptions,
1141
+ value: comboboxValue,
1142
+ onValueChange: setComboboxValue,
1143
+ placeholder: "Search frameworks..."
1144
+ }
1145
+ )
1146
+ ] }) }) }),
1147
+ /* @__PURE__ */ jsx17(Section, { title: "Checkbox & Switch", children: /* @__PURE__ */ jsxs5("div", { className: "space-y-4", children: [
1148
+ /* @__PURE__ */ jsxs5("div", { className: "flex items-center gap-2", children: [
1149
+ /* @__PURE__ */ jsx17(
1150
+ Checkbox,
1151
+ {
1152
+ id: "checkbox",
1153
+ checked: checkboxChecked,
1154
+ onChange: (e) => setCheckboxChecked(e.target.checked)
1155
+ }
1156
+ ),
1157
+ /* @__PURE__ */ jsx17(Label, { htmlFor: "checkbox", children: "Accept terms and conditions" })
1158
+ ] }),
1159
+ /* @__PURE__ */ jsxs5("div", { className: "flex items-center gap-2", children: [
1160
+ /* @__PURE__ */ jsx17(Checkbox, { id: "checkbox-disabled", disabled: true }),
1161
+ /* @__PURE__ */ jsx17(Label, { htmlFor: "checkbox-disabled", children: "Disabled checkbox" })
1162
+ ] }),
1163
+ /* @__PURE__ */ jsx17(Separator, {}),
1164
+ /* @__PURE__ */ jsxs5("div", { className: "flex items-center gap-2", children: [
1165
+ /* @__PURE__ */ jsx17(
1166
+ Switch,
1167
+ {
1168
+ id: "switch",
1169
+ checked: switchChecked,
1170
+ onChange: (e) => setSwitchChecked(e.target.checked)
1171
+ }
1172
+ ),
1173
+ /* @__PURE__ */ jsx17(Label, { htmlFor: "switch", children: "Enable notifications" })
1174
+ ] }),
1175
+ /* @__PURE__ */ jsxs5("div", { className: "flex items-center gap-2", children: [
1176
+ /* @__PURE__ */ jsx17(Switch, { id: "switch-disabled", disabled: true }),
1177
+ /* @__PURE__ */ jsx17(Label, { htmlFor: "switch-disabled", children: "Disabled switch" })
1178
+ ] })
1179
+ ] }) }),
1180
+ /* @__PURE__ */ jsx17(Section, { title: "Badge", children: /* @__PURE__ */ jsxs5("div", { className: "flex flex-wrap gap-4", children: [
1181
+ /* @__PURE__ */ jsx17(Badge, { children: "Default" }),
1182
+ /* @__PURE__ */ jsx17(Badge, { variant: "secondary", children: "Secondary" }),
1183
+ /* @__PURE__ */ jsx17(Badge, { variant: "destructive", children: "Destructive" }),
1184
+ /* @__PURE__ */ jsx17(Badge, { variant: "outline", children: "Outline" })
1185
+ ] }) }),
1186
+ /* @__PURE__ */ jsx17(Section, { title: "Card", children: /* @__PURE__ */ jsxs5("div", { className: "grid gap-4 md:grid-cols-2", children: [
1187
+ /* @__PURE__ */ jsxs5(Card, { children: [
1188
+ /* @__PURE__ */ jsxs5(CardHeader, { children: [
1189
+ /* @__PURE__ */ jsx17(CardTitle, { children: "Card Title" }),
1190
+ /* @__PURE__ */ jsx17(CardDescription, { children: "Card description goes here" })
1191
+ ] }),
1192
+ /* @__PURE__ */ jsx17(CardContent, { children: /* @__PURE__ */ jsx17("p", { className: "text-foreground", children: "This is the card content area." }) }),
1193
+ /* @__PURE__ */ jsxs5(CardFooter, { children: [
1194
+ /* @__PURE__ */ jsx17(Button, { variant: "outline", className: "mr-2", children: "Cancel" }),
1195
+ /* @__PURE__ */ jsx17(Button, { children: "Submit" })
1196
+ ] })
1197
+ ] }),
1198
+ /* @__PURE__ */ jsxs5(Card, { children: [
1199
+ /* @__PURE__ */ jsxs5(CardHeader, { children: [
1200
+ /* @__PURE__ */ jsx17(CardTitle, { children: "Another Card" }),
1201
+ /* @__PURE__ */ jsx17(CardDescription, { children: "With different content" })
1202
+ ] }),
1203
+ /* @__PURE__ */ jsx17(CardContent, { children: /* @__PURE__ */ jsxs5("div", { className: "space-y-2", children: [
1204
+ /* @__PURE__ */ jsx17(Label, { htmlFor: "card-input", children: "Name" }),
1205
+ /* @__PURE__ */ jsx17(Input, { id: "card-input", placeholder: "Enter name..." })
1206
+ ] }) }),
1207
+ /* @__PURE__ */ jsx17(CardFooter, { children: /* @__PURE__ */ jsx17(Button, { className: "w-full", children: "Save" }) })
1208
+ ] })
1209
+ ] }) }),
1210
+ /* @__PURE__ */ jsxs5(Section, { title: "Dialog", children: [
1211
+ /* @__PURE__ */ jsx17(Button, { onClick: () => setDialogOpen(true), children: "Open Dialog" }),
1212
+ /* @__PURE__ */ jsx17(DialogNamespace, { open: dialogOpen, onOpenChange: setDialogOpen, children: /* @__PURE__ */ jsxs5(DialogContent, { onClose: () => setDialogOpen(false), children: [
1213
+ /* @__PURE__ */ jsxs5(DialogHeader, { children: [
1214
+ /* @__PURE__ */ jsx17(DialogTitle, { children: "Create New Zone" }),
1215
+ /* @__PURE__ */ jsx17(DialogDescription, { children: "Fill in the details below to create a new zone." })
1216
+ ] }),
1217
+ /* @__PURE__ */ jsxs5("div", { className: "space-y-4 py-4", children: [
1218
+ /* @__PURE__ */ jsxs5("div", { className: "grid grid-cols-2 gap-4", children: [
1219
+ /* @__PURE__ */ jsxs5("div", { children: [
1220
+ /* @__PURE__ */ jsx17(Label, { htmlFor: "zone-name", children: "Zone Name *" }),
1221
+ /* @__PURE__ */ jsx17(Input, { id: "zone-name", placeholder: "eg:hyderabad" })
1222
+ ] }),
1223
+ /* @__PURE__ */ jsxs5("div", { children: [
1224
+ /* @__PURE__ */ jsx17(Label, { htmlFor: "zone-code", children: "Zone Code *" }),
1225
+ /* @__PURE__ */ jsx17(Input, { id: "zone-code", placeholder: "eg :hyd022" })
1226
+ ] })
1227
+ ] }),
1228
+ /* @__PURE__ */ jsxs5("div", { className: "grid grid-cols-2 gap-4", children: [
1229
+ /* @__PURE__ */ jsxs5("div", { children: [
1230
+ /* @__PURE__ */ jsx17(Label, { htmlFor: "state", children: "State *" }),
1231
+ /* @__PURE__ */ jsxs5(SelectNamespace, { id: "state", children: [
1232
+ /* @__PURE__ */ jsx17(SelectOption, { value: "", children: "Select state" }),
1233
+ /* @__PURE__ */ jsx17(SelectOption, { value: "telangana", children: "TELANGANA" }),
1234
+ /* @__PURE__ */ jsx17(SelectOption, { value: "andhra", children: "ANDHRA PRADESH" })
1235
+ ] })
1236
+ ] }),
1237
+ /* @__PURE__ */ jsxs5("div", { children: [
1238
+ /* @__PURE__ */ jsx17(Label, { htmlFor: "district", children: "District *" }),
1239
+ /* @__PURE__ */ jsxs5(SelectNamespace, { id: "district", children: [
1240
+ /* @__PURE__ */ jsx17(SelectOption, { value: "", children: "Select District" }),
1241
+ /* @__PURE__ */ jsx17(SelectOption, { value: "hyderabad", children: "HYDERABAD" }),
1242
+ /* @__PURE__ */ jsx17(SelectOption, { value: "rangareddy", children: "RANGAREDDY" })
1243
+ ] })
1244
+ ] })
1245
+ ] })
1246
+ ] }),
1247
+ /* @__PURE__ */ jsxs5(DialogFooter, { children: [
1248
+ /* @__PURE__ */ jsx17(Button, { variant: "outline", onClick: () => setDialogOpen(false), children: "CANCEL" }),
1249
+ /* @__PURE__ */ jsx17(Button, { onClick: () => setDialogOpen(false), children: "Create" })
1250
+ ] })
1251
+ ] }) })
1252
+ ] }),
1253
+ /* @__PURE__ */ jsx17(Section, { title: "Table", children: /* @__PURE__ */ jsxs5(TableNamespace, { children: [
1254
+ /* @__PURE__ */ jsx17(TableCaption, { children: "A list of recent invoices" }),
1255
+ /* @__PURE__ */ jsx17(TableHeader, { children: /* @__PURE__ */ jsxs5(TableRow, { children: [
1256
+ /* @__PURE__ */ jsx17(TableHead, { children: "Invoice" }),
1257
+ /* @__PURE__ */ jsx17(TableHead, { children: "Status" }),
1258
+ /* @__PURE__ */ jsx17(TableHead, { children: "Method" }),
1259
+ /* @__PURE__ */ jsx17(TableHead, { className: "text-right", children: "Amount" })
1260
+ ] }) }),
1261
+ /* @__PURE__ */ jsxs5(TableBody, { children: [
1262
+ /* @__PURE__ */ jsxs5(TableRow, { children: [
1263
+ /* @__PURE__ */ jsx17(TableCell, { children: "INV001" }),
1264
+ /* @__PURE__ */ jsx17(TableCell, { children: /* @__PURE__ */ jsx17(Badge, { children: "Paid" }) }),
1265
+ /* @__PURE__ */ jsx17(TableCell, { children: "Credit Card" }),
1266
+ /* @__PURE__ */ jsx17(TableCell, { className: "text-right", children: "$250.00" })
1267
+ ] }),
1268
+ /* @__PURE__ */ jsxs5(TableRow, { children: [
1269
+ /* @__PURE__ */ jsx17(TableCell, { children: "INV002" }),
1270
+ /* @__PURE__ */ jsx17(TableCell, { children: /* @__PURE__ */ jsx17(Badge, { variant: "secondary", children: "Pending" }) }),
1271
+ /* @__PURE__ */ jsx17(TableCell, { children: "PayPal" }),
1272
+ /* @__PURE__ */ jsx17(TableCell, { className: "text-right", children: "$150.00" })
1273
+ ] }),
1274
+ /* @__PURE__ */ jsxs5(TableRow, { children: [
1275
+ /* @__PURE__ */ jsx17(TableCell, { children: "INV003" }),
1276
+ /* @__PURE__ */ jsx17(TableCell, { children: /* @__PURE__ */ jsx17(Badge, { variant: "destructive", children: "Failed" }) }),
1277
+ /* @__PURE__ */ jsx17(TableCell, { children: "Bank Transfer" }),
1278
+ /* @__PURE__ */ jsx17(TableCell, { className: "text-right", children: "$350.00" })
1279
+ ] })
1280
+ ] })
1281
+ ] }) }),
1282
+ /* @__PURE__ */ jsx17(Section, { title: "Pagination", children: /* @__PURE__ */ jsx17(PaginationNamespace, { children: /* @__PURE__ */ jsxs5(PaginationContent, { children: [
1283
+ /* @__PURE__ */ jsx17(PaginationItem, { children: /* @__PURE__ */ jsx17(PaginationPrevious, { onClick: () => console.log("Previous") }) }),
1284
+ /* @__PURE__ */ jsx17(PaginationItem, { children: /* @__PURE__ */ jsx17(PaginationLink, { isActive: true, children: "1" }) }),
1285
+ /* @__PURE__ */ jsx17(PaginationItem, { children: /* @__PURE__ */ jsx17(PaginationLink, { children: "2" }) }),
1286
+ /* @__PURE__ */ jsx17(PaginationItem, { children: /* @__PURE__ */ jsx17(PaginationLink, { children: "3" }) }),
1287
+ /* @__PURE__ */ jsx17(PaginationItem, { children: /* @__PURE__ */ jsx17(PaginationEllipsis, {}) }),
1288
+ /* @__PURE__ */ jsx17(PaginationItem, { children: /* @__PURE__ */ jsx17(PaginationNext, { onClick: () => console.log("Next") }) })
1289
+ ] }) }) }),
1290
+ /* @__PURE__ */ jsx17(Section, { title: "Spinner", children: /* @__PURE__ */ jsxs5("div", { className: "flex items-center gap-8", children: [
1291
+ /* @__PURE__ */ jsxs5("div", { className: "text-center", children: [
1292
+ /* @__PURE__ */ jsx17(Spinner, { size: "sm" }),
1293
+ /* @__PURE__ */ jsx17("p", { className: "text-sm text-muted-foreground mt-2", children: "Small" })
1294
+ ] }),
1295
+ /* @__PURE__ */ jsxs5("div", { className: "text-center", children: [
1296
+ /* @__PURE__ */ jsx17(Spinner, { size: "default" }),
1297
+ /* @__PURE__ */ jsx17("p", { className: "text-sm text-muted-foreground mt-2", children: "Default" })
1298
+ ] }),
1299
+ /* @__PURE__ */ jsxs5("div", { className: "text-center", children: [
1300
+ /* @__PURE__ */ jsx17(Spinner, { size: "lg" }),
1301
+ /* @__PURE__ */ jsx17("p", { className: "text-sm text-muted-foreground mt-2", children: "Large" })
1302
+ ] })
1303
+ ] }) }),
1304
+ /* @__PURE__ */ jsx17(Section, { title: "Separator", children: /* @__PURE__ */ jsxs5("div", { className: "space-y-4", children: [
1305
+ /* @__PURE__ */ jsx17("p", { className: "text-foreground", children: "Content above separator" }),
1306
+ /* @__PURE__ */ jsx17(Separator, {}),
1307
+ /* @__PURE__ */ jsx17("p", { className: "text-foreground", children: "Content below separator" }),
1308
+ /* @__PURE__ */ jsxs5("div", { className: "flex items-center h-10", children: [
1309
+ /* @__PURE__ */ jsx17("span", { className: "text-foreground", children: "Left" }),
1310
+ /* @__PURE__ */ jsx17(Separator, { orientation: "vertical", className: "mx-4" }),
1311
+ /* @__PURE__ */ jsx17("span", { className: "text-foreground", children: "Right" })
1312
+ ] })
1313
+ ] }) }),
1314
+ /* @__PURE__ */ jsx17(Section, { title: "Typography & Colors", children: /* @__PURE__ */ jsxs5("div", { className: "space-y-2", children: [
1315
+ /* @__PURE__ */ jsx17("p", { className: "text-foreground", children: "text-foreground - Primary text color" }),
1316
+ /* @__PURE__ */ jsx17("p", { className: "text-muted-foreground", children: "text-muted-foreground - Muted text color" }),
1317
+ /* @__PURE__ */ jsx17("p", { className: "text-accent", children: "text-accent - Accent color" }),
1318
+ /* @__PURE__ */ jsx17("p", { className: "text-destructive", children: "text-destructive - Destructive color" })
1319
+ ] }) })
1320
+ ] }) });
1321
+ };
1322
+ var Playground = () => /* @__PURE__ */ jsx17(ThemeProvider, { defaultTheme: "light", children: /* @__PURE__ */ jsx17(PlaygroundContent, {}) });
1000
1323
  export {
1001
1324
  Badge,
1002
1325
  Button,
@@ -1023,6 +1346,7 @@ export {
1023
1346
  PaginationLink,
1024
1347
  PaginationNext,
1025
1348
  PaginationPrevious,
1349
+ Playground,
1026
1350
  SelectNamespace as Select,
1027
1351
  SelectGroup,
1028
1352
  SelectOption,
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/theme/provider.tsx","../src/theme/context.ts","../src/theme/use-theme.ts","../src/utils/cn.ts","../src/components/button.tsx","../src/components/input.tsx","../src/components/textarea.tsx","../src/components/card.tsx","../src/components/badge.tsx","../src/components/label.tsx","../src/components/checkbox.tsx","../src/components/switch.tsx","../src/components/separator.tsx","../src/components/select/index.tsx","../src/components/dialog/index.tsx","../src/components/spinner.tsx","../src/components/table.tsx","../src/components/pagination.tsx","../src/components/combobox/index.tsx"],"sourcesContent":["import * as React from 'react'\nimport {\n accentColors,\n grayColors,\n radiusPresets,\n lightTheme,\n darkTheme,\n type AccentColor,\n type GrayColor,\n type RadiusPreset,\n type Theme,\n} from '@onesaz/tokens'\nimport { ThemeContext } from './context'\n\nexport interface ThemeProviderProps {\n children: React.ReactNode\n defaultTheme?: Theme\n accentColor?: AccentColor\n grayColor?: GrayColor\n radius?: RadiusPreset\n storageKey?: string\n}\n\nfunction getSystemTheme(): 'light' | 'dark' {\n if (typeof window === 'undefined') return 'light'\n return window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light'\n}\n\nexport function ThemeProvider({\n children,\n defaultTheme = 'system',\n accentColor: defaultAccent = 'purple',\n grayColor: defaultGray = 'slate',\n radius: defaultRadius = 'medium',\n storageKey = 'onesaz-theme',\n}: ThemeProviderProps) {\n const [theme, setThemeState] = React.useState<Theme>(() => {\n if (typeof window === 'undefined') return defaultTheme\n const stored = localStorage.getItem(`${storageKey}-mode`)\n return (stored as Theme) || defaultTheme\n })\n\n const [accentColor, setAccentColorState] = React.useState<AccentColor>(() => {\n if (typeof window === 'undefined') return defaultAccent\n const stored = localStorage.getItem(`${storageKey}-accent`)\n return (stored as AccentColor) || defaultAccent\n })\n\n const [grayColor, setGrayColorState] = React.useState<GrayColor>(() => {\n if (typeof window === 'undefined') return defaultGray\n const stored = localStorage.getItem(`${storageKey}-gray`)\n return (stored as GrayColor) || defaultGray\n })\n\n const [radius, setRadiusState] = React.useState<RadiusPreset>(() => {\n if (typeof window === 'undefined') return defaultRadius\n const stored = localStorage.getItem(`${storageKey}-radius`)\n return (stored as RadiusPreset) || defaultRadius\n })\n\n const [resolvedTheme, setResolvedTheme] = React.useState<'light' | 'dark'>(() =>\n theme === 'system' ? getSystemTheme() : theme\n )\n\n // Listen for system theme changes\n React.useEffect(() => {\n if (theme !== 'system') {\n setResolvedTheme(theme)\n return\n }\n\n const mediaQuery = window.matchMedia('(prefers-color-scheme: dark)')\n setResolvedTheme(mediaQuery.matches ? 'dark' : 'light')\n\n const handler = (e: MediaQueryListEvent) => {\n setResolvedTheme(e.matches ? 'dark' : 'light')\n }\n\n mediaQuery.addEventListener('change', handler)\n return () => mediaQuery.removeEventListener('change', handler)\n }, [theme])\n\n // Generate CSS variables\n React.useEffect(() => {\n const root = document.documentElement\n const themeTokens = resolvedTheme === 'dark' ? darkTheme : lightTheme\n const accent = accentColors[accentColor]\n const gray = grayColors[grayColor]\n const radiusValues = radiusPresets[radius]\n\n // Set theme attribute\n root.setAttribute('data-theme', resolvedTheme)\n root.setAttribute('data-accent', accentColor)\n\n // Set gray-based semantic tokens\n root.style.setProperty('--background', gray[themeTokens.background])\n root.style.setProperty('--foreground', gray[themeTokens.foreground])\n root.style.setProperty('--card', gray[themeTokens.card])\n root.style.setProperty('--card-foreground', gray[themeTokens.cardForeground])\n root.style.setProperty('--popover', gray[themeTokens.popover])\n root.style.setProperty('--popover-foreground', gray[themeTokens.popoverForeground])\n root.style.setProperty('--muted', gray[themeTokens.muted])\n root.style.setProperty('--muted-foreground', gray[themeTokens.mutedForeground])\n root.style.setProperty('--border', gray[themeTokens.border])\n root.style.setProperty('--input', gray[themeTokens.input])\n\n // Set accent colors\n root.style.setProperty('--accent', accent[6])\n root.style.setProperty('--accent-foreground', '#ffffff')\n root.style.setProperty('--accent-hover', accent[7])\n root.style.setProperty('--ring', accent[6])\n\n // Set all accent scale values\n Object.entries(accent).forEach(([step, value]) => {\n root.style.setProperty(`--accent-${step}`, value)\n })\n\n // Set destructive colors\n root.style.setProperty('--destructive', resolvedTheme === 'dark' ? '#ef4444' : '#dc2626')\n root.style.setProperty('--destructive-foreground', '#ffffff')\n\n // Set radius\n root.style.setProperty('--radius', radiusValues.md)\n root.style.setProperty('--radius-sm', radiusValues.sm)\n root.style.setProperty('--radius-lg', radiusValues.lg)\n }, [resolvedTheme, accentColor, grayColor, radius])\n\n const setTheme = React.useCallback((newTheme: Theme) => {\n localStorage.setItem(`${storageKey}-mode`, newTheme)\n setThemeState(newTheme)\n }, [storageKey])\n\n const setAccentColor = React.useCallback((color: AccentColor) => {\n localStorage.setItem(`${storageKey}-accent`, color)\n setAccentColorState(color)\n }, [storageKey])\n\n const setGrayColor = React.useCallback((color: GrayColor) => {\n localStorage.setItem(`${storageKey}-gray`, color)\n setGrayColorState(color)\n }, [storageKey])\n\n const setRadius = React.useCallback((newRadius: RadiusPreset) => {\n localStorage.setItem(`${storageKey}-radius`, newRadius)\n setRadiusState(newRadius)\n }, [storageKey])\n\n const value = React.useMemo(\n () => ({\n theme,\n resolvedTheme,\n accentColor,\n grayColor,\n radius,\n setTheme,\n setAccentColor,\n setGrayColor,\n setRadius,\n }),\n [theme, resolvedTheme, accentColor, grayColor, radius, setTheme, setAccentColor, setGrayColor, setRadius]\n )\n\n return (\n <ThemeContext.Provider value={value}>\n {children}\n </ThemeContext.Provider>\n )\n}\n\nThemeProvider.displayName = 'ThemeProvider'\n","import { createContext } from 'react'\nimport type { AccentColor, GrayColor, RadiusPreset, Theme } from '@onesaz/tokens'\n\nexport interface ThemeContextValue {\n theme: Theme\n resolvedTheme: 'light' | 'dark'\n accentColor: AccentColor\n grayColor: GrayColor\n radius: RadiusPreset\n setTheme: (theme: Theme) => void\n setAccentColor: (color: AccentColor) => void\n setGrayColor: (color: GrayColor) => void\n setRadius: (radius: RadiusPreset) => void\n}\n\nexport const ThemeContext = createContext<ThemeContextValue | undefined>(undefined)\n","import { useContext } from 'react'\nimport { ThemeContext, type ThemeContextValue } from './context'\n\nexport function useTheme(): ThemeContextValue {\n const context = useContext(ThemeContext)\n if (!context) {\n throw new Error('useTheme must be used within a ThemeProvider')\n }\n return context\n}\n","import { clsx, type ClassValue } from 'clsx'\nimport { twMerge } from 'tailwind-merge'\n\nexport function cn(...inputs: ClassValue[]) {\n return twMerge(clsx(inputs))\n}\n","import * as React from 'react'\nimport { cn } from '../utils/cn'\n\nexport interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {\n variant?: 'default' | 'destructive' | 'outline' | 'secondary' | 'ghost' | 'link'\n size?: 'default' | 'sm' | 'lg' | 'icon'\n}\n\nconst Button = React.forwardRef<HTMLButtonElement, ButtonProps>(\n ({ className, variant = 'default', size = 'default', ...props }, ref) => {\n return (\n <button\n className={cn(\n 'inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium transition-colors',\n 'focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2',\n 'disabled:pointer-events-none disabled:opacity-50',\n {\n 'bg-accent text-accent-foreground hover:bg-accent-hover':\n variant === 'default',\n 'bg-destructive text-destructive-foreground hover:bg-destructive/90':\n variant === 'destructive',\n 'border border-input bg-background hover:bg-muted hover:text-foreground':\n variant === 'outline',\n 'bg-muted text-foreground hover:bg-muted/80':\n variant === 'secondary',\n 'hover:bg-muted hover:text-foreground':\n variant === 'ghost',\n 'text-accent underline-offset-4 hover:underline':\n variant === 'link',\n },\n {\n 'h-10 px-4 py-2': size === 'default',\n 'h-9 rounded-md px-3': size === 'sm',\n 'h-11 rounded-md px-8': size === 'lg',\n 'h-10 w-10': size === 'icon',\n },\n className\n )}\n ref={ref}\n {...props}\n />\n )\n }\n)\nButton.displayName = 'Button'\n\nexport { Button }\n","import * as React from 'react'\nimport { cn } from '../utils/cn'\n\nexport interface InputProps extends React.InputHTMLAttributes<HTMLInputElement> {}\n\nconst Input = React.forwardRef<HTMLInputElement, InputProps>(\n ({ className, type, ...props }, ref) => {\n return (\n <input\n type={type}\n className={cn(\n 'flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-sm',\n 'ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium',\n 'placeholder:text-muted-foreground',\n 'focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2',\n 'disabled:cursor-not-allowed disabled:opacity-50',\n className\n )}\n ref={ref}\n {...props}\n />\n )\n }\n)\nInput.displayName = 'Input'\n\nexport { Input }\n","import * as React from 'react'\nimport { cn } from '../utils/cn'\n\nexport interface TextareaProps extends React.TextareaHTMLAttributes<HTMLTextAreaElement> {}\n\nconst Textarea = React.forwardRef<HTMLTextAreaElement, TextareaProps>(\n ({ className, ...props }, ref) => {\n return (\n <textarea\n className={cn(\n 'flex min-h-[80px] w-full rounded-md border border-input bg-background px-3 py-2 text-sm',\n 'ring-offset-background',\n 'placeholder:text-muted-foreground',\n 'focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2',\n 'disabled:cursor-not-allowed disabled:opacity-50',\n className\n )}\n ref={ref}\n {...props}\n />\n )\n }\n)\nTextarea.displayName = 'Textarea'\n\nexport { Textarea }\n","import * as React from 'react'\nimport { cn } from '../utils/cn'\n\nconst Card = React.forwardRef<HTMLDivElement, React.HTMLAttributes<HTMLDivElement>>(\n ({ className, ...props }, ref) => (\n <div\n ref={ref}\n className={cn(\n 'rounded-lg border border-border bg-card text-card-foreground shadow-sm',\n className\n )}\n {...props}\n />\n )\n)\nCard.displayName = 'Card'\n\nconst CardHeader = React.forwardRef<HTMLDivElement, React.HTMLAttributes<HTMLDivElement>>(\n ({ className, ...props }, ref) => (\n <div\n ref={ref}\n className={cn('flex flex-col space-y-1.5 p-6', className)}\n {...props}\n />\n )\n)\nCardHeader.displayName = 'CardHeader'\n\nconst CardTitle = React.forwardRef<HTMLHeadingElement, React.HTMLAttributes<HTMLHeadingElement>>(\n ({ className, ...props }, ref) => (\n <h3\n ref={ref}\n className={cn('text-2xl font-semibold leading-none tracking-tight', className)}\n {...props}\n />\n )\n)\nCardTitle.displayName = 'CardTitle'\n\nconst CardDescription = React.forwardRef<HTMLParagraphElement, React.HTMLAttributes<HTMLParagraphElement>>(\n ({ className, ...props }, ref) => (\n <p\n ref={ref}\n className={cn('text-sm text-muted-foreground', className)}\n {...props}\n />\n )\n)\nCardDescription.displayName = 'CardDescription'\n\nconst CardContent = React.forwardRef<HTMLDivElement, React.HTMLAttributes<HTMLDivElement>>(\n ({ className, ...props }, ref) => (\n <div ref={ref} className={cn('p-6 pt-0', className)} {...props} />\n )\n)\nCardContent.displayName = 'CardContent'\n\nconst CardFooter = React.forwardRef<HTMLDivElement, React.HTMLAttributes<HTMLDivElement>>(\n ({ className, ...props }, ref) => (\n <div\n ref={ref}\n className={cn('flex items-center p-6 pt-0', className)}\n {...props}\n />\n )\n)\nCardFooter.displayName = 'CardFooter'\n\nexport { Card, CardHeader, CardFooter, CardTitle, CardDescription, CardContent }\n","import * as React from 'react'\nimport { cn } from '../utils/cn'\n\nexport interface BadgeProps extends React.HTMLAttributes<HTMLDivElement> {\n variant?: 'default' | 'secondary' | 'destructive' | 'outline'\n}\n\nconst Badge = React.forwardRef<HTMLDivElement, BadgeProps>(\n ({ className, variant = 'default', ...props }, ref) => {\n return (\n <div\n ref={ref}\n className={cn(\n 'inline-flex items-center rounded-full px-2.5 py-0.5 text-xs font-semibold transition-colors',\n 'focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2',\n {\n 'border-transparent bg-accent text-accent-foreground':\n variant === 'default',\n 'border-transparent bg-muted text-foreground':\n variant === 'secondary',\n 'border-transparent bg-destructive text-destructive-foreground':\n variant === 'destructive',\n 'border border-border text-foreground':\n variant === 'outline',\n },\n className\n )}\n {...props}\n />\n )\n }\n)\nBadge.displayName = 'Badge'\n\nexport { Badge }\n","import * as React from 'react'\nimport { cn } from '../utils/cn'\n\nexport interface LabelProps extends React.LabelHTMLAttributes<HTMLLabelElement> {}\n\nconst Label = React.forwardRef<HTMLLabelElement, LabelProps>(\n ({ className, ...props }, ref) => (\n <label\n ref={ref}\n className={cn(\n 'text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70',\n className\n )}\n {...props}\n />\n )\n)\nLabel.displayName = 'Label'\n\nexport { Label }\n","import * as React from 'react'\nimport { cn } from '../utils/cn'\n\nexport interface CheckboxProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, 'type'> {}\n\nconst Checkbox = React.forwardRef<HTMLInputElement, CheckboxProps>(\n ({ className, ...props }, ref) => (\n <input\n type=\"checkbox\"\n ref={ref}\n className={cn(\n 'h-4 w-4 shrink-0 rounded-sm border border-accent cursor-pointer',\n 'ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2',\n 'disabled:cursor-not-allowed disabled:opacity-50',\n 'accent-accent',\n className\n )}\n {...props}\n />\n )\n)\nCheckbox.displayName = 'Checkbox'\n\nexport { Checkbox }\n","import * as React from 'react'\nimport { cn } from '../utils/cn'\n\nexport interface SwitchProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, 'type'> {}\n\nconst Switch = React.forwardRef<HTMLInputElement, SwitchProps>(\n ({ className, ...props }, ref) => (\n <label className={cn('relative inline-flex items-center cursor-pointer', className)}>\n <input\n type=\"checkbox\"\n ref={ref}\n className=\"sr-only peer\"\n {...props}\n />\n <div\n className={cn(\n 'w-11 h-6 rounded-full transition-colors',\n 'bg-input peer-checked:bg-accent',\n 'peer-focus-visible:outline-none peer-focus-visible:ring-2 peer-focus-visible:ring-ring peer-focus-visible:ring-offset-2 peer-focus-visible:ring-offset-background',\n 'peer-disabled:cursor-not-allowed peer-disabled:opacity-50',\n 'after:content-[\"\"] after:absolute after:top-[2px] after:left-[2px]',\n 'after:bg-background after:rounded-full after:h-5 after:w-5',\n 'after:transition-transform after:shadow-lg',\n 'peer-checked:after:translate-x-5'\n )}\n />\n </label>\n )\n)\nSwitch.displayName = 'Switch'\n\nexport { Switch }\n","import * as React from 'react'\nimport { cn } from '../utils/cn'\n\nexport interface SeparatorProps extends React.HTMLAttributes<HTMLDivElement> {\n orientation?: 'horizontal' | 'vertical'\n}\n\nconst Separator = React.forwardRef<HTMLDivElement, SeparatorProps>(\n ({ className, orientation = 'horizontal', ...props }, ref) => (\n <div\n ref={ref}\n role=\"separator\"\n aria-orientation={orientation}\n className={cn(\n 'shrink-0 bg-border',\n orientation === 'horizontal' ? 'h-[1px] w-full' : 'h-full w-[1px]',\n className\n )}\n {...props}\n />\n )\n)\nSeparator.displayName = 'Separator'\n\nexport { Separator }\n","import * as React from 'react'\nimport { cn } from '../../utils/cn'\n\nexport interface SelectProps extends React.SelectHTMLAttributes<HTMLSelectElement> {}\n\nconst Select = React.forwardRef<HTMLSelectElement, SelectProps>(\n ({ className, children, ...props }, ref) => (\n <select\n ref={ref}\n className={cn(\n 'flex h-10 w-full items-center justify-between rounded-md border border-input bg-background px-3 py-2 text-sm',\n 'ring-offset-background',\n 'focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2',\n 'disabled:cursor-not-allowed disabled:opacity-50',\n className\n )}\n {...props}\n >\n {children}\n </select>\n )\n)\nSelect.displayName = 'Select'\n\nexport interface SelectOptionProps extends React.OptionHTMLAttributes<HTMLOptionElement> {}\n\nconst SelectOption = React.forwardRef<HTMLOptionElement, SelectOptionProps>(\n ({ className, ...props }, ref) => (\n <option ref={ref} className={cn('py-1.5', className)} {...props} />\n )\n)\nSelectOption.displayName = 'SelectOption'\n\nexport interface SelectGroupProps extends React.OptgroupHTMLAttributes<HTMLOptGroupElement> {}\n\nconst SelectGroup = React.forwardRef<HTMLOptGroupElement, SelectGroupProps>(\n ({ className, ...props }, ref) => (\n <optgroup ref={ref} className={cn('font-semibold', className)} {...props} />\n )\n)\nSelectGroup.displayName = 'SelectGroup'\n\n// Compound component pattern\nconst SelectNamespace = Object.assign(Select, {\n Option: SelectOption,\n Group: SelectGroup,\n})\n\nexport {\n SelectNamespace as Select,\n SelectOption,\n SelectGroup,\n}\n","import * as React from 'react'\nimport { cn } from '../../utils/cn'\n\nexport interface DialogProps {\n open?: boolean\n onOpenChange?: (open: boolean) => void\n children: React.ReactNode\n}\n\nconst Dialog: React.FC<DialogProps> = ({ open, onOpenChange, children }) => {\n // Close on Escape key\n React.useEffect(() => {\n const handleEscape = (e: KeyboardEvent) => {\n if (e.key === 'Escape' && open) {\n onOpenChange?.(false)\n }\n }\n document.addEventListener('keydown', handleEscape)\n return () => document.removeEventListener('keydown', handleEscape)\n }, [open, onOpenChange])\n\n if (!open) return null\n\n return <>{children}</>\n}\nDialog.displayName = 'Dialog'\n\nexport interface DialogContentProps extends React.HTMLAttributes<HTMLDivElement> {\n onClose?: () => void\n}\n\nconst DialogContent = React.forwardRef<HTMLDivElement, DialogContentProps>(\n ({ className, children, onClose, ...props }, ref) => (\n <>\n {/* Overlay */}\n <div\n className=\"fixed inset-0 z-50 bg-black/80\"\n onClick={onClose}\n />\n {/* Content */}\n <div\n ref={ref}\n className={cn(\n 'fixed left-1/2 top-1/2 z-50 grid w-full max-w-lg -translate-x-1/2 -translate-y-1/2 gap-4 p-6 shadow-lg',\n 'bg-popover border border-border text-popover-foreground',\n 'rounded-lg',\n className\n )}\n {...props}\n >\n {children}\n {onClose && (\n <button\n type=\"button\"\n onClick={onClose}\n className=\"absolute right-4 top-4 rounded-sm opacity-70 transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2\"\n >\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n strokeWidth=\"2\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n className=\"h-4 w-4\"\n >\n <path d=\"M18 6 6 18\" />\n <path d=\"m6 6 12 12\" />\n </svg>\n <span className=\"sr-only\">Close</span>\n </button>\n )}\n </div>\n </>\n )\n)\nDialogContent.displayName = 'DialogContent'\n\nconst DialogHeader: React.FC<React.HTMLAttributes<HTMLDivElement>> = ({\n className,\n ...props\n}) => (\n <div\n className={cn('flex flex-col space-y-1.5 text-center sm:text-left', className)}\n {...props}\n />\n)\nDialogHeader.displayName = 'DialogHeader'\n\nconst DialogFooter: React.FC<React.HTMLAttributes<HTMLDivElement>> = ({\n className,\n ...props\n}) => (\n <div\n className={cn('flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2', className)}\n {...props}\n />\n)\nDialogFooter.displayName = 'DialogFooter'\n\nconst DialogTitle = React.forwardRef<HTMLHeadingElement, React.HTMLAttributes<HTMLHeadingElement>>(\n ({ className, ...props }, ref) => (\n <h2\n ref={ref}\n className={cn('text-lg font-semibold leading-none tracking-tight', className)}\n {...props}\n />\n )\n)\nDialogTitle.displayName = 'DialogTitle'\n\nconst DialogDescription = React.forwardRef<HTMLParagraphElement, React.HTMLAttributes<HTMLParagraphElement>>(\n ({ className, ...props }, ref) => (\n <p\n ref={ref}\n className={cn('text-sm text-muted-foreground', className)}\n {...props}\n />\n )\n)\nDialogDescription.displayName = 'DialogDescription'\n\n// Compound component pattern\nconst DialogNamespace = Object.assign(Dialog, {\n Content: DialogContent,\n Header: DialogHeader,\n Footer: DialogFooter,\n Title: DialogTitle,\n Description: DialogDescription,\n})\n\nexport {\n DialogNamespace as Dialog,\n DialogContent,\n DialogHeader,\n DialogFooter,\n DialogTitle,\n DialogDescription,\n}\n","import * as React from 'react'\nimport { cn } from '../utils/cn'\n\nexport interface SpinnerProps extends React.HTMLAttributes<HTMLDivElement> {\n size?: 'sm' | 'default' | 'lg'\n}\n\nconst Spinner = React.forwardRef<HTMLDivElement, SpinnerProps>(\n ({ className, size = 'default', ...props }, ref) => {\n return (\n <div\n ref={ref}\n role=\"status\"\n aria-label=\"Loading\"\n className={cn(\n 'inline-block animate-spin rounded-full border-2 border-solid border-current border-r-transparent motion-reduce:animate-[spin_1.5s_linear_infinite]',\n {\n 'h-4 w-4': size === 'sm',\n 'h-6 w-6': size === 'default',\n 'h-8 w-8': size === 'lg',\n },\n 'text-accent',\n className\n )}\n {...props}\n >\n <span className=\"sr-only\">Loading...</span>\n </div>\n )\n }\n)\nSpinner.displayName = 'Spinner'\n\nexport { Spinner }\n","import * as React from 'react'\nimport { cn } from '../utils/cn'\n\nconst Table = React.forwardRef<\n HTMLTableElement,\n React.HTMLAttributes<HTMLTableElement>\n>(({ className, ...props }, ref) => (\n <div className=\"relative w-full overflow-auto\">\n <table\n ref={ref}\n className={cn('w-full caption-bottom text-sm', className)}\n {...props}\n />\n </div>\n))\nTable.displayName = 'Table'\n\nconst TableHeader = React.forwardRef<\n HTMLTableSectionElement,\n React.HTMLAttributes<HTMLTableSectionElement>\n>(({ className, ...props }, ref) => (\n <thead ref={ref} className={cn('[&_tr]:border-b', className)} {...props} />\n))\nTableHeader.displayName = 'TableHeader'\n\nconst TableBody = React.forwardRef<\n HTMLTableSectionElement,\n React.HTMLAttributes<HTMLTableSectionElement>\n>(({ className, ...props }, ref) => (\n <tbody\n ref={ref}\n className={cn('[&_tr:last-child]:border-0', className)}\n {...props}\n />\n))\nTableBody.displayName = 'TableBody'\n\nconst TableFooter = React.forwardRef<\n HTMLTableSectionElement,\n React.HTMLAttributes<HTMLTableSectionElement>\n>(({ className, ...props }, ref) => (\n <tfoot\n ref={ref}\n className={cn(\n 'border-t bg-muted/50 font-medium [&>tr]:last:border-b-0',\n className\n )}\n {...props}\n />\n))\nTableFooter.displayName = 'TableFooter'\n\nconst TableRow = React.forwardRef<\n HTMLTableRowElement,\n React.HTMLAttributes<HTMLTableRowElement>\n>(({ className, ...props }, ref) => (\n <tr\n ref={ref}\n className={cn(\n 'border-b border-border transition-colors',\n 'hover:bg-muted/50',\n 'data-[state=selected]:bg-muted',\n className\n )}\n {...props}\n />\n))\nTableRow.displayName = 'TableRow'\n\nconst TableHead = React.forwardRef<\n HTMLTableCellElement,\n React.ThHTMLAttributes<HTMLTableCellElement>\n>(({ className, ...props }, ref) => (\n <th\n ref={ref}\n className={cn(\n 'h-12 px-4 text-left align-middle font-medium text-muted-foreground',\n '[&:has([role=checkbox])]:pr-0',\n className\n )}\n {...props}\n />\n))\nTableHead.displayName = 'TableHead'\n\nconst TableCell = React.forwardRef<\n HTMLTableCellElement,\n React.TdHTMLAttributes<HTMLTableCellElement>\n>(({ className, ...props }, ref) => (\n <td\n ref={ref}\n className={cn(\n 'p-4 align-middle [&:has([role=checkbox])]:pr-0',\n className\n )}\n {...props}\n />\n))\nTableCell.displayName = 'TableCell'\n\nconst TableCaption = React.forwardRef<\n HTMLTableCaptionElement,\n React.HTMLAttributes<HTMLTableCaptionElement>\n>(({ className, ...props }, ref) => (\n <caption\n ref={ref}\n className={cn('mt-4 text-sm text-muted-foreground', className)}\n {...props}\n />\n))\nTableCaption.displayName = 'TableCaption'\n\n// Compound component pattern\nconst TableNamespace = Object.assign(Table, {\n Header: TableHeader,\n Body: TableBody,\n Footer: TableFooter,\n Row: TableRow,\n Head: TableHead,\n Cell: TableCell,\n Caption: TableCaption,\n})\n\nexport {\n TableNamespace as Table,\n TableHeader,\n TableBody,\n TableFooter,\n TableHead,\n TableRow,\n TableCell,\n TableCaption,\n}\n","import * as React from 'react'\nimport { cn } from '../utils/cn'\nimport { Button } from './button'\n\nexport interface PaginationProps extends React.HTMLAttributes<HTMLElement> {}\n\nconst Pagination = React.forwardRef<HTMLElement, PaginationProps>(\n ({ className, ...props }, ref) => (\n <nav\n ref={ref}\n role=\"navigation\"\n aria-label=\"pagination\"\n className={cn('mx-auto flex w-full justify-center', className)}\n {...props}\n />\n )\n)\nPagination.displayName = 'Pagination'\n\nconst PaginationContent = React.forwardRef<\n HTMLUListElement,\n React.HTMLAttributes<HTMLUListElement>\n>(({ className, ...props }, ref) => (\n <ul\n ref={ref}\n className={cn('flex flex-row items-center gap-1', className)}\n {...props}\n />\n))\nPaginationContent.displayName = 'PaginationContent'\n\nconst PaginationItem = React.forwardRef<\n HTMLLIElement,\n React.LiHTMLAttributes<HTMLLIElement>\n>(({ className, ...props }, ref) => (\n <li ref={ref} className={cn('', className)} {...props} />\n))\nPaginationItem.displayName = 'PaginationItem'\n\nexport interface PaginationLinkProps\n extends React.ButtonHTMLAttributes<HTMLButtonElement> {\n isActive?: boolean\n}\n\nconst PaginationLink = React.forwardRef<HTMLButtonElement, PaginationLinkProps>(\n ({ className, isActive, ...props }, ref) => (\n <Button\n ref={ref}\n variant={isActive ? 'default' : 'outline'}\n size=\"icon\"\n className={cn('h-9 w-9', className)}\n {...props}\n />\n )\n)\nPaginationLink.displayName = 'PaginationLink'\n\nconst PaginationPrevious = React.forwardRef<\n HTMLButtonElement,\n React.ButtonHTMLAttributes<HTMLButtonElement>\n>(({ className, ...props }, ref) => (\n <Button\n ref={ref}\n variant=\"outline\"\n size=\"default\"\n className={cn('gap-1 pl-2.5', className)}\n {...props}\n >\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n strokeWidth=\"2\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n className=\"h-4 w-4\"\n >\n <path d=\"m15 18-6-6 6-6\" />\n </svg>\n <span>Previous</span>\n </Button>\n))\nPaginationPrevious.displayName = 'PaginationPrevious'\n\nconst PaginationNext = React.forwardRef<\n HTMLButtonElement,\n React.ButtonHTMLAttributes<HTMLButtonElement>\n>(({ className, ...props }, ref) => (\n <Button\n ref={ref}\n variant=\"outline\"\n size=\"default\"\n className={cn('gap-1 pr-2.5', className)}\n {...props}\n >\n <span>Next</span>\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n strokeWidth=\"2\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n className=\"h-4 w-4\"\n >\n <path d=\"m9 18 6-6-6-6\" />\n </svg>\n </Button>\n))\nPaginationNext.displayName = 'PaginationNext'\n\nconst PaginationEllipsis = React.forwardRef<\n HTMLSpanElement,\n React.HTMLAttributes<HTMLSpanElement>\n>(({ className, ...props }, ref) => (\n <span\n ref={ref}\n aria-hidden\n className={cn('flex h-9 w-9 items-center justify-center', className)}\n {...props}\n >\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n strokeWidth=\"2\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n className=\"h-4 w-4\"\n >\n <circle cx=\"12\" cy=\"12\" r=\"1\" />\n <circle cx=\"19\" cy=\"12\" r=\"1\" />\n <circle cx=\"5\" cy=\"12\" r=\"1\" />\n </svg>\n <span className=\"sr-only\">More pages</span>\n </span>\n))\nPaginationEllipsis.displayName = 'PaginationEllipsis'\n\n// Compound component pattern\nconst PaginationNamespace = Object.assign(Pagination, {\n Content: PaginationContent,\n Item: PaginationItem,\n Link: PaginationLink,\n Previous: PaginationPrevious,\n Next: PaginationNext,\n Ellipsis: PaginationEllipsis,\n})\n\nexport {\n PaginationNamespace as Pagination,\n PaginationContent,\n PaginationItem,\n PaginationLink,\n PaginationPrevious,\n PaginationNext,\n PaginationEllipsis,\n}\n","import * as React from 'react'\nimport { cn } from '../../utils/cn'\n\nexport interface ComboboxOption {\n value: string\n label: string\n disabled?: boolean\n}\n\nexport interface ComboboxProps {\n options: ComboboxOption[]\n value?: string\n defaultValue?: string\n onValueChange?: (value: string) => void\n placeholder?: string\n searchPlaceholder?: string\n emptyMessage?: string\n disabled?: boolean\n className?: string\n}\n\nconst Combobox = React.forwardRef<HTMLInputElement, ComboboxProps>(\n (\n {\n options,\n value: controlledValue,\n defaultValue,\n onValueChange,\n placeholder = 'Select option...',\n searchPlaceholder = 'Search...',\n emptyMessage = 'No results found.',\n disabled = false,\n className,\n },\n ref\n ) => {\n const [open, setOpen] = React.useState(false)\n const [search, setSearch] = React.useState('')\n const [internalValue, setInternalValue] = React.useState(defaultValue ?? '')\n const containerRef = React.useRef<HTMLDivElement>(null)\n\n const value = controlledValue !== undefined ? controlledValue : internalValue\n\n const filteredOptions = React.useMemo(() => {\n if (!search) return options\n return options.filter((option) =>\n option.label.toLowerCase().includes(search.toLowerCase())\n )\n }, [options, search])\n\n const selectedOption = options.find((option) => option.value === value)\n\n const handleSelect = (optionValue: string) => {\n if (controlledValue === undefined) {\n setInternalValue(optionValue)\n }\n onValueChange?.(optionValue)\n setOpen(false)\n setSearch('')\n }\n\n // Close on click outside\n React.useEffect(() => {\n const handleClickOutside = (event: MouseEvent) => {\n if (containerRef.current && !containerRef.current.contains(event.target as Node)) {\n setOpen(false)\n }\n }\n document.addEventListener('mousedown', handleClickOutside)\n return () => document.removeEventListener('mousedown', handleClickOutside)\n }, [])\n\n return (\n <div ref={containerRef} className=\"relative\">\n <button\n type=\"button\"\n role=\"combobox\"\n aria-expanded={open}\n disabled={disabled}\n onClick={() => setOpen(!open)}\n className={cn(\n 'flex h-10 w-full items-center justify-between rounded-md border border-input bg-background px-3 py-2 text-sm',\n 'ring-offset-background',\n 'focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2',\n 'disabled:cursor-not-allowed disabled:opacity-50',\n className\n )}\n >\n <span className={cn(!selectedOption && 'text-muted-foreground')}>\n {selectedOption?.label ?? placeholder}\n </span>\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n strokeWidth=\"2\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n className={cn(\n 'ml-2 h-4 w-4 shrink-0 opacity-50 transition-transform',\n open && 'rotate-180'\n )}\n >\n <path d=\"m6 9 6 6 6-6\" />\n </svg>\n </button>\n\n {open && (\n <div className=\"absolute z-50 mt-1 w-full overflow-hidden rounded-md border border-border bg-popover text-popover-foreground shadow-md\">\n <div className=\"flex items-center border-b border-border px-3\">\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n strokeWidth=\"2\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n className=\"mr-2 h-4 w-4 shrink-0 opacity-50\"\n >\n <circle cx=\"11\" cy=\"11\" r=\"8\" />\n <path d=\"m21 21-4.3-4.3\" />\n </svg>\n <input\n ref={ref}\n className=\"flex h-10 w-full bg-transparent py-3 text-sm outline-none placeholder:text-muted-foreground\"\n placeholder={searchPlaceholder}\n value={search}\n onChange={(e) => setSearch(e.target.value)}\n />\n </div>\n <div className=\"max-h-[300px] overflow-y-auto p-1\">\n {filteredOptions.length === 0 ? (\n <div className=\"py-6 text-center text-sm text-muted-foreground\">\n {emptyMessage}\n </div>\n ) : (\n filteredOptions.map((option) => (\n <button\n key={option.value}\n type=\"button\"\n disabled={option.disabled}\n onClick={() => handleSelect(option.value)}\n className={cn(\n 'relative flex w-full cursor-pointer select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none',\n 'hover:bg-muted hover:text-foreground',\n 'focus:bg-muted focus:text-foreground',\n 'disabled:pointer-events-none disabled:opacity-50',\n option.value === value && 'bg-muted'\n )}\n >\n <span className=\"absolute left-2 flex h-3.5 w-3.5 items-center justify-center\">\n {option.value === value && (\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n strokeWidth=\"2\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n className=\"h-4 w-4\"\n >\n <polyline points=\"20 6 9 17 4 12\" />\n </svg>\n )}\n </span>\n {option.label}\n </button>\n ))\n )}\n </div>\n </div>\n )}\n </div>\n )\n }\n)\nCombobox.displayName = 'Combobox'\n\nexport { Combobox }\n"],"mappings":";AAAA,YAAY,WAAW;AACvB;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OAKK;;;ACXP,SAAS,qBAAqB;AAevB,IAAM,eAAe,cAA6C,MAAS;;;ADoJ9E;AA5IJ,SAAS,iBAAmC;AAC1C,MAAI,OAAO,WAAW,YAAa,QAAO;AAC1C,SAAO,OAAO,WAAW,8BAA8B,EAAE,UAAU,SAAS;AAC9E;AAEO,SAAS,cAAc;AAAA,EAC5B;AAAA,EACA,eAAe;AAAA,EACf,aAAa,gBAAgB;AAAA,EAC7B,WAAW,cAAc;AAAA,EACzB,QAAQ,gBAAgB;AAAA,EACxB,aAAa;AACf,GAAuB;AACrB,QAAM,CAAC,OAAO,aAAa,IAAU,eAAgB,MAAM;AAC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AAAA;AAAA,UA9BH,OAAO;AAAA,QA+Bd,CACD,GAEL;AAAA,SACF;AAAA,OAEJ;AAAA,EAEJ;AACF;AACA,SAAS,cAAc;","names":["value","React","jsx","React","jsx","React","jsx","React","jsx","React","jsx","React","jsx","React","jsx","React","jsx","React","jsx","React","jsx","React","jsx","jsxs","React","jsx","React","jsx","React","jsx","jsxs","React","jsx","jsxs"]}
1
+ {"version":3,"sources":["../src/theme/provider.tsx","../src/theme/context.ts","../src/theme/use-theme.ts","../src/utils/cn.ts","../src/components/button.tsx","../src/components/input.tsx","../src/components/textarea.tsx","../src/components/card.tsx","../src/components/badge.tsx","../src/components/label.tsx","../src/components/checkbox.tsx","../src/components/switch.tsx","../src/components/separator.tsx","../src/components/select/index.tsx","../src/components/dialog/index.tsx","../src/components/spinner.tsx","../src/components/table.tsx","../src/components/pagination.tsx","../src/components/combobox/index.tsx","../src/playground.tsx"],"sourcesContent":["import * as React from 'react'\nimport {\n accentColors,\n grayColors,\n radiusPresets,\n lightTheme,\n darkTheme,\n type AccentColor,\n type GrayColor,\n type RadiusPreset,\n type Theme,\n} from '@onesaz/tokens'\nimport { ThemeContext } from './context'\n\nexport interface ThemeProviderProps {\n children: React.ReactNode\n defaultTheme?: Theme\n accentColor?: AccentColor\n grayColor?: GrayColor\n radius?: RadiusPreset\n storageKey?: string\n}\n\nfunction getSystemTheme(): 'light' | 'dark' {\n if (typeof window === 'undefined') return 'light'\n return window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light'\n}\n\nexport function ThemeProvider({\n children,\n defaultTheme = 'system',\n accentColor: defaultAccent = 'purple',\n grayColor: defaultGray = 'slate',\n radius: defaultRadius = 'medium',\n storageKey = 'onesaz-theme',\n}: ThemeProviderProps) {\n const [theme, setThemeState] = React.useState<Theme>(() => {\n if (typeof window === 'undefined') return defaultTheme\n const stored = localStorage.getItem(`${storageKey}-mode`)\n return (stored as Theme) || defaultTheme\n })\n\n const [accentColor, setAccentColorState] = React.useState<AccentColor>(() => {\n if (typeof window === 'undefined') return defaultAccent\n const stored = localStorage.getItem(`${storageKey}-accent`)\n return (stored as AccentColor) || defaultAccent\n })\n\n const [grayColor, setGrayColorState] = React.useState<GrayColor>(() => {\n if (typeof window === 'undefined') return defaultGray\n const stored = localStorage.getItem(`${storageKey}-gray`)\n return (stored as GrayColor) || defaultGray\n })\n\n const [radius, setRadiusState] = React.useState<RadiusPreset>(() => {\n if (typeof window === 'undefined') return defaultRadius\n const stored = localStorage.getItem(`${storageKey}-radius`)\n return (stored as RadiusPreset) || defaultRadius\n })\n\n const [resolvedTheme, setResolvedTheme] = React.useState<'light' | 'dark'>(() =>\n theme === 'system' ? getSystemTheme() : theme\n )\n\n // Listen for system theme changes\n React.useEffect(() => {\n if (theme !== 'system') {\n setResolvedTheme(theme)\n return\n }\n\n const mediaQuery = window.matchMedia('(prefers-color-scheme: dark)')\n setResolvedTheme(mediaQuery.matches ? 'dark' : 'light')\n\n const handler = (e: MediaQueryListEvent) => {\n setResolvedTheme(e.matches ? 'dark' : 'light')\n }\n\n mediaQuery.addEventListener('change', handler)\n return () => mediaQuery.removeEventListener('change', handler)\n }, [theme])\n\n // Generate CSS variables\n React.useEffect(() => {\n const root = document.documentElement\n const themeTokens = resolvedTheme === 'dark' ? darkTheme : lightTheme\n const accent = accentColors[accentColor]\n const gray = grayColors[grayColor]\n const radiusValues = radiusPresets[radius]\n\n // Set theme attribute\n root.setAttribute('data-theme', resolvedTheme)\n root.setAttribute('data-accent', accentColor)\n\n // Set gray-based semantic tokens\n root.style.setProperty('--background', gray[themeTokens.background])\n root.style.setProperty('--foreground', gray[themeTokens.foreground])\n root.style.setProperty('--card', gray[themeTokens.card])\n root.style.setProperty('--card-foreground', gray[themeTokens.cardForeground])\n root.style.setProperty('--popover', gray[themeTokens.popover])\n root.style.setProperty('--popover-foreground', gray[themeTokens.popoverForeground])\n root.style.setProperty('--muted', gray[themeTokens.muted])\n root.style.setProperty('--muted-foreground', gray[themeTokens.mutedForeground])\n root.style.setProperty('--border', gray[themeTokens.border])\n root.style.setProperty('--input', gray[themeTokens.input])\n\n // Set accent colors\n root.style.setProperty('--accent', accent[6])\n root.style.setProperty('--accent-foreground', '#ffffff')\n root.style.setProperty('--accent-hover', accent[7])\n root.style.setProperty('--ring', accent[6])\n\n // Set all accent scale values\n Object.entries(accent).forEach(([step, value]) => {\n root.style.setProperty(`--accent-${step}`, value)\n })\n\n // Set destructive colors\n root.style.setProperty('--destructive', resolvedTheme === 'dark' ? '#ef4444' : '#dc2626')\n root.style.setProperty('--destructive-foreground', '#ffffff')\n\n // Set radius\n root.style.setProperty('--radius', radiusValues.md)\n root.style.setProperty('--radius-sm', radiusValues.sm)\n root.style.setProperty('--radius-lg', radiusValues.lg)\n }, [resolvedTheme, accentColor, grayColor, radius])\n\n const setTheme = React.useCallback((newTheme: Theme) => {\n localStorage.setItem(`${storageKey}-mode`, newTheme)\n setThemeState(newTheme)\n }, [storageKey])\n\n const setAccentColor = React.useCallback((color: AccentColor) => {\n localStorage.setItem(`${storageKey}-accent`, color)\n setAccentColorState(color)\n }, [storageKey])\n\n const setGrayColor = React.useCallback((color: GrayColor) => {\n localStorage.setItem(`${storageKey}-gray`, color)\n setGrayColorState(color)\n }, [storageKey])\n\n const setRadius = React.useCallback((newRadius: RadiusPreset) => {\n localStorage.setItem(`${storageKey}-radius`, newRadius)\n setRadiusState(newRadius)\n }, [storageKey])\n\n const value = React.useMemo(\n () => ({\n theme,\n resolvedTheme,\n accentColor,\n grayColor,\n radius,\n setTheme,\n setAccentColor,\n setGrayColor,\n setRadius,\n }),\n [theme, resolvedTheme, accentColor, grayColor, radius, setTheme, setAccentColor, setGrayColor, setRadius]\n )\n\n return (\n <ThemeContext.Provider value={value}>\n {children}\n </ThemeContext.Provider>\n )\n}\n\nThemeProvider.displayName = 'ThemeProvider'\n","import { createContext } from 'react'\nimport type { AccentColor, GrayColor, RadiusPreset, Theme } from '@onesaz/tokens'\n\nexport interface ThemeContextValue {\n theme: Theme\n resolvedTheme: 'light' | 'dark'\n accentColor: AccentColor\n grayColor: GrayColor\n radius: RadiusPreset\n setTheme: (theme: Theme) => void\n setAccentColor: (color: AccentColor) => void\n setGrayColor: (color: GrayColor) => void\n setRadius: (radius: RadiusPreset) => void\n}\n\nexport const ThemeContext = createContext<ThemeContextValue | undefined>(undefined)\n","import { useContext } from 'react'\nimport { ThemeContext, type ThemeContextValue } from './context'\n\nexport function useTheme(): ThemeContextValue {\n const context = useContext(ThemeContext)\n if (!context) {\n throw new Error('useTheme must be used within a ThemeProvider')\n }\n return context\n}\n","import { clsx, type ClassValue } from 'clsx'\nimport { twMerge } from 'tailwind-merge'\n\nexport function cn(...inputs: ClassValue[]) {\n return twMerge(clsx(inputs))\n}\n","import * as React from 'react'\nimport { cn } from '../utils/cn'\n\nexport interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {\n variant?: 'default' | 'destructive' | 'outline' | 'secondary' | 'ghost' | 'link'\n size?: 'default' | 'sm' | 'lg' | 'icon'\n}\n\nconst Button = React.forwardRef<HTMLButtonElement, ButtonProps>(\n ({ className, variant = 'default', size = 'default', ...props }, ref) => {\n return (\n <button\n className={cn(\n 'inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium transition-colors',\n 'focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2',\n 'disabled:pointer-events-none disabled:opacity-50',\n {\n 'bg-accent text-accent-foreground hover:bg-accent-hover':\n variant === 'default',\n 'bg-destructive text-destructive-foreground hover:bg-destructive/90':\n variant === 'destructive',\n 'border border-input bg-background hover:bg-muted hover:text-foreground':\n variant === 'outline',\n 'bg-muted text-foreground hover:bg-muted/80':\n variant === 'secondary',\n 'hover:bg-muted hover:text-foreground':\n variant === 'ghost',\n 'text-accent underline-offset-4 hover:underline':\n variant === 'link',\n },\n {\n 'h-10 px-4 py-2': size === 'default',\n 'h-9 rounded-md px-3': size === 'sm',\n 'h-11 rounded-md px-8': size === 'lg',\n 'h-10 w-10': size === 'icon',\n },\n className\n )}\n ref={ref}\n {...props}\n />\n )\n }\n)\nButton.displayName = 'Button'\n\nexport { Button }\n","import * as React from 'react'\nimport { cn } from '../utils/cn'\n\nexport interface InputProps extends React.InputHTMLAttributes<HTMLInputElement> {}\n\nconst Input = React.forwardRef<HTMLInputElement, InputProps>(\n ({ className, type, ...props }, ref) => {\n return (\n <input\n type={type}\n className={cn(\n 'flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-sm',\n 'ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium',\n 'placeholder:text-muted-foreground',\n 'focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2',\n 'disabled:cursor-not-allowed disabled:opacity-50',\n className\n )}\n ref={ref}\n {...props}\n />\n )\n }\n)\nInput.displayName = 'Input'\n\nexport { Input }\n","import * as React from 'react'\nimport { cn } from '../utils/cn'\n\nexport interface TextareaProps extends React.TextareaHTMLAttributes<HTMLTextAreaElement> {}\n\nconst Textarea = React.forwardRef<HTMLTextAreaElement, TextareaProps>(\n ({ className, ...props }, ref) => {\n return (\n <textarea\n className={cn(\n 'flex min-h-[80px] w-full rounded-md border border-input bg-background px-3 py-2 text-sm',\n 'ring-offset-background',\n 'placeholder:text-muted-foreground',\n 'focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2',\n 'disabled:cursor-not-allowed disabled:opacity-50',\n className\n )}\n ref={ref}\n {...props}\n />\n )\n }\n)\nTextarea.displayName = 'Textarea'\n\nexport { Textarea }\n","import * as React from 'react'\nimport { cn } from '../utils/cn'\n\nconst Card = React.forwardRef<HTMLDivElement, React.HTMLAttributes<HTMLDivElement>>(\n ({ className, ...props }, ref) => (\n <div\n ref={ref}\n className={cn(\n 'rounded-lg border border-border bg-card text-card-foreground shadow-sm',\n className\n )}\n {...props}\n />\n )\n)\nCard.displayName = 'Card'\n\nconst CardHeader = React.forwardRef<HTMLDivElement, React.HTMLAttributes<HTMLDivElement>>(\n ({ className, ...props }, ref) => (\n <div\n ref={ref}\n className={cn('flex flex-col space-y-1.5 p-6', className)}\n {...props}\n />\n )\n)\nCardHeader.displayName = 'CardHeader'\n\nconst CardTitle = React.forwardRef<HTMLHeadingElement, React.HTMLAttributes<HTMLHeadingElement>>(\n ({ className, ...props }, ref) => (\n <h3\n ref={ref}\n className={cn('text-2xl font-semibold leading-none tracking-tight', className)}\n {...props}\n />\n )\n)\nCardTitle.displayName = 'CardTitle'\n\nconst CardDescription = React.forwardRef<HTMLParagraphElement, React.HTMLAttributes<HTMLParagraphElement>>(\n ({ className, ...props }, ref) => (\n <p\n ref={ref}\n className={cn('text-sm text-muted-foreground', className)}\n {...props}\n />\n )\n)\nCardDescription.displayName = 'CardDescription'\n\nconst CardContent = React.forwardRef<HTMLDivElement, React.HTMLAttributes<HTMLDivElement>>(\n ({ className, ...props }, ref) => (\n <div ref={ref} className={cn('p-6 pt-0', className)} {...props} />\n )\n)\nCardContent.displayName = 'CardContent'\n\nconst CardFooter = React.forwardRef<HTMLDivElement, React.HTMLAttributes<HTMLDivElement>>(\n ({ className, ...props }, ref) => (\n <div\n ref={ref}\n className={cn('flex items-center p-6 pt-0', className)}\n {...props}\n />\n )\n)\nCardFooter.displayName = 'CardFooter'\n\nexport { Card, CardHeader, CardFooter, CardTitle, CardDescription, CardContent }\n","import * as React from 'react'\nimport { cn } from '../utils/cn'\n\nexport interface BadgeProps extends React.HTMLAttributes<HTMLDivElement> {\n variant?: 'default' | 'secondary' | 'destructive' | 'outline'\n}\n\nconst Badge = React.forwardRef<HTMLDivElement, BadgeProps>(\n ({ className, variant = 'default', ...props }, ref) => {\n return (\n <div\n ref={ref}\n className={cn(\n 'inline-flex items-center rounded-full px-2.5 py-0.5 text-xs font-semibold transition-colors',\n 'focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2',\n {\n 'border-transparent bg-accent text-accent-foreground':\n variant === 'default',\n 'border-transparent bg-muted text-foreground':\n variant === 'secondary',\n 'border-transparent bg-destructive text-destructive-foreground':\n variant === 'destructive',\n 'border border-border text-foreground':\n variant === 'outline',\n },\n className\n )}\n {...props}\n />\n )\n }\n)\nBadge.displayName = 'Badge'\n\nexport { Badge }\n","import * as React from 'react'\nimport { cn } from '../utils/cn'\n\nexport interface LabelProps extends React.LabelHTMLAttributes<HTMLLabelElement> {}\n\nconst Label = React.forwardRef<HTMLLabelElement, LabelProps>(\n ({ className, ...props }, ref) => (\n <label\n ref={ref}\n className={cn(\n 'text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70',\n className\n )}\n {...props}\n />\n )\n)\nLabel.displayName = 'Label'\n\nexport { Label }\n","import * as React from 'react'\nimport { cn } from '../utils/cn'\n\nexport interface CheckboxProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, 'type'> {}\n\nconst Checkbox = React.forwardRef<HTMLInputElement, CheckboxProps>(\n ({ className, ...props }, ref) => (\n <input\n type=\"checkbox\"\n ref={ref}\n className={cn(\n 'h-4 w-4 shrink-0 rounded-sm border border-accent cursor-pointer',\n 'ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2',\n 'disabled:cursor-not-allowed disabled:opacity-50',\n 'accent-accent',\n className\n )}\n {...props}\n />\n )\n)\nCheckbox.displayName = 'Checkbox'\n\nexport { Checkbox }\n","import * as React from 'react'\nimport { cn } from '../utils/cn'\n\nexport interface SwitchProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, 'type'> {}\n\nconst Switch = React.forwardRef<HTMLInputElement, SwitchProps>(\n ({ className, ...props }, ref) => (\n <label className={cn('relative inline-flex items-center cursor-pointer', className)}>\n <input\n type=\"checkbox\"\n ref={ref}\n className=\"sr-only peer\"\n {...props}\n />\n <div\n className={cn(\n 'w-11 h-6 rounded-full transition-colors',\n 'bg-input peer-checked:bg-accent',\n 'peer-focus-visible:outline-none peer-focus-visible:ring-2 peer-focus-visible:ring-ring peer-focus-visible:ring-offset-2 peer-focus-visible:ring-offset-background',\n 'peer-disabled:cursor-not-allowed peer-disabled:opacity-50',\n 'after:content-[\"\"] after:absolute after:top-[2px] after:left-[2px]',\n 'after:bg-background after:rounded-full after:h-5 after:w-5',\n 'after:transition-transform after:shadow-lg',\n 'peer-checked:after:translate-x-5'\n )}\n />\n </label>\n )\n)\nSwitch.displayName = 'Switch'\n\nexport { Switch }\n","import * as React from 'react'\nimport { cn } from '../utils/cn'\n\nexport interface SeparatorProps extends React.HTMLAttributes<HTMLDivElement> {\n orientation?: 'horizontal' | 'vertical'\n}\n\nconst Separator = React.forwardRef<HTMLDivElement, SeparatorProps>(\n ({ className, orientation = 'horizontal', ...props }, ref) => (\n <div\n ref={ref}\n role=\"separator\"\n aria-orientation={orientation}\n className={cn(\n 'shrink-0 bg-border',\n orientation === 'horizontal' ? 'h-[1px] w-full' : 'h-full w-[1px]',\n className\n )}\n {...props}\n />\n )\n)\nSeparator.displayName = 'Separator'\n\nexport { Separator }\n","import * as React from 'react'\nimport { cn } from '../../utils/cn'\n\nexport interface SelectProps extends React.SelectHTMLAttributes<HTMLSelectElement> {}\n\nconst Select = React.forwardRef<HTMLSelectElement, SelectProps>(\n ({ className, children, ...props }, ref) => (\n <select\n ref={ref}\n className={cn(\n 'flex h-10 w-full items-center justify-between rounded-md border border-input bg-background px-3 py-2 text-sm',\n 'ring-offset-background',\n 'focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2',\n 'disabled:cursor-not-allowed disabled:opacity-50',\n className\n )}\n {...props}\n >\n {children}\n </select>\n )\n)\nSelect.displayName = 'Select'\n\nexport interface SelectOptionProps extends React.OptionHTMLAttributes<HTMLOptionElement> {}\n\nconst SelectOption = React.forwardRef<HTMLOptionElement, SelectOptionProps>(\n ({ className, ...props }, ref) => (\n <option ref={ref} className={cn('py-1.5', className)} {...props} />\n )\n)\nSelectOption.displayName = 'SelectOption'\n\nexport interface SelectGroupProps extends React.OptgroupHTMLAttributes<HTMLOptGroupElement> {}\n\nconst SelectGroup = React.forwardRef<HTMLOptGroupElement, SelectGroupProps>(\n ({ className, ...props }, ref) => (\n <optgroup ref={ref} className={cn('font-semibold', className)} {...props} />\n )\n)\nSelectGroup.displayName = 'SelectGroup'\n\n// Compound component pattern\nconst SelectNamespace = Object.assign(Select, {\n Option: SelectOption,\n Group: SelectGroup,\n})\n\nexport {\n SelectNamespace as Select,\n SelectOption,\n SelectGroup,\n}\n","import * as React from 'react'\nimport { cn } from '../../utils/cn'\n\nexport interface DialogProps {\n open?: boolean\n onOpenChange?: (open: boolean) => void\n children: React.ReactNode\n}\n\nconst Dialog: React.FC<DialogProps> = ({ open, onOpenChange, children }) => {\n // Close on Escape key\n React.useEffect(() => {\n const handleEscape = (e: KeyboardEvent) => {\n if (e.key === 'Escape' && open) {\n onOpenChange?.(false)\n }\n }\n document.addEventListener('keydown', handleEscape)\n return () => document.removeEventListener('keydown', handleEscape)\n }, [open, onOpenChange])\n\n if (!open) return null\n\n return <>{children}</>\n}\nDialog.displayName = 'Dialog'\n\nexport interface DialogContentProps extends React.HTMLAttributes<HTMLDivElement> {\n onClose?: () => void\n}\n\nconst DialogContent = React.forwardRef<HTMLDivElement, DialogContentProps>(\n ({ className, children, onClose, ...props }, ref) => (\n <>\n {/* Overlay */}\n <div\n className=\"fixed inset-0 z-50 bg-black/80\"\n onClick={onClose}\n />\n {/* Content */}\n <div\n ref={ref}\n className={cn(\n 'fixed left-1/2 top-1/2 z-50 grid w-full max-w-lg -translate-x-1/2 -translate-y-1/2 gap-4 p-6 shadow-lg',\n 'bg-popover border border-border text-popover-foreground',\n 'rounded-lg',\n className\n )}\n {...props}\n >\n {children}\n {onClose && (\n <button\n type=\"button\"\n onClick={onClose}\n className=\"absolute right-4 top-4 rounded-sm opacity-70 transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2\"\n >\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n strokeWidth=\"2\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n className=\"h-4 w-4\"\n >\n <path d=\"M18 6 6 18\" />\n <path d=\"m6 6 12 12\" />\n </svg>\n <span className=\"sr-only\">Close</span>\n </button>\n )}\n </div>\n </>\n )\n)\nDialogContent.displayName = 'DialogContent'\n\nconst DialogHeader: React.FC<React.HTMLAttributes<HTMLDivElement>> = ({\n className,\n ...props\n}) => (\n <div\n className={cn('flex flex-col space-y-1.5 text-center sm:text-left', className)}\n {...props}\n />\n)\nDialogHeader.displayName = 'DialogHeader'\n\nconst DialogFooter: React.FC<React.HTMLAttributes<HTMLDivElement>> = ({\n className,\n ...props\n}) => (\n <div\n className={cn('flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2', className)}\n {...props}\n />\n)\nDialogFooter.displayName = 'DialogFooter'\n\nconst DialogTitle = React.forwardRef<HTMLHeadingElement, React.HTMLAttributes<HTMLHeadingElement>>(\n ({ className, ...props }, ref) => (\n <h2\n ref={ref}\n className={cn('text-lg font-semibold leading-none tracking-tight', className)}\n {...props}\n />\n )\n)\nDialogTitle.displayName = 'DialogTitle'\n\nconst DialogDescription = React.forwardRef<HTMLParagraphElement, React.HTMLAttributes<HTMLParagraphElement>>(\n ({ className, ...props }, ref) => (\n <p\n ref={ref}\n className={cn('text-sm text-muted-foreground', className)}\n {...props}\n />\n )\n)\nDialogDescription.displayName = 'DialogDescription'\n\n// Compound component pattern\nconst DialogNamespace = Object.assign(Dialog, {\n Content: DialogContent,\n Header: DialogHeader,\n Footer: DialogFooter,\n Title: DialogTitle,\n Description: DialogDescription,\n})\n\nexport {\n DialogNamespace as Dialog,\n DialogContent,\n DialogHeader,\n DialogFooter,\n DialogTitle,\n DialogDescription,\n}\n","import * as React from 'react'\nimport { cn } from '../utils/cn'\n\nexport interface SpinnerProps extends React.HTMLAttributes<HTMLDivElement> {\n size?: 'sm' | 'default' | 'lg'\n}\n\nconst Spinner = React.forwardRef<HTMLDivElement, SpinnerProps>(\n ({ className, size = 'default', ...props }, ref) => {\n return (\n <div\n ref={ref}\n role=\"status\"\n aria-label=\"Loading\"\n className={cn(\n 'inline-block animate-spin rounded-full border-2 border-solid border-current border-r-transparent motion-reduce:animate-[spin_1.5s_linear_infinite]',\n {\n 'h-4 w-4': size === 'sm',\n 'h-6 w-6': size === 'default',\n 'h-8 w-8': size === 'lg',\n },\n 'text-accent',\n className\n )}\n {...props}\n >\n <span className=\"sr-only\">Loading...</span>\n </div>\n )\n }\n)\nSpinner.displayName = 'Spinner'\n\nexport { Spinner }\n","import * as React from 'react'\nimport { cn } from '../utils/cn'\n\nconst Table = React.forwardRef<\n HTMLTableElement,\n React.HTMLAttributes<HTMLTableElement>\n>(({ className, ...props }, ref) => (\n <div className=\"relative w-full overflow-auto\">\n <table\n ref={ref}\n className={cn('w-full caption-bottom text-sm', className)}\n {...props}\n />\n </div>\n))\nTable.displayName = 'Table'\n\nconst TableHeader = React.forwardRef<\n HTMLTableSectionElement,\n React.HTMLAttributes<HTMLTableSectionElement>\n>(({ className, ...props }, ref) => (\n <thead ref={ref} className={cn('[&_tr]:border-b', className)} {...props} />\n))\nTableHeader.displayName = 'TableHeader'\n\nconst TableBody = React.forwardRef<\n HTMLTableSectionElement,\n React.HTMLAttributes<HTMLTableSectionElement>\n>(({ className, ...props }, ref) => (\n <tbody\n ref={ref}\n className={cn('[&_tr:last-child]:border-0', className)}\n {...props}\n />\n))\nTableBody.displayName = 'TableBody'\n\nconst TableFooter = React.forwardRef<\n HTMLTableSectionElement,\n React.HTMLAttributes<HTMLTableSectionElement>\n>(({ className, ...props }, ref) => (\n <tfoot\n ref={ref}\n className={cn(\n 'border-t bg-muted/50 font-medium [&>tr]:last:border-b-0',\n className\n )}\n {...props}\n />\n))\nTableFooter.displayName = 'TableFooter'\n\nconst TableRow = React.forwardRef<\n HTMLTableRowElement,\n React.HTMLAttributes<HTMLTableRowElement>\n>(({ className, ...props }, ref) => (\n <tr\n ref={ref}\n className={cn(\n 'border-b border-border transition-colors',\n 'hover:bg-muted/50',\n 'data-[state=selected]:bg-muted',\n className\n )}\n {...props}\n />\n))\nTableRow.displayName = 'TableRow'\n\nconst TableHead = React.forwardRef<\n HTMLTableCellElement,\n React.ThHTMLAttributes<HTMLTableCellElement>\n>(({ className, ...props }, ref) => (\n <th\n ref={ref}\n className={cn(\n 'h-12 px-4 text-left align-middle font-medium text-muted-foreground',\n '[&:has([role=checkbox])]:pr-0',\n className\n )}\n {...props}\n />\n))\nTableHead.displayName = 'TableHead'\n\nconst TableCell = React.forwardRef<\n HTMLTableCellElement,\n React.TdHTMLAttributes<HTMLTableCellElement>\n>(({ className, ...props }, ref) => (\n <td\n ref={ref}\n className={cn(\n 'p-4 align-middle [&:has([role=checkbox])]:pr-0',\n className\n )}\n {...props}\n />\n))\nTableCell.displayName = 'TableCell'\n\nconst TableCaption = React.forwardRef<\n HTMLTableCaptionElement,\n React.HTMLAttributes<HTMLTableCaptionElement>\n>(({ className, ...props }, ref) => (\n <caption\n ref={ref}\n className={cn('mt-4 text-sm text-muted-foreground', className)}\n {...props}\n />\n))\nTableCaption.displayName = 'TableCaption'\n\n// Compound component pattern\nconst TableNamespace = Object.assign(Table, {\n Header: TableHeader,\n Body: TableBody,\n Footer: TableFooter,\n Row: TableRow,\n Head: TableHead,\n Cell: TableCell,\n Caption: TableCaption,\n})\n\nexport {\n TableNamespace as Table,\n TableHeader,\n TableBody,\n TableFooter,\n TableHead,\n TableRow,\n TableCell,\n TableCaption,\n}\n","import * as React from 'react'\nimport { cn } from '../utils/cn'\nimport { Button } from './button'\n\nexport interface PaginationProps extends React.HTMLAttributes<HTMLElement> {}\n\nconst Pagination = React.forwardRef<HTMLElement, PaginationProps>(\n ({ className, ...props }, ref) => (\n <nav\n ref={ref}\n role=\"navigation\"\n aria-label=\"pagination\"\n className={cn('mx-auto flex w-full justify-center', className)}\n {...props}\n />\n )\n)\nPagination.displayName = 'Pagination'\n\nconst PaginationContent = React.forwardRef<\n HTMLUListElement,\n React.HTMLAttributes<HTMLUListElement>\n>(({ className, ...props }, ref) => (\n <ul\n ref={ref}\n className={cn('flex flex-row items-center gap-1', className)}\n {...props}\n />\n))\nPaginationContent.displayName = 'PaginationContent'\n\nconst PaginationItem = React.forwardRef<\n HTMLLIElement,\n React.LiHTMLAttributes<HTMLLIElement>\n>(({ className, ...props }, ref) => (\n <li ref={ref} className={cn('', className)} {...props} />\n))\nPaginationItem.displayName = 'PaginationItem'\n\nexport interface PaginationLinkProps\n extends React.ButtonHTMLAttributes<HTMLButtonElement> {\n isActive?: boolean\n}\n\nconst PaginationLink = React.forwardRef<HTMLButtonElement, PaginationLinkProps>(\n ({ className, isActive, ...props }, ref) => (\n <Button\n ref={ref}\n variant={isActive ? 'default' : 'outline'}\n size=\"icon\"\n className={cn('h-9 w-9', className)}\n {...props}\n />\n )\n)\nPaginationLink.displayName = 'PaginationLink'\n\nconst PaginationPrevious = React.forwardRef<\n HTMLButtonElement,\n React.ButtonHTMLAttributes<HTMLButtonElement>\n>(({ className, ...props }, ref) => (\n <Button\n ref={ref}\n variant=\"outline\"\n size=\"default\"\n className={cn('gap-1 pl-2.5', className)}\n {...props}\n >\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n strokeWidth=\"2\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n className=\"h-4 w-4\"\n >\n <path d=\"m15 18-6-6 6-6\" />\n </svg>\n <span>Previous</span>\n </Button>\n))\nPaginationPrevious.displayName = 'PaginationPrevious'\n\nconst PaginationNext = React.forwardRef<\n HTMLButtonElement,\n React.ButtonHTMLAttributes<HTMLButtonElement>\n>(({ className, ...props }, ref) => (\n <Button\n ref={ref}\n variant=\"outline\"\n size=\"default\"\n className={cn('gap-1 pr-2.5', className)}\n {...props}\n >\n <span>Next</span>\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n strokeWidth=\"2\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n className=\"h-4 w-4\"\n >\n <path d=\"m9 18 6-6-6-6\" />\n </svg>\n </Button>\n))\nPaginationNext.displayName = 'PaginationNext'\n\nconst PaginationEllipsis = React.forwardRef<\n HTMLSpanElement,\n React.HTMLAttributes<HTMLSpanElement>\n>(({ className, ...props }, ref) => (\n <span\n ref={ref}\n aria-hidden\n className={cn('flex h-9 w-9 items-center justify-center', className)}\n {...props}\n >\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n strokeWidth=\"2\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n className=\"h-4 w-4\"\n >\n <circle cx=\"12\" cy=\"12\" r=\"1\" />\n <circle cx=\"19\" cy=\"12\" r=\"1\" />\n <circle cx=\"5\" cy=\"12\" r=\"1\" />\n </svg>\n <span className=\"sr-only\">More pages</span>\n </span>\n))\nPaginationEllipsis.displayName = 'PaginationEllipsis'\n\n// Compound component pattern\nconst PaginationNamespace = Object.assign(Pagination, {\n Content: PaginationContent,\n Item: PaginationItem,\n Link: PaginationLink,\n Previous: PaginationPrevious,\n Next: PaginationNext,\n Ellipsis: PaginationEllipsis,\n})\n\nexport {\n PaginationNamespace as Pagination,\n PaginationContent,\n PaginationItem,\n PaginationLink,\n PaginationPrevious,\n PaginationNext,\n PaginationEllipsis,\n}\n","import * as React from 'react'\nimport { cn } from '../../utils/cn'\n\nexport interface ComboboxOption {\n value: string\n label: string\n disabled?: boolean\n}\n\nexport interface ComboboxProps {\n options: ComboboxOption[]\n value?: string\n defaultValue?: string\n onValueChange?: (value: string) => void\n placeholder?: string\n searchPlaceholder?: string\n emptyMessage?: string\n disabled?: boolean\n className?: string\n}\n\nconst Combobox = React.forwardRef<HTMLInputElement, ComboboxProps>(\n (\n {\n options,\n value: controlledValue,\n defaultValue,\n onValueChange,\n placeholder = 'Select option...',\n searchPlaceholder = 'Search...',\n emptyMessage = 'No results found.',\n disabled = false,\n className,\n },\n ref\n ) => {\n const [open, setOpen] = React.useState(false)\n const [search, setSearch] = React.useState('')\n const [internalValue, setInternalValue] = React.useState(defaultValue ?? '')\n const containerRef = React.useRef<HTMLDivElement>(null)\n\n const value = controlledValue !== undefined ? controlledValue : internalValue\n\n const filteredOptions = React.useMemo(() => {\n if (!search) return options\n return options.filter((option) =>\n option.label.toLowerCase().includes(search.toLowerCase())\n )\n }, [options, search])\n\n const selectedOption = options.find((option) => option.value === value)\n\n const handleSelect = (optionValue: string) => {\n if (controlledValue === undefined) {\n setInternalValue(optionValue)\n }\n onValueChange?.(optionValue)\n setOpen(false)\n setSearch('')\n }\n\n // Close on click outside\n React.useEffect(() => {\n const handleClickOutside = (event: MouseEvent) => {\n if (containerRef.current && !containerRef.current.contains(event.target as Node)) {\n setOpen(false)\n }\n }\n document.addEventListener('mousedown', handleClickOutside)\n return () => document.removeEventListener('mousedown', handleClickOutside)\n }, [])\n\n return (\n <div ref={containerRef} className=\"relative\">\n <button\n type=\"button\"\n role=\"combobox\"\n aria-expanded={open}\n disabled={disabled}\n onClick={() => setOpen(!open)}\n className={cn(\n 'flex h-10 w-full items-center justify-between rounded-md border border-input bg-background px-3 py-2 text-sm',\n 'ring-offset-background',\n 'focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2',\n 'disabled:cursor-not-allowed disabled:opacity-50',\n className\n )}\n >\n <span className={cn(!selectedOption && 'text-muted-foreground')}>\n {selectedOption?.label ?? placeholder}\n </span>\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n strokeWidth=\"2\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n className={cn(\n 'ml-2 h-4 w-4 shrink-0 opacity-50 transition-transform',\n open && 'rotate-180'\n )}\n >\n <path d=\"m6 9 6 6 6-6\" />\n </svg>\n </button>\n\n {open && (\n <div className=\"absolute z-50 mt-1 w-full overflow-hidden rounded-md border border-border bg-popover text-popover-foreground shadow-md\">\n <div className=\"flex items-center border-b border-border px-3\">\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n strokeWidth=\"2\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n className=\"mr-2 h-4 w-4 shrink-0 opacity-50\"\n >\n <circle cx=\"11\" cy=\"11\" r=\"8\" />\n <path d=\"m21 21-4.3-4.3\" />\n </svg>\n <input\n ref={ref}\n className=\"flex h-10 w-full bg-transparent py-3 text-sm outline-none placeholder:text-muted-foreground\"\n placeholder={searchPlaceholder}\n value={search}\n onChange={(e) => setSearch(e.target.value)}\n />\n </div>\n <div className=\"max-h-[300px] overflow-y-auto p-1\">\n {filteredOptions.length === 0 ? (\n <div className=\"py-6 text-center text-sm text-muted-foreground\">\n {emptyMessage}\n </div>\n ) : (\n filteredOptions.map((option) => (\n <button\n key={option.value}\n type=\"button\"\n disabled={option.disabled}\n onClick={() => handleSelect(option.value)}\n className={cn(\n 'relative flex w-full cursor-pointer select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none',\n 'hover:bg-muted hover:text-foreground',\n 'focus:bg-muted focus:text-foreground',\n 'disabled:pointer-events-none disabled:opacity-50',\n option.value === value && 'bg-muted'\n )}\n >\n <span className=\"absolute left-2 flex h-3.5 w-3.5 items-center justify-center\">\n {option.value === value && (\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n strokeWidth=\"2\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n className=\"h-4 w-4\"\n >\n <polyline points=\"20 6 9 17 4 12\" />\n </svg>\n )}\n </span>\n {option.label}\n </button>\n ))\n )}\n </div>\n </div>\n )}\n </div>\n )\n }\n)\nCombobox.displayName = 'Combobox'\n\nexport { Combobox }\n","import * as React from 'react'\n\n// Import all components\nimport { ThemeProvider } from './theme/provider'\nimport { useTheme } from './theme/use-theme'\nimport { Button } from './components/button'\nimport { Input } from './components/input'\nimport { Textarea } from './components/textarea'\nimport {\n Card,\n CardHeader,\n CardFooter,\n CardTitle,\n CardDescription,\n CardContent,\n} from './components/card'\nimport { Badge } from './components/badge'\nimport { Label } from './components/label'\nimport { Checkbox } from './components/checkbox'\nimport { Switch } from './components/switch'\nimport { Separator } from './components/separator'\nimport { Select, SelectOption, SelectGroup } from './components/select'\nimport {\n Dialog,\n DialogContent,\n DialogHeader,\n DialogFooter,\n DialogTitle,\n DialogDescription,\n} from './components/dialog'\nimport { Spinner } from './components/spinner'\nimport {\n Table,\n TableHeader,\n TableBody,\n TableRow,\n TableHead,\n TableCell,\n TableCaption,\n} from './components/table'\nimport {\n Pagination,\n PaginationContent,\n PaginationItem,\n PaginationLink,\n PaginationPrevious,\n PaginationNext,\n PaginationEllipsis,\n} from './components/pagination'\nimport { Combobox } from './components/combobox'\n\n// Section wrapper component\nconst Section = ({ title, children }: { title: string; children: React.ReactNode }) => (\n <div className=\"mb-8\">\n <h2 className=\"text-xl font-semibold mb-4 text-foreground\">{title}</h2>\n <div className=\"p-4 border border-border rounded-lg bg-background\">{children}</div>\n </div>\n)\n\n// Theme toggle component\nconst ThemeToggle = () => {\n const { theme, setTheme } = useTheme()\n return (\n <div className=\"flex items-center gap-2\">\n <Label>Theme:</Label>\n <Select value={theme} onChange={(e) => setTheme(e.target.value as 'light' | 'dark' | 'system')}>\n <SelectOption value=\"light\">Light</SelectOption>\n <SelectOption value=\"dark\">Dark</SelectOption>\n <SelectOption value=\"system\">System</SelectOption>\n </Select>\n </div>\n )\n}\n\n// Main Playground Component\nconst PlaygroundContent = () => {\n const [dialogOpen, setDialogOpen] = React.useState(false)\n const [checkboxChecked, setCheckboxChecked] = React.useState(false)\n const [switchChecked, setSwitchChecked] = React.useState(false)\n const [inputValue, setInputValue] = React.useState('')\n const [textareaValue, setTextareaValue] = React.useState('')\n const [selectValue, setSelectValue] = React.useState('')\n const [comboboxValue, setComboboxValue] = React.useState('')\n\n const comboboxOptions = [\n { value: 'react', label: 'React' },\n { value: 'vue', label: 'Vue' },\n { value: 'angular', label: 'Angular' },\n { value: 'svelte', label: 'Svelte' },\n { value: 'solid', label: 'SolidJS' },\n ]\n\n return (\n <div className=\"min-h-screen bg-background p-8\">\n <div className=\"max-w-4xl mx-auto\">\n <div className=\"flex items-center justify-between mb-8\">\n <h1 className=\"text-3xl font-bold text-foreground\">@onesaz/ui Playground</h1>\n <ThemeToggle />\n </div>\n\n {/* Buttons */}\n <Section title=\"Button\">\n <div className=\"flex flex-wrap gap-4\">\n <Button variant=\"default\">Default</Button>\n <Button variant=\"destructive\">Destructive</Button>\n <Button variant=\"outline\">Outline</Button>\n <Button variant=\"secondary\">Secondary</Button>\n <Button variant=\"ghost\">Ghost</Button>\n <Button variant=\"link\">Link</Button>\n </div>\n <div className=\"flex flex-wrap gap-4 mt-4\">\n <Button size=\"sm\">Small</Button>\n <Button size=\"default\">Default</Button>\n <Button size=\"lg\">Large</Button>\n <Button size=\"icon\">🔔</Button>\n </div>\n <div className=\"flex flex-wrap gap-4 mt-4\">\n <Button disabled>Disabled</Button>\n <Button variant=\"outline\" disabled>Disabled Outline</Button>\n </div>\n </Section>\n\n {/* Input */}\n <Section title=\"Input\">\n <div className=\"space-y-4 max-w-md\">\n <div>\n <Label htmlFor=\"input-default\">Default Input</Label>\n <Input\n id=\"input-default\"\n placeholder=\"Enter text...\"\n value={inputValue}\n onChange={(e) => setInputValue(e.target.value)}\n />\n </div>\n <div>\n <Label htmlFor=\"input-disabled\">Disabled Input</Label>\n <Input id=\"input-disabled\" placeholder=\"Disabled...\" disabled />\n </div>\n <div>\n <Label htmlFor=\"input-type\">Email Input</Label>\n <Input id=\"input-type\" type=\"email\" placeholder=\"email@example.com\" />\n </div>\n </div>\n </Section>\n\n {/* Textarea */}\n <Section title=\"Textarea\">\n <div className=\"space-y-4 max-w-md\">\n <div>\n <Label htmlFor=\"textarea-default\">Default Textarea</Label>\n <Textarea\n id=\"textarea-default\"\n placeholder=\"Enter long text...\"\n value={textareaValue}\n onChange={(e) => setTextareaValue(e.target.value)}\n />\n </div>\n <div>\n <Label htmlFor=\"textarea-disabled\">Disabled Textarea</Label>\n <Textarea id=\"textarea-disabled\" placeholder=\"Disabled...\" disabled />\n </div>\n </div>\n </Section>\n\n {/* Select */}\n <Section title=\"Select\">\n <div className=\"space-y-4 max-w-md\">\n <div>\n <Label htmlFor=\"select-default\">Default Select</Label>\n <Select\n id=\"select-default\"\n value={selectValue}\n onChange={(e) => setSelectValue(e.target.value)}\n >\n <SelectOption value=\"\">Select an option...</SelectOption>\n <SelectOption value=\"option1\">Option 1</SelectOption>\n <SelectOption value=\"option2\">Option 2</SelectOption>\n <SelectOption value=\"option3\">Option 3</SelectOption>\n </Select>\n </div>\n <div>\n <Label htmlFor=\"select-grouped\">Grouped Select</Label>\n <Select id=\"select-grouped\">\n <SelectGroup label=\"Fruits\">\n <SelectOption value=\"apple\">Apple</SelectOption>\n <SelectOption value=\"banana\">Banana</SelectOption>\n </SelectGroup>\n <SelectGroup label=\"Vegetables\">\n <SelectOption value=\"carrot\">Carrot</SelectOption>\n <SelectOption value=\"potato\">Potato</SelectOption>\n </SelectGroup>\n </Select>\n </div>\n <div>\n <Label htmlFor=\"select-disabled\">Disabled Select</Label>\n <Select id=\"select-disabled\" disabled>\n <SelectOption value=\"\">Disabled...</SelectOption>\n </Select>\n </div>\n </div>\n </Section>\n\n {/* Combobox */}\n <Section title=\"Combobox (Searchable Select)\">\n <div className=\"space-y-4 max-w-md\">\n <div>\n <Label>Framework</Label>\n <Combobox\n options={comboboxOptions}\n value={comboboxValue}\n onValueChange={setComboboxValue}\n placeholder=\"Search frameworks...\"\n />\n </div>\n </div>\n </Section>\n\n {/* Checkbox & Switch */}\n <Section title=\"Checkbox & Switch\">\n <div className=\"space-y-4\">\n <div className=\"flex items-center gap-2\">\n <Checkbox\n id=\"checkbox\"\n checked={checkboxChecked}\n onChange={(e) => setCheckboxChecked(e.target.checked)}\n />\n <Label htmlFor=\"checkbox\">Accept terms and conditions</Label>\n </div>\n <div className=\"flex items-center gap-2\">\n <Checkbox id=\"checkbox-disabled\" disabled />\n <Label htmlFor=\"checkbox-disabled\">Disabled checkbox</Label>\n </div>\n <Separator />\n <div className=\"flex items-center gap-2\">\n <Switch\n id=\"switch\"\n checked={switchChecked}\n onChange={(e) => setSwitchChecked(e.target.checked)}\n />\n <Label htmlFor=\"switch\">Enable notifications</Label>\n </div>\n <div className=\"flex items-center gap-2\">\n <Switch id=\"switch-disabled\" disabled />\n <Label htmlFor=\"switch-disabled\">Disabled switch</Label>\n </div>\n </div>\n </Section>\n\n {/* Badge */}\n <Section title=\"Badge\">\n <div className=\"flex flex-wrap gap-4\">\n <Badge>Default</Badge>\n <Badge variant=\"secondary\">Secondary</Badge>\n <Badge variant=\"destructive\">Destructive</Badge>\n <Badge variant=\"outline\">Outline</Badge>\n </div>\n </Section>\n\n {/* Card */}\n <Section title=\"Card\">\n <div className=\"grid gap-4 md:grid-cols-2\">\n <Card>\n <CardHeader>\n <CardTitle>Card Title</CardTitle>\n <CardDescription>Card description goes here</CardDescription>\n </CardHeader>\n <CardContent>\n <p className=\"text-foreground\">This is the card content area.</p>\n </CardContent>\n <CardFooter>\n <Button variant=\"outline\" className=\"mr-2\">Cancel</Button>\n <Button>Submit</Button>\n </CardFooter>\n </Card>\n <Card>\n <CardHeader>\n <CardTitle>Another Card</CardTitle>\n <CardDescription>With different content</CardDescription>\n </CardHeader>\n <CardContent>\n <div className=\"space-y-2\">\n <Label htmlFor=\"card-input\">Name</Label>\n <Input id=\"card-input\" placeholder=\"Enter name...\" />\n </div>\n </CardContent>\n <CardFooter>\n <Button className=\"w-full\">Save</Button>\n </CardFooter>\n </Card>\n </div>\n </Section>\n\n {/* Dialog */}\n <Section title=\"Dialog\">\n <Button onClick={() => setDialogOpen(true)}>Open Dialog</Button>\n <Dialog open={dialogOpen} onOpenChange={setDialogOpen}>\n <DialogContent onClose={() => setDialogOpen(false)}>\n <DialogHeader>\n <DialogTitle>Create New Zone</DialogTitle>\n <DialogDescription>\n Fill in the details below to create a new zone.\n </DialogDescription>\n </DialogHeader>\n <div className=\"space-y-4 py-4\">\n <div className=\"grid grid-cols-2 gap-4\">\n <div>\n <Label htmlFor=\"zone-name\">Zone Name *</Label>\n <Input id=\"zone-name\" placeholder=\"eg:hyderabad\" />\n </div>\n <div>\n <Label htmlFor=\"zone-code\">Zone Code *</Label>\n <Input id=\"zone-code\" placeholder=\"eg :hyd022\" />\n </div>\n </div>\n <div className=\"grid grid-cols-2 gap-4\">\n <div>\n <Label htmlFor=\"state\">State *</Label>\n <Select id=\"state\">\n <SelectOption value=\"\">Select state</SelectOption>\n <SelectOption value=\"telangana\">TELANGANA</SelectOption>\n <SelectOption value=\"andhra\">ANDHRA PRADESH</SelectOption>\n </Select>\n </div>\n <div>\n <Label htmlFor=\"district\">District *</Label>\n <Select id=\"district\">\n <SelectOption value=\"\">Select District</SelectOption>\n <SelectOption value=\"hyderabad\">HYDERABAD</SelectOption>\n <SelectOption value=\"rangareddy\">RANGAREDDY</SelectOption>\n </Select>\n </div>\n </div>\n </div>\n <DialogFooter>\n <Button variant=\"outline\" onClick={() => setDialogOpen(false)}>\n CANCEL\n </Button>\n <Button onClick={() => setDialogOpen(false)}>Create</Button>\n </DialogFooter>\n </DialogContent>\n </Dialog>\n </Section>\n\n {/* Table */}\n <Section title=\"Table\">\n <Table>\n <TableCaption>A list of recent invoices</TableCaption>\n <TableHeader>\n <TableRow>\n <TableHead>Invoice</TableHead>\n <TableHead>Status</TableHead>\n <TableHead>Method</TableHead>\n <TableHead className=\"text-right\">Amount</TableHead>\n </TableRow>\n </TableHeader>\n <TableBody>\n <TableRow>\n <TableCell>INV001</TableCell>\n <TableCell><Badge>Paid</Badge></TableCell>\n <TableCell>Credit Card</TableCell>\n <TableCell className=\"text-right\">$250.00</TableCell>\n </TableRow>\n <TableRow>\n <TableCell>INV002</TableCell>\n <TableCell><Badge variant=\"secondary\">Pending</Badge></TableCell>\n <TableCell>PayPal</TableCell>\n <TableCell className=\"text-right\">$150.00</TableCell>\n </TableRow>\n <TableRow>\n <TableCell>INV003</TableCell>\n <TableCell><Badge variant=\"destructive\">Failed</Badge></TableCell>\n <TableCell>Bank Transfer</TableCell>\n <TableCell className=\"text-right\">$350.00</TableCell>\n </TableRow>\n </TableBody>\n </Table>\n </Section>\n\n {/* Pagination */}\n <Section title=\"Pagination\">\n <Pagination>\n <PaginationContent>\n <PaginationItem>\n <PaginationPrevious onClick={() => console.log('Previous')} />\n </PaginationItem>\n <PaginationItem>\n <PaginationLink isActive>1</PaginationLink>\n </PaginationItem>\n <PaginationItem>\n <PaginationLink>2</PaginationLink>\n </PaginationItem>\n <PaginationItem>\n <PaginationLink>3</PaginationLink>\n </PaginationItem>\n <PaginationItem>\n <PaginationEllipsis />\n </PaginationItem>\n <PaginationItem>\n <PaginationNext onClick={() => console.log('Next')} />\n </PaginationItem>\n </PaginationContent>\n </Pagination>\n </Section>\n\n {/* Spinner */}\n <Section title=\"Spinner\">\n <div className=\"flex items-center gap-8\">\n <div className=\"text-center\">\n <Spinner size=\"sm\" />\n <p className=\"text-sm text-muted-foreground mt-2\">Small</p>\n </div>\n <div className=\"text-center\">\n <Spinner size=\"default\" />\n <p className=\"text-sm text-muted-foreground mt-2\">Default</p>\n </div>\n <div className=\"text-center\">\n <Spinner size=\"lg\" />\n <p className=\"text-sm text-muted-foreground mt-2\">Large</p>\n </div>\n </div>\n </Section>\n\n {/* Separator */}\n <Section title=\"Separator\">\n <div className=\"space-y-4\">\n <p className=\"text-foreground\">Content above separator</p>\n <Separator />\n <p className=\"text-foreground\">Content below separator</p>\n <div className=\"flex items-center h-10\">\n <span className=\"text-foreground\">Left</span>\n <Separator orientation=\"vertical\" className=\"mx-4\" />\n <span className=\"text-foreground\">Right</span>\n </div>\n </div>\n </Section>\n\n {/* Typography Colors */}\n <Section title=\"Typography & Colors\">\n <div className=\"space-y-2\">\n <p className=\"text-foreground\">text-foreground - Primary text color</p>\n <p className=\"text-muted-foreground\">text-muted-foreground - Muted text color</p>\n <p className=\"text-accent\">text-accent - Accent color</p>\n <p className=\"text-destructive\">text-destructive - Destructive color</p>\n </div>\n </Section>\n </div>\n </div>\n )\n}\n\n// Exported Playground wrapped with ThemeProvider\nexport const Playground = () => (\n <ThemeProvider defaultTheme=\"light\">\n <PlaygroundContent />\n </ThemeProvider>\n)\n\nexport default Playground\n"],"mappings":";AAAA,YAAY,WAAW;AACvB;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OAKK;;;ACXP,SAAS,qBAAqB;AAevB,IAAM,eAAe,cAA6C,MAAS;;;ADoJ9E;AA5IJ,SAAS,iBAAmC;AAC1C,MAAI,OAAO,WAAW,YAAa,QAAO;AAC1C,SAAO,OAAO,WAAW,8BAA8B,EAAE,UAAU,SAAS;AAC9E;AAEO,SAAS,cAAc;AAAA,EAC5B;AAAA,EACA,eAAe;AAAA,EACf,aAAa,gBAAgB;AAAA,EAC7B,WAAW,cAAc;AAAA,EACzB,QAAQ,gBAAgB;AAAA,EACxB,aAAa;AACf,GAAuB;AACrB,QAAM,CAAC,OAAO,aAAa,IAAU,eAAgB,MAAM;AACzD,QAAI,OAAO,WAAW,YAAa,QAAO;AAC1C,UAAM,SAAS,aAAa,QAAQ,GAAG,UAAU,OAAO;AACxD,WAAQ,UAAoB;AAAA,EAC9B,CAAC;AAED,QAAM,CAAC,aAAa,mBAAmB,IAAU,eAAsB,MAAM;AAC3E,QAAI,OAAO,WAAW,YAAa,QAAO;AAC1C,UAAM,SAAS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BACb;AAAA,wBAAAD,MAAC,UAAK,WAAU,mBAAkB,kBAAI;AAAA,QACtC,gBAAAA,MAAC,aAAU,aAAY,YAAW,WAAU,QAAO;AAAA,QACnD,gBAAAA,MAAC,UAAK,WAAU,mBAAkB,mBAAK;AAAA,SACzC;AAAA,OACF,GACF;AAAA,IAGA,gBAAAA,MAAC,WAAQ,OAAM,uBACb,0BAAAC,MAAC,SAAI,WAAU,aACb;AAAA,sBAAAD,MAAC,OAAE,WAAU,mBAAkB,kDAAoC;AAAA,MACnE,gBAAAA,MAAC,OAAE,WAAU,yBAAwB,sDAAwC;AAAA,MAC7E,gBAAAA,MAAC,OAAE,WAAU,eAAc,wCAA0B;AAAA,MACrD,gBAAAA,MAAC,OAAE,WAAU,oBAAmB,kDAAoC;AAAA,OACtE,GACF;AAAA,KACF,GACF;AAEJ;AAGO,IAAM,aAAa,MACxB,gBAAAA,MAAC,iBAAc,cAAa,SAC1B,0BAAAA,MAAC,qBAAkB,GACrB;","names":["value","React","jsx","React","jsx","React","jsx","React","jsx","React","jsx","React","jsx","React","jsx","React","jsx","React","jsx","React","jsx","React","jsx","jsxs","React","jsx","React","jsx","React","jsx","jsxs","React","jsx","jsxs","React","jsx","jsxs"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onesaz/ui",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "Onesaz UI component library - React components with theming and Tailwind CSS",
5
5
  "type": "module",
6
6
  "license": "MIT",