@up-packages/ui 0.5.0-qa → 0.5.2-dev

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.
@@ -26,6 +26,8 @@ export interface UpxDatePickerProps {
26
26
  hint?: string;
27
27
  persistentHint?: boolean;
28
28
  density?: "default" | "comfortable" | "compact";
29
+ variant?: "outlined" | "filled" | "underlined" | "solo" | "solo-inverted" | "solo-filled" | "plain";
30
+ rounded?: string | number | boolean;
29
31
  hideDetails?: boolean | "auto";
30
32
  clearable?: boolean;
31
33
  firstDayOfWeek?: number;
@@ -41,6 +43,8 @@ declare const _default: import("vue").DefineComponent<UpxDatePickerProps, {}, {}
41
43
  "onUpdate:modelValue"?: ((value: Date | [Date, Date] | null) => any) | undefined;
42
44
  }>, {
43
45
  error: boolean;
46
+ rounded: string | number | boolean;
47
+ variant: "outlined" | "filled" | "underlined" | "solo" | "solo-inverted" | "solo-filled" | "plain";
44
48
  density: "default" | "comfortable" | "compact";
45
49
  color: string;
46
50
  disabled: boolean;
@@ -1,4 +1,4 @@
1
- export type UpxRiskCardVariant = "low" | "moderate" | "high" | "critical";
1
+ export type UpxRiskCardVariant = "low" | "moderate" | "high";
2
2
  export interface UpxRiskCardProps {
3
3
  title?: string;
4
4
  variant?: UpxRiskCardVariant;
@@ -8,6 +8,8 @@ export interface UpxRiskCardProps {
8
8
  maxLabel?: string;
9
9
  readonly?: boolean;
10
10
  disabled?: boolean;
11
+ disableMin?: boolean;
12
+ disableMax?: boolean;
11
13
  }
12
14
  declare const _default: import("vue").DefineComponent<UpxRiskCardProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
13
15
  "update:minValue": (value: string | number) => any;
@@ -24,5 +26,7 @@ declare const _default: import("vue").DefineComponent<UpxRiskCardProps, {}, {},
24
26
  maxValue: number | string;
25
27
  minLabel: string;
26
28
  maxLabel: string;
29
+ disableMin: boolean;
30
+ disableMax: boolean;
27
31
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
28
32
  export default _default;
@@ -1,36 +1,23 @@
1
- export type UpxRiskCriteriaRisk = "low" | "moderate" | "high" | "critical" | null;
2
1
  export interface UpxRiskCriteriaProps {
3
2
  title?: string;
4
3
  active?: boolean;
5
4
  weight?: number;
6
5
  maxWeight?: number;
7
- risk?: UpxRiskCriteriaRisk;
8
6
  inactiveText?: string;
9
- riskPlaceholder?: string;
10
- riskOptions?: Array<{
11
- label: string;
12
- value: UpxRiskCriteriaRisk;
13
- }>;
7
+ borderless?: boolean;
14
8
  }
15
9
  declare const _default: import("vue").DefineComponent<UpxRiskCriteriaProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
16
10
  "update:active": (value: boolean) => any;
17
11
  "update:weight": (value: number) => any;
18
- "update:risk": (value: UpxRiskCriteriaRisk) => any;
19
12
  }, string, import("vue").PublicProps, Readonly<UpxRiskCriteriaProps> & Readonly<{
20
13
  "onUpdate:active"?: ((value: boolean) => any) | undefined;
21
14
  "onUpdate:weight"?: ((value: number) => any) | undefined;
22
- "onUpdate:risk"?: ((value: UpxRiskCriteriaRisk) => any) | undefined;
23
15
  }>, {
24
16
  title: string;
25
17
  active: boolean;
26
18
  weight: number;
27
19
  maxWeight: number;
28
- risk: UpxRiskCriteriaRisk;
29
20
  inactiveText: string;
30
- riskPlaceholder: string;
31
- riskOptions: Array<{
32
- label: string;
33
- value: UpxRiskCriteriaRisk;
34
- }>;
21
+ borderless: boolean;
35
22
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
36
23
  export default _default;
@@ -0,0 +1,16 @@
1
+ export type UpxRiskFindingVariant = "success" | "warning";
2
+ export interface UpxRiskFindingProps {
3
+ variant?: UpxRiskFindingVariant;
4
+ title?: string;
5
+ subtitle?: string;
6
+ tags?: string[];
7
+ icon?: string;
8
+ }
9
+ declare const _default: import("vue").DefineComponent<UpxRiskFindingProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<UpxRiskFindingProps> & Readonly<{}>, {
10
+ variant: UpxRiskFindingVariant;
11
+ icon: string;
12
+ title: string;
13
+ subtitle: string;
14
+ tags: string[];
15
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
16
+ export default _default;
@@ -1,4 +1,4 @@
1
- export type UpxRiskLevelVariant = "low" | "moderate" | "high" | "critical";
1
+ export type UpxRiskLevelVariant = "low" | "moderate" | "high";
2
2
  export interface UpxRiskLevelItem {
3
3
  label: string;
4
4
  range: string;
@@ -0,0 +1,22 @@
1
+ export type UpxRiskScoreVariant = "low" | "moderate" | "high";
2
+ export interface UpxRiskScoreProps {
3
+ variant?: UpxRiskScoreVariant;
4
+ label?: string;
5
+ riskLabel?: string;
6
+ score?: number;
7
+ maxScore?: number;
8
+ scoreSubtitle?: string;
9
+ footerText?: string;
10
+ icon?: string;
11
+ }
12
+ declare const _default: import("vue").DefineComponent<UpxRiskScoreProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<UpxRiskScoreProps> & Readonly<{}>, {
13
+ variant: UpxRiskScoreVariant;
14
+ icon: string;
15
+ label: string;
16
+ riskLabel: string;
17
+ score: number;
18
+ maxScore: number;
19
+ scoreSubtitle: string;
20
+ footerText: string;
21
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
22
+ export default _default;
@@ -1,6 +1,10 @@
1
1
  export { default as UpxRiskLevel } from "./UpxRiskLevel.vue";
2
2
  export { default as UpxRiskCard } from "./UpxRiskCard.vue";
3
3
  export { default as UpxRiskCriteria } from "./UpxRiskCriteria.vue";
4
+ export { default as UpxRiskScore } from "./UpxRiskScore.vue";
5
+ export { default as UpxRiskFinding } from "./UpxRiskFinding.vue";
4
6
  export type { UpxRiskLevelProps, UpxRiskLevelItem, UpxRiskLevelVariant, } from "./UpxRiskLevel.vue";
5
7
  export type { UpxRiskCardProps, UpxRiskCardVariant, } from "./UpxRiskCard.vue";
6
- export type { UpxRiskCriteriaProps, UpxRiskCriteriaRisk, } from "./UpxRiskCriteria.vue";
8
+ export type { UpxRiskCriteriaProps } from "./UpxRiskCriteria.vue";
9
+ export type { UpxRiskScoreProps, UpxRiskScoreVariant, } from "./UpxRiskScore.vue";
10
+ export type { UpxRiskFindingProps, UpxRiskFindingVariant, } from "./UpxRiskFinding.vue";
@@ -29,6 +29,7 @@ export interface UpxSelectProps {
29
29
  noFilter?: boolean;
30
30
  customFilter?: (itemTitle: string, queryText: string, item: any) => boolean;
31
31
  autoSelectFirst?: boolean | "exact";
32
+ hideDetails?: boolean | "auto";
32
33
  }
33
34
  declare var __VLS_13: {}, __VLS_15: {}, __VLS_17: {}, __VLS_19: {}, __VLS_21: {
34
35
  item: import("vuetify/lib/composables/list-items.mjs").ListItem<any>;
@@ -82,6 +83,7 @@ declare const __VLS_component: import("vue").DefineComponent<UpxSelectProps, {},
82
83
  returnObject: boolean;
83
84
  multiple: boolean;
84
85
  persistentHint: boolean;
86
+ hideDetails: boolean | "auto";
85
87
  clearable: boolean;
86
88
  noFilter: boolean;
87
89
  chips: boolean;
@@ -22,6 +22,7 @@ export interface UpxTextFieldProps {
22
22
  counter?: boolean | number | string;
23
23
  maxlength?: number | string;
24
24
  rounded?: string | number | boolean;
25
+ hideDetails?: boolean | "auto";
25
26
  pattern?: string;
26
27
  required?: boolean;
27
28
  error?: {
@@ -29,15 +30,15 @@ export interface UpxTextFieldProps {
29
30
  } | null;
30
31
  icon?: string;
31
32
  }
32
- declare var __VLS_15: {}, __VLS_17: {}, __VLS_19: {}, __VLS_21: {};
33
+ declare var __VLS_16: {}, __VLS_18: {}, __VLS_20: {}, __VLS_22: {};
33
34
  type __VLS_Slots = {} & {
34
- prepend?: (props: typeof __VLS_15) => any;
35
+ prepend?: (props: typeof __VLS_16) => any;
35
36
  } & {
36
- 'prepend-inner'?: (props: typeof __VLS_17) => any;
37
+ 'prepend-inner'?: (props: typeof __VLS_18) => any;
37
38
  } & {
38
- append?: (props: typeof __VLS_19) => any;
39
+ append?: (props: typeof __VLS_20) => any;
39
40
  } & {
40
- 'append-inner'?: (props: typeof __VLS_21) => any;
41
+ 'append-inner'?: (props: typeof __VLS_22) => any;
41
42
  };
42
43
  declare const __VLS_component: import("vue").DefineComponent<UpxTextFieldProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
43
44
  enter: () => any;
@@ -62,6 +63,7 @@ declare const __VLS_component: import("vue").DefineComponent<UpxTextFieldProps,
62
63
  required: boolean;
63
64
  readonly: boolean;
64
65
  persistentHint: boolean;
66
+ hideDetails: boolean | "auto";
65
67
  clearable: boolean;
66
68
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
67
69
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
@@ -0,0 +1,69 @@
1
+ export interface UpxTextareaProps {
2
+ modelValue?: string;
3
+ id?: string;
4
+ label?: string;
5
+ placeholder?: string;
6
+ hint?: string;
7
+ persistentHint?: boolean;
8
+ variant?: "outlined" | "filled" | "underlined" | "solo" | "solo-inverted" | "solo-filled" | "plain";
9
+ density?: "default" | "comfortable" | "compact";
10
+ color?: string;
11
+ disabled?: boolean;
12
+ readonly?: boolean;
13
+ loading?: boolean;
14
+ clearable?: boolean;
15
+ prependIcon?: string;
16
+ prependInnerIcon?: string;
17
+ appendIcon?: string;
18
+ appendInnerIcon?: string;
19
+ rules?: Array<(value: any) => boolean | string>;
20
+ errorMessages?: string | string[];
21
+ counter?: true | number | string;
22
+ maxlength?: number | string;
23
+ rounded?: string | number | true;
24
+ rows?: number | string;
25
+ maxRows?: number | string;
26
+ autoGrow?: boolean;
27
+ noResize?: boolean;
28
+ hideDetails?: boolean | "auto";
29
+ }
30
+ declare var __VLS_12: {}, __VLS_14: {}, __VLS_16: {}, __VLS_18: {};
31
+ type __VLS_Slots = {} & {
32
+ prepend?: (props: typeof __VLS_12) => any;
33
+ } & {
34
+ 'prepend-inner'?: (props: typeof __VLS_14) => any;
35
+ } & {
36
+ append?: (props: typeof __VLS_16) => any;
37
+ } & {
38
+ 'append-inner'?: (props: typeof __VLS_18) => any;
39
+ };
40
+ declare const __VLS_component: import("vue").DefineComponent<UpxTextareaProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
41
+ "update:modelValue": (value: string) => any;
42
+ focus: (event: FocusEvent) => any;
43
+ blur: (event: FocusEvent) => any;
44
+ }, string, import("vue").PublicProps, Readonly<UpxTextareaProps> & Readonly<{
45
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
46
+ onFocus?: ((event: FocusEvent) => any) | undefined;
47
+ onBlur?: ((event: FocusEvent) => any) | undefined;
48
+ }>, {
49
+ rounded: string | number | true;
50
+ variant: "outlined" | "filled" | "underlined" | "solo" | "solo-inverted" | "solo-filled" | "plain";
51
+ density: "default" | "comfortable" | "compact";
52
+ color: string;
53
+ loading: boolean;
54
+ disabled: boolean;
55
+ readonly: boolean;
56
+ persistentHint: boolean;
57
+ hideDetails: boolean | "auto";
58
+ clearable: boolean;
59
+ rows: number | string;
60
+ autoGrow: boolean;
61
+ noResize: boolean;
62
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
63
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
64
+ export default _default;
65
+ type __VLS_WithSlots<T, S> = T & {
66
+ new (): {
67
+ $slots: S;
68
+ };
69
+ };
@@ -0,0 +1,2 @@
1
+ export { default as UpxTextarea } from "./UpxTextarea.vue";
2
+ export type { UpxTextareaProps } from "./UpxTextarea.vue";
@@ -1,5 +1,6 @@
1
1
  export { UpxButton } from "./UpxButton";
2
2
  export { UpxTextField } from "./UpxTextField";
3
+ export { UpxTextarea } from "./UpxTextarea";
3
4
  export { UpxSelect } from "./UpxSelect";
4
5
  export { UpxRadio } from "./UpxRadio";
5
6
  export { UpxSwitch } from "./UpxSwitch";
@@ -26,6 +27,7 @@ export { UpxTooltip } from "./UpxTooltip";
26
27
  export { UpxWindow } from "./UpxWindow";
27
28
  export type { UpxButtonProps } from "./UpxButton";
28
29
  export type { UpxTextFieldProps } from "./UpxTextField";
30
+ export type { UpxTextareaProps } from "./UpxTextarea";
29
31
  export type { UpxSelectProps } from "./UpxSelect";
30
32
  export type { UpxRadioProps, UpxRadioOption } from "./UpxRadio";
31
33
  export type { UpxSwitchProps } from "./UpxSwitch";
package/dist/install.d.ts CHANGED
@@ -31,8 +31,9 @@ import { UpxProduct } from "./components/UpxProduct";
31
31
  import { UpxProgress } from "./components/UpxProgress";
32
32
  import { UpxRadio } from "./components/UpxRadio";
33
33
  import { UpxResizablePanelGroup, UpxResizablePanel, UpxResizableHandle } from "./components/UpxResizable";
34
- import { UpxRiskLevel, UpxRiskCard, UpxRiskCriteria } from "./components/UpxRiskLevel";
34
+ import { UpxRiskLevel, UpxRiskCard, UpxRiskCriteria, UpxRiskScore, UpxRiskFinding } from "./components/UpxRiskLevel";
35
35
  import { UpxSelect } from "./components/UpxSelect";
36
+ import { UpxTextarea } from "./components/UpxTextarea";
36
37
  import { UpxSideBar } from "./components/UpxSideBar";
37
38
  import { UpxSkeleton } from "./components/UpxSkeleton";
38
39
  import { UpxStepper } from "./components/UpxStepper";
@@ -49,4 +50,4 @@ declare const _default: {
49
50
  }): void;
50
51
  };
51
52
  export default _default;
52
- export { UpxAccordion, UpxAlert, UpxAlertTitle, UpxAlertDescription, UpxAlertDialog, UpxAlertDialogHeader, UpxAlertDialogTitle, UpxAlertDialogDescription, UpxAlertDialogFooter, UpxAlertDialogAction, UpxAlertDialogCancel, UpxAspectRatio, UpxAvatar, UpxBadge, UpxBreadcrumb, UpxBreadcrumbList, UpxBreadcrumbItem, UpxBreadcrumbLink, UpxBreadcrumbPage, UpxBreadcrumbSeparator, UpxBreadcrumbEllipsis, UpxButton, UpxCalendar, UpxCarousel, UpxCarouselItem, UpxCarouselContent, UpxCard, UpxCardSimple, UpxCardHeader, UpxCardTitle, UpxCardDescription, UpxCardContent, UpxCardFooter, UpxCardAction, UpxCell, UpxCheckbox, UpxCollapsible, UpxCollapsibleTrigger, UpxCollapsibleContent, UpxCommand, UpxCommandDialog, UpxCommandInput, UpxCommandList, UpxCommandItem, UpxCommandGroup, UpxCommandEmpty, UpxCommandSeparator, UpxCommandShortcut, UpxContextMenu, UpxContextMenuItem, UpxContextMenuLabel, UpxContextMenuSeparator, UpxDataTable, UpxDatePicker, UpxDialog, UpxDialogHeader, UpxDialogTitle, UpxDialogDescription, UpxDialogContent, UpxDialogFooter, UpxDivider, UpxDrawer, UpxDrawerHeader, UpxDrawerTitle, UpxDrawerDescription, UpxDrawerContent, UpxDrawerFooter, UpxDrawerClose, UpxDropdownMenu, UpxDropdownMenuItem, UpxDropdownMenuLabel, UpxDropdownMenuSeparator, UpxEnvironmentBadge, UpxFloatMenu, UpxNotification, UpxPagination, UpxPopover, UpxProduct, UpxProgress, UpxRadio, UpxResizablePanelGroup, UpxResizablePanel, UpxResizableHandle, UpxRiskLevel, UpxRiskCard, UpxRiskCriteria, UpxSelect, UpxSideBar, UpxSkeleton, UpxStepper, UpxSwitch, UpxTab, UpxTextField, UpxTitleBar, UpxToast, UpxTooltip, UpxWindow, };
53
+ export { UpxAccordion, UpxAlert, UpxAlertTitle, UpxAlertDescription, UpxAlertDialog, UpxAlertDialogHeader, UpxAlertDialogTitle, UpxAlertDialogDescription, UpxAlertDialogFooter, UpxAlertDialogAction, UpxAlertDialogCancel, UpxAspectRatio, UpxAvatar, UpxBadge, UpxBreadcrumb, UpxBreadcrumbList, UpxBreadcrumbItem, UpxBreadcrumbLink, UpxBreadcrumbPage, UpxBreadcrumbSeparator, UpxBreadcrumbEllipsis, UpxButton, UpxCalendar, UpxCarousel, UpxCarouselItem, UpxCarouselContent, UpxCard, UpxCardSimple, UpxCardHeader, UpxCardTitle, UpxCardDescription, UpxCardContent, UpxCardFooter, UpxCardAction, UpxCell, UpxCheckbox, UpxCollapsible, UpxCollapsibleTrigger, UpxCollapsibleContent, UpxCommand, UpxCommandDialog, UpxCommandInput, UpxCommandList, UpxCommandItem, UpxCommandGroup, UpxCommandEmpty, UpxCommandSeparator, UpxCommandShortcut, UpxContextMenu, UpxContextMenuItem, UpxContextMenuLabel, UpxContextMenuSeparator, UpxDataTable, UpxDatePicker, UpxDialog, UpxDialogHeader, UpxDialogTitle, UpxDialogDescription, UpxDialogContent, UpxDialogFooter, UpxDivider, UpxDrawer, UpxDrawerHeader, UpxDrawerTitle, UpxDrawerDescription, UpxDrawerContent, UpxDrawerFooter, UpxDrawerClose, UpxDropdownMenu, UpxDropdownMenuItem, UpxDropdownMenuLabel, UpxDropdownMenuSeparator, UpxEnvironmentBadge, UpxFloatMenu, UpxNotification, UpxPagination, UpxPopover, UpxProduct, UpxProgress, UpxRadio, UpxResizablePanelGroup, UpxResizablePanel, UpxResizableHandle, UpxRiskLevel, UpxRiskCard, UpxRiskCriteria, UpxRiskScore, UpxRiskFinding, UpxSelect, UpxSideBar, UpxSkeleton, UpxStepper, UpxSwitch, UpxTab, UpxTextField, UpxTextarea, UpxTitleBar, UpxToast, UpxTooltip, UpxWindow, };
@@ -1,6 +1,5 @@
1
1
  import "vuetify/styles";
2
2
  import { type ThemeDefinition } from "vuetify";
3
- import "@mdi/font/css/materialdesignicons.css";
4
3
  export declare const uplexisColors: {
5
4
  brand: {
6
5
  primary: {