@mezzanine-ui/core
Advanced tools
Comparing version 0.12.2 to 0.12.3
import { Size } from '@mezzanine-ui/system/size'; | ||
export type InputCheckSize = Size; | ||
export declare type InputCheckSize = Size; | ||
export declare const inputCheckPrefix = "mzn-input-check"; | ||
@@ -4,0 +4,0 @@ export declare const inputCheckClasses: { |
import { Orientation } from '@mezzanine-ui/system/orientation'; | ||
export type InputCheckGroupOrientation = Orientation; | ||
export declare type InputCheckGroupOrientation = Orientation; | ||
export declare const inputCheckGroupPrefix: "mzn-input-check-group"; | ||
@@ -4,0 +4,0 @@ export declare const inputCheckGroupClasses: { |
import { Severity } from '@mezzanine-ui/system/severity'; | ||
export type AlertSeverity = Severity; | ||
export declare type AlertSeverity = Severity; | ||
export declare const alertPrefix = "mzn-alert"; | ||
@@ -4,0 +4,0 @@ export declare const alertIcons: { |
import { Orientation } from '@mezzanine-ui/system/orientation'; | ||
export declare const appBarPrefix = "mzn-app-bar"; | ||
export type AppBarOrientation = Orientation; | ||
export declare type AppBarOrientation = Orientation; | ||
export declare const appBarClasses: { | ||
@@ -5,0 +5,0 @@ readonly host: "mzn-app-bar"; |
import { MainColor } from '@mezzanine-ui/system/palette'; | ||
import { Size } from '@mezzanine-ui/system/size'; | ||
export type ButtonColor = Extract<MainColor, 'primary' | 'secondary'>; | ||
export type ButtonSize = Size; | ||
export type ButtonVariant = 'contained' | 'outlined' | 'text'; | ||
export declare type ButtonColor = Extract<MainColor, 'primary' | 'secondary'>; | ||
export declare type ButtonSize = Size; | ||
export declare type ButtonVariant = 'contained' | 'outlined' | 'text'; | ||
export declare const buttonPrefix = "mzn-button"; | ||
@@ -7,0 +7,0 @@ export declare const buttonClasses: { |
@@ -5,4 +5,4 @@ import { CssVarInterpolations } from '@mezzanine-ui/system/css'; | ||
import { ButtonSize } from './button'; | ||
export type ButtonGroupOrientation = Orientation; | ||
export type ButtonGroupSpacing = SpacingLevel; | ||
export declare type ButtonGroupOrientation = Orientation; | ||
export declare type ButtonGroupSpacing = SpacingLevel; | ||
export interface ButtonGroupCssVars { | ||
@@ -9,0 +9,0 @@ size: ButtonSize; |
/** Types */ | ||
export type CalendarMode = 'year' | 'month' | 'week' | 'day'; | ||
export declare type CalendarMode = 'year' | 'month' | 'week' | 'day'; | ||
/** ISO 8601 text */ | ||
export type DateType = string; | ||
export declare type DateType = string; | ||
/** Classes */ | ||
@@ -6,0 +6,0 @@ export declare const calendarPrefix = "mzn-calendar"; |
import { DateType } from './calendar'; | ||
/** Method Types */ | ||
export type CalendarMethods<TDateType = DateType> = { | ||
export declare type CalendarMethods<TDateType = DateType> = { | ||
/** Get date infos */ | ||
@@ -5,0 +5,0 @@ getNow: () => TDateType; |
import { InputCheckGroupOrientation, InputCheckSize } from '../_internal/input-check'; | ||
export type CheckboxSize = InputCheckSize; | ||
export type CheckboxGroupOrientation = InputCheckGroupOrientation; | ||
export declare type CheckboxSize = InputCheckSize; | ||
export declare type CheckboxGroupOrientation = InputCheckGroupOrientation; | ||
export interface CheckboxGroupOption { | ||
@@ -5,0 +5,0 @@ disabled?: boolean; |
export declare const drawerPrefix = "mzn-drawer"; | ||
export type DrawerPlacement = 'top' | 'right' | 'bottom' | 'left'; | ||
export declare type DrawerPlacement = 'top' | 'right' | 'bottom' | 'left'; | ||
export declare const drawerClasses: { | ||
@@ -4,0 +4,0 @@ host: string; |
import { CssVarInterpolations } from '@mezzanine-ui/system/css'; | ||
import { MainColor } from '@mezzanine-ui/system/palette'; | ||
export type IconColor = 'inherit' | MainColor | 'disabled'; | ||
export declare type IconColor = 'inherit' | MainColor | 'disabled'; | ||
export interface IconCssVars { | ||
@@ -5,0 +5,0 @@ color?: IconColor; |
import { Size } from '@mezzanine-ui/system/size'; | ||
export type InputSize = Size; | ||
export declare type InputSize = Size; | ||
export declare const inputPrefix = "mzn-input"; | ||
@@ -4,0 +4,0 @@ export declare const inputClasses: { |
import { CssVarInterpolations } from '@mezzanine-ui/system/css'; | ||
import { Size } from '@mezzanine-ui/system/size'; | ||
export type MenuSize = Size; | ||
export declare type MenuSize = Size; | ||
export interface MenuCssVars { | ||
@@ -5,0 +5,0 @@ itemsInView: number; |
import { SeverityWithInfo } from '@mezzanine-ui/system/severity'; | ||
export type MessageSeverity = SeverityWithInfo; | ||
export declare type MessageSeverity = SeverityWithInfo; | ||
export declare const messagePrefix = "mzn-message"; | ||
@@ -4,0 +4,0 @@ export declare const messageIcons: { |
import { SeverityWithInfo } from '@mezzanine-ui/system/severity'; | ||
import { Size } from '@mezzanine-ui/system/size'; | ||
export type ModalSeverity = SeverityWithInfo; | ||
export type ModalSize = Size | 'extraLarge'; | ||
export declare type ModalSeverity = SeverityWithInfo; | ||
export declare type ModalSize = Size | 'extraLarge'; | ||
export declare const modalPrefix = "mzn-modal"; | ||
@@ -6,0 +6,0 @@ export declare const modalSeverityIcons: { |
import { Orientation } from '@mezzanine-ui/system/orientation'; | ||
export declare const navigationPrefix = "mzn-navigation"; | ||
export type NavigationOrientation = Orientation; | ||
export declare type NavigationOrientation = Orientation; | ||
export declare const navigationClasses: { | ||
@@ -5,0 +5,0 @@ readonly host: "mzn-navigation"; |
import { SeverityWithInfo } from '@mezzanine-ui/system/severity'; | ||
export type NotificationSeverity = SeverityWithInfo; | ||
export declare type NotificationSeverity = SeverityWithInfo; | ||
export declare const notificationPrefix = "mzn-notif"; | ||
@@ -4,0 +4,0 @@ export declare const notificationRootPrefix: string; |
{ | ||
"name": "@mezzanine-ui/core", | ||
"version": "0.12.2", | ||
"version": "0.12.3", | ||
"description": "Core for mezzanine-ui", | ||
@@ -39,4 +39,4 @@ "author": "Mezzanine", | ||
"dependencies": { | ||
"@mezzanine-ui/icons": "^0.12.2", | ||
"@mezzanine-ui/system": "^0.12.2", | ||
"@mezzanine-ui/icons": "^0.12.3", | ||
"@mezzanine-ui/system": "^0.12.3", | ||
"lodash": "^4.17.21", | ||
@@ -43,0 +43,0 @@ "tslib": "^2.4.1" |
export declare const paginationItemPrefix = "mzn-pagination-item"; | ||
export type PaginationItemType = 'page' | 'ellipsis' | 'previous' | 'next' | string; | ||
export declare type PaginationItemType = 'page' | 'ellipsis' | 'previous' | 'next' | string; | ||
export declare const paginationItemClasses: { | ||
@@ -4,0 +4,0 @@ readonly host: "mzn-pagination-item"; |
@@ -9,3 +9,3 @@ import { DateType } from '../calendar'; | ||
/** Types */ | ||
export type RangePickerValue<T = DateType> = undefined[] | [T, T]; | ||
export type RangePickerPickingValue<T = DateType> = RangePickerValue | [T] | [undefined, T] | [T, undefined]; | ||
export declare type RangePickerValue<T = DateType> = undefined[] | [T, T]; | ||
export declare type RangePickerPickingValue<T = DateType> = RangePickerValue | [T] | [undefined, T] | [T, undefined]; |
@@ -17,3 +17,3 @@ import { Size } from '@mezzanine-ui/system/size'; | ||
}; | ||
export type ProgressType = 'line' | 'circle'; | ||
export declare type ProgressType = 'line' | 'circle'; | ||
export declare enum ProgressTypes { | ||
@@ -23,3 +23,3 @@ line = "line", | ||
} | ||
export type ProgressStatus = 'normal' | 'success' | 'error'; | ||
export declare type ProgressStatus = 'normal' | 'success' | 'error'; | ||
export declare enum ProgressStatuses { | ||
@@ -26,0 +26,0 @@ normal = "normal", |
import { InputCheckGroupOrientation, InputCheckSize } from '../_internal/input-check'; | ||
export type RadioSize = InputCheckSize; | ||
export declare type RadioSize = InputCheckSize; | ||
export interface RadioGroupOption { | ||
@@ -8,3 +8,3 @@ disabled?: boolean; | ||
} | ||
export type RadioGroupOrientation = InputCheckGroupOrientation; | ||
export declare type RadioGroupOrientation = InputCheckGroupOrientation; | ||
export declare const radioPrefix = "mzn-radio"; | ||
@@ -11,0 +11,0 @@ export declare const radioClasses: { |
import { Size } from '@mezzanine-ui/system/size'; | ||
export type SelectInputSize = Size; | ||
export type SelectMode = 'single' | 'multiple'; | ||
export declare type SelectInputSize = Size; | ||
export declare type SelectMode = 'single' | 'multiple'; | ||
export declare const selectPrefix = "mzn-select"; | ||
@@ -5,0 +5,0 @@ export declare const treeSelectPrefix = "mzn-tree-select"; |
import { CssVarInterpolations } from '@mezzanine-ui/system/css'; | ||
/** Types */ | ||
export type SingleSliderValue = number; | ||
export type RangeSliderValue = [number, number]; | ||
export type SliderValue = SingleSliderValue | RangeSliderValue; | ||
export type SliderRect = Pick<DOMRect, 'left' | 'width'>; | ||
export declare type SingleSliderValue = number; | ||
export declare type RangeSliderValue = [number, number]; | ||
export declare type SliderValue = SingleSliderValue | RangeSliderValue; | ||
export declare type SliderRect = Pick<DOMRect, 'left' | 'width'>; | ||
/** Classes */ | ||
@@ -8,0 +8,0 @@ export declare const sliderPrefix = "mzn-slider"; |
import type { IconDefinition } from '@mezzanine-ui/icons'; | ||
import { Size } from '@mezzanine-ui/system/size'; | ||
export type SwitchSize = Extract<Size, 'medium' | 'large'>; | ||
export declare type SwitchSize = Extract<Size, 'medium' | 'large'>; | ||
export declare const switchPrefix = "mzn-switch"; | ||
@@ -5,0 +5,0 @@ export declare const SwitchSpinnerIcon: IconDefinition; |
@@ -29,3 +29,3 @@ export declare const tablePrefix = "mzn-table"; | ||
}; | ||
export type TableRecord<T> = Record<string, T>; | ||
export declare type TableRecord<T> = Record<string, T>; | ||
export interface TableDataSourceWithKey extends TableRecord<unknown> { | ||
@@ -37,4 +37,4 @@ key: string | number; | ||
} | ||
export type TableDataSource = TableDataSourceWithKey | TableDataSourceWithID; | ||
export type TableColumn<SourceType> = { | ||
export declare type TableDataSource = TableDataSourceWithKey | TableDataSourceWithID; | ||
export declare type TableColumn<SourceType> = { | ||
dataIndex: string; | ||
@@ -58,4 +58,4 @@ title?: string; | ||
}; | ||
export type ExpandedTableColumn = Omit<TableColumn<TableRecord<unknown>>, 'title' | 'renderTitle' | 'align' | 'headerClassName' | 'width' | 'sorter' | 'onSorted' | 'editable' | 'setCellProps'>; | ||
export type TableFetchMore = { | ||
export declare type ExpandedTableColumn = Omit<TableColumn<TableRecord<unknown>>, 'title' | 'renderTitle' | 'align' | 'headerClassName' | 'width' | 'sorter' | 'onSorted' | 'editable' | 'setCellProps'>; | ||
export declare type TableFetchMore = { | ||
callback?(): any; | ||
@@ -78,3 +78,3 @@ isReachEnd?: boolean; | ||
/** === Feature Expandable */ | ||
export type ExpandRowBySources = { | ||
export declare type ExpandRowBySources = { | ||
dataSource: TableDataSource[]; | ||
@@ -81,0 +81,0 @@ columns?: ExpandedTableColumn[]; |
import { Size } from '@mezzanine-ui/system/size'; | ||
export type TagSize = Size; | ||
export declare type TagSize = Size; | ||
export declare const tagPrefix = "mzn-tag"; | ||
@@ -4,0 +4,0 @@ export declare const tagClasses: { |
import { Size } from '@mezzanine-ui/system/size'; | ||
export type TextFieldSize = Size; | ||
export declare type TextFieldSize = Size; | ||
export declare const textFieldPrefix = "mzn-text-field"; | ||
@@ -4,0 +4,0 @@ export declare const textFieldClasses: { |
import { Size } from '@mezzanine-ui/system/size'; | ||
export type TextareaSize = Size; | ||
export declare type TextareaSize = Size; | ||
export declare const textareaPrefix = "mzn-textarea"; | ||
@@ -4,0 +4,0 @@ export declare const textareaClasses: { |
/** Types */ | ||
export type TimePanelUnitValue = number; | ||
export type TimePanelUnit = { | ||
export declare type TimePanelUnitValue = number; | ||
export declare type TimePanelUnit = { | ||
value: TimePanelUnitValue; | ||
label: string; | ||
}; | ||
export type TimePanelMode = 'hour' | 'minute' | 'second'; | ||
export declare type TimePanelMode = 'hour' | 'minute' | 'second'; | ||
/** Classes */ | ||
@@ -9,0 +9,0 @@ export declare const timePanelPrefix = "mzn-time-panel"; |
@@ -1,4 +0,4 @@ | ||
export type TreeSelectMethod = 'toggle' | 'target'; | ||
export type TreeSize = 'small' | 'medium' | 'large'; | ||
export type TreeNodeValue = string | number; | ||
export declare type TreeSelectMethod = 'toggle' | 'target'; | ||
export declare type TreeSize = 'small' | 'medium' | 'large'; | ||
export declare type TreeNodeValue = string | number; | ||
export interface TreeState { | ||
@@ -9,3 +9,3 @@ checkable?: boolean; | ||
} | ||
export type TreeNodeState = { | ||
export declare type TreeNodeState = { | ||
disabled?: boolean; | ||
@@ -12,0 +12,0 @@ expanded?: boolean; |
import { CssVarInterpolations } from '@mezzanine-ui/system/css'; | ||
import { GradualMainColor, MainColor, TextColor } from '@mezzanine-ui/system/palette'; | ||
import { TypographyVariant } from '@mezzanine-ui/system/typography'; | ||
export type TypographyAlign = 'left' | 'center' | 'right' | 'justify'; | ||
export type TypographyColor = 'inherit' | MainColor | GradualMainColor | TextColor; | ||
type TypographyDisplayBase = 'block' | 'flex'; | ||
export type TypographyDisplay = TypographyDisplayBase | `inline-${TypographyDisplayBase}`; | ||
export declare type TypographyAlign = 'left' | 'center' | 'right' | 'justify'; | ||
export declare type TypographyColor = 'inherit' | MainColor | GradualMainColor | TextColor; | ||
declare type TypographyDisplayBase = 'block' | 'flex'; | ||
export declare type TypographyDisplay = TypographyDisplayBase | `inline-${TypographyDisplayBase}`; | ||
export interface TypographyCssVars { | ||
@@ -9,0 +9,0 @@ align?: TypographyAlign; |
import { CssVarInterpolations } from '@mezzanine-ui/system/css'; | ||
import { Size } from '@mezzanine-ui/system/size'; | ||
export type UploadResultSize = Size; | ||
export type UploadResultStatus = 'done' | 'error' | 'loading'; | ||
export declare type UploadResultSize = Size; | ||
export declare type UploadResultStatus = 'done' | 'error' | 'loading'; | ||
export interface UploadResultCssVars { | ||
@@ -6,0 +6,0 @@ percentage?: number; |
202096
Updated@mezzanine-ui/icons@^0.12.3
Updated@mezzanine-ui/system@^0.12.3