@rovula/ui 0.0.82 → 0.1.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.
Files changed (84) hide show
  1. package/dist/cjs/bundle.css +67 -1
  2. package/dist/cjs/bundle.js +9261 -3
  3. package/dist/cjs/bundle.js.map +1 -1
  4. package/dist/cjs/types/components/Footer/Footer.d.ts +21 -0
  5. package/dist/cjs/types/components/Footer/Footer.stories.d.ts +45 -0
  6. package/dist/cjs/types/components/Footer/index.d.ts +2 -0
  7. package/dist/cjs/types/components/Icon/Icon.d.ts +1 -1
  8. package/dist/cjs/types/components/Icon/Icon.stories.d.ts +9 -1
  9. package/dist/cjs/types/components/Navbar/Navbar.d.ts +5 -0
  10. package/dist/cjs/types/components/Navbar/Navbar.stories.d.ts +14 -0
  11. package/dist/cjs/types/components/PasswordInput/PasswordInput.d.ts +19 -0
  12. package/dist/cjs/types/components/PasswordInput/PasswordInput.stories.d.ts +395 -0
  13. package/dist/cjs/types/components/PasswordInput/index.d.ts +2 -0
  14. package/dist/cjs/types/icons/index.d.ts +1 -0
  15. package/dist/cjs/types/icons/lucideIconNames.d.ts +9 -0
  16. package/dist/cjs/types/index.d.ts +7 -1
  17. package/dist/cjs/types/utils/colors.d.ts +330 -0
  18. package/dist/components/Footer/Footer.js +11 -0
  19. package/dist/components/Footer/Footer.stories.js +34 -0
  20. package/dist/components/Footer/index.js +2 -0
  21. package/dist/components/Icon/Icon.js +28 -11
  22. package/dist/components/Icon/Icon.stories.js +39 -0
  23. package/dist/components/Navbar/Navbar.js +18 -4
  24. package/dist/components/Navbar/Navbar.stories.js +16 -9
  25. package/dist/components/PasswordInput/PasswordInput.js +36 -0
  26. package/dist/components/PasswordInput/PasswordInput.stories.js +67 -0
  27. package/dist/components/PasswordInput/index.js +1 -0
  28. package/dist/esm/bundle.css +67 -1
  29. package/dist/esm/bundle.js +9261 -3
  30. package/dist/esm/bundle.js.map +1 -1
  31. package/dist/esm/types/components/Footer/Footer.d.ts +21 -0
  32. package/dist/esm/types/components/Footer/Footer.stories.d.ts +45 -0
  33. package/dist/esm/types/components/Footer/index.d.ts +2 -0
  34. package/dist/esm/types/components/Icon/Icon.d.ts +1 -1
  35. package/dist/esm/types/components/Icon/Icon.stories.d.ts +9 -1
  36. package/dist/esm/types/components/Navbar/Navbar.d.ts +5 -0
  37. package/dist/esm/types/components/Navbar/Navbar.stories.d.ts +14 -0
  38. package/dist/esm/types/components/PasswordInput/PasswordInput.d.ts +19 -0
  39. package/dist/esm/types/components/PasswordInput/PasswordInput.stories.d.ts +395 -0
  40. package/dist/esm/types/components/PasswordInput/index.d.ts +2 -0
  41. package/dist/esm/types/icons/index.d.ts +1 -0
  42. package/dist/esm/types/icons/lucideIconNames.d.ts +9 -0
  43. package/dist/esm/types/index.d.ts +7 -1
  44. package/dist/esm/types/utils/colors.d.ts +330 -0
  45. package/dist/icons/index.js +1 -0
  46. package/dist/icons/lucideIconNames.js +12 -0
  47. package/dist/index.d.ts +386 -2
  48. package/dist/index.js +4 -0
  49. package/dist/src/theme/global.css +1946 -309
  50. package/dist/utils/colors.js +369 -0
  51. package/package.json +5 -2
  52. package/src/components/Button/Button.tsx +7 -7
  53. package/src/components/Footer/Footer.stories.tsx +119 -0
  54. package/src/components/Footer/Footer.tsx +122 -0
  55. package/src/components/Footer/index.ts +3 -0
  56. package/src/components/Icon/Icon.stories.tsx +89 -0
  57. package/src/components/Icon/Icon.tsx +44 -23
  58. package/src/components/Navbar/Navbar.stories.tsx +109 -55
  59. package/src/components/Navbar/Navbar.tsx +41 -3
  60. package/src/components/PasswordInput/PasswordInput.stories.tsx +111 -0
  61. package/src/components/PasswordInput/PasswordInput.tsx +50 -0
  62. package/src/components/PasswordInput/index.ts +2 -0
  63. package/src/icons/index.ts +1 -0
  64. package/src/icons/lucideIconNames.ts +14 -0
  65. package/src/index.ts +15 -1
  66. package/src/theme/THEME_MAPPING.md +231 -0
  67. package/src/theme/global.css +2 -1
  68. package/src/theme/themes/skyller/baseline.css +6 -0
  69. package/src/theme/themes/skyller/color.css +79 -0
  70. package/src/theme/themes/skyller/components/action-button.css +81 -0
  71. package/src/theme/themes/skyller/palette.css +143 -0
  72. package/src/theme/themes/skyller/state.css +94 -0
  73. package/src/theme/themes/skyller/transparent.css +94 -0
  74. package/src/theme/themes/skyller/typography.css +30 -0
  75. package/src/theme/themes/variable.css +1057 -0
  76. package/src/theme/themes/xspector/color.css +50 -48
  77. package/src/theme/themes/xspector/palette.css +141 -121
  78. package/src/theme/themes/xspector/state.css +83 -78
  79. package/src/theme/themes/xspector/transparent.css +93 -68
  80. package/src/theme/tokens/baseline.css +1 -0
  81. package/src/theme/tokens/components/footer.css +9 -0
  82. package/src/theme/tokens/components/navbar.css +2 -1
  83. package/src/types/lucide-react.d.ts +5 -0
  84. package/src/utils/colors.ts +383 -0
