@asymmetric-effort/specifyjs 0.1.0 → 0.1.3
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/specifyjs-build.cjs.js +2 -0
- package/dist/specifyjs-build.cjs.js.map +1 -0
- package/dist/specifyjs-build.d.ts +43 -0
- package/dist/specifyjs-build.esm.js +2 -0
- package/dist/specifyjs-build.esm.js.map +1 -0
- package/dist/specifyjs-components.cjs.js +1 -1
- package/dist/specifyjs-components.cjs.js.map +1 -1
- package/dist/specifyjs-components.d.ts +73 -5
- package/dist/specifyjs-components.esm.js +1 -1
- package/dist/specifyjs-components.esm.js.map +1 -1
- package/dist/specifyjs-dom.cjs.js +1 -1
- package/dist/specifyjs-dom.cjs.js.map +1 -1
- package/dist/specifyjs-dom.esm.js +1 -1
- package/dist/specifyjs-dom.esm.js.map +1 -1
- package/package.json +6 -1
|
@@ -1330,13 +1330,13 @@ interface ToolbarItem {
|
|
|
1330
1330
|
label?: string;
|
|
1331
1331
|
/** Icon text (emoji or character) */
|
|
1332
1332
|
icon?: string;
|
|
1333
|
-
/** Item type */
|
|
1334
|
-
type: 'button' | 'separator' | 'dropdown' | 'spacer';
|
|
1333
|
+
/** Item type — 'button' has momentary press, 'toggle' stays pressed until clicked again */
|
|
1334
|
+
type: 'button' | 'toggle' | 'separator' | 'dropdown' | 'spacer';
|
|
1335
1335
|
/** Click handler */
|
|
1336
1336
|
onClick?: () => void;
|
|
1337
1337
|
/** Whether the item is disabled */
|
|
1338
1338
|
disabled?: boolean;
|
|
1339
|
-
/** Whether the item is in an active/pressed state */
|
|
1339
|
+
/** Whether the item is in an active/pressed state (used by toggle) */
|
|
1340
1340
|
active?: boolean;
|
|
1341
1341
|
}
|
|
1342
1342
|
type ToolbarSize = 'sm' | 'md' | 'lg';
|
|
@@ -2090,5 +2090,73 @@ interface VizWrapperProps {
|
|
|
2090
2090
|
}
|
|
2091
2091
|
declare function VizWrapper(props: VizWrapperProps): specifyjs_shared_types.SpecElement<specifyjs_shared_types.Props>;
|
|
2092
2092
|
|
|
2093
|
-
|
|
2094
|
-
|
|
2093
|
+
interface GoogleAnalyticsProps {
|
|
2094
|
+
/** Google Analytics measurement ID (e.g., 'G-XXXXXXXXXX') */
|
|
2095
|
+
measurementId: string;
|
|
2096
|
+
/** Disable tracking (useful for development/testing) */
|
|
2097
|
+
disabled?: boolean;
|
|
2098
|
+
/** Enable debug mode (logs events to console) */
|
|
2099
|
+
debug?: boolean;
|
|
2100
|
+
/** Anonymize IP addresses */
|
|
2101
|
+
anonymizeIp?: boolean;
|
|
2102
|
+
/** Custom config parameters passed to gtag('config', ...) */
|
|
2103
|
+
config?: Record<string, unknown>;
|
|
2104
|
+
}
|
|
2105
|
+
declare function GoogleAnalytics(props: GoogleAnalyticsProps): null;
|
|
2106
|
+
|
|
2107
|
+
interface FooterProps {
|
|
2108
|
+
/** Content for the left section */
|
|
2109
|
+
left?: unknown;
|
|
2110
|
+
/** Content for the center section */
|
|
2111
|
+
center?: unknown;
|
|
2112
|
+
/** Content for the right section */
|
|
2113
|
+
right?: unknown;
|
|
2114
|
+
/** Border top style */
|
|
2115
|
+
borderTop?: string;
|
|
2116
|
+
/** Background color */
|
|
2117
|
+
background?: string;
|
|
2118
|
+
/** Text color */
|
|
2119
|
+
color?: string;
|
|
2120
|
+
/** Font size */
|
|
2121
|
+
fontSize?: string;
|
|
2122
|
+
/** Padding */
|
|
2123
|
+
padding?: string;
|
|
2124
|
+
/** Max width for inner container */
|
|
2125
|
+
maxWidth?: string;
|
|
2126
|
+
/** CSS className */
|
|
2127
|
+
className?: string;
|
|
2128
|
+
/** ARIA label for the footer landmark */
|
|
2129
|
+
ariaLabel?: string;
|
|
2130
|
+
}
|
|
2131
|
+
declare function Footer(props: FooterProps): specifyjs_shared_types.SpecElement<specifyjs_shared_types.Props>;
|
|
2132
|
+
|
|
2133
|
+
interface UnityDesktopProps {
|
|
2134
|
+
/** Content rendered in the main desktop area */
|
|
2135
|
+
children?: unknown;
|
|
2136
|
+
/** Extra class name */
|
|
2137
|
+
className?: string;
|
|
2138
|
+
}
|
|
2139
|
+
declare function UnityDesktop(props: UnityDesktopProps): specifyjs_shared_types.SpecElement<specifyjs_shared_types.Props>;
|
|
2140
|
+
|
|
2141
|
+
interface WordProcessorProps {
|
|
2142
|
+
/** Document content rendered in the page area */
|
|
2143
|
+
content?: string;
|
|
2144
|
+
/** Extra class name */
|
|
2145
|
+
className?: string;
|
|
2146
|
+
}
|
|
2147
|
+
declare function WordProcessor(props: WordProcessorProps): specifyjs_shared_types.SpecElement<specifyjs_shared_types.Props>;
|
|
2148
|
+
|
|
2149
|
+
interface IDEProps {
|
|
2150
|
+
/** Extra class name */
|
|
2151
|
+
className?: string;
|
|
2152
|
+
}
|
|
2153
|
+
declare function IDE(props: IDEProps): specifyjs_shared_types.SpecElement<specifyjs_shared_types.Props>;
|
|
2154
|
+
|
|
2155
|
+
interface TradingDashboardProps {
|
|
2156
|
+
/** Extra class name */
|
|
2157
|
+
className?: string;
|
|
2158
|
+
}
|
|
2159
|
+
declare function TradingDashboard(props: TradingDashboardProps): specifyjs_shared_types.SpecElement<specifyjs_shared_types.Props>;
|
|
2160
|
+
|
|
2161
|
+
export { Accordion, Alert, AnalogClock, Avatar, Badge, BarGraph, Breadcrumb, Card, Carousel, CartesianGraph2D, Checkbox, ColorPicker, ColorWheel, ComplexGraph2D, ContextMenu, DataGrid, DatePicker, DigitalClock, Drawer, Dropdown, EmptyState, FileUpload, FlexContainer, FlexItem, Footer, FormFieldWrapper, GoogleAnalytics, Grid, GridItem, HypercubeGraph, IDE, Image, LineGraph, ListView, Menubar, Modal, MultilineField, NavWrapper, NumberSpinner, Pagination, Panel, PieGraph, PolarGraph2D, Popover, ProgressBar, RadioGroup, ScrollContainer, Select, Sidebar, Skeleton, Slider, Spinner, Splitter, Stepper, Tabs, Tag, TextEditor, TextField, TimePicker, ToastContainer, Toggle, Toolbar, Tooltip, TradingDashboard, TreeNav, TreeNode, UnityDesktop, VideoPlayer, VirtualScroll, VizWrapper, WordProcessor, buildInputStyle, buildNavItemStyle, buildRotationMatrix, computeSlices, createToaster, describeArc, generateEdges, generateHypercube, generatePalette, generateVertices, numRotationAngles, projectTo2D, transformVec, useBarGraphScales, useHover, useHypercube, useLineGraphScales, useToast };
|
|
2162
|
+
export type { AccordionContentStyle, AccordionHeaderStyle, AccordionProps, AccordionSection, AlertProps, AnalogClockProps, AvatarProps, BadgeProps, BarDatum, BarGraphProps, BarGraphScales, BreadcrumbItem, BreadcrumbProps, BreadcrumbSize, CardProps, CarouselProps, CartesianGraph2DProps, CheckboxProps, ColorPickerProps, ColorWheelProps, ComplexGraph2DProps, ComplexPointInfo, ComputedSlice, ContextMenuItem, ContextMenuProps, DataGridColumn, DataGridProps, DatePickerProps, DigitalClockProps, DrawerPosition, DrawerProps, DropdownItem, DropdownProps, Edge, EmptyStateProps, FileUploadProps, FlexContainerProps, FlexItemProps, FooterProps, FormFieldWrapperProps, FormFieldWrapperStyle, GoogleAnalyticsProps, GridBreakpoint, GridItemProps, GridProps, HypercubeData, HypercubeGraphProps, IDEProps, ImageProps, InputBaseStyle, LegendItem, LineGraphProps, LineSeries, ListViewProps, MenuDefinition, MenuItem, MenubarProps, ModalProps, ModalSize, MultilineFieldProps, NavItemStyle, NavOrientation, NavWrapperProps, NavWrapperStyle, NumberSpinnerProps, PaginationProps, PanelProps, PieGraphProps, PieSliceDatum, Point, PointEvent, PolarGraph2DProps, PolarPointInfo, PopoverPlacement, PopoverProps, Position, ProgressBarProps, RadioGroupProps, RadioOption, ScrollContainerProps, SelectOption, SelectProps, SidebarItem, SidebarProps, SkeletonProps, SliderMark, SliderProps, SpinnerProps, SplitterProps, StackedBarDatum, StepItem, StepperOrientation, StepperProps, StepperVariant, TabDefinition, TabsProps, TagProps, TextEditorProps, TextFieldProps, TimePickerProps, ToastAction, ToastItem, ToastOptions, ToastPosition, ToastType, Toaster, ToasterConfig, ToggleProps, ToolbarButton, ToolbarItem, ToolbarProps, ToolbarSize, ToolbarVariant, TooltipPlacement, TooltipProps, TradingDashboardProps, TreeNavProps, TreeNodeData, UnityDesktopProps, UseHypercubeOptions, Vec, Vertex, VideoPlayerProps, VirtualScrollProps, VizWrapperProps, WordProcessorProps };
|