@teja-app/ui 0.0.9 → 0.0.11
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/components/DateInput/DateInput.d.ts.map +1 -1
- package/dist/components/Select/Select.d.ts.map +1 -1
- package/dist/index.cjs +3452 -13752
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +3425 -13725
- package/dist/index.js.map +1 -1
- package/dist/style-D6av97Pw.cjs +10406 -0
- package/dist/style-D6av97Pw.cjs.map +1 -0
- package/dist/style-DyXPy-7b.js +10392 -0
- package/dist/style-DyXPy-7b.js.map +1 -0
- 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/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 +23 -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/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/PersonRow.d.ts +18 -0
- package/dist/theme/components/PersonRow.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/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/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 +66 -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 +6168 -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 +6168 -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/package.json +6 -1
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { CSSProperties } from 'react';
|
|
2
|
+
import { type IconName } from './Icon';
|
|
3
|
+
/**
|
|
4
|
+
* ViewToggle — icon-only segmented control for swapping list/grid/calendar
|
|
5
|
+
* views. Ported from design/components/patterns.jsx.
|
|
6
|
+
*
|
|
7
|
+
* Each item is a tuple of `{ value, icon }`. Active item gets a raised
|
|
8
|
+
* surface-0 pill; others are transparent.
|
|
9
|
+
*/
|
|
10
|
+
export interface ViewToggleItem<T extends string = string> {
|
|
11
|
+
value: T;
|
|
12
|
+
icon: IconName;
|
|
13
|
+
/** Accessible label. Defaults to `value`. */
|
|
14
|
+
title?: string;
|
|
15
|
+
}
|
|
16
|
+
export interface ViewToggleProps<T extends string = string> {
|
|
17
|
+
items: ReadonlyArray<ViewToggleItem<T>>;
|
|
18
|
+
value: T;
|
|
19
|
+
onChange?: (value: T) => void;
|
|
20
|
+
style?: CSSProperties;
|
|
21
|
+
testId?: string;
|
|
22
|
+
}
|
|
23
|
+
export declare function ViewToggle<T extends string = string>({ items, value, onChange, style, testId, }: ViewToggleProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
24
|
+
//# sourceMappingURL=ViewToggle.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ViewToggle.d.ts","sourceRoot":"","sources":["../../../src/theme/components/ViewToggle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAE3C,OAAO,EAAQ,KAAK,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAE7C;;;;;;GAMG;AACH,MAAM,WAAW,cAAc,CAAC,CAAC,SAAS,MAAM,GAAG,MAAM;IACvD,KAAK,EAAE,CAAC,CAAC;IACT,IAAI,EAAE,QAAQ,CAAC;IACf,6CAA6C;IAC7C,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,eAAe,CAAC,CAAC,SAAS,MAAM,GAAG,MAAM;IACxD,KAAK,EAAE,aAAa,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC;IACxC,KAAK,EAAE,CAAC,CAAC;IACT,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,CAAC,KAAK,IAAI,CAAC;IAC9B,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,wBAAgB,UAAU,CAAC,CAAC,SAAS,MAAM,GAAG,MAAM,EAAE,EACpD,KAAK,EACL,KAAK,EACL,QAAQ,EACR,KAAK,EACL,MAAM,GACP,EAAE,eAAe,CAAC,CAAC,CAAC,2CA8CpB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"aiStyles.d.ts","sourceRoot":"","sources":["../../../src/theme/components/aiStyles.ts"],"names":[],"mappings":"AAUA,wBAAgB,cAAc,IAAI,IAAI,CAsCrC"}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import type { CSSProperties, ReactNode } from 'react';
|
|
2
|
+
import { Icon, type IconName } from './Icon';
|
|
3
|
+
/**
|
|
4
|
+
* Shared option shape for all option-based theme controls
|
|
5
|
+
* (Select, Combobox, MultiSelect, and the *Picker wrappers).
|
|
6
|
+
*
|
|
7
|
+
* Ported from `design/components/inputs.jsx`.
|
|
8
|
+
*/
|
|
9
|
+
export interface TejaOption {
|
|
10
|
+
value: string;
|
|
11
|
+
label: string;
|
|
12
|
+
/** Secondary line shown right-aligned in the option row. */
|
|
13
|
+
sub?: string;
|
|
14
|
+
/** Optional leading icon (theme Icon set). */
|
|
15
|
+
icon?: IconName;
|
|
16
|
+
disabled?: boolean;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Field-chrome props mixed into every self-wrapping input control. When
|
|
20
|
+
* `label` is present the control renders its own label + hint/error tail via
|
|
21
|
+
* `<FieldShell>`; otherwise it renders the bare control.
|
|
22
|
+
*/
|
|
23
|
+
export interface FieldChromeProps {
|
|
24
|
+
label?: string;
|
|
25
|
+
hint?: ReactNode;
|
|
26
|
+
/**
|
|
27
|
+
* Error treatment:
|
|
28
|
+
* - `true` → red border only (message rendered elsewhere)
|
|
29
|
+
* - `ReactNode` → red border + message below
|
|
30
|
+
* - nullish/false → no error
|
|
31
|
+
*/
|
|
32
|
+
error?: ReactNode | true;
|
|
33
|
+
required?: boolean;
|
|
34
|
+
/** Full-width container. Defaults to true. */
|
|
35
|
+
full?: boolean;
|
|
36
|
+
disabled?: boolean;
|
|
37
|
+
/** Root test id; children are suffixed (`-error`, `-hint`, etc.). */
|
|
38
|
+
testId?: string;
|
|
39
|
+
}
|
|
40
|
+
export declare function hasFieldError(error: FieldChromeProps['error']): boolean;
|
|
41
|
+
/** The error message node when one should render below the field. */
|
|
42
|
+
export declare function fieldErrorNode(error: FieldChromeProps['error']): ReactNode;
|
|
43
|
+
/**
|
|
44
|
+
* The visual contract for a control box (the input/trigger surface), shared by
|
|
45
|
+
* `Field`, `TextInput`, and the pickers. 36px, surface-0, strong border,
|
|
46
|
+
* r-md, shadow-xs; red border on error, primary ring on focus/open.
|
|
47
|
+
*/
|
|
48
|
+
export declare function controlBoxStyle(opts: {
|
|
49
|
+
focused?: boolean;
|
|
50
|
+
error?: boolean;
|
|
51
|
+
disabled?: boolean;
|
|
52
|
+
height?: number;
|
|
53
|
+
}): CSSProperties;
|
|
54
|
+
export interface FieldShellProps extends FieldChromeProps {
|
|
55
|
+
/** The control element (input box, trigger, etc.). */
|
|
56
|
+
children: ReactNode;
|
|
57
|
+
/** Associates the label with the control. */
|
|
58
|
+
htmlFor?: string;
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* FieldShell — label + control slot + hint/error tail. The single source of
|
|
62
|
+
* truth for field chrome across the theme so `Field` and every input control
|
|
63
|
+
* stay visually identical.
|
|
64
|
+
*/
|
|
65
|
+
export declare function FieldShell({ label, hint, error, required, full, htmlFor, testId, children, }: FieldShellProps): import("react/jsx-runtime").JSX.Element;
|
|
66
|
+
/** Re-export so option-based controls import the icon helper from one place. */
|
|
67
|
+
export { Icon };
|
|
68
|
+
//# sourceMappingURL=fieldShell.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fieldShell.d.ts","sourceRoot":"","sources":["../../../src/theme/components/fieldShell.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEtD,OAAO,EAAE,IAAI,EAAE,KAAK,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAG7C;;;;;GAKG;AACH,MAAM,WAAW,UAAU;IACzB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,4DAA4D;IAC5D,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,8CAA8C;IAC9C,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED;;;;GAIG;AACH,MAAM,WAAW,gBAAgB;IAC/B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB;;;;;OAKG;IACH,KAAK,CAAC,EAAE,SAAS,GAAG,IAAI,CAAC;IACzB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,8CAA8C;IAC9C,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,qEAAqE;IACrE,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,wBAAgB,aAAa,CAAC,KAAK,EAAE,gBAAgB,CAAC,OAAO,CAAC,GAAG,OAAO,CAEvE;AAED,qEAAqE;AACrE,wBAAgB,cAAc,CAAC,KAAK,EAAE,gBAAgB,CAAC,OAAO,CAAC,GAAG,SAAS,CAE1E;AAED;;;;GAIG;AACH,wBAAgB,eAAe,CAAC,IAAI,EAAE;IACpC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,GAAG,aAAa,CAkBhB;AAED,MAAM,WAAW,eAAgB,SAAQ,gBAAgB;IACvD,sDAAsD;IACtD,QAAQ,EAAE,SAAS,CAAC;IACpB,6CAA6C;IAC7C,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED;;;;GAIG;AACH,wBAAgB,UAAU,CAAC,EACzB,KAAK,EACL,IAAI,EACJ,KAAK,EACL,QAAQ,EACR,IAAW,EACX,OAAO,EACP,MAAM,EACN,QAAQ,GACT,EAAE,eAAe,2CAgDjB;AAED,gFAAgF;AAChF,OAAO,EAAE,IAAI,EAAE,CAAC"}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
export { Icon, ICON_NAMES, type IconName, type IconProps } from './Icon';
|
|
2
|
+
export { Button, type ButtonProps, type ButtonVariant, type ButtonSize, } from './Button';
|
|
3
|
+
export { Badge, type BadgeProps, type BadgeTone, type BadgeSize } from './Badge';
|
|
4
|
+
export { Card, type CardProps } from './Card';
|
|
5
|
+
export { TejaMark, TejaLogo, type TejaMarkProps, type TejaLogoProps } from './Brand';
|
|
6
|
+
export { Field, type FieldProps } from './Field';
|
|
7
|
+
export { FieldShell, controlBoxStyle, hasFieldError, fieldErrorNode, type FieldShellProps, type FieldChromeProps, type TejaOption, } from './fieldShell';
|
|
8
|
+
export { TextInput, type TextInputProps } from './TextInput';
|
|
9
|
+
export { Textarea, type TextareaProps } from './Textarea';
|
|
10
|
+
export { Select, type SelectProps } from './Select';
|
|
11
|
+
export { Combobox, type ComboboxProps } from './Combobox';
|
|
12
|
+
export { MultiSelect, type MultiSelectProps } from './MultiSelect';
|
|
13
|
+
export { DateInput, parseDate, formatDate, isValidDateString, type DateInputProps, } from './DateInput';
|
|
14
|
+
export { CountryPicker, type CountryPickerProps } from './CountryPicker';
|
|
15
|
+
export { StatePicker, type StatePickerProps } from './StatePicker';
|
|
16
|
+
export { TimeZonePicker, type TimeZonePickerProps } from './TimeZonePicker';
|
|
17
|
+
export { Alert, type AlertProps, type AlertTone } from './Alert';
|
|
18
|
+
export { FieldHint, type FieldHintProps, type FieldHintTone } from './FieldHint';
|
|
19
|
+
export { Stepper, type StepperProps, type StepperStep } from './Stepper';
|
|
20
|
+
export { AISparkle, type AISparkleProps } from './AISparkle';
|
|
21
|
+
export { Checkbox, type CheckboxProps } from './Checkbox';
|
|
22
|
+
export { RoleTile, type RoleTileProps } from './RoleTile';
|
|
23
|
+
export { TOTP6Cells, type TOTP6CellsProps, type TOTP6CellsState, } from './TOTP6Cells';
|
|
24
|
+
export { LangSwitcher, DEFAULT_LANG_OPTIONS, type LangSwitcherProps, type LangOption, } from './LangSwitcher';
|
|
25
|
+
export { Avatar, type AvatarProps } from './Avatar';
|
|
26
|
+
export { Stat, type StatProps, type StatTone } from './Stat';
|
|
27
|
+
export { SegmentedControl, type SegmentedControlProps, type SegmentedControlItem, } from './SegmentedControl';
|
|
28
|
+
export { Pagination, type PaginationProps } from './Pagination';
|
|
29
|
+
export { ToolbarSearch, type ToolbarSearchProps } from './ToolbarSearch';
|
|
30
|
+
export { AIChip, type AIChipProps } from './AIChip';
|
|
31
|
+
export { SidebarNavItem, type SidebarNavItemProps, type NavItem, type NavGroup, type NavBadgeTone, } from './SidebarNavItem';
|
|
32
|
+
export { Sidebar, type SidebarProps, type SidebarWorkspace, type SidebarUser, } from './Sidebar';
|
|
33
|
+
export { TopBar, type TopBarProps, type BreadcrumbItem, type BreadcrumbEntry } from './TopBar';
|
|
34
|
+
export { AppShell, type AppShellProps } from './AppShell';
|
|
35
|
+
export { Drawer as DrawerPrimitive, DrawerHeader, DrawerFooter, type DrawerProps as DrawerPrimitiveProps, type DrawerHeaderProps, type DrawerFooterProps, type DrawerWidth, } from './Drawer';
|
|
36
|
+
export { Modal as ModalPrimitive, ModalHeader, ModalFooter, type ModalProps as ModalPrimitiveProps, type ModalHeaderProps, type ModalFooterProps, type ModalVariant, } from './Modal';
|
|
37
|
+
export { Modal, Drawer, type CompatModalProps as ModalProps, type CompatDrawerProps as DrawerProps, type CompatSize, } from './Compat';
|
|
38
|
+
export { Tabs, type TabsProps, type TabsItem, type TabsDensity } from './Tabs';
|
|
39
|
+
export { Divider, type DividerProps } from './Divider';
|
|
40
|
+
export { PageHeader, type PageHeaderProps } from './PageHeader';
|
|
41
|
+
export { FactList, type FactListProps, type FactListItem } from './FactList';
|
|
42
|
+
export { Tag, type TagProps } from './Tag';
|
|
43
|
+
export { SectionLabel, type SectionLabelProps, type SectionLabelTone, } from './SectionLabel';
|
|
44
|
+
export { Switch, type SwitchProps, type SwitchSize } from './Switch';
|
|
45
|
+
export { IconButton, type IconButtonProps, type IconButtonSize, type IconButtonTone, } from './IconButton';
|
|
46
|
+
export { KV, type KVProps, type KVLayout, type KVTone } from './KV';
|
|
47
|
+
export { MiniStat, type MiniStatProps, type MiniStatTone, type MiniStatSize, } from './MiniStat';
|
|
48
|
+
export { LabelGroup, type LabelGroupProps } from './LabelGroup';
|
|
49
|
+
export { PersonRow, type PersonRowProps } from './PersonRow';
|
|
50
|
+
export { SettingRow, type SettingRowProps, type SettingRowTone, } from './SettingRow';
|
|
51
|
+
export { Chip, type ChipProps, type ChipTone } from './Chip';
|
|
52
|
+
export { ViewToggle, type ViewToggleProps, type ViewToggleItem, } from './ViewToggle';
|
|
53
|
+
export { TimelineRow, type TimelineRowProps } from './TimelineRow';
|
|
54
|
+
export { AIBadge, type AIBadgeProps, type AIBadgeTone } from './AIBadge';
|
|
55
|
+
export { AIComposeButton, type AIComposeButtonProps, type AIComposeButtonSize, } from './AIComposeButton';
|
|
56
|
+
export { AICard, type AICardProps } from './AICard';
|
|
57
|
+
export { AISectionHeader, type AISectionHeaderProps } from './AISectionHeader';
|
|
58
|
+
export { AIWorking, type AIWorkingProps } from './AIWorking';
|
|
59
|
+
export { AIGhostText, type AIGhostTextProps } from './AIGhostText';
|
|
60
|
+
export { AskTeja, type AskTejaProps } from './AskTeja';
|
|
61
|
+
export { ensureAIStyles } from './aiStyles';
|
|
62
|
+
export { Spinner, ensureSpinnerStyles, type SpinnerProps, type SpinnerSize, type SpinnerColor, } from './Spinner';
|
|
63
|
+
export { Skeleton, ensureSkeletonStyles, type SkeletonProps, type SkeletonVariant, } from './Skeleton';
|
|
64
|
+
export { EmptyState, type EmptyStateProps, type EmptyStateType, } from './EmptyState';
|
|
65
|
+
export { ConfirmDialog, type ConfirmDialogProps, type ConfirmDialogVariant, } from './ConfirmDialog';
|
|
66
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/theme/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,KAAK,QAAQ,EAAE,KAAK,SAAS,EAAE,MAAM,QAAQ,CAAC;AACzE,OAAO,EACL,MAAM,EACN,KAAK,WAAW,EAChB,KAAK,aAAa,EAClB,KAAK,UAAU,GAChB,MAAM,UAAU,CAAC;AAClB,OAAO,EAAE,KAAK,EAAE,KAAK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Ac,EAAE,MAAM,YAAY,CAAC;AAG5C,OAAO,EACL,OAAO,EACP,mBAAmB,EACnB,KAAK,YAAY,EACjB,KAAK,WAAW,EAChB,KAAK,YAAY,GAClB,MAAM,WAAW,CAAC;AACnB,OAAO,EACL,QAAQ,EACR,oBAAoB,EACpB,KAAK,aAAa,EAClB,KAAK,eAAe,GACrB,MAAM,YAAY,CAAC;AACpB,OAAO,EACL,UAAU,EACV,KAAK,eAAe,EACpB,KAAK,cAAc,GACpB,MAAM,cAAc,CAAC;AACtB,OAAO,EACL,aAAa,EACb,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,GAC1B,MAAM,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { TejaOption } from '../components/fieldShell';
|
|
2
|
+
/**
|
|
3
|
+
* Curated ISO-3166-1 alpha-2 country list (common markets first). Not
|
|
4
|
+
* exhaustive — pickers accept an `items` override for full/tenant-restricted
|
|
5
|
+
* lists. Ported from `design/components/inputs.jsx`.
|
|
6
|
+
*/
|
|
7
|
+
export declare const COUNTRY_ITEMS: TejaOption[];
|
|
8
|
+
//# sourceMappingURL=countries.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"countries.d.ts","sourceRoot":"","sources":["../../../src/theme/data/countries.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAE3D;;;;GAIG;AACH,eAAO,MAAM,aAAa,EAAE,UAAU,EAarC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/theme/data/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAC;AACxE,OAAO,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { TejaOption } from '../components/fieldShell';
|
|
2
|
+
/** US states + DC. */
|
|
3
|
+
export declare const US_STATES: TejaOption[];
|
|
4
|
+
/** Canadian provinces + territories. */
|
|
5
|
+
export declare const CA_PROVINCES: TejaOption[];
|
|
6
|
+
/** Regions keyed by ISO country code. Countries without sub-regions are absent. */
|
|
7
|
+
export declare const REGIONS_BY_COUNTRY: Record<string, TejaOption[]>;
|
|
8
|
+
//# sourceMappingURL=regions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"regions.d.ts","sourceRoot":"","sources":["../../../src/theme/data/regions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAK3D,sBAAsB;AACtB,eAAO,MAAM,SAAS,EAAE,UAAU,EAWhC,CAAC;AAEH,wCAAwC;AACxC,eAAO,MAAM,YAAY,EAAE,UAAU,EAInC,CAAC;AAEH,mFAAmF;AACnF,eAAO,MAAM,kBAAkB,EAAE,MAAM,CAAC,MAAM,EAAE,UAAU,EAAE,CAG3D,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { TejaOption } from '../components/fieldShell';
|
|
2
|
+
/**
|
|
3
|
+
* Curated IANA time-zone list (US-first, common international). `sub` shows the
|
|
4
|
+
* standard-time UTC offset. Not exhaustive — pickers accept an `items`
|
|
5
|
+
* override. Ported from `design/components/inputs.jsx`.
|
|
6
|
+
*/
|
|
7
|
+
export declare const TIMEZONE_ITEMS: TejaOption[];
|
|
8
|
+
//# sourceMappingURL=timezones.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"timezones.d.ts","sourceRoot":"","sources":["../../../src/theme/data/timezones.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAE3D;;;;GAIG;AACH,eAAO,MAAM,cAAc,EAAE,UAAU,EAatC,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Font loading helper — appends Google Fonts <link> tags into <head>.
|
|
3
|
+
*
|
|
4
|
+
* Per project decision: Google Fonts CDN ship-as-is (no self-host yet).
|
|
5
|
+
* Idempotent: safe to call from multiple entry points; only the first call
|
|
6
|
+
* actually injects.
|
|
7
|
+
*/
|
|
8
|
+
export declare function loadTejaFonts(): void;
|
|
9
|
+
//# sourceMappingURL=fonts.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fonts.d.ts","sourceRoot":"","sources":["../../src/theme/fonts.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAoBH,wBAAgB,aAAa,IAAI,IAAI,CAmBpC"}
|