@mezzanine-ui/core 0.13.9 → 0.13.10

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.
@@ -1,5 +1,5 @@
1
1
  import { Size } from '@mezzanine-ui/system/size';
2
- export type InputCheckSize = Size;
2
+ export declare type InputCheckSize = Size;
3
3
  export declare const inputCheckPrefix = "mzn-input-check";
4
4
  export declare const inputCheckClasses: {
5
5
  readonly host: "mzn-input-check";
@@ -1,5 +1,5 @@
1
1
  import { Orientation } from '@mezzanine-ui/system/orientation';
2
- export type InputCheckGroupOrientation = Orientation;
2
+ export declare type InputCheckGroupOrientation = Orientation;
3
3
  export declare const inputCheckGroupPrefix: "mzn-input-check-group";
4
4
  export declare const inputCheckGroupClasses: {
5
5
  readonly host: "mzn-input-check-group";
package/alert/alert.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { Severity } from '@mezzanine-ui/system/severity';
2
- export type AlertSeverity = Severity;
2
+ export declare type AlertSeverity = Severity;
3
3
  export declare const alertPrefix = "mzn-alert";
4
4
  export declare const alertIcons: {
5
5
  readonly success: import("@mezzanine-ui/icons").IconDefinition;
@@ -1,6 +1,6 @@
1
1
  import { Orientation } from '@mezzanine-ui/system/orientation';
2
2
  export declare const appBarPrefix = "mzn-app-bar";
3
- export type AppBarOrientation = Orientation;
3
+ export declare type AppBarOrientation = Orientation;
4
4
  export declare const appBarClasses: {
5
5
  readonly host: "mzn-app-bar";
6
6
  readonly horizontal: "mzn-app-bar--horizontal";
@@ -1,8 +1,8 @@
1
1
  import { MainColor } from '@mezzanine-ui/system/palette';
2
2
  import { Size } from '@mezzanine-ui/system/size';
3
- export type ButtonColor = Extract<MainColor, 'primary' | 'secondary'>;
4
- export type ButtonSize = Size;
5
- export type ButtonVariant = 'contained' | 'outlined' | 'text';
3
+ export declare type ButtonColor = Extract<MainColor, 'primary' | 'secondary'>;
4
+ export declare type ButtonSize = Size;
5
+ export declare type ButtonVariant = 'contained' | 'outlined' | 'text';
6
6
  export declare const buttonPrefix = "mzn-button";
7
7
  export declare const buttonClasses: {
8
8
  host: string;
@@ -2,8 +2,8 @@ import { CssVarInterpolations } from '@mezzanine-ui/system/css';
2
2
  import { Orientation } from '@mezzanine-ui/system/orientation';
3
3
  import { SpacingLevel } from '@mezzanine-ui/system/spacing';
4
4
  import { ButtonSize } from './button';
5
- export type ButtonGroupOrientation = Orientation;
6
- export type ButtonGroupSpacing = SpacingLevel;
5
+ export declare type ButtonGroupOrientation = Orientation;
6
+ export declare type ButtonGroupSpacing = SpacingLevel;
7
7
  export interface ButtonGroupCssVars {
8
8
  size: ButtonSize;
9
9
  spacing?: ButtonGroupSpacing;
@@ -1,7 +1,7 @@
1
1
  /** Types */
2
- export type CalendarMode = 'year' | 'month' | 'week' | 'day';
2
+ export declare type CalendarMode = 'year' | 'month' | 'week' | 'day';
3
3
  /** ISO 8601 text */
4
- export type DateType = string;
4
+ export declare type DateType = string;
5
5
  /** Classes */
6
6
  export declare const calendarPrefix = "mzn-calendar";
7
7
  export declare const calendarBoardPrefix: string;
@@ -1,6 +1,6 @@
1
1
  import { DateType } from './calendar';
2
2
  /** Method Types */
3
- export type CalendarMethods<TDateType = DateType> = {
3
+ export declare type CalendarMethods<TDateType = DateType> = {
4
4
  /** Get date infos */
5
5
  getNow: () => TDateType;
6
6
  getSecond: (value: TDateType) => number;
@@ -1,6 +1,6 @@
1
1
  import { InputCheckGroupOrientation, InputCheckSize } from '../_internal/input-check';
2
- export type CheckboxSize = InputCheckSize;
3
- export type CheckboxGroupOrientation = InputCheckGroupOrientation;
2
+ export declare type CheckboxSize = InputCheckSize;
3
+ export declare type CheckboxGroupOrientation = InputCheckGroupOrientation;
4
4
  export interface CheckboxGroupOption {
5
5
  disabled?: boolean;
6
6
  label: string | number;
@@ -1,5 +1,5 @@
1
1
  export declare const drawerPrefix = "mzn-drawer";
2
- export type DrawerPlacement = 'top' | 'right' | 'bottom' | 'left';
2
+ export declare type DrawerPlacement = 'top' | 'right' | 'bottom' | 'left';
3
3
  export declare const drawerClasses: {
4
4
  host: string;
5
5
  overlay: string;
package/icon/icon.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { CssVarInterpolations } from '@mezzanine-ui/system/css';
2
2
  import { MainColor } from '@mezzanine-ui/system/palette';
3
- export type IconColor = 'inherit' | MainColor | 'disabled';
3
+ export declare type IconColor = 'inherit' | MainColor | 'disabled';
4
4
  export interface IconCssVars {
5
5
  color?: IconColor;
6
6
  size?: number;
package/input/input.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { Size } from '@mezzanine-ui/system/size';
2
- export type InputSize = Size;
2
+ export declare type InputSize = Size;
3
3
  export declare const inputPrefix = "mzn-input";
4
4
  export declare const inputClasses: {
5
5
  readonly host: "mzn-input";
package/menu/menu.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { CssVarInterpolations } from '@mezzanine-ui/system/css';
2
2
  import { Size } from '@mezzanine-ui/system/size';
3
- export type MenuSize = Size;
3
+ export declare type MenuSize = Size;
4
4
  export interface MenuCssVars {
5
5
  itemsInView: number;
6
6
  maxHeight?: number;
@@ -1,5 +1,5 @@
1
1
  import { SeverityWithInfo } from '@mezzanine-ui/system/severity';
2
- export type MessageSeverity = SeverityWithInfo;
2
+ export declare type MessageSeverity = SeverityWithInfo;
3
3
  export declare const messagePrefix = "mzn-message";
4
4
  export declare const messageIcons: {
5
5
  readonly success: import("@mezzanine-ui/icons").IconDefinition;
package/modal/modal.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { SeverityWithInfo } from '@mezzanine-ui/system/severity';
2
2
  import { Size } from '@mezzanine-ui/system/size';
3
- export type ModalSeverity = SeverityWithInfo;
4
- export type ModalSize = Size | 'extraLarge';
3
+ export declare type ModalSeverity = SeverityWithInfo;
4
+ export declare type ModalSize = Size | 'extraLarge';
5
5
  export declare const modalPrefix = "mzn-modal";
6
6
  export declare const modalSeverityIcons: {
7
7
  readonly success: import("@mezzanine-ui/icons").IconDefinition;
@@ -1,6 +1,6 @@
1
1
  import { Orientation } from '@mezzanine-ui/system/orientation';
2
2
  export declare const navigationPrefix = "mzn-navigation";
3
- export type NavigationOrientation = Orientation;
3
+ export declare type NavigationOrientation = Orientation;
4
4
  export declare const navigationClasses: {
5
5
  readonly host: "mzn-navigation";
6
6
  readonly horizontal: "mzn-navigation--horizontal";
@@ -1,5 +1,5 @@
1
1
  import { SeverityWithInfo } from '@mezzanine-ui/system/severity';
2
- export type NotificationSeverity = SeverityWithInfo;
2
+ export declare type NotificationSeverity = SeverityWithInfo;
3
3
  export declare const notificationPrefix = "mzn-notif";
4
4
  export declare const notificationRootPrefix: string;
5
5
  export declare const notificationIcons: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mezzanine-ui/core",
3
- "version": "0.13.9",
3
+ "version": "0.13.10",
4
4
  "description": "Core for mezzanine-ui",
5
5
  "author": "Mezzanine",
6
6
  "repository": {
@@ -40,8 +40,8 @@
40
40
  }
41
41
  },
42
42
  "dependencies": {
43
- "@mezzanine-ui/icons": "^0.13.9",
44
- "@mezzanine-ui/system": "^0.13.9",
43
+ "@mezzanine-ui/icons": "^0.13.10",
44
+ "@mezzanine-ui/system": "^0.13.10",
45
45
  "lodash": "^4.17.21",
46
46
  "tslib": "^2.4.1"
47
47
  },
@@ -1,5 +1,5 @@
1
1
  export declare const paginationItemPrefix = "mzn-pagination-item";
2
- export type PaginationItemType = 'page' | 'ellipsis' | 'previous' | 'next' | string;
2
+ export declare type PaginationItemType = 'page' | 'ellipsis' | 'previous' | 'next' | string;
3
3
  export declare const paginationItemClasses: {
4
4
  readonly host: "mzn-pagination-item";
5
5
  readonly button: "mzn-pagination-item__button";
@@ -6,5 +6,5 @@ export declare const pickerClasses: {
6
6
  readonly arrowIcon: "mzn-picker__arrow-icon";
7
7
  };
8
8
  /** Types */
9
- export type RangePickerValue<T = DateType> = undefined[] | [T, T];
10
- export type RangePickerPickingValue<T = DateType> = RangePickerValue | [T] | [undefined, T] | [T, undefined];
9
+ export declare type RangePickerValue<T = DateType> = undefined[] | [T, T];
10
+ export declare type RangePickerPickingValue<T = DateType> = RangePickerValue | [T] | [undefined, T] | [T, undefined];
@@ -14,12 +14,12 @@ export declare const progressClasses: {
14
14
  readonly success: "mzn-progress--success";
15
15
  readonly size: (size: Size) => string;
16
16
  };
17
- export type ProgressType = 'line' | 'circle';
17
+ export declare type ProgressType = 'line' | 'circle';
18
18
  export declare enum ProgressTypes {
19
19
  line = "line",
20
20
  circle = "circle"
21
21
  }
22
- export type ProgressStatus = 'normal' | 'success' | 'error';
22
+ export declare type ProgressStatus = 'normal' | 'success' | 'error';
23
23
  export declare enum ProgressStatuses {
24
24
  normal = "normal",
25
25
  success = "success",
package/radio/radio.d.ts CHANGED
@@ -1,11 +1,11 @@
1
1
  import { InputCheckGroupOrientation, InputCheckSize } from '../_internal/input-check';
2
- export type RadioSize = InputCheckSize;
2
+ export declare type RadioSize = InputCheckSize;
3
3
  export interface RadioGroupOption {
4
4
  disabled?: boolean;
5
5
  label: string | number;
6
6
  value: string;
7
7
  }
8
- export type RadioGroupOrientation = InputCheckGroupOrientation;
8
+ export declare type RadioGroupOrientation = InputCheckGroupOrientation;
9
9
  export declare const radioPrefix = "mzn-radio";
10
10
  export declare const radioClasses: {
11
11
  readonly host: "mzn-radio";
@@ -1,6 +1,6 @@
1
1
  import { Size } from '@mezzanine-ui/system/size';
2
- export type SelectInputSize = Size;
3
- export type SelectMode = 'single' | 'multiple';
2
+ export declare type SelectInputSize = Size;
3
+ export declare type SelectMode = 'single' | 'multiple';
4
4
  export declare const selectPrefix = "mzn-select";
5
5
  export declare const treeSelectPrefix = "mzn-tree-select";
6
6
  export declare const selectTriggerPrefix: string;
@@ -1,9 +1,9 @@
1
1
  import { CssVarInterpolations } from '@mezzanine-ui/system/css';
2
2
  /** Types */
3
- export type SingleSliderValue = number;
4
- export type RangeSliderValue = [number, number];
5
- export type SliderValue = SingleSliderValue | RangeSliderValue;
6
- export type SliderRect = Pick<DOMRect, 'left' | 'width'>;
3
+ export declare type SingleSliderValue = number;
4
+ export declare type RangeSliderValue = [number, number];
5
+ export declare type SliderValue = SingleSliderValue | RangeSliderValue;
6
+ export declare type SliderRect = Pick<DOMRect, 'left' | 'width'>;
7
7
  /** Classes */
8
8
  export declare const sliderPrefix = "mzn-slider";
9
9
  export declare const sliderHandlerPrefix: string;
@@ -1,6 +1,6 @@
1
1
  import type { IconDefinition } from '@mezzanine-ui/icons';
2
2
  import { Size } from '@mezzanine-ui/system/size';
3
- export type SwitchSize = Extract<Size, 'medium' | 'large'>;
3
+ export declare type SwitchSize = Extract<Size, 'medium' | 'large'>;
4
4
  export declare const switchPrefix = "mzn-switch";
5
5
  export declare const SwitchSpinnerIcon: IconDefinition;
6
6
  export declare const switchClasses: {
package/table/table.d.ts CHANGED
@@ -37,15 +37,15 @@ export declare const tableClasses: {
37
37
  readonly paginationActions: "mzn-table__pagination__actions";
38
38
  readonly refresh: "mzn-table__refresh";
39
39
  };
40
- export type TableRecord<T> = Record<string, T>;
40
+ export declare type TableRecord<T> = Record<string, T>;
41
41
  export interface TableDataSourceWithKey extends TableRecord<unknown> {
42
42
  key: string | number;
43
43
  }
44
44
  export interface TableDataSourceWithID extends TableRecord<unknown> {
45
45
  id: string | number;
46
46
  }
47
- export type TableDataSource = TableDataSourceWithKey | TableDataSourceWithID;
48
- export type TableColumn<SourceType> = {
47
+ export declare type TableDataSource = TableDataSourceWithKey | TableDataSourceWithID;
48
+ export declare type TableColumn<SourceType> = {
49
49
  dataIndex: string;
50
50
  title?: string;
51
51
  render?(source: SourceType, index: number, column: TableColumn<SourceType>): any;
@@ -64,8 +64,8 @@ export type TableColumn<SourceType> = {
64
64
  /** force display tooltip whenever content is hovered */
65
65
  forceShownTooltipWhenHovered?: boolean;
66
66
  };
67
- export type ExpandedTableColumn = Omit<TableColumn<TableRecord<unknown>>, 'title' | 'renderTitle' | 'align' | 'headerClassName' | 'width' | 'sorter' | 'onSorted' | 'editable' | 'setCellProps'>;
68
- export type TableFetchMore = {
67
+ export declare type ExpandedTableColumn = Omit<TableColumn<TableRecord<unknown>>, 'title' | 'renderTitle' | 'align' | 'headerClassName' | 'width' | 'sorter' | 'onSorted' | 'editable' | 'setCellProps'>;
68
+ export declare type TableFetchMore = {
69
69
  callback?(): any;
70
70
  isReachEnd?: boolean;
71
71
  isFetching?: boolean;
@@ -88,7 +88,7 @@ export interface TableDraggable {
88
88
  onDragEnd?: (nextDataSource: any[]) => void;
89
89
  }
90
90
  /** === Feature Expandable */
91
- export type ExpandRowBySources = {
91
+ export declare type ExpandRowBySources = {
92
92
  dataSource: TableDataSource[];
93
93
  columns?: ExpandedTableColumn[];
94
94
  className?: string;
package/tag/tag.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { Size } from '@mezzanine-ui/system/size';
2
- export type TagSize = Size;
2
+ export declare type TagSize = Size;
3
3
  export declare const tagPrefix = "mzn-tag";
4
4
  export declare const tagClasses: {
5
5
  readonly host: "mzn-tag";
@@ -1,5 +1,5 @@
1
1
  import { Size } from '@mezzanine-ui/system/size';
2
- export type TextFieldSize = Size;
2
+ export declare type TextFieldSize = Size;
3
3
  export declare const textFieldPrefix = "mzn-text-field";
4
4
  export declare const textFieldClasses: {
5
5
  readonly host: "mzn-text-field";
@@ -1,5 +1,5 @@
1
1
  import { Size } from '@mezzanine-ui/system/size';
2
- export type TextareaSize = Size;
2
+ export declare type TextareaSize = Size;
3
3
  export declare const textareaPrefix = "mzn-textarea";
4
4
  export declare const textareaClasses: {
5
5
  readonly host: "mzn-textarea";
@@ -1,10 +1,10 @@
1
1
  /** Types */
2
- export type TimePanelUnitValue = number;
3
- export type TimePanelUnit = {
2
+ export declare type TimePanelUnitValue = number;
3
+ export declare type TimePanelUnit = {
4
4
  value: TimePanelUnitValue;
5
5
  label: string;
6
6
  };
7
- export type TimePanelMode = 'hour' | 'minute' | 'second';
7
+ export declare type TimePanelMode = 'hour' | 'minute' | 'second';
8
8
  /** Classes */
9
9
  export declare const timePanelPrefix = "mzn-time-panel";
10
10
  export declare const timePanelColumnsPrefix: string;
package/tree/tree.d.ts CHANGED
@@ -1,12 +1,12 @@
1
- export type TreeSelectMethod = 'toggle' | 'target';
2
- export type TreeSize = 'small' | 'medium' | 'large';
3
- export type TreeNodeValue = string | number;
1
+ export declare type TreeSelectMethod = 'toggle' | 'target';
2
+ export declare type TreeSize = 'small' | 'medium' | 'large';
3
+ export declare type TreeNodeValue = string | number;
4
4
  export interface TreeState {
5
5
  checkable?: boolean;
6
6
  disabled?: boolean;
7
7
  selectable?: boolean;
8
8
  }
9
- export type TreeNodeState = {
9
+ export declare type TreeNodeState = {
10
10
  disabled?: boolean;
11
11
  expanded?: boolean;
12
12
  indeterminate?: boolean;
@@ -1,10 +1,10 @@
1
1
  import { CssVarInterpolations } from '@mezzanine-ui/system/css';
2
2
  import { GradualMainColor, MainColor, TextColor } from '@mezzanine-ui/system/palette';
3
3
  import { TypographyVariant } from '@mezzanine-ui/system/typography';
4
- export type TypographyAlign = 'left' | 'center' | 'right' | 'justify';
5
- export type TypographyColor = 'inherit' | MainColor | GradualMainColor | TextColor;
6
- type TypographyDisplayBase = 'block' | 'flex';
7
- export type TypographyDisplay = TypographyDisplayBase | `inline-${TypographyDisplayBase}`;
4
+ export declare type TypographyAlign = 'left' | 'center' | 'right' | 'justify';
5
+ export declare type TypographyColor = 'inherit' | MainColor | GradualMainColor | TextColor;
6
+ declare type TypographyDisplayBase = 'block' | 'flex';
7
+ export declare type TypographyDisplay = TypographyDisplayBase | `inline-${TypographyDisplayBase}`;
8
8
  export interface TypographyCssVars {
9
9
  align?: TypographyAlign;
10
10
  color?: TypographyColor;
@@ -1,7 +1,7 @@
1
1
  import { CssVarInterpolations } from '@mezzanine-ui/system/css';
2
2
  import { Size } from '@mezzanine-ui/system/size';
3
- export type UploadResultSize = Size;
4
- export type UploadResultStatus = 'done' | 'error' | 'loading';
3
+ export declare type UploadResultSize = Size;
4
+ export declare type UploadResultStatus = 'done' | 'error' | 'loading';
5
5
  export interface UploadResultCssVars {
6
6
  percentage?: number;
7
7
  }