@maltjoy/core-vue
Advanced tools
Comparing version 3.5.0 to 3.5.1
@@ -9,3 +9,2 @@ import VJoyBadge from '@/components/JoyBadge/VJoyBadge.vue'; | ||
import VJoyHighlight from '@/components/JoyHighlight/VJoyHighlight.vue'; | ||
import VJoyIcon from '@/components/JoyIcon/VJoyIcon.vue'; | ||
import VJoyInput from '@/components/JoyInput/VJoyInput.vue'; | ||
@@ -27,2 +26,2 @@ import VJoyLabel from '@/components/JoyLabel/VJoyLabel.vue'; | ||
import VJoyToggle from '@/components/JoyToggle/VJoyToggle.vue'; | ||
export { VJoyBadge, VJoyButton, VJoyCheckbox, VJoyCounter, VJoyDropdown, VJoyDropdownList, VJoyFormError, VJoyHighlight, VJoyIcon, VJoyInput, VJoyLabel, VJoyLink, VJoyMultiCheckbox, VJoyPanel, VJoyPanelSection, VJoyRadio, VJoyRadioGroup, VJoySelect, VJoySelectableItem, VJoySelectableItemGroup, VJoySpinner, VJoyTemplate, VJoyTextarea, VJoyToggle, VJoyWrapper, }; | ||
export { VJoyBadge, VJoyButton, VJoyCheckbox, VJoyCounter, VJoyDropdown, VJoyDropdownList, VJoyFormError, VJoyHighlight, VJoyInput, VJoyLabel, VJoyLink, VJoyMultiCheckbox, VJoyPanel, VJoyPanelSection, VJoyRadio, VJoyRadioGroup, VJoySelect, VJoySelectableItem, VJoySelectableItemGroup, VJoySpinner, VJoyTemplate, VJoyTextarea, VJoyToggle, VJoyWrapper, }; |
@@ -13,5 +13,3 @@ import { ButtonSizes, ButtonVariants } from './JoyButton.types'; | ||
/** Name of the icon, placed before the text */ | ||
icon: { | ||
type: PropType<import("@maltjoy/icons/dist/joy-icons").JoyIconsId>; | ||
}; | ||
icon: StringConstructor; | ||
/** Left to the text or right */ | ||
@@ -35,3 +33,3 @@ iconPosition: { | ||
variant: { | ||
type: PropType<"main" | "ghost" | "primary" | "secondary" | "white" | "admin">; | ||
type: PropType<"main" | "ghost" | "secondary" | "white" | "primary" | "admin">; | ||
default: string; | ||
@@ -56,5 +54,3 @@ validator(variant: ButtonVariants): boolean; | ||
/** Name of the icon, placed before the text */ | ||
icon: { | ||
type: PropType<import("@maltjoy/icons/dist/joy-icons").JoyIconsId>; | ||
}; | ||
icon: StringConstructor; | ||
/** Left to the text or right */ | ||
@@ -78,3 +74,3 @@ iconPosition: { | ||
variant: { | ||
type: PropType<"main" | "ghost" | "primary" | "secondary" | "white" | "admin">; | ||
type: PropType<"main" | "ghost" | "secondary" | "white" | "primary" | "admin">; | ||
default: string; | ||
@@ -91,6 +87,6 @@ validator(variant: ButtonVariants): boolean; | ||
circle: boolean; | ||
variant: "main" | "ghost" | "primary" | "secondary" | "white" | "admin"; | ||
size: ButtonSizes; | ||
variant: "main" | "ghost" | "secondary" | "white" | "primary" | "admin"; | ||
iconPosition: "left" | "right"; | ||
loading: boolean; | ||
size: ButtonSizes; | ||
}>, { | ||
@@ -97,0 +93,0 @@ default: (_: {}) => any; |
@@ -102,6 +102,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{ | ||
checked: boolean; | ||
required: boolean; | ||
disabled: boolean; | ||
indeterminate: boolean; | ||
displayFocus: boolean; | ||
required: boolean; | ||
}>, { | ||
@@ -108,0 +108,0 @@ default: (_: {}) => any; |
@@ -195,4 +195,4 @@ import { PropType } from 'vue'; | ||
}, { | ||
disabled: boolean; | ||
required: boolean; | ||
disabled: boolean; | ||
modelValue: number; | ||
@@ -199,0 +199,0 @@ min: number; |
import { LEVELS } from '@/types'; | ||
export type HighlightLevels = (typeof LEVELS)[number]; | ||
export declare const HIGHLIGHT_LEVELS: ("info" | "error" | "warning" | "neutral" | "success")[]; | ||
export declare const HIGHLIGHT_LEVELS: ("info" | "error" | "neutral" | "success" | "warning")[]; |
@@ -12,7 +12,5 @@ import { PropType } from 'vue'; | ||
}; | ||
icon: { | ||
type: PropType<import("@maltjoy/icons/dist/joy-icons").JoyIconsId>; | ||
}; | ||
icon: StringConstructor; | ||
level: { | ||
type: PropType<"info" | "error" | "warning" | "neutral" | "success">; | ||
type: PropType<"info" | "error" | "neutral" | "success" | "warning">; | ||
default: string; | ||
@@ -22,3 +20,3 @@ validator(level: HighlightLevels): boolean; | ||
}, { | ||
getRelevantIcon: import("vue").ComputedRef<import("@maltjoy/icons/dist/joy-icons").JoyIconsId>; | ||
getRelevantIcon: import("vue").ComputedRef<string>; | ||
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{ | ||
@@ -33,7 +31,5 @@ accent: { | ||
}; | ||
icon: { | ||
type: PropType<import("@maltjoy/icons/dist/joy-icons").JoyIconsId>; | ||
}; | ||
icon: StringConstructor; | ||
level: { | ||
type: PropType<"info" | "error" | "warning" | "neutral" | "success">; | ||
type: PropType<"info" | "error" | "neutral" | "success" | "warning">; | ||
default: string; | ||
@@ -45,3 +41,3 @@ validator(level: HighlightLevels): boolean; | ||
displayIcon: boolean; | ||
level: "info" | "error" | "warning" | "neutral" | "success"; | ||
level: "info" | "error" | "neutral" | "success" | "warning"; | ||
}>, { | ||
@@ -48,0 +44,0 @@ 'highlight-title': (_: {}) => any; |
@@ -46,5 +46,3 @@ import { PropType } from 'vue'; | ||
/** Add a JoyIcon / joy-icon with given name on left-side. */ | ||
icon: { | ||
type: PropType<import("@maltjoy/icons/dist/joy-icons").JoyIconsId>; | ||
}; | ||
icon: StringConstructor; | ||
size: { | ||
@@ -103,5 +101,3 @@ type: PropType<InputSizes>; | ||
/** Add a JoyIcon / joy-icon with given name on left-side. */ | ||
icon: { | ||
type: PropType<import("@maltjoy/icons/dist/joy-icons").JoyIconsId>; | ||
}; | ||
icon: StringConstructor; | ||
size: { | ||
@@ -119,4 +115,4 @@ type: PropType<InputSizes>; | ||
size: InputSizes; | ||
disabled: boolean; | ||
required: boolean; | ||
disabled: boolean; | ||
invalid: boolean; | ||
@@ -123,0 +119,0 @@ labelSize: "small" | "medium" | "large"; |
@@ -13,5 +13,3 @@ import { PropType } from 'vue'; | ||
}; | ||
icon: { | ||
type: PropType<import("@maltjoy/icons/dist/joy-icons").JoyIconsId>; | ||
}; | ||
icon: StringConstructor; | ||
text: StringConstructor; | ||
@@ -28,5 +26,3 @@ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{ | ||
}; | ||
icon: { | ||
type: PropType<import("@maltjoy/icons/dist/joy-icons").JoyIconsId>; | ||
}; | ||
icon: StringConstructor; | ||
text: StringConstructor; | ||
@@ -33,0 +29,0 @@ }>>, { |
@@ -70,4 +70,4 @@ import { PropType } from 'vue'; | ||
}, { | ||
disabled: boolean; | ||
required: boolean; | ||
disabled: boolean; | ||
invalid: boolean; | ||
@@ -74,0 +74,0 @@ theme: "default" | "outline"; |
@@ -73,4 +73,4 @@ import { PropType } from 'vue'; | ||
}, { | ||
disabled: boolean; | ||
required: boolean; | ||
disabled: boolean; | ||
modelValue: string; | ||
@@ -77,0 +77,0 @@ invalid: boolean; |
@@ -71,4 +71,4 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{ | ||
checked: boolean; | ||
disabled: boolean; | ||
required: boolean; | ||
disabled: boolean; | ||
multiple: boolean; | ||
@@ -75,0 +75,0 @@ invalid: boolean; |
@@ -99,4 +99,4 @@ import { PropType } from 'vue'; | ||
}, { | ||
disabled: boolean; | ||
required: boolean; | ||
disabled: boolean; | ||
modelValue: string; | ||
@@ -103,0 +103,0 @@ invalid: boolean; |
@@ -61,4 +61,4 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{ | ||
value: string; | ||
disabled: boolean; | ||
required: boolean; | ||
disabled: boolean; | ||
modelValue: boolean; | ||
@@ -65,0 +65,0 @@ invalid: boolean; |
@@ -1,3 +0,2 @@ | ||
import { JoyIconsNames } from '@/components/JoyIcon/JoyIcon.types'; | ||
import { LEVELS } from '../types'; | ||
export declare function iconLevel(level: (typeof LEVELS)[number]): JoyIconsNames; | ||
export declare function iconLevel(level: (typeof LEVELS)[number]): string; |
@@ -57,4 +57,4 @@ declare const _default: import("vue").DefineComponent<{ | ||
value: string; | ||
disabled: boolean; | ||
required: boolean; | ||
disabled: boolean; | ||
modelValue: boolean; | ||
@@ -61,0 +61,0 @@ invalid: boolean; |
@@ -40,6 +40,6 @@ declare const _default: import("vue").DefineComponent<{ | ||
}>>, { | ||
disabled: boolean; | ||
required: boolean; | ||
disabled: boolean; | ||
invalid: boolean; | ||
}>; | ||
export default _default; |
@@ -60,4 +60,4 @@ declare const _default: import("vue").DefineComponent<{ | ||
}>>, { | ||
disabled: boolean; | ||
required: boolean; | ||
disabled: boolean; | ||
invalid: boolean; | ||
@@ -64,0 +64,0 @@ labelSize: "small" | "medium" | "large"; |
@@ -10,6 +10,1 @@ /** | ||
export declare const POSITIONS: readonly ["left", "right"]; | ||
export type BrandColors = 'primary-brand' | 'secondary-brand'; | ||
export type FunctionalColors = Exclude<(typeof LEVELS)[number], 'neutral'>; | ||
export type ProductColors = 'primary' | 'secondary' | 'tertiary' | 'quaternary' | 'neutral'; | ||
export type ProductColorsExtended = ProductColors | FunctionalColors | 'white'; | ||
export type Colors = BrandColors | ProductColorsExtended; |
@@ -12,3 +12,2 @@ // @ts-nocheck | ||
VJoyHighlight: typeof import('./dist/components/JoyHighlight/VJoyHighlight.vue')['default']; | ||
VJoyIcon: typeof import('./dist/components/JoyIcon/VJoyIcon.vue')['default']; | ||
VJoyInput: typeof import('./dist/components/JoyInput/VJoyInput.vue')['default']; | ||
@@ -15,0 +14,0 @@ VJoyLabel: typeof import('./dist/components/JoyLabel/VJoyLabel.vue')['default']; |
{ | ||
"name": "@maltjoy/core-vue", | ||
"version": "3.5.0", | ||
"version": "3.5.1", | ||
"type": "module", | ||
@@ -38,4 +38,4 @@ "files": [ | ||
"dependencies": { | ||
"@maltjoy/icons": "3.5.0", | ||
"@maltjoy/themes": "3.5.0", | ||
"@maltjoy/icons": "3.5.1", | ||
"@maltjoy/themes": "3.5.1", | ||
"@vueuse/components": "^9.13.0", | ||
@@ -42,0 +42,0 @@ "@vueuse/core": "^9.13.0", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
286400
59
5612
+ Added@maltjoy/icons@3.5.1(transitive)
+ Added@maltjoy/themes@3.5.1(transitive)
- Removed@maltjoy/icons@3.5.0(transitive)
- Removed@maltjoy/themes@3.5.0(transitive)
Updated@maltjoy/icons@3.5.1
Updated@maltjoy/themes@3.5.1