@teja-app/ui 0.0.10 → 0.0.12
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/hooks/index.d.ts +1 -1
- package/dist/hooks/index.d.ts.map +1 -1
- package/dist/hooks/useSidebar.d.ts +32 -1
- package/dist/hooks/useSidebar.d.ts.map +1 -1
- package/dist/index.cjs +0 -15182
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +6 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +0 -15166
- package/dist/index.js.map +1 -1
- package/dist/theme/ThemeProvider.d.ts +23 -0
- package/dist/theme/ThemeProvider.d.ts.map +1 -0
- package/dist/theme/applyTheme.d.ts +33 -0
- package/dist/theme/applyTheme.d.ts.map +1 -0
- package/dist/theme/components/AIBadge.d.ts +20 -0
- package/dist/theme/components/AIBadge.d.ts.map +1 -0
- package/dist/theme/components/AICard.d.ts +16 -0
- package/dist/theme/components/AICard.d.ts.map +1 -0
- package/dist/theme/components/AIChip.d.ts +7 -0
- package/dist/theme/components/AIChip.d.ts.map +1 -0
- package/dist/theme/components/AIComposeButton.d.ts +14 -0
- package/dist/theme/components/AIComposeButton.d.ts.map +1 -0
- package/dist/theme/components/AIGhostText.d.ts +14 -0
- package/dist/theme/components/AIGhostText.d.ts.map +1 -0
- package/dist/theme/components/AISectionHeader.d.ts +15 -0
- package/dist/theme/components/AISectionHeader.d.ts.map +1 -0
- package/dist/theme/components/AISparkle.d.ts +12 -0
- package/dist/theme/components/AISparkle.d.ts.map +1 -0
- package/dist/theme/components/AIWorking.d.ts +12 -0
- package/dist/theme/components/AIWorking.d.ts.map +1 -0
- package/dist/theme/components/Alert.d.ts +22 -0
- package/dist/theme/components/Alert.d.ts.map +1 -0
- package/dist/theme/components/AppShell.d.ts +16 -0
- package/dist/theme/components/AppShell.d.ts.map +1 -0
- package/dist/theme/components/AskTeja.d.ts +17 -0
- package/dist/theme/components/AskTeja.d.ts.map +1 -0
- package/dist/theme/components/Avatar.d.ts +12 -0
- package/dist/theme/components/Avatar.d.ts.map +1 -0
- package/dist/theme/components/Badge.d.ts +16 -0
- package/dist/theme/components/Badge.d.ts.map +1 -0
- package/dist/theme/components/Brand.d.ts +19 -0
- package/dist/theme/components/Brand.d.ts.map +1 -0
- package/dist/theme/components/Breadcrumbs.d.ts +53 -0
- package/dist/theme/components/Breadcrumbs.d.ts.map +1 -0
- package/dist/theme/components/Button.d.ts +19 -0
- package/dist/theme/components/Button.d.ts.map +1 -0
- package/dist/theme/components/Card.d.ts +10 -0
- package/dist/theme/components/Card.d.ts.map +1 -0
- package/dist/theme/components/Checkbox.d.ts +28 -0
- package/dist/theme/components/Checkbox.d.ts.map +1 -0
- package/dist/theme/components/Chip.d.ts +19 -0
- package/dist/theme/components/Chip.d.ts.map +1 -0
- package/dist/theme/components/Combobox.d.ts +29 -0
- package/dist/theme/components/Combobox.d.ts.map +1 -0
- package/dist/theme/components/Compat.d.ts +34 -0
- package/dist/theme/components/Compat.d.ts.map +1 -0
- package/dist/theme/components/ConfirmDialog.d.ts +39 -0
- package/dist/theme/components/ConfirmDialog.d.ts.map +1 -0
- package/dist/theme/components/CountryPicker.d.ts +14 -0
- package/dist/theme/components/CountryPicker.d.ts.map +1 -0
- package/dist/theme/components/DateInput.d.ts +30 -0
- package/dist/theme/components/DateInput.d.ts.map +1 -0
- package/dist/theme/components/Divider.d.ts +13 -0
- package/dist/theme/components/Divider.d.ts.map +1 -0
- package/dist/theme/components/Drawer.d.ts +52 -0
- package/dist/theme/components/Drawer.d.ts.map +1 -0
- package/dist/theme/components/EmptyState.d.ts +28 -0
- package/dist/theme/components/EmptyState.d.ts.map +1 -0
- package/dist/theme/components/FactList.d.ts +21 -0
- package/dist/theme/components/FactList.d.ts.map +1 -0
- package/dist/theme/components/Field.d.ts +35 -0
- package/dist/theme/components/Field.d.ts.map +1 -0
- package/dist/theme/components/FieldHint.d.ts +17 -0
- package/dist/theme/components/FieldHint.d.ts.map +1 -0
- package/dist/theme/components/Icon.d.ts +19 -0
- package/dist/theme/components/Icon.d.ts.map +1 -0
- package/dist/theme/components/IconButton.d.ts +17 -0
- package/dist/theme/components/IconButton.d.ts.map +1 -0
- package/dist/theme/components/KV.d.ts +26 -0
- package/dist/theme/components/KV.d.ts.map +1 -0
- package/dist/theme/components/LabelGroup.d.ts +15 -0
- package/dist/theme/components/LabelGroup.d.ts.map +1 -0
- package/dist/theme/components/LangSwitcher.d.ts +30 -0
- package/dist/theme/components/LangSwitcher.d.ts.map +1 -0
- package/dist/theme/components/MiniStat.d.ts +20 -0
- package/dist/theme/components/MiniStat.d.ts.map +1 -0
- package/dist/theme/components/Modal.d.ts +57 -0
- package/dist/theme/components/Modal.d.ts.map +1 -0
- package/dist/theme/components/MultiSelect.d.ts +38 -0
- package/dist/theme/components/MultiSelect.d.ts.map +1 -0
- package/dist/theme/components/OTPInput.d.ts +58 -0
- package/dist/theme/components/OTPInput.d.ts.map +1 -0
- package/dist/theme/components/PageHeader.d.ts +24 -0
- package/dist/theme/components/PageHeader.d.ts.map +1 -0
- package/dist/theme/components/Pagination.d.ts +10 -0
- package/dist/theme/components/Pagination.d.ts.map +1 -0
- package/dist/theme/components/PasswordInput.d.ts +48 -0
- package/dist/theme/components/PasswordInput.d.ts.map +1 -0
- package/dist/theme/components/PersonRow.d.ts +18 -0
- package/dist/theme/components/PersonRow.d.ts.map +1 -0
- package/dist/{components/PillSelector/PillSelector.types.d.ts → theme/components/PillSelector.d.ts} +21 -2
- package/dist/theme/components/PillSelector.d.ts.map +1 -0
- package/dist/theme/components/Radio.d.ts +89 -0
- package/dist/theme/components/Radio.d.ts.map +1 -0
- package/dist/theme/components/RoleTile.d.ts +20 -0
- package/dist/theme/components/RoleTile.d.ts.map +1 -0
- package/dist/theme/components/SectionLabel.d.ts +20 -0
- package/dist/theme/components/SectionLabel.d.ts.map +1 -0
- package/dist/theme/components/SegmentedControl.d.ts +15 -0
- package/dist/theme/components/SegmentedControl.d.ts.map +1 -0
- package/dist/theme/components/Select.d.ts +24 -0
- package/dist/theme/components/Select.d.ts.map +1 -0
- package/dist/theme/components/SettingRow.d.ts +23 -0
- package/dist/theme/components/SettingRow.d.ts.map +1 -0
- package/dist/theme/components/Sidebar.d.ts +28 -0
- package/dist/theme/components/Sidebar.d.ts.map +1 -0
- package/dist/theme/components/SidebarNav/SidebarNav.d.ts +20 -0
- package/dist/theme/components/SidebarNav/SidebarNav.d.ts.map +1 -0
- package/dist/theme/components/SidebarNav/SidebarNavDivider.d.ts +8 -0
- package/dist/theme/components/SidebarNav/SidebarNavDivider.d.ts.map +1 -0
- package/dist/theme/components/SidebarNav/SidebarNavGroupRow.d.ts +8 -0
- package/dist/theme/components/SidebarNav/SidebarNavGroupRow.d.ts.map +1 -0
- package/dist/theme/components/SidebarNav/SidebarNavItemRow.d.ts +8 -0
- package/dist/theme/components/SidebarNav/SidebarNavItemRow.d.ts.map +1 -0
- package/dist/theme/components/SidebarNav/index.d.ts +12 -0
- package/dist/theme/components/SidebarNav/index.d.ts.map +1 -0
- package/dist/theme/components/SidebarNav/types.d.ts +157 -0
- package/dist/theme/components/SidebarNav/types.d.ts.map +1 -0
- package/dist/theme/components/SidebarNavItem.d.ts +31 -0
- package/dist/theme/components/SidebarNavItem.d.ts.map +1 -0
- package/dist/theme/components/Skeleton.d.ts +32 -0
- package/dist/theme/components/Skeleton.d.ts.map +1 -0
- package/dist/theme/components/Spinner.d.ts +26 -0
- package/dist/theme/components/Spinner.d.ts.map +1 -0
- package/dist/theme/components/Stat.d.ts +23 -0
- package/dist/theme/components/Stat.d.ts.map +1 -0
- package/dist/theme/components/StatePicker.d.ts +17 -0
- package/dist/theme/components/StatePicker.d.ts.map +1 -0
- package/dist/theme/components/Stepper.d.ts +23 -0
- package/dist/theme/components/Stepper.d.ts.map +1 -0
- package/dist/theme/components/Switch.d.ts +18 -0
- package/dist/theme/components/Switch.d.ts.map +1 -0
- package/dist/theme/components/TOTP6Cells.d.ts +49 -0
- package/dist/theme/components/TOTP6Cells.d.ts.map +1 -0
- package/dist/theme/components/Table.d.ts +70 -0
- package/dist/theme/components/Table.d.ts.map +1 -0
- package/dist/theme/components/Tabs.d.ts +33 -0
- package/dist/theme/components/Tabs.d.ts.map +1 -0
- package/dist/theme/components/Tag.d.ts +15 -0
- package/dist/theme/components/Tag.d.ts.map +1 -0
- package/dist/theme/components/TextInput.d.ts +24 -0
- package/dist/theme/components/TextInput.d.ts.map +1 -0
- package/dist/theme/components/Textarea.d.ts +17 -0
- package/dist/theme/components/Textarea.d.ts.map +1 -0
- package/dist/theme/components/TimeZonePicker.d.ts +14 -0
- package/dist/theme/components/TimeZonePicker.d.ts.map +1 -0
- package/dist/theme/components/TimelineRow.d.ts +27 -0
- package/dist/theme/components/TimelineRow.d.ts.map +1 -0
- package/dist/theme/components/ToolbarSearch.d.ts +8 -0
- package/dist/theme/components/ToolbarSearch.d.ts.map +1 -0
- package/dist/theme/components/TopBar.d.ts +35 -0
- package/dist/theme/components/TopBar.d.ts.map +1 -0
- package/dist/theme/components/ViewToggle.d.ts +24 -0
- package/dist/theme/components/ViewToggle.d.ts.map +1 -0
- package/dist/theme/components/aiStyles.d.ts +2 -0
- package/dist/theme/components/aiStyles.d.ts.map +1 -0
- package/dist/theme/components/fieldShell.d.ts +68 -0
- package/dist/theme/components/fieldShell.d.ts.map +1 -0
- package/dist/theme/components/index.d.ts +74 -0
- package/dist/theme/components/index.d.ts.map +1 -0
- package/dist/theme/data/countries.d.ts +8 -0
- package/dist/theme/data/countries.d.ts.map +1 -0
- package/dist/theme/data/index.d.ts +4 -0
- package/dist/theme/data/index.d.ts.map +1 -0
- package/dist/theme/data/regions.d.ts +8 -0
- package/dist/theme/data/regions.d.ts.map +1 -0
- package/dist/theme/data/timezones.d.ts +8 -0
- package/dist/theme/data/timezones.d.ts.map +1 -0
- package/dist/theme/fonts.d.ts +9 -0
- package/dist/theme/fonts.d.ts.map +1 -0
- package/dist/theme/index.cjs +18243 -0
- package/dist/theme/index.cjs.map +1 -0
- package/dist/theme/index.d.ts +18 -0
- package/dist/theme/index.d.ts.map +1 -0
- package/dist/theme/index.js +18227 -0
- package/dist/theme/index.js.map +1 -0
- package/dist/theme/presets.d.ts +370 -0
- package/dist/theme/presets.d.ts.map +1 -0
- package/dist/ui.css +159 -0
- package/dist/useSidebar-BWe09WbE.js.map +1 -1
- package/dist/useSidebar-d1VZFhxd.cjs.map +1 -1
- package/package.json +6 -1
- package/dist/components/Alert/Alert.d.ts +0 -13
- package/dist/components/Alert/Alert.d.ts.map +0 -1
- package/dist/components/Alert/Alert.types.d.ts +0 -17
- package/dist/components/Alert/Alert.types.d.ts.map +0 -1
- package/dist/components/Alert/index.d.ts +0 -3
- package/dist/components/Alert/index.d.ts.map +0 -1
- package/dist/components/Avatar/Avatar.d.ts +0 -13
- package/dist/components/Avatar/Avatar.d.ts.map +0 -1
- package/dist/components/Avatar/Avatar.types.d.ts +0 -18
- package/dist/components/Avatar/Avatar.types.d.ts.map +0 -1
- package/dist/components/Avatar/index.d.ts +0 -3
- package/dist/components/Avatar/index.d.ts.map +0 -1
- package/dist/components/Badge/Badge.d.ts +0 -13
- package/dist/components/Badge/Badge.d.ts.map +0 -1
- package/dist/components/Badge/Badge.types.d.ts +0 -14
- package/dist/components/Badge/Badge.types.d.ts.map +0 -1
- package/dist/components/Badge/index.d.ts +0 -3
- package/dist/components/Badge/index.d.ts.map +0 -1
- package/dist/components/Breadcrumbs/Breadcrumbs.d.ts +0 -18
- package/dist/components/Breadcrumbs/Breadcrumbs.d.ts.map +0 -1
- package/dist/components/Breadcrumbs/Breadcrumbs.types.d.ts +0 -22
- package/dist/components/Breadcrumbs/Breadcrumbs.types.d.ts.map +0 -1
- package/dist/components/Breadcrumbs/index.d.ts +0 -3
- package/dist/components/Breadcrumbs/index.d.ts.map +0 -1
- package/dist/components/Button/Button.d.ts +0 -13
- package/dist/components/Button/Button.d.ts.map +0 -1
- package/dist/components/Button/Button.types.d.ts +0 -18
- package/dist/components/Button/Button.types.d.ts.map +0 -1
- package/dist/components/Button/index.d.ts +0 -3
- package/dist/components/Button/index.d.ts.map +0 -1
- package/dist/components/Card/Card.d.ts +0 -18
- package/dist/components/Card/Card.d.ts.map +0 -1
- package/dist/components/Card/Card.types.d.ts +0 -16
- package/dist/components/Card/Card.types.d.ts.map +0 -1
- package/dist/components/Card/index.d.ts +0 -3
- package/dist/components/Card/index.d.ts.map +0 -1
- package/dist/components/Checkbox/Checkbox.d.ts +0 -13
- package/dist/components/Checkbox/Checkbox.d.ts.map +0 -1
- package/dist/components/Checkbox/Checkbox.types.d.ts +0 -21
- package/dist/components/Checkbox/Checkbox.types.d.ts.map +0 -1
- package/dist/components/Checkbox/index.d.ts +0 -3
- package/dist/components/Checkbox/index.d.ts.map +0 -1
- package/dist/components/Combobox/Combobox.d.ts +0 -24
- package/dist/components/Combobox/Combobox.d.ts.map +0 -1
- package/dist/components/Combobox/Combobox.types.d.ts +0 -43
- package/dist/components/Combobox/Combobox.types.d.ts.map +0 -1
- package/dist/components/Combobox/index.d.ts +0 -3
- package/dist/components/Combobox/index.d.ts.map +0 -1
- package/dist/components/ConfirmDialog/ConfirmDialog.d.ts +0 -23
- package/dist/components/ConfirmDialog/ConfirmDialog.d.ts.map +0 -1
- package/dist/components/ConfirmDialog/ConfirmDialog.types.d.ts +0 -24
- package/dist/components/ConfirmDialog/ConfirmDialog.types.d.ts.map +0 -1
- package/dist/components/ConfirmDialog/index.d.ts +0 -3
- package/dist/components/ConfirmDialog/index.d.ts.map +0 -1
- package/dist/components/DateInput/DateInput.d.ts +0 -14
- package/dist/components/DateInput/DateInput.d.ts.map +0 -1
- package/dist/components/DateInput/DateInput.types.d.ts +0 -39
- package/dist/components/DateInput/DateInput.types.d.ts.map +0 -1
- package/dist/components/DateInput/index.d.ts +0 -3
- package/dist/components/DateInput/index.d.ts.map +0 -1
- package/dist/components/Drawer/Drawer.d.ts +0 -27
- package/dist/components/Drawer/Drawer.d.ts.map +0 -1
- package/dist/components/Drawer/Drawer.types.d.ts +0 -25
- package/dist/components/Drawer/Drawer.types.d.ts.map +0 -1
- package/dist/components/Drawer/index.d.ts +0 -3
- package/dist/components/Drawer/index.d.ts.map +0 -1
- package/dist/components/EmptyState/EmptyState.d.ts +0 -34
- package/dist/components/EmptyState/EmptyState.d.ts.map +0 -1
- package/dist/components/EmptyState/EmptyState.types.d.ts +0 -19
- package/dist/components/EmptyState/EmptyState.types.d.ts.map +0 -1
- package/dist/components/EmptyState/index.d.ts +0 -3
- package/dist/components/EmptyState/index.d.ts.map +0 -1
- package/dist/components/Input/Input.d.ts +0 -13
- package/dist/components/Input/Input.d.ts.map +0 -1
- package/dist/components/Input/Input.types.d.ts +0 -20
- package/dist/components/Input/Input.types.d.ts.map +0 -1
- package/dist/components/Input/index.d.ts +0 -3
- package/dist/components/Input/index.d.ts.map +0 -1
- package/dist/components/Modal/Modal.d.ts +0 -28
- package/dist/components/Modal/Modal.d.ts.map +0 -1
- package/dist/components/Modal/Modal.types.d.ts +0 -29
- package/dist/components/Modal/Modal.types.d.ts.map +0 -1
- package/dist/components/Modal/index.d.ts +0 -3
- package/dist/components/Modal/index.d.ts.map +0 -1
- package/dist/components/MultiSelect/MultiSelect.d.ts +0 -26
- package/dist/components/MultiSelect/MultiSelect.d.ts.map +0 -1
- package/dist/components/MultiSelect/MultiSelect.types.d.ts +0 -51
- package/dist/components/MultiSelect/MultiSelect.types.d.ts.map +0 -1
- package/dist/components/MultiSelect/index.d.ts +0 -3
- package/dist/components/MultiSelect/index.d.ts.map +0 -1
- package/dist/components/OTPInput/OTPInput.d.ts +0 -22
- package/dist/components/OTPInput/OTPInput.d.ts.map +0 -1
- package/dist/components/OTPInput/OTPInput.types.d.ts +0 -19
- package/dist/components/OTPInput/OTPInput.types.d.ts.map +0 -1
- package/dist/components/OTPInput/index.d.ts +0 -3
- package/dist/components/OTPInput/index.d.ts.map +0 -1
- package/dist/components/Pagination/Pagination.d.ts +0 -35
- package/dist/components/Pagination/Pagination.d.ts.map +0 -1
- package/dist/components/Pagination/Pagination.types.d.ts +0 -31
- package/dist/components/Pagination/Pagination.types.d.ts.map +0 -1
- package/dist/components/Pagination/index.d.ts +0 -3
- package/dist/components/Pagination/index.d.ts.map +0 -1
- package/dist/components/PasswordInput/PasswordInput.d.ts +0 -12
- package/dist/components/PasswordInput/PasswordInput.d.ts.map +0 -1
- package/dist/components/PasswordInput/PasswordInput.types.d.ts +0 -16
- package/dist/components/PasswordInput/PasswordInput.types.d.ts.map +0 -1
- package/dist/components/PasswordInput/index.d.ts +0 -3
- package/dist/components/PasswordInput/index.d.ts.map +0 -1
- package/dist/components/PillSelector/PillSelector.d.ts +0 -16
- package/dist/components/PillSelector/PillSelector.d.ts.map +0 -1
- package/dist/components/PillSelector/PillSelector.types.d.ts.map +0 -1
- package/dist/components/PillSelector/index.d.ts +0 -3
- package/dist/components/PillSelector/index.d.ts.map +0 -1
- package/dist/components/Radio/Radio.d.ts +0 -12
- package/dist/components/Radio/Radio.d.ts.map +0 -1
- package/dist/components/Radio/Radio.types.d.ts +0 -49
- package/dist/components/Radio/Radio.types.d.ts.map +0 -1
- package/dist/components/Radio/RadioGroup.d.ts +0 -23
- package/dist/components/Radio/RadioGroup.d.ts.map +0 -1
- package/dist/components/Radio/index.d.ts +0 -4
- package/dist/components/Radio/index.d.ts.map +0 -1
- package/dist/components/Select/Select.d.ts +0 -22
- package/dist/components/Select/Select.d.ts.map +0 -1
- package/dist/components/Select/Select.types.d.ts +0 -42
- package/dist/components/Select/Select.types.d.ts.map +0 -1
- package/dist/components/Select/index.d.ts +0 -3
- package/dist/components/Select/index.d.ts.map +0 -1
- package/dist/components/Sidebar/Sidebar.d.ts +0 -36
- package/dist/components/Sidebar/Sidebar.d.ts.map +0 -1
- package/dist/components/Sidebar/Sidebar.types.d.ts +0 -200
- package/dist/components/Sidebar/Sidebar.types.d.ts.map +0 -1
- package/dist/components/Sidebar/SidebarDivider.d.ts +0 -12
- package/dist/components/Sidebar/SidebarDivider.d.ts.map +0 -1
- package/dist/components/Sidebar/SidebarGroup.d.ts +0 -26
- package/dist/components/Sidebar/SidebarGroup.d.ts.map +0 -1
- package/dist/components/Sidebar/SidebarItem.d.ts +0 -23
- package/dist/components/Sidebar/SidebarItem.d.ts.map +0 -1
- package/dist/components/Sidebar/index.d.ts +0 -9
- package/dist/components/Sidebar/index.d.ts.map +0 -1
- package/dist/components/Skeleton/Skeleton.d.ts +0 -22
- package/dist/components/Skeleton/Skeleton.d.ts.map +0 -1
- package/dist/components/Skeleton/Skeleton.types.d.ts +0 -19
- package/dist/components/Skeleton/Skeleton.types.d.ts.map +0 -1
- package/dist/components/Skeleton/index.d.ts +0 -3
- package/dist/components/Skeleton/index.d.ts.map +0 -1
- package/dist/components/Spinner/Spinner.d.ts +0 -13
- package/dist/components/Spinner/Spinner.d.ts.map +0 -1
- package/dist/components/Spinner/Spinner.types.d.ts +0 -14
- package/dist/components/Spinner/Spinner.types.d.ts.map +0 -1
- package/dist/components/Spinner/index.d.ts +0 -3
- package/dist/components/Spinner/index.d.ts.map +0 -1
- package/dist/components/Table/Table.d.ts +0 -44
- package/dist/components/Table/Table.d.ts.map +0 -1
- package/dist/components/Table/Table.types.d.ts +0 -33
- package/dist/components/Table/Table.types.d.ts.map +0 -1
- package/dist/components/Table/index.d.ts +0 -3
- package/dist/components/Table/index.d.ts.map +0 -1
- package/dist/components/Tabs/Tabs.d.ts +0 -43
- package/dist/components/Tabs/Tabs.d.ts.map +0 -1
- package/dist/components/Tabs/Tabs.types.d.ts +0 -42
- package/dist/components/Tabs/Tabs.types.d.ts.map +0 -1
- package/dist/components/Tabs/index.d.ts +0 -3
- package/dist/components/Tabs/index.d.ts.map +0 -1
- package/dist/components/Textarea/Textarea.d.ts +0 -13
- package/dist/components/Textarea/Textarea.d.ts.map +0 -1
- package/dist/components/Textarea/Textarea.types.d.ts +0 -22
- package/dist/components/Textarea/Textarea.types.d.ts.map +0 -1
- package/dist/components/Textarea/index.d.ts +0 -3
- package/dist/components/Textarea/index.d.ts.map +0 -1
- package/dist/components/Toggle/Toggle.d.ts +0 -20
- package/dist/components/Toggle/Toggle.d.ts.map +0 -1
- package/dist/components/Toggle/Toggle.types.d.ts +0 -22
- package/dist/components/Toggle/Toggle.types.d.ts.map +0 -1
- package/dist/components/Toggle/index.d.ts +0 -3
- package/dist/components/Toggle/index.d.ts.map +0 -1
- package/dist/components/index.d.ts +0 -32
- package/dist/components/index.d.ts.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OTPInput.d.ts","sourceRoot":"","sources":["../../../src/theme/components/OTPInput.tsx"],"names":[],"mappings":"AAAA,OAAO,EAQL,KAAK,cAAc,EAEpB,MAAM,OAAO,CAAC;AAEf;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AAMH,MAAM,WAAW,aACf,SAAQ,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,UAAU,CAAC;IACxD,4CAA4C;IAC5C,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,6DAA6D;IAC7D,KAAK,EAAE,MAAM,CAAC;IACd,iEAAiE;IACjE,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,kDAAkD;IAClD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,0BAA0B;IAC1B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,mEAAmE;IACnE,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,+EAA+E;IAC/E,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,mDAAmD;IACnD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAqGD,eAAO,MAAM,QAAQ,0GA6RpB,CAAC;AAEF,eAAe,QAAQ,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { CSSProperties, ReactNode } from 'react';
|
|
2
|
+
export interface PageHeaderProps {
|
|
3
|
+
/** Uppercase eyebrow (date / section). */
|
|
4
|
+
eyebrow?: ReactNode;
|
|
5
|
+
/** H1 title. */
|
|
6
|
+
title: ReactNode;
|
|
7
|
+
/** Supporting paragraph under the title. */
|
|
8
|
+
subtitle?: ReactNode;
|
|
9
|
+
/** Additional inline content appended after subtitle. */
|
|
10
|
+
children?: ReactNode;
|
|
11
|
+
/** Right-side cluster (segmented control, search, buttons). */
|
|
12
|
+
right?: ReactNode;
|
|
13
|
+
/** Pixel margin below the header. Defaults to 18. */
|
|
14
|
+
marginBottom?: number;
|
|
15
|
+
style?: CSSProperties;
|
|
16
|
+
/** Forwarded as `data-testid`. */
|
|
17
|
+
testId?: string;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* PageHeader — eyebrow + h1 + optional subtitle + optional right cluster.
|
|
21
|
+
* Source: design/components/patterns.jsx:11
|
|
22
|
+
*/
|
|
23
|
+
export declare function PageHeader({ eyebrow, title, subtitle, children, right, marginBottom, style, testId, }: PageHeaderProps): import("react/jsx-runtime").JSX.Element;
|
|
24
|
+
//# sourceMappingURL=PageHeader.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PageHeader.d.ts","sourceRoot":"","sources":["../../../src/theme/components/PageHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEtD,MAAM,WAAW,eAAe;IAC9B,0CAA0C;IAC1C,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,gBAAgB;IAChB,KAAK,EAAE,SAAS,CAAC;IACjB,4CAA4C;IAC5C,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,yDAAyD;IACzD,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,+DAA+D;IAC/D,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,qDAAqD;IACrD,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,kCAAkC;IAClC,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED;;;GAGG;AACH,wBAAgB,UAAU,CAAC,EACzB,OAAO,EACP,KAAK,EACL,QAAQ,EACR,QAAQ,EACR,KAAK,EACL,YAAiB,EACjB,KAAK,EACL,MAAM,GACP,EAAE,eAAe,2CAgDjB"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { CSSProperties } from 'react';
|
|
2
|
+
export interface PaginationProps {
|
|
3
|
+
page: number;
|
|
4
|
+
total: number;
|
|
5
|
+
onChange?: (page: number) => void;
|
|
6
|
+
style?: CSSProperties;
|
|
7
|
+
testId?: string;
|
|
8
|
+
}
|
|
9
|
+
export declare function Pagination({ page, total, onChange, style, testId }: PaginationProps): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
//# sourceMappingURL=Pagination.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Pagination.d.ts","sourceRoot":"","sources":["../../../src/theme/components/Pagination.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAI3C,MAAM,WAAW,eAAe;IAC9B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AA6CD,wBAAgB,UAAU,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,EAAE,EAAE,eAAe,2CA6DnF"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { type InputHTMLAttributes, type ReactNode } from 'react';
|
|
2
|
+
import { type FieldChromeProps } from './fieldShell';
|
|
3
|
+
export interface PasswordStrength {
|
|
4
|
+
/** Strength percentage (0–100) */
|
|
5
|
+
strength: number;
|
|
6
|
+
/** Display label */
|
|
7
|
+
label: 'Weak' | 'Medium' | 'Strong' | '';
|
|
8
|
+
/** CSS-var background colour token for the progress bar segment */
|
|
9
|
+
colorVar: string;
|
|
10
|
+
/** CSS-var text colour token for the label */
|
|
11
|
+
textColorVar: string;
|
|
12
|
+
}
|
|
13
|
+
export interface PasswordInputProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'type' | 'size'>, Omit<FieldChromeProps, 'disabled'> {
|
|
14
|
+
/** Show the strength indicator bar + label below the input. */
|
|
15
|
+
showStrengthIndicator?: boolean;
|
|
16
|
+
/**
|
|
17
|
+
* Root test ID. Applied to the outer wrapper as both `data-testid` and
|
|
18
|
+
* `data-test-id`; children are suffixed (`-input`, `-toggle-button`,
|
|
19
|
+
* `-strength`, `-error`, `-hint`).
|
|
20
|
+
*/
|
|
21
|
+
testId?: string;
|
|
22
|
+
/**
|
|
23
|
+
* Legacy compat: `fullWidth` is accepted as an alias for `full`.
|
|
24
|
+
* Consumers migrating from legacy Input/PasswordInput can keep using it.
|
|
25
|
+
*/
|
|
26
|
+
fullWidth?: boolean;
|
|
27
|
+
/**
|
|
28
|
+
* Legacy compat: `helperText` is accepted as an alias for `hint`.
|
|
29
|
+
*/
|
|
30
|
+
helperText?: ReactNode;
|
|
31
|
+
/**
|
|
32
|
+
* Shows a loading spinner in the trailing position (right slot).
|
|
33
|
+
* Preserved from legacy `isLoading` so callers don't regress.
|
|
34
|
+
*/
|
|
35
|
+
isLoading?: boolean;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* PasswordInput — themed text input with show/hide reveal toggle and an
|
|
39
|
+
* optional password-strength indicator bar. Drop-in replacement for the legacy
|
|
40
|
+
* `@teja-app/ui` `PasswordInput`; swap the import path and remove Tailwind
|
|
41
|
+
* class overrides.
|
|
42
|
+
*
|
|
43
|
+
* @example
|
|
44
|
+
* <PasswordInput label="Password" placeholder="Enter password" />
|
|
45
|
+
* <PasswordInput label="Password" showStrengthIndicator value={pw} onChange={…} />
|
|
46
|
+
*/
|
|
47
|
+
export declare const PasswordInput: import("react").ForwardRefExoticComponent<PasswordInputProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
48
|
+
//# sourceMappingURL=PasswordInput.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PasswordInput.d.ts","sourceRoot":"","sources":["../../../src/theme/components/PasswordInput.tsx"],"names":[],"mappings":"AAAA,OAAO,EAKL,KAAK,mBAAmB,EACxB,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AAEf,OAAO,EAIL,KAAK,gBAAgB,EACtB,MAAM,cAAc,CAAC;AA2CtB,MAAM,WAAW,gBAAgB;IAC/B,kCAAkC;IAClC,QAAQ,EAAE,MAAM,CAAC;IACjB,oBAAoB;IACpB,KAAK,EAAE,MAAM,GAAG,QAAQ,GAAG,QAAQ,GAAG,EAAE,CAAC;IACzC,mEAAmE;IACnE,QAAQ,EAAE,MAAM,CAAC;IACjB,8CAA8C;IAC9C,YAAY,EAAE,MAAM,CAAC;CACtB;AAyCD,MAAM,WAAW,kBACf,SAAQ,IAAI,CACV,mBAAmB,CAAC,gBAAgB,CAAC,EACrC,MAAM,GAAG,MAAM,CAChB,EACC,IAAI,CAAC,gBAAgB,EAAE,UAAU,CAAC;IACpC,+DAA+D;IAC/D,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;OAGG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;OAEG;IACH,UAAU,CAAC,EAAE,SAAS,CAAC;IACvB;;;OAGG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AA+CD;;;;;;;;;GASG;AACH,eAAO,MAAM,aAAa,iHAgKzB,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { HTMLAttributes, ReactNode } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* PersonRow — avatar + name + role/sub line, with an optional right slot.
|
|
4
|
+
* Ported from design/components/patterns.jsx. Used in client picker rows,
|
|
5
|
+
* clinician select lists, appointment people meta.
|
|
6
|
+
*/
|
|
7
|
+
export interface PersonRowProps extends Omit<HTMLAttributes<HTMLDivElement>, 'children'> {
|
|
8
|
+
name: string;
|
|
9
|
+
sub?: ReactNode;
|
|
10
|
+
/** Avatar palette index 0-5. When omitted the Avatar derives from name. */
|
|
11
|
+
idx?: number;
|
|
12
|
+
/** Avatar diameter. Defaults to 28. */
|
|
13
|
+
size?: number;
|
|
14
|
+
right?: ReactNode;
|
|
15
|
+
testId?: string;
|
|
16
|
+
}
|
|
17
|
+
export declare function PersonRow({ name, sub, idx, size, right, style, testId, ...rest }: PersonRowProps): import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
//# sourceMappingURL=PersonRow.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PersonRow.d.ts","sourceRoot":"","sources":["../../../src/theme/components/PersonRow.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAiB,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAItE;;;;GAIG;AACH,MAAM,WAAW,cACf,SAAQ,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,UAAU,CAAC;IACxD,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,SAAS,CAAC;IAChB,2EAA2E;IAC3E,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,uCAAuC;IACvC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,wBAAgB,SAAS,CAAC,EACxB,IAAI,EACJ,GAAG,EACH,GAAG,EACH,IAAS,EACT,KAAK,EACL,KAAK,EACL,MAAM,EACN,GAAG,IAAI,EACR,EAAE,cAAc,2CA6BhB"}
|
package/dist/{components/PillSelector/PillSelector.types.d.ts → theme/components/PillSelector.d.ts}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type
|
|
1
|
+
import { type HTMLAttributes, type ReactNode } from 'react';
|
|
2
2
|
export type PillSelectorSize = 'sm' | 'md' | 'lg';
|
|
3
3
|
export interface PillOption {
|
|
4
4
|
/** Unique value for the option */
|
|
@@ -25,5 +25,24 @@ export interface PillSelectorProps extends Omit<HTMLAttributes<HTMLDivElement>,
|
|
|
25
25
|
fullWidth?: boolean;
|
|
26
26
|
/** Disable the selector */
|
|
27
27
|
disabled?: boolean;
|
|
28
|
+
/** Forwarded as `data-testid` on the root div. */
|
|
29
|
+
testId?: string;
|
|
28
30
|
}
|
|
29
|
-
|
|
31
|
+
/**
|
|
32
|
+
* PillSelector — segmented pill chooser for multi- or single-select chip UI.
|
|
33
|
+
*
|
|
34
|
+
* Preserves the exact legacy public API from `teja-ui/src/components/PillSelector/`.
|
|
35
|
+
* Styled with CSS-var tokens from the `@teja-app/ui/theme` design system.
|
|
36
|
+
*
|
|
37
|
+
* @example
|
|
38
|
+
* ```tsx
|
|
39
|
+
* const [selected, setSelected] = useState<string[]>([]);
|
|
40
|
+
* <PillSelector
|
|
41
|
+
* options={[{ value: 'a', label: 'Option A' }, { value: 'b', label: 'Option B' }]}
|
|
42
|
+
* selected={selected}
|
|
43
|
+
* onChange={setSelected}
|
|
44
|
+
* />
|
|
45
|
+
* ```
|
|
46
|
+
*/
|
|
47
|
+
export declare const PillSelector: import("react").ForwardRefExoticComponent<PillSelectorProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
48
|
+
//# sourceMappingURL=PillSelector.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PillSelector.d.ts","sourceRoot":"","sources":["../../../src/theme/components/PillSelector.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAkC,KAAK,cAAc,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAI5F,MAAM,MAAM,gBAAgB,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAElD,MAAM,WAAW,UAAU;IACzB,kCAAkC;IAClC,KAAK,EAAE,MAAM,CAAC;IACd,mCAAmC;IACnC,KAAK,EAAE,MAAM,CAAC;IACd,+BAA+B;IAC/B,IAAI,CAAC,EAAE,SAAS,CAAC;CAClB;AAED,MAAM,WAAW,iBACf,SAAQ,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,UAAU,CAAC;IACxD,wBAAwB;IACxB,OAAO,EAAE,KAAK,CAAC,UAAU,CAAC,CAAC;IAC3B,gCAAgC;IAChC,QAAQ,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACxB,oCAAoC;IACpC,QAAQ,EAAE,CAAC,QAAQ,EAAE,KAAK,CAAC,MAAM,CAAC,KAAK,IAAI,CAAC;IAC5C,gDAAgD;IAChD,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,wBAAwB;IACxB,IAAI,CAAC,EAAE,gBAAgB,CAAC;IACxB,6BAA6B;IAC7B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,kDAAkD;IAClD,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,2BAA2B;IAC3B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,kDAAkD;IAClD,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAoBD;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,YAAY,8GAiIxB,CAAC"}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import { type CSSProperties, type InputHTMLAttributes } from 'react';
|
|
2
|
+
export type RadioSize = 'sm' | 'md' | 'lg';
|
|
3
|
+
export interface RadioOption {
|
|
4
|
+
/** Option value */
|
|
5
|
+
value: string;
|
|
6
|
+
/** Option label */
|
|
7
|
+
label: string;
|
|
8
|
+
/** Disable this option */
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
}
|
|
11
|
+
export interface RadioProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'type' | 'size'> {
|
|
12
|
+
/** Radio label */
|
|
13
|
+
label?: string;
|
|
14
|
+
/** Radio size */
|
|
15
|
+
size?: RadioSize;
|
|
16
|
+
/** Error state (typically set by RadioGroup) */
|
|
17
|
+
error?: boolean;
|
|
18
|
+
/**
|
|
19
|
+
* Test ID — applied to the wrapping `<label>` as root.
|
|
20
|
+
* The native input gets `${testId}-radio`; the label span gets `${testId}-label`.
|
|
21
|
+
*/
|
|
22
|
+
testId?: string;
|
|
23
|
+
}
|
|
24
|
+
export interface RadioGroupProps {
|
|
25
|
+
/** Group name (required for proper radio behavior) */
|
|
26
|
+
name: string;
|
|
27
|
+
/** Available options */
|
|
28
|
+
options: RadioOption[];
|
|
29
|
+
/** Currently selected value */
|
|
30
|
+
value?: string;
|
|
31
|
+
/** Callback when selection changes */
|
|
32
|
+
onChange?: (value: string) => void;
|
|
33
|
+
/** Group label */
|
|
34
|
+
label?: string;
|
|
35
|
+
/** Radio size */
|
|
36
|
+
size?: RadioSize;
|
|
37
|
+
/** Error message */
|
|
38
|
+
error?: string;
|
|
39
|
+
/** Helper text */
|
|
40
|
+
helperText?: string;
|
|
41
|
+
/** Disable all options */
|
|
42
|
+
disabled?: boolean;
|
|
43
|
+
/** Layout direction */
|
|
44
|
+
orientation?: 'vertical' | 'horizontal';
|
|
45
|
+
/** Additional inline style on the root fieldset */
|
|
46
|
+
style?: CSSProperties;
|
|
47
|
+
/** Shows loading spinner and disables group */
|
|
48
|
+
isLoading?: boolean;
|
|
49
|
+
/**
|
|
50
|
+
* Test ID — applied to the wrapping `<fieldset>`.
|
|
51
|
+
* Each option gets `${testId}-option-{index}`; error/helper get suffixed too.
|
|
52
|
+
*/
|
|
53
|
+
testId?: string;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Radio — a single radio input with an optional label. Typically used inside
|
|
57
|
+
* a `RadioGroup`, but can be used standalone.
|
|
58
|
+
*
|
|
59
|
+
* Styled entirely with CSS-var tokens — no Tailwind, no hex literals.
|
|
60
|
+
*
|
|
61
|
+
* @example
|
|
62
|
+
* ```tsx
|
|
63
|
+
* <Radio name="plan" value="pro" label="Pro" checked={plan === 'pro'} onChange={…} />
|
|
64
|
+
* ```
|
|
65
|
+
*/
|
|
66
|
+
export declare const Radio: import("react").ForwardRefExoticComponent<RadioProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
67
|
+
/**
|
|
68
|
+
* RadioGroup — manages a group of radio options with optional label, error,
|
|
69
|
+
* helper text, orientation, and loading state.
|
|
70
|
+
*
|
|
71
|
+
* @example
|
|
72
|
+
* ```tsx
|
|
73
|
+
* <RadioGroup
|
|
74
|
+
* name="status"
|
|
75
|
+
* label="Status"
|
|
76
|
+
* options={[
|
|
77
|
+
* { value: 'active', label: 'Active' },
|
|
78
|
+
* { value: 'inactive', label: 'Inactive' },
|
|
79
|
+
* ]}
|
|
80
|
+
* value={status}
|
|
81
|
+
* onChange={setStatus}
|
|
82
|
+
* />
|
|
83
|
+
* ```
|
|
84
|
+
*/
|
|
85
|
+
export declare function RadioGroup({ name, options, value, onChange, label, size, error, helperText, disabled, orientation, style, isLoading, testId, }: RadioGroupProps): import("react/jsx-runtime").JSX.Element;
|
|
86
|
+
export declare namespace RadioGroup {
|
|
87
|
+
var displayName: string;
|
|
88
|
+
}
|
|
89
|
+
//# sourceMappingURL=Radio.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Radio.d.ts","sourceRoot":"","sources":["../../../src/theme/components/Radio.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,KAAK,aAAa,EAAE,KAAK,mBAAmB,EAAE,MAAM,OAAO,CAAC;AAMjF,MAAM,MAAM,SAAS,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAE3C,MAAM,WAAW,WAAW;IAC1B,mBAAmB;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,mBAAmB;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,0BAA0B;IAC1B,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,WAAW,UACf,SAAQ,IAAI,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACpE,kBAAkB;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,iBAAiB;IACjB,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,gDAAgD;IAChD,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,eAAe;IAC9B,sDAAsD;IACtD,IAAI,EAAE,MAAM,CAAC;IACb,wBAAwB;IACxB,OAAO,EAAE,WAAW,EAAE,CAAC;IACvB,+BAA+B;IAC/B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,sCAAsC;IACtC,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,kBAAkB;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,iBAAiB;IACjB,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,oBAAoB;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,kBAAkB;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,0BAA0B;IAC1B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,uBAAuB;IACvB,WAAW,CAAC,EAAE,UAAU,GAAG,YAAY,CAAC;IACxC,mDAAmD;IACnD,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,+CAA+C;IAC/C,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAyCD;;;;;;;;;;GAUG;AACH,eAAO,MAAM,KAAK,yGAgHhB,CAAC;AAMH;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,UAAU,CAAC,EACzB,IAAI,EACJ,OAAO,EACP,KAAK,EACL,QAAQ,EACR,KAAK,EACL,IAAW,EACX,KAAK,EACL,UAAU,EACV,QAAgB,EAChB,WAAwB,EACxB,KAAK,EACL,SAAiB,EACjB,MAAM,GACP,EAAE,eAAe,2CA+FjB;yBA7Ge,UAAU"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
import { type IconName } from './Icon';
|
|
3
|
+
/**
|
|
4
|
+
* RoleTile — large radio-card used in the Register screen to pick "Practice
|
|
5
|
+
* owner" vs "Operations manager". Renders as a clickable card with an icon,
|
|
6
|
+
* title, description, and a check indicator on the right.
|
|
7
|
+
*
|
|
8
|
+
* Stateless — parent passes `active` and `onSelect`.
|
|
9
|
+
*/
|
|
10
|
+
export interface RoleTileProps {
|
|
11
|
+
icon: IconName;
|
|
12
|
+
title: string;
|
|
13
|
+
desc?: ReactNode;
|
|
14
|
+
active?: boolean;
|
|
15
|
+
onSelect?: () => void;
|
|
16
|
+
/** data-testid forwarded to the button. */
|
|
17
|
+
testId?: string;
|
|
18
|
+
}
|
|
19
|
+
export declare function RoleTile({ icon, title, desc, active, onSelect, testId, }: RoleTileProps): import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
//# sourceMappingURL=RoleTile.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RoleTile.d.ts","sourceRoot":"","sources":["../../../src/theme/components/RoleTile.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,EAAQ,KAAK,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAE7C;;;;;;GAMG;AACH,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE,QAAQ,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,2CAA2C;IAC3C,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,wBAAgB,QAAQ,CAAC,EACvB,IAAI,EACJ,KAAK,EACL,IAAI,EACJ,MAAc,EACd,QAAQ,EACR,MAAM,GACP,EAAE,aAAa,2CAmFf"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { HTMLAttributes, ReactNode } from 'react';
|
|
2
|
+
export type SectionLabelTone = 'ink' | 'ai';
|
|
3
|
+
export interface SectionLabelProps extends Omit<HTMLAttributes<HTMLDivElement>, 'children'> {
|
|
4
|
+
tone?: SectionLabelTone;
|
|
5
|
+
/** Optional element rendered before the label text (icon, sparkle, etc.). */
|
|
6
|
+
icon?: ReactNode;
|
|
7
|
+
/** Optional element rendered after the label text, pushed to the far right. */
|
|
8
|
+
right?: ReactNode;
|
|
9
|
+
children?: ReactNode;
|
|
10
|
+
/** Forwarded as `data-testid`. */
|
|
11
|
+
testId?: string;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* SectionLabel — uppercase 11px section header used across drawers and detail
|
|
15
|
+
* panels. Generalises `CreateClientSectionLabel` (create-client-drawer.jsx:163)
|
|
16
|
+
* and `ClientDetailSectionLabel` (client-detail.jsx:312) into a single primitive
|
|
17
|
+
* with optional `icon`/`right` slots and a `tone="ai"` variant (ai-scribe.jsx:271).
|
|
18
|
+
*/
|
|
19
|
+
export declare function SectionLabel({ tone, icon, right, children, style, testId, ...rest }: SectionLabelProps): import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
//# sourceMappingURL=SectionLabel.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SectionLabel.d.ts","sourceRoot":"","sources":["../../../src/theme/components/SectionLabel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAiB,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEtE,MAAM,MAAM,gBAAgB,GAAG,KAAK,GAAG,IAAI,CAAC;AAE5C,MAAM,WAAW,iBAAkB,SAAQ,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,UAAU,CAAC;IACzF,IAAI,CAAC,EAAE,gBAAgB,CAAC;IACxB,6EAA6E;IAC7E,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,+EAA+E;IAC/E,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,kCAAkC;IAClC,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED;;;;;GAKG;AACH,wBAAgB,YAAY,CAAC,EAC3B,IAAY,EACZ,IAAI,EACJ,KAAK,EACL,QAAQ,EACR,KAAK,EACL,MAAM,EACN,GAAG,IAAI,EACR,EAAE,iBAAiB,2CAqBnB"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { CSSProperties, ReactNode } from 'react';
|
|
2
|
+
export interface SegmentedControlItem<T extends string = string> {
|
|
3
|
+
value: T;
|
|
4
|
+
label: ReactNode;
|
|
5
|
+
}
|
|
6
|
+
export interface SegmentedControlProps<T extends string = string> {
|
|
7
|
+
items: ReadonlyArray<SegmentedControlItem<T>>;
|
|
8
|
+
value: T;
|
|
9
|
+
onChange?: (value: T) => void;
|
|
10
|
+
size?: 'sm' | 'md';
|
|
11
|
+
style?: CSSProperties;
|
|
12
|
+
testId?: string;
|
|
13
|
+
}
|
|
14
|
+
export declare function SegmentedControl<T extends string = string>({ items, value, onChange, size, style, testId, }: SegmentedControlProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
//# sourceMappingURL=SegmentedControl.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SegmentedControl.d.ts","sourceRoot":"","sources":["../../../src/theme/components/SegmentedControl.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEtD,MAAM,WAAW,oBAAoB,CAAC,CAAC,SAAS,MAAM,GAAG,MAAM;IAC7D,KAAK,EAAE,CAAC,CAAC;IACT,KAAK,EAAE,SAAS,CAAC;CAClB;AAED,MAAM,WAAW,qBAAqB,CAAC,CAAC,SAAS,MAAM,GAAG,MAAM;IAC9D,KAAK,EAAE,aAAa,CAAC,oBAAoB,CAAC,CAAC,CAAC,CAAC,CAAC;IAC9C,KAAK,EAAE,CAAC,CAAC;IACT,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,CAAC,KAAK,IAAI,CAAC;IAC9B,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACnB,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,wBAAgB,gBAAgB,CAAC,CAAC,SAAS,MAAM,GAAG,MAAM,EAAE,EAC1D,KAAK,EACL,KAAK,EACL,QAAQ,EACR,IAAW,EACX,KAAK,EACL,MAAM,GACP,EAAE,qBAAqB,CAAC,CAAC,CAAC,2CAiD1B"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { type TejaOption, type FieldChromeProps } from './fieldShell';
|
|
2
|
+
export interface SelectProps extends FieldChromeProps {
|
|
3
|
+
/** Selectable options. */
|
|
4
|
+
items: TejaOption[];
|
|
5
|
+
/** Current value, or `null` when nothing is selected. */
|
|
6
|
+
value: string | null;
|
|
7
|
+
onChange?: (value: string) => void;
|
|
8
|
+
/** Trigger text when no value is selected. Defaults to `Select…`. */
|
|
9
|
+
placeholder?: string;
|
|
10
|
+
/** Panel placement relative to the trigger. Defaults to `bottom`. */
|
|
11
|
+
placement?: 'bottom' | 'top';
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* Select — single-value dropdown (listbox) built on Headless UI v2 `Listbox`,
|
|
15
|
+
* restyled to the theme's "Clinical Calm" tokens. The trigger is a 36px control
|
|
16
|
+
* box (surface-0, strong border, r-md) that shows the selected label or the
|
|
17
|
+
* placeholder in `--ink-4`; the chevron rotates when open. The panel renders on
|
|
18
|
+
* `--surface-0` with `--shadow-pop`; the selected row shows a `check` Icon in
|
|
19
|
+
* `--primary` and the active row uses `--surface-2`.
|
|
20
|
+
*
|
|
21
|
+
* Ported from `design/components/inputs.jsx` (`Select`).
|
|
22
|
+
*/
|
|
23
|
+
export declare function Select({ items, value, onChange, placeholder, placement, label, hint, error, required, full, disabled, testId, }: SelectProps): import("react/jsx-runtime").JSX.Element;
|
|
24
|
+
//# sourceMappingURL=Select.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../../src/theme/components/Select.tsx"],"names":[],"mappings":"AASA,OAAO,EAIL,KAAK,UAAU,EACf,KAAK,gBAAgB,EACtB,MAAM,cAAc,CAAC;AAGtB,MAAM,WAAW,WAAY,SAAQ,gBAAgB;IACnD,0BAA0B;IAC1B,KAAK,EAAE,UAAU,EAAE,CAAC;IACpB,yDAAyD;IACzD,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,qEAAqE;IACrE,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,qEAAqE;IACrE,SAAS,CAAC,EAAE,QAAQ,GAAG,KAAK,CAAC;CAC9B;AAuDD;;;;;;;;;GASG;AACH,wBAAgB,MAAM,CAAC,EACrB,KAAK,EACL,KAAK,EACL,QAAQ,EACR,WAAuB,EACvB,SAAoB,EACpB,KAAK,EACL,IAAI,EACJ,KAAK,EACL,QAAQ,EACR,IAAW,EACX,QAAQ,EACR,MAAM,GACP,EAAE,WAAW,2CAmGb"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { HTMLAttributes, ReactNode } from 'react';
|
|
2
|
+
import { type IconName } from './Icon';
|
|
3
|
+
/**
|
|
4
|
+
* SettingRow — preference row with optional icon, title, hint, and a
|
|
5
|
+
* right-side control. Ported from design/components/patterns.jsx.
|
|
6
|
+
*
|
|
7
|
+
* By default the right side is a `<Switch>` driven by `on` / `onChange`.
|
|
8
|
+
* Pass `control` to swap in any other control (segmented, select, button).
|
|
9
|
+
*/
|
|
10
|
+
export type SettingRowTone = 'default' | 'subtle';
|
|
11
|
+
export interface SettingRowProps extends Omit<HTMLAttributes<HTMLDivElement>, 'children' | 'title' | 'onChange'> {
|
|
12
|
+
icon?: IconName;
|
|
13
|
+
title: ReactNode;
|
|
14
|
+
hint?: ReactNode;
|
|
15
|
+
on?: boolean;
|
|
16
|
+
onChange?: (next: boolean) => void;
|
|
17
|
+
/** Replace the default Switch entirely. */
|
|
18
|
+
control?: ReactNode;
|
|
19
|
+
tone?: SettingRowTone;
|
|
20
|
+
testId?: string;
|
|
21
|
+
}
|
|
22
|
+
export declare function SettingRow({ icon, title, hint, on, onChange, control, tone, style, testId, ...rest }: SettingRowProps): import("react/jsx-runtime").JSX.Element;
|
|
23
|
+
//# sourceMappingURL=SettingRow.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SettingRow.d.ts","sourceRoot":"","sources":["../../../src/theme/components/SettingRow.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAiB,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEtE,OAAO,EAAQ,KAAK,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAG7C;;;;;;GAMG;AACH,MAAM,MAAM,cAAc,GAAG,SAAS,GAAG,QAAQ,CAAC;AAElD,MAAM,WAAW,eACf,SAAQ,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,UAAU,GAAG,OAAO,GAAG,UAAU,CAAC;IAC/E,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB,KAAK,EAAE,SAAS,CAAC;IACjB,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,EAAE,CAAC,EAAE,OAAO,CAAC;IACb,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACnC,2CAA2C;IAC3C,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,IAAI,CAAC,EAAE,cAAc,CAAC;IACtB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,wBAAgB,UAAU,CAAC,EACzB,IAAI,EACJ,KAAK,EACL,IAAI,EACJ,EAAE,EACF,QAAQ,EACR,OAAO,EACP,IAAgB,EAChB,KAAK,EACL,MAAM,EACN,GAAG,IAAI,EACR,EAAE,eAAe,2CA8CjB"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { type ReactNode } from 'react';
|
|
2
|
+
import { type NavGroup } from './SidebarNavItem';
|
|
3
|
+
export interface SidebarWorkspace {
|
|
4
|
+
name: string;
|
|
5
|
+
detail?: string;
|
|
6
|
+
initials?: string;
|
|
7
|
+
}
|
|
8
|
+
export interface SidebarUser {
|
|
9
|
+
name: string;
|
|
10
|
+
role?: string;
|
|
11
|
+
paletteIdx?: number;
|
|
12
|
+
}
|
|
13
|
+
export interface SidebarProps {
|
|
14
|
+
nav: ReadonlyArray<NavGroup>;
|
|
15
|
+
activeId?: string | null;
|
|
16
|
+
collapsed?: boolean;
|
|
17
|
+
onToggle?: () => void;
|
|
18
|
+
features?: Record<string, boolean>;
|
|
19
|
+
workspace?: SidebarWorkspace;
|
|
20
|
+
user?: SidebarUser;
|
|
21
|
+
onItemClick?: (id: string) => void;
|
|
22
|
+
onUserClick?: () => void;
|
|
23
|
+
onWorkspaceClick?: () => void;
|
|
24
|
+
testId?: string;
|
|
25
|
+
footerExtras?: ReactNode;
|
|
26
|
+
}
|
|
27
|
+
export declare function Sidebar({ nav, activeId, collapsed: collapsedProp, onToggle, features, workspace, user, onItemClick, onUserClick, onWorkspaceClick, testId, footerExtras, }: SidebarProps): import("react/jsx-runtime").JSX.Element;
|
|
28
|
+
//# sourceMappingURL=Sidebar.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Sidebar.d.ts","sourceRoot":"","sources":["../../../src/theme/components/Sidebar.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAIjD,OAAO,EAAkB,KAAK,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAGjE,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,YAAY;IAC3B,GAAG,EAAE,aAAa,CAAC,QAAQ,CAAC,CAAC;IAC7B,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACnC,SAAS,CAAC,EAAE,gBAAgB,CAAC;IAC7B,IAAI,CAAC,EAAE,WAAW,CAAC;IACnB,WAAW,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;IACzB,gBAAgB,CAAC,EAAE,MAAM,IAAI,CAAC;IAC9B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,YAAY,CAAC,EAAE,SAAS,CAAC;CAC1B;AAED,wBAAgB,OAAO,CAAC,EACtB,GAAG,EACH,QAAQ,EACR,SAAS,EAAE,aAAa,EACxB,QAAQ,EACR,QAAQ,EACR,SAAS,EACT,IAAI,EACJ,WAAW,EACX,WAAW,EACX,gBAAgB,EAChB,MAAM,EACN,YAAY,GACb,EAAE,YAAY,2CA6Jd"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { SidebarNavProps } from './types';
|
|
2
|
+
export declare function ensureSidebarNavStyles(): void;
|
|
3
|
+
/**
|
|
4
|
+
* SidebarNav — theme port of the legacy @teja-app/ui Sidebar component.
|
|
5
|
+
*
|
|
6
|
+
* Provides a responsive navigation container with:
|
|
7
|
+
* - Mobile overlay + open/close state (fixed, translated off-screen when closed)
|
|
8
|
+
* - Collapsible desktop mode (icon-only, via `collapsed` + `onCollapsedChange`)
|
|
9
|
+
* - Four navigation zones: featured / primary / secondary / bottom
|
|
10
|
+
* - Custom LinkComponent for router integration
|
|
11
|
+
*
|
|
12
|
+
* Named SidebarNav to avoid colliding with the existing opinionated Sidebar
|
|
13
|
+
* component already exported by @teja-app/ui/theme.
|
|
14
|
+
*
|
|
15
|
+
* On desktop (lg+) the sidebar becomes `position: static` via injected CSS
|
|
16
|
+
* (see `ensureSidebarNavStyles`). The component calls this automatically on
|
|
17
|
+
* first render.
|
|
18
|
+
*/
|
|
19
|
+
export declare const SidebarNav: import("react").ForwardRefExoticComponent<SidebarNavProps & import("react").RefAttributes<HTMLElement>>;
|
|
20
|
+
//# sourceMappingURL=SidebarNav.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SidebarNav.d.ts","sourceRoot":"","sources":["../../../../src/theme/components/SidebarNav/SidebarNav.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,eAAe,EAAqB,MAAM,SAAS,CAAC;AAWlE,wBAAgB,sBAAsB,IAAI,IAAI,CAkB7C;AAuFD;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,UAAU,yGAgPtB,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { SidebarNavDividerProps } from './types';
|
|
2
|
+
/**
|
|
3
|
+
* SidebarNavDivider — visual separator between navigation sections.
|
|
4
|
+
* Theme port of the legacy SidebarDivider component.
|
|
5
|
+
* Uses CSS-var inline styles instead of Tailwind className.
|
|
6
|
+
*/
|
|
7
|
+
export declare const SidebarNavDivider: import("react").ForwardRefExoticComponent<SidebarNavDividerProps & import("react").RefAttributes<HTMLHRElement>>;
|
|
8
|
+
//# sourceMappingURL=SidebarNavDivider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SidebarNavDivider.d.ts","sourceRoot":"","sources":["../../../../src/theme/components/SidebarNav/SidebarNavDivider.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAC;AAEtD;;;;GAIG;AACH,eAAO,MAAM,iBAAiB,kHA6C7B,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { SidebarNavGroupRowProps, SidebarNavGroup } from './types';
|
|
2
|
+
export declare function shouldShowNavGroup(group: SidebarNavGroup): boolean;
|
|
3
|
+
/**
|
|
4
|
+
* Renders a navigation group (optional label + list of items).
|
|
5
|
+
* Theme port of legacy SidebarGroup — uses inline styles instead of Tailwind.
|
|
6
|
+
*/
|
|
7
|
+
export declare const SidebarNavGroupRow: import("react").ForwardRefExoticComponent<SidebarNavGroupRowProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
8
|
+
//# sourceMappingURL=SidebarNavGroupRow.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SidebarNavGroupRow.d.ts","sourceRoot":"","sources":["../../../../src/theme/components/SidebarNav/SidebarNavGroupRow.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,uBAAuB,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAKxE,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,eAAe,GAAG,OAAO,CAKlE;AAID;;;GAGG;AACH,eAAO,MAAM,kBAAkB,oHAwD9B,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { SidebarNavItemRowProps, SidebarNavItemConfig } from './types';
|
|
2
|
+
export declare function shouldShowNavItem(item: SidebarNavItemConfig): boolean;
|
|
3
|
+
/**
|
|
4
|
+
* Renders a single navigation item inside SidebarNav.
|
|
5
|
+
* Theme port of legacy SidebarItem — uses inline style objects instead of Tailwind.
|
|
6
|
+
*/
|
|
7
|
+
export declare function SidebarNavItemRow({ item, currentPath, size, collapsed, onNavigate, LinkComponent, testId, }: SidebarNavItemRowProps): import("react/jsx-runtime").JSX.Element | null;
|
|
8
|
+
//# sourceMappingURL=SidebarNavItemRow.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SidebarNavItemRow.d.ts","sourceRoot":"","sources":["../../../../src/theme/components/SidebarNav/SidebarNavItemRow.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,sBAAsB,EACtB,oBAAoB,EAIrB,MAAM,SAAS,CAAC;AAIjB,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,oBAAoB,GAAG,OAAO,CAKrE;AA4HD;;;GAGG;AACH,wBAAgB,iBAAiB,CAAC,EAChC,IAAI,EACJ,WAAW,EACX,IAAW,EACX,SAAiB,EACjB,UAAU,EACV,aAAa,EACb,MAAM,GACP,EAAE,sBAAsB,kDA2ExB"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* SidebarNav — theme port of the legacy @teja-app/ui Sidebar component family.
|
|
3
|
+
*
|
|
4
|
+
* Named with the SidebarNav prefix to avoid colliding with the existing
|
|
5
|
+
* opinionated Sidebar (and SidebarNavItem) components in the theme.
|
|
6
|
+
*/
|
|
7
|
+
export { SidebarNav, ensureSidebarNavStyles } from './SidebarNav';
|
|
8
|
+
export { SidebarNavDivider } from './SidebarNavDivider';
|
|
9
|
+
export { SidebarNavGroupRow } from './SidebarNavGroupRow';
|
|
10
|
+
export { SidebarNavItemRow, shouldShowNavItem } from './SidebarNavItemRow';
|
|
11
|
+
export type { SidebarNavProps, SidebarNavGroup, SidebarNavItemConfig, SidebarNavGroupRowProps, SidebarNavItemRowProps, SidebarNavDividerProps, SidebarNavLinkProps, SidebarNavSize, SidebarNavVariant, SidebarNavActiveMatcher, SidebarNavPermissionCheck, } from './types';
|
|
12
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/theme/components/SidebarNav/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,UAAU,EAAE,sBAAsB,EAAE,MAAM,cAAc,CAAC;AAClE,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAE3E,YAAY,EACV,eAAe,EACf,eAAe,EACf,oBAAoB,EACpB,uBAAuB,EACvB,sBAAsB,EACtB,sBAAsB,EACtB,mBAAmB,EACnB,cAAc,EACd,iBAAiB,EACjB,uBAAuB,EACvB,yBAAyB,GAC1B,MAAM,SAAS,CAAC"}
|