iryx-ui 0.19.1 → 0.20.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.
- package/README.md +2 -2
- package/dist/component-names.d.ts +2 -2
- package/dist/component-names.js +3 -1
- package/dist/components/Rating.js +5 -0
- package/dist/components/Rating.vue.d.ts +57 -0
- package/dist/components/Rating.vue_vue_type_script_setup_true_lang.js +110 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.js +54 -52
- package/dist/index.d.ts +1 -0
- package/dist/index.js +56 -55
- package/dist/marketing/SiteFooter.js +5 -0
- package/dist/marketing/SiteFooter.vue.d.ts +53 -0
- package/dist/marketing/SiteFooter.vue_vue_type_script_setup_true_lang.js +87 -0
- package/dist/marketing/SiteHeader.js +5 -0
- package/dist/marketing/SiteHeader.vue.d.ts +86 -0
- package/dist/marketing/SiteHeader.vue_vue_type_script_setup_true_lang.js +122 -0
- package/dist/marketing/index.d.ts +2 -0
- package/dist/marketing/index.js +8 -4
- package/dist/marketing.d.ts +2 -0
- package/dist/marketing.js +5 -3
- package/dist/theme/rating.d.ts +122 -0
- package/dist/theme/rating.js +49 -0
- package/dist/theme/site-footer.d.ts +80 -0
- package/dist/theme/site-footer.js +30 -0
- package/dist/theme/site-header.d.ts +74 -0
- package/dist/theme/site-header.js +30 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -104,8 +104,8 @@ export default defineNuxtConfig({
|
|
|
104
104
|
</ISection>
|
|
105
105
|
```
|
|
106
106
|
|
|
107
|
-
|
|
108
|
-
`ITestimonialCard` and `
|
|
107
|
+
Nine so far: `IHero`, `ISection`, `IPricingTable`, `IPricingCard`, `IFeatureCard`,
|
|
108
|
+
`ITestimonialCard`, `IBrowserFrame`, `ISiteHeader` and `ISiteFooter`. Importing the subpath also declares
|
|
109
109
|
them on Vue's `GlobalComponents`; a project that never imports it is untouched.
|
|
110
110
|
|
|
111
111
|
## Three ways to take the styling back
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Consumed by the Vue plugin (global registration) and the Nuxt module
|
|
4
4
|
* (auto-imports). Keep in sync with `src/components/index.ts`.
|
|
5
5
|
*/
|
|
6
|
-
export declare const componentNames: readonly ["Accordion", "Alert", "App", "AppShell", "AspectRatio", "AuthProviders", "Avatar", "AvatarGroup", "Badge", "BarChart", "Banner", "Breadcrumb", "Button", "ButtonGroup", "Calendar", "Card", "ChartLegend", "Checkbox", "ColorPicker", "Combobox", "Collapsible", "CommandPalette", "Container", "ConfirmDialog", "ContextMenu", "DateField", "DatePicker", "DateRangePicker", "Dialog", "DonutChart", "Drawer", "DropdownMenu", "Editable", "EmptyState", "FileUpload", "Form", "FormField", "HoverCard", "Icon", "Input", "Kbd", "Label", "LineChart", "NavigationMenu", "NumberInput", "Menubar", "PageHeader", "Pagination", "PasswordInput", "PinInput", "Popover", "Progress", "RadioGroup", "ScrollArea", "ScrollFade", "Select", "Separator", "Sidebar", "SignaturePad", "Skeleton", "Slider", "Sparkline", "Splitter", "Stat", "Stepper", "Switch", "Table", "Tabs", "TagsInput", "Textarea", "Toaster", "Toggle", "ToggleGroup", "TimeField", "Timeline", "Toolbar", "Tooltip", "Tree"];
|
|
6
|
+
export declare const componentNames: readonly ["Accordion", "Alert", "App", "AppShell", "AspectRatio", "AuthProviders", "Avatar", "AvatarGroup", "Badge", "BarChart", "Banner", "Breadcrumb", "Button", "ButtonGroup", "Calendar", "Card", "ChartLegend", "Checkbox", "ColorPicker", "Combobox", "Collapsible", "CommandPalette", "Container", "ConfirmDialog", "ContextMenu", "DateField", "DatePicker", "DateRangePicker", "Dialog", "DonutChart", "Drawer", "DropdownMenu", "Editable", "EmptyState", "FileUpload", "Form", "FormField", "HoverCard", "Icon", "Input", "Kbd", "Label", "LineChart", "NavigationMenu", "NumberInput", "Menubar", "PageHeader", "Pagination", "PasswordInput", "PinInput", "Popover", "Progress", "RadioGroup", "Rating", "ScrollArea", "ScrollFade", "Select", "Separator", "Sidebar", "SignaturePad", "Skeleton", "Slider", "Sparkline", "Splitter", "Stat", "Stepper", "Switch", "Table", "Tabs", "TagsInput", "Textarea", "Toaster", "Toggle", "ToggleGroup", "TimeField", "Timeline", "Toolbar", "Tooltip", "Tree"];
|
|
7
7
|
export type ComponentName = (typeof componentNames)[number];
|
|
8
8
|
/**
|
|
9
9
|
* Names of every block exported from `iryx-ui/marketing`.
|
|
@@ -11,5 +11,5 @@ export type ComponentName = (typeof componentNames)[number];
|
|
|
11
11
|
* runs at build time and must not pull `.vue` files into Node.
|
|
12
12
|
* Keep in sync with `src/marketing/index.ts`.
|
|
13
13
|
*/
|
|
14
|
-
export declare const marketingComponentNames: readonly ["BrowserFrame", "FeatureCard", "Hero", "PricingCard", "PricingTable", "Section", "TestimonialCard"];
|
|
14
|
+
export declare const marketingComponentNames: readonly ["BrowserFrame", "FeatureCard", "Hero", "PricingCard", "PricingTable", "Section", "SiteFooter", "SiteHeader", "TestimonialCard"];
|
|
15
15
|
export type MarketingComponentName = (typeof marketingComponentNames)[number];
|
package/dist/component-names.js
CHANGED
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
//#region src/component-names.ts
|
|
2
|
-
var e = /* @__PURE__ */ "Accordion.Alert.App.AppShell.AspectRatio.AuthProviders.Avatar.AvatarGroup.Badge.BarChart.Banner.Breadcrumb.Button.ButtonGroup.Calendar.Card.ChartLegend.Checkbox.ColorPicker.Combobox.Collapsible.CommandPalette.Container.ConfirmDialog.ContextMenu.DateField.DatePicker.DateRangePicker.Dialog.DonutChart.Drawer.DropdownMenu.Editable.EmptyState.FileUpload.Form.FormField.HoverCard.Icon.Input.Kbd.Label.LineChart.NavigationMenu.NumberInput.Menubar.PageHeader.Pagination.PasswordInput.PinInput.Popover.Progress.RadioGroup.ScrollArea.ScrollFade.Select.Separator.Sidebar.SignaturePad.Skeleton.Slider.Sparkline.Splitter.Stat.Stepper.Switch.Table.Tabs.TagsInput.Textarea.Toaster.Toggle.ToggleGroup.TimeField.Timeline.Toolbar.Tooltip.Tree".split("."), t = [
|
|
2
|
+
var e = /* @__PURE__ */ "Accordion.Alert.App.AppShell.AspectRatio.AuthProviders.Avatar.AvatarGroup.Badge.BarChart.Banner.Breadcrumb.Button.ButtonGroup.Calendar.Card.ChartLegend.Checkbox.ColorPicker.Combobox.Collapsible.CommandPalette.Container.ConfirmDialog.ContextMenu.DateField.DatePicker.DateRangePicker.Dialog.DonutChart.Drawer.DropdownMenu.Editable.EmptyState.FileUpload.Form.FormField.HoverCard.Icon.Input.Kbd.Label.LineChart.NavigationMenu.NumberInput.Menubar.PageHeader.Pagination.PasswordInput.PinInput.Popover.Progress.RadioGroup.Rating.ScrollArea.ScrollFade.Select.Separator.Sidebar.SignaturePad.Skeleton.Slider.Sparkline.Splitter.Stat.Stepper.Switch.Table.Tabs.TagsInput.Textarea.Toaster.Toggle.ToggleGroup.TimeField.Timeline.Toolbar.Tooltip.Tree".split("."), t = [
|
|
3
3
|
"BrowserFrame",
|
|
4
4
|
"FeatureCard",
|
|
5
5
|
"Hero",
|
|
6
6
|
"PricingCard",
|
|
7
7
|
"PricingTable",
|
|
8
8
|
"Section",
|
|
9
|
+
"SiteFooter",
|
|
10
|
+
"SiteHeader",
|
|
9
11
|
"TestimonialCard"
|
|
10
12
|
];
|
|
11
13
|
//#endregion
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import type { ClassValue } from '../class-value';
|
|
2
|
+
import type { IconLike } from '../composables/icon';
|
|
3
|
+
export interface RatingProps {
|
|
4
|
+
/** How many icons to show. */
|
|
5
|
+
max?: number;
|
|
6
|
+
/** Let the reader set the value. Without it this is a read-only score. */
|
|
7
|
+
interactive?: boolean;
|
|
8
|
+
/**
|
|
9
|
+
* Smallest step the reader can choose, e.g. `0.5` for half stars. Display is
|
|
10
|
+
* continuous either way — a score of 3.7 fills seven tenths of the fourth.
|
|
11
|
+
*/
|
|
12
|
+
step?: number;
|
|
13
|
+
size?: 'sm' | 'md' | 'lg';
|
|
14
|
+
disabled?: boolean;
|
|
15
|
+
/** The icon to repeat. Any Hugeicons export, or a component that renders an SVG. */
|
|
16
|
+
icon?: IconLike;
|
|
17
|
+
/**
|
|
18
|
+
* Accessible name for the control, since a row of stars has no text of its
|
|
19
|
+
* own — "Overall rating", "Rate this reply".
|
|
20
|
+
*/
|
|
21
|
+
label?: string;
|
|
22
|
+
/** Print the score beside the icons, e.g. `4.5`. */
|
|
23
|
+
showValue?: boolean;
|
|
24
|
+
/** Skip built-in classes; you take over styling entirely. */
|
|
25
|
+
unstyled?: boolean;
|
|
26
|
+
class?: ClassValue;
|
|
27
|
+
/** Override classes per element, e.g. `{ fill: 'text-primary' }`. */
|
|
28
|
+
ui?: {
|
|
29
|
+
root?: string;
|
|
30
|
+
items?: string;
|
|
31
|
+
item?: string;
|
|
32
|
+
empty?: string;
|
|
33
|
+
fill?: string;
|
|
34
|
+
label?: string;
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
type __VLS_Props = RatingProps;
|
|
38
|
+
type __VLS_ModelProps = {
|
|
39
|
+
modelValue?: number;
|
|
40
|
+
};
|
|
41
|
+
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
42
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
43
|
+
"update:modelValue": (value: number) => any;
|
|
44
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
45
|
+
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
46
|
+
}>, {
|
|
47
|
+
icon: IconLike;
|
|
48
|
+
label: string;
|
|
49
|
+
disabled: boolean;
|
|
50
|
+
unstyled: boolean;
|
|
51
|
+
max: number;
|
|
52
|
+
step: number;
|
|
53
|
+
showValue: boolean;
|
|
54
|
+
interactive: boolean;
|
|
55
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
56
|
+
declare const _default: typeof __VLS_export;
|
|
57
|
+
export default _default;
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
import { useIryxUiConfig as e } from "../config.js";
|
|
2
|
+
import t from "./Icon.js";
|
|
3
|
+
import { ratingTheme as n } from "../theme/rating.js";
|
|
4
|
+
import { Fragment as r, computed as i, createCommentVNode as a, createElementBlock as o, createElementVNode as s, createVNode as c, defineComponent as l, mergeModels as u, mergeProps as d, normalizeClass as f, normalizeStyle as p, openBlock as m, renderList as h, toDisplayString as g, useModel as _ } from "vue";
|
|
5
|
+
import { StarIcon as v } from "@hugeicons/core-free-icons";
|
|
6
|
+
//#region src/components/Rating.vue?vue&type=script&setup=true&lang.ts
|
|
7
|
+
var y = ["aria-hidden"], b = ["onClick"], x = /*@__PURE__*/ l({
|
|
8
|
+
__name: "Rating",
|
|
9
|
+
props: /*@__PURE__*/ u({
|
|
10
|
+
max: { default: 5 },
|
|
11
|
+
interactive: {
|
|
12
|
+
type: Boolean,
|
|
13
|
+
default: void 0
|
|
14
|
+
},
|
|
15
|
+
step: { default: 1 },
|
|
16
|
+
size: {},
|
|
17
|
+
disabled: {
|
|
18
|
+
type: Boolean,
|
|
19
|
+
default: void 0
|
|
20
|
+
},
|
|
21
|
+
icon: { default: () => v },
|
|
22
|
+
label: { default: "Rating" },
|
|
23
|
+
showValue: {
|
|
24
|
+
type: Boolean,
|
|
25
|
+
default: void 0
|
|
26
|
+
},
|
|
27
|
+
unstyled: {
|
|
28
|
+
type: Boolean,
|
|
29
|
+
default: void 0
|
|
30
|
+
},
|
|
31
|
+
class: { type: [
|
|
32
|
+
String,
|
|
33
|
+
Boolean,
|
|
34
|
+
null,
|
|
35
|
+
Array
|
|
36
|
+
] },
|
|
37
|
+
ui: {}
|
|
38
|
+
}, {
|
|
39
|
+
modelValue: { default: 0 },
|
|
40
|
+
modelModifiers: {}
|
|
41
|
+
}),
|
|
42
|
+
emits: ["update:modelValue"],
|
|
43
|
+
setup(l) {
|
|
44
|
+
let u = l, v = _(l, "modelValue"), x = e(), S = i(() => u.unstyled ?? x.unstyled), C = i(() => n({
|
|
45
|
+
size: u.size,
|
|
46
|
+
interactive: u.interactive ?? !1,
|
|
47
|
+
disabled: u.disabled ?? !1
|
|
48
|
+
}));
|
|
49
|
+
function w(e, t) {
|
|
50
|
+
return S.value ? [u.ui?.[e], t] : C.value[e]({ class: [u.ui?.[e], t] });
|
|
51
|
+
}
|
|
52
|
+
let T = i(() => Math.min(Math.max(v.value, 0), u.max));
|
|
53
|
+
function E(e) {
|
|
54
|
+
let t = Math.min(Math.max(T.value - e, 0), 1);
|
|
55
|
+
return Math.round(t * 1e4) / 100;
|
|
56
|
+
}
|
|
57
|
+
let D = i(() => Number(T.value.toFixed(2)).toString());
|
|
58
|
+
function O(e) {
|
|
59
|
+
if (u.disabled || !u.interactive) return;
|
|
60
|
+
let t = Math.round(e / u.step) * u.step;
|
|
61
|
+
v.value = Math.min(Math.max(t, u.step), u.max);
|
|
62
|
+
}
|
|
63
|
+
let k = i(() => u.interactive ? {
|
|
64
|
+
role: "slider",
|
|
65
|
+
tabindex: u.disabled ? -1 : 0,
|
|
66
|
+
"aria-label": u.label,
|
|
67
|
+
"aria-valuemin": 0,
|
|
68
|
+
"aria-valuemax": u.max,
|
|
69
|
+
"aria-valuenow": T.value,
|
|
70
|
+
"aria-valuetext": `${D.value} out of ${u.max}`,
|
|
71
|
+
"aria-disabled": u.disabled || void 0
|
|
72
|
+
} : {
|
|
73
|
+
role: "img",
|
|
74
|
+
"aria-label": `${u.label}: ${D.value} out of ${u.max}`
|
|
75
|
+
});
|
|
76
|
+
function A(e) {
|
|
77
|
+
if (!u.interactive) return;
|
|
78
|
+
let t = {
|
|
79
|
+
ArrowRight: u.step,
|
|
80
|
+
ArrowUp: u.step,
|
|
81
|
+
ArrowLeft: -u.step,
|
|
82
|
+
ArrowDown: -u.step
|
|
83
|
+
};
|
|
84
|
+
e.key in t ? (e.preventDefault(), O(T.value + t[e.key])) : e.key === "Home" ? (e.preventDefault(), O(u.step)) : e.key === "End" && (e.preventDefault(), O(u.max));
|
|
85
|
+
}
|
|
86
|
+
return (e, n) => (m(), o("div", d(k.value, {
|
|
87
|
+
class: w("root", u.class),
|
|
88
|
+
onKeydown: A
|
|
89
|
+
}), [s("div", {
|
|
90
|
+
class: f(w("items")),
|
|
91
|
+
"aria-hidden": u.interactive ? void 0 : "true"
|
|
92
|
+
}, [(m(!0), o(r, null, h(u.max, (e) => (m(), o("span", {
|
|
93
|
+
key: e,
|
|
94
|
+
class: f(w("item")),
|
|
95
|
+
onClick: (t) => O(e)
|
|
96
|
+
}, [c(t, {
|
|
97
|
+
icon: u.icon,
|
|
98
|
+
class: f(w("empty"))
|
|
99
|
+
}, null, 8, ["icon", "class"]), s("span", {
|
|
100
|
+
class: f(w("fill")),
|
|
101
|
+
style: p({ width: `${E(e - 1)}%` })
|
|
102
|
+
}, [c(t, { icon: u.icon }, null, 8, ["icon"])], 6)], 10, b))), 128))], 10, y), u.showValue ? (m(), o("span", {
|
|
103
|
+
key: 0,
|
|
104
|
+
class: f(w("label")),
|
|
105
|
+
"aria-hidden": "true"
|
|
106
|
+
}, g(D.value), 3)) : a("", !0)], 16));
|
|
107
|
+
}
|
|
108
|
+
});
|
|
109
|
+
//#endregion
|
|
110
|
+
export { x as default };
|
|
@@ -51,6 +51,7 @@ export { default as PinInput } from './PinInput.vue';
|
|
|
51
51
|
export { default as Popover } from './Popover.vue';
|
|
52
52
|
export { default as Progress } from './Progress.vue';
|
|
53
53
|
export { default as RadioGroup } from './RadioGroup.vue';
|
|
54
|
+
export { default as Rating } from './Rating.vue';
|
|
54
55
|
export { default as ScrollArea } from './ScrollArea.vue';
|
|
55
56
|
export { default as ScrollFade } from './ScrollFade.vue';
|
|
56
57
|
export { default as Select } from './Select.vue';
|
package/dist/components/index.js
CHANGED
|
@@ -52,33 +52,34 @@ import X from "./PinInput.js";
|
|
|
52
52
|
import Z from "./Popover.js";
|
|
53
53
|
import Q from "./Progress.js";
|
|
54
54
|
import $ from "./RadioGroup.js";
|
|
55
|
-
import ee from "./
|
|
56
|
-
import te from "./
|
|
57
|
-
import ne from "./
|
|
58
|
-
import re from "./
|
|
59
|
-
import ie from "./
|
|
60
|
-
import ae from "./
|
|
61
|
-
import oe from "./
|
|
62
|
-
import se from "./
|
|
63
|
-
import ce from "./
|
|
64
|
-
import le from "./
|
|
65
|
-
import ue from "./
|
|
66
|
-
import de from "./
|
|
67
|
-
import fe from "./
|
|
68
|
-
import pe from "./
|
|
69
|
-
import me from "./
|
|
70
|
-
import he from "./
|
|
71
|
-
import ge from "./
|
|
72
|
-
import _e from "./
|
|
73
|
-
import ve from "./
|
|
74
|
-
import ye from "./
|
|
75
|
-
import be from "./
|
|
76
|
-
import xe from "./
|
|
77
|
-
import Se from "./
|
|
78
|
-
import Ce from "./
|
|
79
|
-
import we from "./
|
|
55
|
+
import ee from "./Rating.js";
|
|
56
|
+
import te from "./ScrollArea.js";
|
|
57
|
+
import ne from "./ScrollFade.js";
|
|
58
|
+
import re from "./Select.js";
|
|
59
|
+
import ie from "./Separator.js";
|
|
60
|
+
import ae from "./Sidebar.js";
|
|
61
|
+
import oe from "./SignaturePad.js";
|
|
62
|
+
import se from "./Skeleton.js";
|
|
63
|
+
import ce from "./Slider.js";
|
|
64
|
+
import le from "./Sparkline.js";
|
|
65
|
+
import ue from "./Splitter.js";
|
|
66
|
+
import de from "./Stat.js";
|
|
67
|
+
import fe from "./Stepper.js";
|
|
68
|
+
import pe from "./Switch.js";
|
|
69
|
+
import me from "./Table.js";
|
|
70
|
+
import he from "./Tabs.js";
|
|
71
|
+
import ge from "./TagsInput.js";
|
|
72
|
+
import _e from "./Textarea.js";
|
|
73
|
+
import ve from "./TimeField.js";
|
|
74
|
+
import ye from "./Timeline.js";
|
|
75
|
+
import be from "./Toaster.js";
|
|
76
|
+
import xe from "./Toggle.js";
|
|
77
|
+
import Se from "./ToggleGroup.js";
|
|
78
|
+
import Ce from "./Toolbar.js";
|
|
79
|
+
import we from "./Tooltip.js";
|
|
80
|
+
import Te from "./Tree.js";
|
|
80
81
|
//#region src/components/index.ts
|
|
81
|
-
var
|
|
82
|
+
var Ee = /* @__PURE__ */ e({
|
|
82
83
|
Accordion: () => n,
|
|
83
84
|
Alert: () => r,
|
|
84
85
|
App: () => i,
|
|
@@ -132,31 +133,32 @@ var Te = /* @__PURE__ */ e({
|
|
|
132
133
|
Popover: () => Z,
|
|
133
134
|
Progress: () => Q,
|
|
134
135
|
RadioGroup: () => $,
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
136
|
+
Rating: () => ee,
|
|
137
|
+
ScrollArea: () => te,
|
|
138
|
+
ScrollFade: () => ne,
|
|
139
|
+
Select: () => re,
|
|
140
|
+
Separator: () => ie,
|
|
141
|
+
Sidebar: () => ae,
|
|
142
|
+
SignaturePad: () => oe,
|
|
143
|
+
Skeleton: () => se,
|
|
144
|
+
Slider: () => ce,
|
|
145
|
+
Sparkline: () => le,
|
|
146
|
+
Splitter: () => ue,
|
|
147
|
+
Stat: () => de,
|
|
148
|
+
Stepper: () => fe,
|
|
149
|
+
Switch: () => pe,
|
|
150
|
+
Table: () => me,
|
|
151
|
+
Tabs: () => he,
|
|
152
|
+
TagsInput: () => ge,
|
|
153
|
+
Textarea: () => _e,
|
|
154
|
+
TimeField: () => ve,
|
|
155
|
+
Timeline: () => ye,
|
|
156
|
+
Toaster: () => be,
|
|
157
|
+
Toggle: () => xe,
|
|
158
|
+
ToggleGroup: () => Se,
|
|
159
|
+
Toolbar: () => Ce,
|
|
160
|
+
Tooltip: () => we,
|
|
161
|
+
Tree: () => Te
|
|
160
162
|
});
|
|
161
163
|
//#endregion
|
|
162
|
-
export {
|
|
164
|
+
export { Ee as components_exports };
|
package/dist/index.d.ts
CHANGED
|
@@ -55,6 +55,7 @@ export type { PinInputProps } from './components/PinInput.vue';
|
|
|
55
55
|
export type { PopoverProps } from './components/Popover.vue';
|
|
56
56
|
export type { ProgressProps } from './components/Progress.vue';
|
|
57
57
|
export type { RadioGroupItemOption, RadioGroupProps } from './components/RadioGroup.vue';
|
|
58
|
+
export type { RatingProps } from './components/Rating.vue';
|
|
58
59
|
export type { ScrollAreaProps } from './components/ScrollArea.vue';
|
|
59
60
|
export type { ScrollFadeProps } from './components/ScrollFade.vue';
|
|
60
61
|
export type { SelectItemGroup, SelectItemOption, SelectItems, SelectProps } from './components/Select.vue';
|
package/dist/index.js
CHANGED
|
@@ -113,58 +113,59 @@ import { progressTheme as on } from "./theme/progress.js";
|
|
|
113
113
|
import sn from "./components/Progress.js";
|
|
114
114
|
import { radioGroupTheme as cn } from "./theme/radio-group.js";
|
|
115
115
|
import ln from "./components/RadioGroup.js";
|
|
116
|
-
import
|
|
117
|
-
import dn from "./
|
|
118
|
-
import
|
|
119
|
-
import {
|
|
120
|
-
import hn from "./
|
|
121
|
-
import
|
|
122
|
-
import _n from "./
|
|
123
|
-
import
|
|
124
|
-
import yn from "./
|
|
125
|
-
import
|
|
126
|
-
import {
|
|
127
|
-
import wn from "./
|
|
128
|
-
import
|
|
129
|
-
import {
|
|
130
|
-
import On from "./
|
|
131
|
-
import
|
|
132
|
-
import An from "./
|
|
133
|
-
import
|
|
134
|
-
import Mn from "./
|
|
135
|
-
import
|
|
136
|
-
import Pn from "./
|
|
137
|
-
import
|
|
138
|
-
import In from "./
|
|
139
|
-
import
|
|
140
|
-
import Rn from "./
|
|
141
|
-
import
|
|
142
|
-
import Bn from "./
|
|
143
|
-
import
|
|
144
|
-
import Hn from "./
|
|
145
|
-
import
|
|
146
|
-
import {
|
|
147
|
-
import Kn from "./
|
|
148
|
-
import
|
|
149
|
-
import Jn from "./
|
|
150
|
-
import
|
|
151
|
-
import Xn from "./
|
|
152
|
-
import Zn from "./components/
|
|
153
|
-
import
|
|
154
|
-
import $n from "./
|
|
155
|
-
import
|
|
156
|
-
import tr from "./
|
|
157
|
-
import
|
|
158
|
-
import {
|
|
159
|
-
import ar from "./
|
|
160
|
-
import
|
|
161
|
-
import cr from "./
|
|
162
|
-
import lr from "./components/
|
|
163
|
-
import
|
|
164
|
-
import dr from "./
|
|
165
|
-
import
|
|
166
|
-
import pr from "./
|
|
167
|
-
import
|
|
168
|
-
import hr from "./
|
|
169
|
-
import
|
|
170
|
-
|
|
116
|
+
import un from "./components/Rating.js";
|
|
117
|
+
import { scrollAreaTheme as dn } from "./theme/scroll-area.js";
|
|
118
|
+
import fn from "./components/ScrollArea.js";
|
|
119
|
+
import { scrollFadeMask as pn, useScrollEdges as mn } from "./composables/scroll-fade.js";
|
|
120
|
+
import { scrollFadeTheme as hn } from "./theme/scroll-fade.js";
|
|
121
|
+
import gn from "./components/ScrollFade.js";
|
|
122
|
+
import { selectTheme as _n } from "./theme/select.js";
|
|
123
|
+
import vn from "./components/Select.js";
|
|
124
|
+
import { separatorTheme as yn } from "./theme/separator.js";
|
|
125
|
+
import bn from "./components/Separator.js";
|
|
126
|
+
import { isSidebarGroup as xn, isSidebarSection as Sn, toSidebarSections as Cn } from "./composables/sidebar.js";
|
|
127
|
+
import { sidebarTheme as wn } from "./theme/sidebar.js";
|
|
128
|
+
import Tn from "./components/Sidebar.js";
|
|
129
|
+
import { hasInk as En, strokeWidth as Dn } from "./composables/signature.js";
|
|
130
|
+
import { signaturePadTheme as On } from "./theme/signature-pad.js";
|
|
131
|
+
import kn from "./components/SignaturePad.js";
|
|
132
|
+
import { skeletonTheme as An } from "./theme/skeleton.js";
|
|
133
|
+
import jn from "./components/Skeleton.js";
|
|
134
|
+
import { sliderTheme as Mn } from "./theme/slider.js";
|
|
135
|
+
import Nn from "./components/Slider.js";
|
|
136
|
+
import { sparklineTheme as Pn } from "./theme/sparkline.js";
|
|
137
|
+
import Fn from "./components/Sparkline.js";
|
|
138
|
+
import { splitterTheme as In } from "./theme/splitter.js";
|
|
139
|
+
import Ln from "./components/Splitter.js";
|
|
140
|
+
import { statTheme as Rn } from "./theme/stat.js";
|
|
141
|
+
import zn from "./components/Stat.js";
|
|
142
|
+
import { stepperTheme as Bn } from "./theme/stepper.js";
|
|
143
|
+
import Vn from "./components/Stepper.js";
|
|
144
|
+
import { switchTheme as Hn } from "./theme/switch.js";
|
|
145
|
+
import Un from "./components/Switch.js";
|
|
146
|
+
import { getRowValue as Wn, useDataTable as Gn } from "./composables/data-table.js";
|
|
147
|
+
import { tableTheme as Kn } from "./theme/table.js";
|
|
148
|
+
import qn from "./components/Table.js";
|
|
149
|
+
import { tabsTheme as Jn } from "./theme/tabs.js";
|
|
150
|
+
import Yn from "./components/Tabs.js";
|
|
151
|
+
import { tagsInputTheme as Xn } from "./theme/tags-input.js";
|
|
152
|
+
import Zn from "./components/TagsInput.js";
|
|
153
|
+
import Qn from "./components/Textarea.js";
|
|
154
|
+
import { timeFieldTheme as $n } from "./theme/time-field.js";
|
|
155
|
+
import er from "./components/TimeField.js";
|
|
156
|
+
import { timelineTheme as tr } from "./theme/timeline.js";
|
|
157
|
+
import nr from "./components/Timeline.js";
|
|
158
|
+
import { useToast as rr, useToastState as ir } from "./composables/toast.js";
|
|
159
|
+
import { toastTheme as ar } from "./theme/toast.js";
|
|
160
|
+
import or from "./components/Toaster.js";
|
|
161
|
+
import { toggleGroupTheme as sr, toggleTheme as cr } from "./theme/toggle.js";
|
|
162
|
+
import lr from "./components/Toggle.js";
|
|
163
|
+
import ur from "./components/ToggleGroup.js";
|
|
164
|
+
import { toolbarTheme as dr } from "./theme/toolbar.js";
|
|
165
|
+
import fr from "./components/Toolbar.js";
|
|
166
|
+
import { tooltipTheme as pr } from "./theme/tooltip.js";
|
|
167
|
+
import mr from "./components/Tooltip.js";
|
|
168
|
+
import { treeTheme as hr } from "./theme/tree.js";
|
|
169
|
+
import gr from "./components/Tree.js";
|
|
170
|
+
import { IryxUi as _r, createIryxUi as vr } from "./plugin.js";
|
|
171
|
+
export { B as AXIS_GAP, s as Accordion, l as Alert, h as App, b as AppShell, x as AspectRatio, D as AuthProviders, A as Avatar, j as AvatarGroup, N as Badge, F as Banner, ie as BarChart, oe as Breadcrumb, E as Button, ce as ButtonGroup, V as CATEGORY_HEIGHT, H as CHAR_WIDTH, ve as Calendar, le as CalendarDate, be as Card, re as ChartLegend, ke as Checkbox, je as Collapsible, Ie as ColorPicker, Re as Combobox, Ye as CommandPalette, tt as ConfirmDialog, rt as Container, st as ContextMenu, lt as DateField, dt as DatePicker, ft as DateRangePicker, et as Dialog, mt as DonutChart, y as Drawer, ht as DropdownMenu, _t as Editable, yt as EmptyState, xt as FileUpload, St as Form, Tt as FormField, Dt as HoverCard, o as Icon, Ot as Input, _r as IryxUi, Je as Kbd, wt as Label, At as LineChart, Mt as Menubar, Ft as NavigationMenu, Jt as NumberInput, Xt as PageHeader, Qt as Pagination, en as PasswordInput, nn as PinInput, an as Popover, sn as Progress, Z as REVEAL_DURATION, ln as RadioGroup, un as Rating, U as SERIES_SLOTS, fn as ScrollArea, gn as ScrollFade, vn as Select, bn as Separator, Tn as Sidebar, kn as SignaturePad, jn as Skeleton, Nn as Slider, Fn as Sparkline, Ln as Splitter, zn as Stat, Vn as Stepper, Un as Switch, W as TOP_PAD, qn as Table, Yn as Tabs, Zn as TagsInput, Qn as Textarea, ue as Time, er as TimeField, nr as Timeline, or as Toaster, lr as Toggle, ur as ToggleGroup, fr as Toolbar, mr as Tooltip, gr as Tree, i as accordionTheme, It as addDecimals, c as alertTheme, _ as appShellTheme, f as applyTheme, S as authProvidersTheme, O as avatarGroupTheme, k as avatarTheme, M as badgeTheme, P as bannerTheme, te as barChartTheme, ae as breadcrumbTheme, C as buttonGroupContextKey, se as buttonGroupTheme, T as buttonTheme, _e as calendarTheme, ye as cardTheme, G as cartesianLayout, ne as chartLegendTheme, Oe as checkboxTheme, Lt as clampDecimal, K as clampTooltip, p as clearTheme, Ae as collapsibleTheme, Fe as colorPickerTheme, Le as comboboxTheme, He as commandHaystack, Ke as commandPaletteTheme, Rt as compareDecimals, e as componentNames, nt as containerTheme, vr as createIryxUi, ct as dateFieldTheme, ut as datePickerTheme, t as defaultConfig, $e as dialogTheme, pt as donutChartTheme, v as drawerTheme, it as dropdownMenuTheme, gt as editableTheme, vt as emptyStateTheme, I as extent, Me as fieldBase, bt as fileUploadTheme, L as finiteValues, xe as formContextKey, Se as formFieldContextKey, zt as formatDecimal, Bt as formatForLocale, de as formatIsoDate, Ce as getByPath, Wn as getRowValue, En as hasInk, Et as hoverCardTheme, u as initAppearance, Ne as inputTheme, n as iryxUiConfigKey, ze as isApplePlatform, Ue as isCommandGroup, Vt as isDecimal, a as isIconArray, Nt as isNavigationGroup, at as isSeparator, xn as isSidebarGroup, Sn as isSidebarSection, we as isStandardSchema, ot as isSubmenu, fe as isoToday, Te as issuePath, qe as kbdTheme, Ct as labelTheme, kt as lineChartTheme, R as linearScale, Ht as localeSeparators, We as matchesHotkey, jt as menubarTheme, Pt as navigationMenuTheme, z as niceTicks, qt as numberInputTheme, Yt as pageHeaderTheme, Zt as paginationTheme, Ut as parseDecimal, Wt as parseFromLocale, Be as parseHotkey, $t as passwordInputTheme, tn as pinInputTheme, rn as popoverTheme, on as progressTheme, cn as radioGroupTheme, Xe as resolveConfirm, Gt as roundDecimal, dn as scrollAreaTheme, pn as scrollFadeMask, hn as scrollFadeTheme, _n as selectTheme, yn as separatorTheme, q as seriesColor, wn as sidebarTheme, On as signaturePadTheme, An as skeletonTheme, Mn as sliderTheme, J as slotOf, Pn as sparklineTheme, In as splitterTheme, Rn as statTheme, Bn as stepperTheme, Dn as strokeWidth, Hn as switchTheme, Kn as tableTheme, Jn as tabsTheme, Xn as tagsInputTheme, Pe as textareaTheme, m as themes, $n as timeFieldTheme, tr as timelineTheme, pe as toCalendarDate, Ge as toCommandGroups, Kt as toEditable, me as toIsoDate, he as toIsoTime, Cn as toSidebarSections, ge as toTime, ar as toastTheme, sr as toggleGroupTheme, cr as toggleTheme, dr as toolbarTheme, Y as tooltipHalfWidth, pr as tooltipTheme, hr as treeTheme, d as useAppearance, Ve as useApplePlatform, w as useButtonGroup, Q as useChartAnimation, $ as useChartProgress, ee as useChartReveal, Ze as useConfirm, Qe as useConfirmState, Gn as useDataTable, g as useElementSize, Ee as useForm, De as useFormField, r as useIryxUiConfig, mn as useScrollEdges, rr as useToast, ir as useToastState, X as warnOnSlotOverflow };
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import type { ClassValue } from '../class-value';
|
|
2
|
+
import type { SiteLink } from './SiteHeader.vue';
|
|
3
|
+
export interface SiteFooterProps {
|
|
4
|
+
/** Render as a different element or component. */
|
|
5
|
+
as?: string;
|
|
6
|
+
/** The product's name, beside the logo. */
|
|
7
|
+
name?: string;
|
|
8
|
+
/** Where the brand links to. Omit to render the name as plain text. */
|
|
9
|
+
href?: string;
|
|
10
|
+
links?: SiteLink[];
|
|
11
|
+
/** The line of small print, usually a copyright. */
|
|
12
|
+
note?: string;
|
|
13
|
+
bordered?: boolean;
|
|
14
|
+
/** Vertical rhythm. */
|
|
15
|
+
padding?: 'none' | 'sm' | 'md' | 'lg';
|
|
16
|
+
/** Maximum content width, passed to the container. */
|
|
17
|
+
size?: 'sm' | 'md' | 'lg' | 'xl' | 'full';
|
|
18
|
+
/** Skip built-in classes; you take over styling entirely. */
|
|
19
|
+
unstyled?: boolean;
|
|
20
|
+
class?: ClassValue;
|
|
21
|
+
/** Override classes per element, e.g. `{ nav: 'gap-x-10' }`. */
|
|
22
|
+
ui?: {
|
|
23
|
+
root?: string;
|
|
24
|
+
container?: string;
|
|
25
|
+
brand?: string;
|
|
26
|
+
nav?: string;
|
|
27
|
+
link?: string;
|
|
28
|
+
note?: string;
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
declare var __VLS_20: {}, __VLS_22: {}, __VLS_24: {}, __VLS_26: {};
|
|
32
|
+
type __VLS_Slots = {} & {
|
|
33
|
+
brand?: (props: typeof __VLS_20) => any;
|
|
34
|
+
} & {
|
|
35
|
+
links?: (props: typeof __VLS_22) => any;
|
|
36
|
+
} & {
|
|
37
|
+
note?: (props: typeof __VLS_24) => any;
|
|
38
|
+
} & {
|
|
39
|
+
default?: (props: typeof __VLS_26) => any;
|
|
40
|
+
};
|
|
41
|
+
declare const __VLS_base: import("vue").DefineComponent<SiteFooterProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<SiteFooterProps> & Readonly<{}>, {
|
|
42
|
+
unstyled: boolean;
|
|
43
|
+
as: string;
|
|
44
|
+
bordered: boolean;
|
|
45
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
46
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
47
|
+
declare const _default: typeof __VLS_export;
|
|
48
|
+
export default _default;
|
|
49
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
50
|
+
new (): {
|
|
51
|
+
$slots: S;
|
|
52
|
+
};
|
|
53
|
+
};
|