@nexxtmove/ui 1.8.1 → 1.10.0

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.
@@ -0,0 +1,24 @@
1
+ interface NexxtSelectableOptionProps {
2
+ /** Whether this option is currently chosen. */
3
+ selected?: boolean;
4
+ /** Disables the option, so it can no longer be chosen. */
5
+ disabled?: boolean;
6
+ /** Corner radius. Tile pickers use `xl`, compact rows of choices use `lg`. */
7
+ rounded?: 'lg' | 'xl' | '3xl';
8
+ /** Shows a check badge in the top-right corner while selected. For cards; compact rows of choices do without. */
9
+ checkmark?: boolean;
10
+ }
11
+ type __VLS_Slots = {
12
+ default(props: {
13
+ selected: boolean;
14
+ }): unknown;
15
+ };
16
+ declare const __VLS_base: import('vue').DefineComponent<NexxtSelectableOptionProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<NexxtSelectableOptionProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
17
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
18
+ declare const _default: typeof __VLS_export;
19
+ export default _default;
20
+ type __VLS_WithSlots<T, S> = T & {
21
+ new (): {
22
+ $slots: S;
23
+ };
24
+ };
package/dist/index.d.ts CHANGED
@@ -1,6 +1,7 @@
1
1
  export type { Placement } from '@floating-ui/vue';
2
2
  export { EVENT_CONFIG_MAP, PHASE_MAP } from './components/molecules/TimelineEvent/TimelineTypes';
3
3
  export type { TimelineEvent, TimelinePhase, TimelineResponse, } from './components/molecules/TimelineEvent/TimelineTypes';
4
+ export type { EnergyLabelLetter } from './components/atoms/EnergyLabel/EnergyLabel.vue';
4
5
  export type { IconType, NexxtIconName } from './components/atoms/Icon/Icon.vue';
5
6
  export type { CustomIconName } from './components/atoms/Icon/customIcons';
6
7
  export type { NexxtTabItem } from './components/molecules/Tabs/Tabs.vue';
@@ -37,6 +38,7 @@ export { default as NexxtPropertyCard } from './components/molecules/PropertyCar
37
38
  export { default as NexxtPropertyListing } from './components/atoms/PropertyListing/PropertyListing.vue';
38
39
  export { default as NexxtReferenceCard } from './components/organisms/ReferenceCard/ReferenceCard.vue';
39
40
  export { default as NexxtSelect } from './components/molecules/Select/Select.vue';
41
+ export { default as NexxtSelectableOption } from './components/atoms/SelectableOption/SelectableOption.vue';
40
42
  export { default as NexxtSidebarMenuItem } from './components/molecules/SidebarMenuItem/SidebarMenuItem.vue';
41
43
  export { default as NexxtSkeleton } from './components/atoms/Skeleton/Skeleton.vue';
42
44
  export { default as NexxtSkeletonPropertyCard } from './components/molecules/SkeletonPropertyCard/SkeletonPropertyCard.vue';