package/dist/index.d.ts CHANGED
@@ -171,6 +171,23 @@ declare const MaskedTextInput: React__default.ForwardRefExoticComponent<{
171
171
  onMaskedChange?: (value: string, rawValue: string) => void;
172
172
  } & React__default.RefAttributes<HTMLInputElement>>;
173
173
 
174
+ type PasswordInputProps = Omit<InputProps, "type"> & {
175
+ /** Show toggle visibility button. Default: true */
176
+ showToggle?: boolean;
177
+ /** Icon when password is hidden (click to reveal). Default: Icon eye (lucide) */
178
+ hideIcon?: React__default.ReactNode;
179
+ /** Icon when password is visible (click to hide). Default: Icon eye-off (lucide) */
180
+ showIcon?: React__default.ReactNode;
181
+ };
182
+ declare const PasswordInput: React__default.ForwardRefExoticComponent<Omit<InputProps, "type"> & {
183
+ /** Show toggle visibility button. Default: true */
184
+ showToggle?: boolean;
185
+ /** Icon when password is hidden (click to reveal). Default: Icon eye (lucide) */
186
+ hideIcon?: React__default.ReactNode;
187
+ /** Icon when password is visible (click to hide). Default: Icon eye-off (lucide) */
188
+ showIcon?: React__default.ReactNode;
189
+ } & React__default.RefAttributes<HTMLInputElement>>;
190
+
174
191
  type NumberInputProps = Omit<InputProps, "type" | "value" | "defaultValue" | "onChange"> & {
175
192
  value?: number | string;
176
193
  defaultValue?: number | string;
@@ -456,7 +473,12 @@ declare const Input: React__default.ForwardRefExoticComponent<{
456
473
  className?: string;
457
474
  } & Omit<React__default.InputHTMLAttributes<HTMLInputElement>, "size"> & React__default.RefAttributes<HTMLInputElement>>;
458
475
 
476
+ type NavbarVariant = "default" | "transparent";
459
477
  type NavbarProps = {
478
+ /** Appearance: default (solid bg) | transparent */
479
+ variant?: NavbarVariant;
480
+ /** Show shadow when page is scrolled (works with position="sticky") */
481
+ scrollShadow?: boolean;
460
482
  position?: "static" | "sticky";
461
483
  children?: ReactNode;
462
484
  leftNav?: ReactNode;
@@ -471,6 +493,26 @@ type NavbarProps = {
471
493
  };
472
494
  declare const Navbar: FC<NavbarProps>;
473
495
 
496
+ type FooterVariant = "default" | "simple" | "transparent";
497
+ type FooterProps = {
498
+ /** Layout variant: default (3-column) | simple (centered) | transparent (no bg) */
499
+ variant?: FooterVariant;
500
+ /** Copyright text - renders in left (default) or center (simple) */
501
+ copyright?: ReactNode;
502
+ position?: "static" | "sticky";
503
+ children?: ReactNode;
504
+ leftNav?: ReactNode;
505
+ rightNav?: ReactNode;
506
+ center?: ReactNode;
507
+ container?: boolean;
508
+ className?: string;
509
+ containerClassName?: string;
510
+ leftNavClassName?: string;
511
+ centerClassName?: string;
512
+ rightNavClassName?: string;
513
+ };
514
+ declare const Footer: FC<FooterProps>;
515
+
474
516
  declare const ActionButton: React__default.ForwardRefExoticComponent<{
475
517
  title?: string;
476
518
  size?: "xs" | "sm" | "md" | "lg";
@@ -587,7 +629,7 @@ declare const ProgressBar: React__default.FC<ProgressBarProps>;
587
629
 
588
630
  type IconProps = {
589
631
  name: string;
590
- type?: "heroicons" | "material" | "custom";
632
+ type?: "heroicons" | "material" | "lucide" | "custom";
591
633
  color?: "primary" | "secondary" | "success" | "tertiary" | "info" | "warning" | "error" | "inherit";
592
634
  variant?: "solid" | "outline";
593
635
  size?: "sm" | "md" | "lg" | "inherit";
@@ -1026,4 +1068,346 @@ declare function usePrevious<T>(value: T): T | undefined;
1026
1068
 
1027
1069
  declare function cn(...inputs: ClassValue[]): string;
1028
1070
 
1029
- export { ActionButton, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, Button, type ButtonProps, Calendar, Checkbox, Collapsible, type CustomSliderProps, DataTable, type DataTableProps, DatePicker, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Dropdown, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, type DropdownProps, FocusedScrollView, Icon, Input, InputFilter, type InputFilterProps, type InputProps, Label, Loading, type MaskRule, MaskedTextInput, type MaskedTextInputProps, Menu, MenuItem, type MenuItemType, MenuLabel, type MenuOption, type MenuProps, MenuSeparator, Navbar, type NavbarProps, NumberInput, type NumberInputProps, type Options$1 as Options, Popover, PopoverContent, PopoverTrigger, ProgressBar, RadioGroup, RadioGroupItem, Search, type SearchProps, Slider, type SliderProps, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, Text, TextArea, type TextAreaProps, TextInput, Toast$1 as Toast, ToastAction, type ToastActionElement, ToastClose, ToastDescription, type ToastProps, ToastProvider, ToastTitle, ToastViewport, Toaster, Tooltip, TooltipArrow, TooltipContent, TooltipProvider, TooltipSimple, TooltipTrigger, Tree, type TreeData, TreeItem, type TreeItemProps, type TreeProps, cn, getEndDateOfDay, getStartDateOfDay, getStartEndTimestampOfDay, getTimestampUTC, reducer, resloveTimestamp, toast, usePrevious, useToast };
1071
+ /** CSS variable names for theme colors (resolved by data-theme) */
1072
+ declare const THEME_COLOR_KEYS: {
1073
+ readonly "primary-5": "--primary-ramps-primary-5";
1074
+ readonly "primary-10": "--primary-ramps-primary-10";
1075
+ readonly "primary-20": "--primary-ramps-primary-20";
1076
+ readonly "primary-30": "--primary-ramps-primary-30";
1077
+ readonly "primary-40": "--primary-ramps-primary-40";
1078
+ readonly "primary-50": "--primary-ramps-primary-50";
1079
+ readonly "primary-60": "--primary-ramps-primary-60";
1080
+ readonly "primary-70": "--primary-ramps-primary-70";
1081
+ readonly "primary-80": "--primary-ramps-primary-80";
1082
+ readonly "primary-90": "--primary-ramps-primary-90";
1083
+ readonly "primary-100": "--primary-ramps-primary-100";
1084
+ readonly "primary-110": "--primary-ramps-primary-110";
1085
+ readonly "primary-120": "--primary-ramps-primary-120";
1086
+ readonly "primary-130": "--primary-ramps-primary-130";
1087
+ readonly "primary-140": "--primary-ramps-primary-140";
1088
+ readonly "primary-150": "--primary-ramps-primary-150";
1089
+ readonly "secondary-5": "--secondary-ramps-secondary-5";
1090
+ readonly "secondary-10": "--secondary-ramps-secondary-10";
1091
+ readonly "secondary-20": "--secondary-ramps-secondary-20";
1092
+ readonly "secondary-30": "--secondary-ramps-secondary-30";
1093
+ readonly "secondary-40": "--secondary-ramps-secondary-40";
1094
+ readonly "secondary-50": "--secondary-ramps-secondary-50";
1095
+ readonly "secondary-60": "--secondary-ramps-secondary-60";
1096
+ readonly "secondary-70": "--secondary-ramps-secondary-70";
1097
+ readonly "secondary-80": "--secondary-ramps-secondary-80";
1098
+ readonly "secondary-90": "--secondary-ramps-secondary-90";
1099
+ readonly "secondary-100": "--secondary-ramps-secondary-100";
1100
+ readonly "secondary-110": "--secondary-ramps-secondary-110";
1101
+ readonly "secondary-120": "--secondary-ramps-secondary-120";
1102
+ readonly "secondary-130": "--secondary-ramps-secondary-130";
1103
+ readonly "secondary-140": "--secondary-ramps-secondary-140";
1104
+ readonly "secondary-150": "--secondary-ramps-secondary-150";
1105
+ readonly "tertiary-5": "--tertiary-ramps-tertiary-5";
1106
+ readonly "tertiary-10": "--tertiary-ramps-tertiary-10";
1107
+ readonly "tertiary-20": "--tertiary-ramps-tertiary-20";
1108
+ readonly "tertiary-30": "--tertiary-ramps-tertiary-30";
1109
+ readonly "tertiary-40": "--tertiary-ramps-tertiary-40";
1110
+ readonly "tertiary-50": "--tertiary-ramps-tertiary-50";
1111
+ readonly "tertiary-60": "--tertiary-ramps-tertiary-60";
1112
+ readonly "tertiary-70": "--tertiary-ramps-tertiary-70";
1113
+ readonly "tertiary-80": "--tertiary-ramps-tertiary-80";
1114
+ readonly "tertiary-90": "--tertiary-ramps-tertiary-90";
1115
+ readonly "tertiary-100": "--tertiary-ramps-tertiary-100";
1116
+ readonly "tertiary-110": "--tertiary-ramps-tertiary-110";
1117
+ readonly "tertiary-120": "--tertiary-ramps-tertiary-120";
1118
+ readonly "tertiary-130": "--tertiary-ramps-tertiary-130";
1119
+ readonly "tertiary-140": "--tertiary-ramps-tertiary-140";
1120
+ readonly "tertiary-150": "--tertiary-ramps-tertiary-150";
1121
+ readonly "grey-5": "--grey-grey-5";
1122
+ readonly "grey-10": "--grey-grey-10";
1123
+ readonly "grey-20": "--grey-grey-20";
1124
+ readonly "grey-30": "--grey-grey-30";
1125
+ readonly "grey-40": "--grey-grey-40";
1126
+ readonly "grey-50": "--grey-grey-50";
1127
+ readonly "grey-60": "--grey-grey-60";
1128
+ readonly "grey-70": "--grey-grey-70";
1129
+ readonly "grey-80": "--grey-grey-80";
1130
+ readonly "grey-90": "--grey-grey-90";
1131
+ readonly "grey-100": "--grey-grey-100";
1132
+ readonly "grey-110": "--grey-grey-110";
1133
+ readonly "grey-120": "--grey-grey-120";
1134
+ readonly "grey-130": "--grey-grey-130";
1135
+ readonly "grey-140": "--grey-grey-140";
1136
+ readonly "grey-150": "--grey-grey-150";
1137
+ readonly "grey2-50": "--grey2-grey2-50";
1138
+ readonly "grey2-100": "--grey2-grey2-100";
1139
+ readonly "grey2-200": "--grey2-grey2-200";
1140
+ readonly "grey2-300": "--grey2-grey2-300";
1141
+ readonly "grey2-400": "--grey2-grey2-400";
1142
+ readonly "grey2-500": "--grey2-grey2-500";
1143
+ readonly "grey2-600": "--grey2-grey2-600";
1144
+ readonly "grey2-700": "--grey2-grey2-700";
1145
+ readonly "grey2-800": "--grey2-grey2-800";
1146
+ readonly "grey2-900": "--grey2-grey2-900";
1147
+ readonly "grey2-950": "--grey2-grey2-950";
1148
+ readonly "info-50": "--info-info-50";
1149
+ readonly "info-100": "--info-info-100";
1150
+ readonly "info-200": "--info-info-200";
1151
+ readonly "info-300": "--info-info-300";
1152
+ readonly "info-400": "--info-info-400";
1153
+ readonly "info-500": "--info-info-500";
1154
+ readonly "info-600": "--info-info-600";
1155
+ readonly "info-700": "--info-info-700";
1156
+ readonly "info-800": "--info-info-800";
1157
+ readonly "info-900": "--info-info-900";
1158
+ readonly "info-950": "--info-info-950";
1159
+ readonly "success-50": "--success-success-50";
1160
+ readonly "success-100": "--success-success-100";
1161
+ readonly "success-200": "--success-success-200";
1162
+ readonly "success-300": "--success-success-300";
1163
+ readonly "success-400": "--success-success-400";
1164
+ readonly "success-500": "--success-success-500";
1165
+ readonly "success-600": "--success-success-600";
1166
+ readonly "success-700": "--success-success-700";
1167
+ readonly "success-800": "--success-success-800";
1168
+ readonly "success-900": "--success-success-900";
1169
+ readonly "success-950": "--success-success-950";
1170
+ readonly "warning-50": "--warning-warning-50";
1171
+ readonly "warning-100": "--warning-warning-100";
1172
+ readonly "warning-200": "--warning-warning-200";
1173
+ readonly "warning-300": "--warning-warning-300";
1174
+ readonly "warning-400": "--warning-warning-400";
1175
+ readonly "warning-500": "--warning-warning-500";
1176
+ readonly "warning-600": "--warning-warning-600";
1177
+ readonly "warning-700": "--warning-warning-700";
1178
+ readonly "warning-800": "--warning-warning-800";
1179
+ readonly "warning-900": "--warning-warning-900";
1180
+ readonly "warning-950": "--warning-warning-950";
1181
+ readonly "error-50": "--error-error-50";
1182
+ readonly "error-100": "--error-error-100";
1183
+ readonly "error-200": "--error-error-200";
1184
+ readonly "error-300": "--error-error-300";
1185
+ readonly "error-400": "--error-error-400";
1186
+ readonly "error-500": "--error-error-500";
1187
+ readonly "error-600": "--error-error-600";
1188
+ readonly "error-700": "--error-error-700";
1189
+ readonly "error-800": "--error-error-800";
1190
+ readonly "error-900": "--error-error-900";
1191
+ readonly "error-950": "--error-error-950";
1192
+ readonly primary: "--state-color-primary-default";
1193
+ readonly "primary-hover": "--state-color-primary-hover";
1194
+ readonly "primary-stroke": "--state-color-primary-stroke";
1195
+ readonly "primary-hover-bg": "--state-color-primary-hover-bg";
1196
+ readonly "primary-pressed": "--state-color-primary-pressed";
1197
+ readonly "primary-active": "--state-color-primary-active";
1198
+ readonly "primary-text-solid": "--state-color-primary-text-solid";
1199
+ readonly "primary-text-outline": "--state-color-primary-text-outline";
1200
+ readonly "primary-text-hover": "--state-color-primary-text-hover";
1201
+ readonly "primary-text-pressed": "--state-color-primary-text-pressed";
1202
+ readonly secondary: "--state-color-secondary-default";
1203
+ readonly "secondary-hover": "--state-color-secondary-hover";
1204
+ readonly "secondary-stroke": "--state-color-secondary-stroke";
1205
+ readonly "secondary-hover-bg": "--state-color-secondary-hover-bg";
1206
+ readonly "secondary-pressed": "--state-color-secondary-pressed";
1207
+ readonly "secondary-active": "--state-color-secondary-active";
1208
+ readonly "secondary-text-solid": "--state-color-secondary-text-solid";
1209
+ readonly "secondary-text-outline": "--state-color-secondary-text-outline";
1210
+ readonly "secondary-text-hover": "--state-color-secondary-text-hover";
1211
+ readonly "secondary-text-pressed": "--state-color-secondary-text-pressed";
1212
+ readonly tertiary: "--state-color-tertiary-default";
1213
+ readonly "tertiary-hover": "--state-color-tertiary-hover";
1214
+ readonly "tertiary-stroke": "--state-color-tertiary-stroke";
1215
+ readonly "tertiary-hover-bg": "--state-color-tertiary-hover-bg";
1216
+ readonly "tertiary-pressed": "--state-color-tertiary-pressed";
1217
+ readonly "tertiary-active": "--state-color-tertiary-active";
1218
+ readonly "tertiary-text-solid": "--state-color-tertiary-text-solid";
1219
+ readonly "tertiary-text-outline": "--state-color-tertiary-text-outline";
1220
+ readonly "tertiary-text-hover": "--state-color-tertiary-text-hover";
1221
+ readonly "tertiary-text-pressed": "--state-color-tertiary-text-pressed";
1222
+ readonly info: "--state-color-info-default";
1223
+ readonly "info-hover": "--state-color-info-hover";
1224
+ readonly "info-stroke": "--state-color-info-stroke";
1225
+ readonly "info-hover-bg": "--state-color-info-hover-bg";
1226
+ readonly "info-pressed": "--state-color-info-pressed";
1227
+ readonly "info-active": "--state-color-info-active";
1228
+ readonly "info-text-solid": "--state-color-info-text-solid";
1229
+ readonly "info-text-outline": "--state-color-info-text-outline";
1230
+ readonly "info-text-hover": "--state-color-info-text-hover";
1231
+ readonly "info-text-pressed": "--state-color-info-text-pressed";
1232
+ readonly success: "--state-color-success-default";
1233
+ readonly "success-hover": "--state-color-success-hover";
1234
+ readonly "success-stroke": "--state-color-success-stroke";
1235
+ readonly "success-hover-bg": "--state-color-success-hover-bg";
1236
+ readonly "success-pressed": "--state-color-success-pressed";
1237
+ readonly "success-active": "--state-color-success-active";
1238
+ readonly "success-text-solid": "--state-color-success-text-solid";
1239
+ readonly "success-text-outline": "--state-color-success-text-outline";
1240
+ readonly "success-text-hover": "--state-color-success-text-hover";
1241
+ readonly "success-text-pressed": "--state-color-success-text-pressed";
1242
+ readonly warning: "--state-color-warning-default";
1243
+ readonly "warning-hover": "--state-color-warning-hover";
1244
+ readonly "warning-stroke": "--state-color-warning-stroke";
1245
+ readonly "warning-hover-bg": "--state-color-warning-hover-bg";
1246
+ readonly "warning-pressed": "--state-color-warning-pressed";
1247
+ readonly "warning-active": "--state-color-warning-active";
1248
+ readonly "warning-text-solid": "--state-color-warning-text-solid";
1249
+ readonly "warning-text-outline": "--state-color-warning-text-outline";
1250
+ readonly "warning-text-hover": "--state-color-warning-text-hover";
1251
+ readonly "warning-text-pressed": "--state-color-warning-text-pressed";
1252
+ readonly error: "--state-color-error-default";
1253
+ readonly "error-hover": "--state-color-error-hover";
1254
+ readonly "error-stroke": "--state-color-error-stroke";
1255
+ readonly "error-hover-bg": "--state-color-error-hover-bg";
1256
+ readonly "error-pressed": "--state-color-error-pressed";
1257
+ readonly "error-active": "--state-color-error-active";
1258
+ readonly "error-text-solid": "--state-color-error-text-solid";
1259
+ readonly "error-text-outline": "--state-color-error-text-outline";
1260
+ readonly "error-text-hover": "--state-color-error-text-hover";
1261
+ readonly "error-text-pressed": "--state-color-error-text-pressed";
1262
+ readonly "disable-solid": "--state-color-disable-solid";
1263
+ readonly "disable-outline": "--state-color-disable-outline";
1264
+ readonly "text-black": "--text-black";
1265
+ readonly "text-dark": "--text-dark";
1266
+ readonly "text-medium": "--text-medium";
1267
+ readonly "text-light": "--text-light";
1268
+ readonly "text-grey-dark": "--text-grey-dark";
1269
+ readonly "text-grey-medium": "--text-grey-medium";
1270
+ readonly "text-grey-light": "--text-grey-light";
1271
+ readonly "text-white": "--text-white";
1272
+ readonly "input-default-text": "--input-color-default-text";
1273
+ readonly "input-default-stroke": "--input-color-default-stroke";
1274
+ readonly "input-filled-text": "--input-color-filled-text";
1275
+ readonly "input-active-stroke": "--input-color-active-stroke";
1276
+ readonly "input-disable-text": "--input-color-disable-text";
1277
+ readonly "input-disable-stroke": "--input-color-disable-stroke";
1278
+ readonly "input-disable-bg": "--input-color-disable-bg";
1279
+ readonly "input-label-bg": "--input-color-label-bg";
1280
+ readonly "input-error": "--input-color-error";
1281
+ readonly "function-default-solid": "--function-default-solid";
1282
+ readonly "function-default-hover": "--function-default-hover";
1283
+ readonly "function-default-hover-bg": "--function-default-hover-bg";
1284
+ readonly "function-default-stroke": "--function-default-stroke";
1285
+ readonly "function-default-icon": "--function-default-icon";
1286
+ readonly "function-default-outline-icon": "--function-default-outline-icon";
1287
+ readonly "function-active-solid": "--function-active-solid";
1288
+ readonly "function-active-hover": "--function-active-hover";
1289
+ readonly "function-active-hover-bg": "--function-active-hover-bg";
1290
+ readonly "function-active-stroke": "--function-active-stroke";
1291
+ readonly "function-active-icon": "--function-active-icon";
1292
+ readonly "base-bg": "--base-color-bg";
1293
+ readonly "base-bg2": "--base-color-bg2";
1294
+ readonly "base-bg3": "--base-color-bg3";
1295
+ readonly "base-workspace-stroke": "--base-color-workspace-stroke";
1296
+ readonly "base-guideline-stroke": "--base-color-guideline-stroke";
1297
+ readonly "base-popup": "--base-color-popup";
1298
+ readonly "base-popup-highlight": "--base-color-popup-hightlight";
1299
+ readonly "base-popup-curtain": "--base-color-popup-curtain";
1300
+ readonly "base-popup-foreground": "--base-color-popup-foreground";
1301
+ readonly "common-white": "--common-white";
1302
+ readonly "common-black": "--common-black";
1303
+ readonly background: "--background";
1304
+ readonly foreground: "--foreground";
1305
+ readonly surface: "--surface";
1306
+ readonly "surface-foreground": "--surface-foreground";
1307
+ readonly "primary-foreground": "--primary-foreground";
1308
+ readonly "secondary-foreground": "--secondary-foreground";
1309
+ readonly "tertiary-foreground": "--tertiary-foreground";
1310
+ readonly "info-foreground": "--info-foreground";
1311
+ readonly "success-foreground": "--success-foreground";
1312
+ readonly "warning-foreground": "--warning-foreground";
1313
+ readonly "error-foreground": "--error-foreground";
1314
+ readonly "grey-foreground": "--grey-foreground";
1315
+ readonly "grey2-foreground": "--grey2-foreground";
1316
+ readonly "primary-transparent-8": "--main-transparency-primary-8";
1317
+ readonly "primary-transparent-12": "--main-transparency-primary-12";
1318
+ readonly "primary-transparent-16": "--main-transparency-primary-16";
1319
+ readonly "primary-transparent-24": "--main-transparency-primary-24";
1320
+ readonly "primary-transparent-32": "--main-transparency-primary-32";
1321
+ readonly "primary-transparent-48": "--main-transparency-primary-48";
1322
+ readonly "secondary-transparent-8": "--main-transparency-secondary-8";
1323
+ readonly "secondary-transparent-12": "--main-transparency-secondary-12";
1324
+ readonly "secondary-transparent-16": "--main-transparency-secondary-16";
1325
+ readonly "secondary-transparent-24": "--main-transparency-secondary-24";
1326
+ readonly "secondary-transparent-32": "--main-transparency-secondary-32";
1327
+ readonly "secondary-transparent-48": "--main-transparency-secondary-48";
1328
+ readonly "tertiary-transparent-8": "--main-transparency-tertiary-8";
1329
+ readonly "tertiary-transparent-12": "--main-transparency-tertiary-12";
1330
+ readonly "tertiary-transparent-16": "--main-transparency-tertiary-16";
1331
+ readonly "tertiary-transparent-24": "--main-transparency-tertiary-24";
1332
+ readonly "tertiary-transparent-32": "--main-transparency-tertiary-32";
1333
+ readonly "tertiary-transparent-48": "--main-transparency-tertiary-48";
1334
+ readonly "info-transparent-8": "--other-transparency-info-8";
1335
+ readonly "info-transparent-12": "--other-transparency-info-12";
1336
+ readonly "info-transparent-16": "--other-transparency-info-16";
1337
+ readonly "info-transparent-24": "--other-transparency-info-24";
1338
+ readonly "info-transparent-32": "--other-transparency-info-32";
1339
+ readonly "info-transparent-48": "--other-transparency-info-48";
1340
+ readonly "success-transparent-8": "--other-transparency-success-8";
1341
+ readonly "success-transparent-12": "--other-transparency-success-12";
1342
+ readonly "success-transparent-16": "--other-transparency-success-16";
1343
+ readonly "success-transparent-24": "--other-transparency-success-24";
1344
+ readonly "success-transparent-32": "--other-transparency-success-32";
1345
+ readonly "success-transparent-48": "--other-transparency-success-48";
1346
+ readonly "warning-transparent-8": "--other-transparency-warning-8";
1347
+ readonly "warning-transparent-12": "--other-transparency-warning-12";
1348
+ readonly "warning-transparent-16": "--other-transparency-warning-16";
1349
+ readonly "warning-transparent-24": "--other-transparency-warning-24";
1350
+ readonly "warning-transparent-32": "--other-transparency-warning-32";
1351
+ readonly "warning-transparent-48": "--other-transparency-warning-48";
1352
+ readonly "error-transparent-8": "--other-transparency-error-8";
1353
+ readonly "error-transparent-12": "--other-transparency-error-12";
1354
+ readonly "error-transparent-16": "--other-transparency-error-16";
1355
+ readonly "error-transparent-24": "--other-transparency-error-24";
1356
+ readonly "error-transparent-32": "--other-transparency-error-32";
1357
+ readonly "error-transparent-48": "--other-transparency-error-48";
1358
+ readonly "grey-transparent-8": "--other-transparency-grey-8";
1359
+ readonly "grey-transparent-12": "--other-transparency-grey-12";
1360
+ readonly "grey-transparent-16": "--other-transparency-grey-16";
1361
+ readonly "grey-transparent-24": "--other-transparency-grey-24";
1362
+ readonly "grey-transparent-32": "--other-transparency-grey-32";
1363
+ readonly "grey-transparent-48": "--other-transparency-grey-48";
1364
+ readonly "grey2-transparent-8": "--other-transparency-grey2-8";
1365
+ readonly "grey2-transparent-12": "--other-transparency-grey2-12";
1366
+ readonly "grey2-transparent-16": "--other-transparency-grey2-16";
1367
+ readonly "grey2-transparent-24": "--other-transparency-grey2-24";
1368
+ readonly "grey2-transparent-32": "--other-transparency-grey2-32";
1369
+ readonly "grey2-transparent-48": "--other-transparency-grey2-48";
1370
+ readonly "white-transparent-8": "--other-transparency-white-08";
1371
+ readonly "white-transparent-12": "--other-transparency-white-12";
1372
+ readonly "white-transparent-16": "--other-transparency-white-16";
1373
+ readonly "white-transparent-24": "--other-transparency-white-24";
1374
+ readonly "white-transparent-32": "--other-transparency-white-32";
1375
+ readonly "white-transparent-48": "--other-transparency-white-48";
1376
+ readonly "black-transparent-8": "--other-transparency-black-08";
1377
+ readonly "black-transparent-12": "--other-transparency-black-12";
1378
+ readonly "black-transparent-16": "--other-transparency-black-16";
1379
+ readonly "black-transparent-24": "--other-transparency-black-24";
1380
+ readonly "black-transparent-32": "--other-transparency-black-32";
1381
+ readonly "black-transparent-48": "--other-transparency-black-48";
1382
+ };
1383
+ type ThemeColorKey = keyof typeof THEME_COLOR_KEYS;
1384
+ /**
1385
+ * Get computed color value from a CSS variable (respects current theme).
1386
+ * Use in browser only; returns empty string during SSR.
1387
+ *
1388
+ * @example
1389
+ * const primary = getThemeColor('primary');
1390
+ * const hex = getThemeColor('--primary-ramps-primary-100');
1391
+ */
1392
+ declare function getThemeColor(keyOrVar: ThemeColorKey | string, element?: HTMLElement | Document): string;
1393
+ /**
1394
+ * Get multiple theme colors as a JS object.
1395
+ *
1396
+ * @example
1397
+ * const colors = getThemeColors();
1398
+ * // { primary: '#2563eb', secondary: '#60a5fa', ... }
1399
+ */
1400
+ declare function getThemeColors(keys?: ThemeColorKey[], element?: HTMLElement | Document): Record<string, string>;
1401
+ declare const srgbToHex: (color: string) => string;
1402
+
1403
+ /**
1404
+ * Get all available Lucide icon names (kebab-case).
1405
+ * Use for autocomplete, validation, or browsing.
1406
+ *
1407
+ * @example
1408
+ * const names = await getLucideIconNames();
1409
+ * names.includes("eye-closed"); // true
1410
+ */
1411
+ declare function getLucideIconNames(): Promise<string[]>;
1412
+
1413
+ export { ActionButton, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, Button, type ButtonProps, Calendar, Checkbox, Collapsible, type CustomSliderProps, DataTable, type DataTableProps, DatePicker, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Dropdown, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, type DropdownProps, FocusedScrollView, Footer, type FooterProps, type FooterVariant, Icon, Input, InputFilter, type InputFilterProps, type InputProps, Label, Loading, type MaskRule, MaskedTextInput, type MaskedTextInputProps, Menu, MenuItem, type MenuItemType, MenuLabel, type MenuOption, type MenuProps, MenuSeparator, Navbar, type NavbarProps, type NavbarVariant, NumberInput, type NumberInputProps, type Options$1 as Options, PasswordInput, type PasswordInputProps, Popover, PopoverContent, PopoverTrigger, ProgressBar, RadioGroup, RadioGroupItem, Search, type SearchProps, Slider, type SliderProps, Switch, THEME_COLOR_KEYS, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, Text, TextArea, type TextAreaProps, TextInput, type ThemeColorKey, Toast$1 as Toast, ToastAction, type ToastActionElement, ToastClose, ToastDescription, type ToastProps, ToastProvider, ToastTitle, ToastViewport, Toaster, Tooltip, TooltipArrow, TooltipContent, TooltipProvider, TooltipSimple, TooltipTrigger, Tree, type TreeData, TreeItem, type TreeItemProps, type TreeProps, cn, getEndDateOfDay, getLucideIconNames, getStartDateOfDay, getStartEndTimestampOfDay, getThemeColor, getThemeColors, getTimestampUTC, reducer, resloveTimestamp, srgbToHex, toast, usePrevious, useToast };
package/dist/index.js CHANGED
@@ -5,6 +5,7 @@ import "./icons/iconConfig";
5
5
  export { default as Button } from "./components/Button/Button";
6
6
  export { default as TextInput } from "./components/TextInput/TextInput";
7
7
  export { default as MaskedTextInput } from "./components/MaskedTextInput";
8
+ export { default as PasswordInput } from "./components/PasswordInput";
8
9
  export { NumberInput } from "./components/NumberInput/NumberInput";
9
10
  export { default as TextArea } from "./components/TextArea/TextArea";
10
11
  export { default as Text } from "./components/Text/Text";
@@ -14,6 +15,7 @@ export { Checkbox } from "./components/Checkbox/Checkbox";
14
15
  export { Label } from "./components/Label/Label";
15
16
  export { Input } from "./components/Input/Input";
16
17
  export { Navbar } from "./components/Navbar";
18
+ export { Footer } from "./components/Footer";
17
19
  export { default as ActionButton } from "./components/ActionButton/ActionButton";
18
20
  export { Avatar, AvatarGroup } from "./components/Avatar";
19
21
  export { Collapsible } from "./components/Collapsible";
@@ -46,5 +48,7 @@ export { resloveTimestamp, getStartDateOfDay, getEndDateOfDay, getStartEndTimest
46
48
  // Hooks
47
49
  export * from "./hooks";
48
50
  export { cn } from "./utils/cn";
51
+ export { srgbToHex, getThemeColor, getThemeColors, THEME_COLOR_KEYS, } from "./utils/colors";
52
+ export { getLucideIconNames } from "./icons/lucideIconNames";
49
53
  // const mainPreset = require("./theme/main-preset");
50
54
  // export { mainPreset };