@raylang/vue 0.9.0 → 0.11.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/components/pulse.js +9 -0
- package/index.d.ts +23 -0
- package/index.js +3 -2
- package/package.json +2 -2
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
// Generated by ray-elements tools from component.toml files. Do not edit.
|
|
2
|
+
|
|
3
|
+
import "@raylang/elements/pulse";
|
|
4
|
+
import { createComponent } from "../create.js";
|
|
5
|
+
|
|
6
|
+
export const RayPulse = /*#__PURE__*/ createComponent("RayPulse", "ray-pulse", {
|
|
7
|
+
properties: ["variant", "count", "shape", "fade", "direction", "color", "size", "label"],
|
|
8
|
+
booleans: [],
|
|
9
|
+
});
|
package/index.d.ts
CHANGED
|
@@ -2153,6 +2153,27 @@ export interface RayProgressProps {
|
|
|
2153
2153
|
/** <ray-progress> as a Vue component. */
|
|
2154
2154
|
export declare const RayProgress: DefineComponent<RayProgressProps>;
|
|
2155
2155
|
|
|
2156
|
+
export interface RayPulseProps {
|
|
2157
|
+
/** The figure: cluster (three concentric circles breathing out of phase), breathe (one dot over a halo), ripple (rings expanding from a dot) or dots (three in a row, in sequence). */
|
|
2158
|
+
variant?: "cluster" | "breathe" | "ripple" | "dots";
|
|
2159
|
+
/** Number of circles, 1 to 5 (more are clamped). Default: the variant's. */
|
|
2160
|
+
count?: number;
|
|
2161
|
+
/** Filled discs (concentric ones fade with size, see --ray-pulse-floor) or outlined rings. Default: the variant's. */
|
|
2162
|
+
shape?: "filled" | "ring";
|
|
2163
|
+
/** Whether a cycle ends transparent; the bare attribute means out. Default: the variant's (ripple and dots fade). */
|
|
2164
|
+
fade?: "out" | "none";
|
|
2165
|
+
/** alternate goes there and back; normal goes one way and restarts (with fade: the ripple). Default: the variant's. */
|
|
2166
|
+
direction?: "alternate" | "normal";
|
|
2167
|
+
/** A palette color or any CSS color. Default: the primary color. */
|
|
2168
|
+
color?: string;
|
|
2169
|
+
/** Height of the figure (the dots variant is wider). */
|
|
2170
|
+
size?: "xs" | "sm" | "md" | "lg" | "xl";
|
|
2171
|
+
/** Text read by screen readers. */
|
|
2172
|
+
label?: string;
|
|
2173
|
+
}
|
|
2174
|
+
/** <ray-pulse> as a Vue component. */
|
|
2175
|
+
export declare const RayPulse: DefineComponent<RayPulseProps>;
|
|
2176
|
+
|
|
2156
2177
|
export interface RayRingProgressProps {
|
|
2157
2178
|
/** Progress, from 0 to max. Unset: indeterminate (a spinning arc). */
|
|
2158
2179
|
value?: number;
|
|
@@ -2501,6 +2522,7 @@ export declare const components: {
|
|
|
2501
2522
|
RayNotification: typeof RayNotification;
|
|
2502
2523
|
RayToaster: typeof RayToaster;
|
|
2503
2524
|
RayProgress: typeof RayProgress;
|
|
2525
|
+
RayPulse: typeof RayPulse;
|
|
2504
2526
|
RayRingProgress: typeof RayRingProgress;
|
|
2505
2527
|
RaySkeleton: typeof RaySkeleton;
|
|
2506
2528
|
RaySpinner: typeof RaySpinner;
|
|
@@ -2599,6 +2621,7 @@ declare module "vue" {
|
|
|
2599
2621
|
RayNotification: typeof RayNotification;
|
|
2600
2622
|
RayToaster: typeof RayToaster;
|
|
2601
2623
|
RayProgress: typeof RayProgress;
|
|
2624
|
+
RayPulse: typeof RayPulse;
|
|
2602
2625
|
RayRingProgress: typeof RayRingProgress;
|
|
2603
2626
|
RaySkeleton: typeof RaySkeleton;
|
|
2604
2627
|
RaySpinner: typeof RaySpinner;
|
package/index.js
CHANGED
|
@@ -58,6 +58,7 @@ import { RayAlert } from "./components/alert.js";
|
|
|
58
58
|
import { RayEmptyState } from "./components/empty-state.js";
|
|
59
59
|
import { RayNotification, RayToaster } from "./components/notification.js";
|
|
60
60
|
import { RayProgress } from "./components/progress.js";
|
|
61
|
+
import { RayPulse } from "./components/pulse.js";
|
|
61
62
|
import { RayRingProgress } from "./components/ring-progress.js";
|
|
62
63
|
import { RaySkeleton } from "./components/skeleton.js";
|
|
63
64
|
import { RaySpinner } from "./components/spinner.js";
|
|
@@ -79,9 +80,9 @@ import { RayThemeToggle } from "./components/theme-toggle.js";
|
|
|
79
80
|
|
|
80
81
|
// The factories, to wrap your own custom elements the same way.
|
|
81
82
|
export { createComponent, createPlugin } from "./create.js";
|
|
82
|
-
export { RayButton, RayButtonGroup, RayIconButton, RayToggle, RayToggleGroup, RayCheckbox, RayCheckboxGroup, RayColorPicker, RayColorInput, RayCombobox, RayDatePicker, RayCalendar, RayFileUpload, RayInput, RayModeInput, RayNumberInput, RayPasswordInput, RayPathInput, RayRadioGroup, RayRadio, RayRadioCard, RaySearch, RaySegmentedControl, RaySelect, RaySlider, RaySwitch, RayTextarea, RayBottomNav, RayBottomNavItem, RayBreadcrumbs, RayBreadcrumb, RayDocTabs, RayDocTab, RayNavLink, RayPagination, RaySidebar, RaySidebarGroup, RayStepper, RayStep, RayTabs, RayTab, RayTabPanel, RayCommandPalette, RayDialog, RayDrawer, RayMenu, RayMenuItem, RayMenuLabel, RayMenuDivider, RayPopover, RayTooltip, RayAccordion, RayAccordionItem, RayAttachment, RayAttachments, RayAvatar, RayBadge, RayBlockquote, RayCarousel, RayCode, RayIcon, RayIndicator, RayKbd, RayStat, RayTable, RayTimeline, RayTimelineItem, RayAlert, RayEmptyState, RayNotification, RayToaster, RayProgress, RayRingProgress, RaySkeleton, RaySpinner, RayStepDots, RayAppBar, RayAppShell, RayAspectRatio, RayCard, RayCenter, RayContainer, RayGrid, RayGroup, RayScrollArea, RaySeparator, RaySplit, RayStack, RayStatusbar, RayStatusbarItem, RayThemeToggle };
|
|
83
|
+
export { RayButton, RayButtonGroup, RayIconButton, RayToggle, RayToggleGroup, RayCheckbox, RayCheckboxGroup, RayColorPicker, RayColorInput, RayCombobox, RayDatePicker, RayCalendar, RayFileUpload, RayInput, RayModeInput, RayNumberInput, RayPasswordInput, RayPathInput, RayRadioGroup, RayRadio, RayRadioCard, RaySearch, RaySegmentedControl, RaySelect, RaySlider, RaySwitch, RayTextarea, RayBottomNav, RayBottomNavItem, RayBreadcrumbs, RayBreadcrumb, RayDocTabs, RayDocTab, RayNavLink, RayPagination, RaySidebar, RaySidebarGroup, RayStepper, RayStep, RayTabs, RayTab, RayTabPanel, RayCommandPalette, RayDialog, RayDrawer, RayMenu, RayMenuItem, RayMenuLabel, RayMenuDivider, RayPopover, RayTooltip, RayAccordion, RayAccordionItem, RayAttachment, RayAttachments, RayAvatar, RayBadge, RayBlockquote, RayCarousel, RayCode, RayIcon, RayIndicator, RayKbd, RayStat, RayTable, RayTimeline, RayTimelineItem, RayAlert, RayEmptyState, RayNotification, RayToaster, RayProgress, RayPulse, RayRingProgress, RaySkeleton, RaySpinner, RayStepDots, RayAppBar, RayAppShell, RayAspectRatio, RayCard, RayCenter, RayContainer, RayGrid, RayGroup, RayScrollArea, RaySeparator, RaySplit, RayStack, RayStatusbar, RayStatusbarItem, RayThemeToggle };
|
|
83
84
|
|
|
84
|
-
export const components = { RayButton, RayButtonGroup, RayIconButton, RayToggle, RayToggleGroup, RayCheckbox, RayCheckboxGroup, RayColorPicker, RayColorInput, RayCombobox, RayDatePicker, RayCalendar, RayFileUpload, RayInput, RayModeInput, RayNumberInput, RayPasswordInput, RayPathInput, RayRadioGroup, RayRadio, RayRadioCard, RaySearch, RaySegmentedControl, RaySelect, RaySlider, RaySwitch, RayTextarea, RayBottomNav, RayBottomNavItem, RayBreadcrumbs, RayBreadcrumb, RayDocTabs, RayDocTab, RayNavLink, RayPagination, RaySidebar, RaySidebarGroup, RayStepper, RayStep, RayTabs, RayTab, RayTabPanel, RayCommandPalette, RayDialog, RayDrawer, RayMenu, RayMenuItem, RayMenuLabel, RayMenuDivider, RayPopover, RayTooltip, RayAccordion, RayAccordionItem, RayAttachment, RayAttachments, RayAvatar, RayBadge, RayBlockquote, RayCarousel, RayCode, RayIcon, RayIndicator, RayKbd, RayStat, RayTable, RayTimeline, RayTimelineItem, RayAlert, RayEmptyState, RayNotification, RayToaster, RayProgress, RayRingProgress, RaySkeleton, RaySpinner, RayStepDots, RayAppBar, RayAppShell, RayAspectRatio, RayCard, RayCenter, RayContainer, RayGrid, RayGroup, RayScrollArea, RaySeparator, RaySplit, RayStack, RayStatusbar, RayStatusbarItem, RayThemeToggle };
|
|
85
|
+
export const components = { RayButton, RayButtonGroup, RayIconButton, RayToggle, RayToggleGroup, RayCheckbox, RayCheckboxGroup, RayColorPicker, RayColorInput, RayCombobox, RayDatePicker, RayCalendar, RayFileUpload, RayInput, RayModeInput, RayNumberInput, RayPasswordInput, RayPathInput, RayRadioGroup, RayRadio, RayRadioCard, RaySearch, RaySegmentedControl, RaySelect, RaySlider, RaySwitch, RayTextarea, RayBottomNav, RayBottomNavItem, RayBreadcrumbs, RayBreadcrumb, RayDocTabs, RayDocTab, RayNavLink, RayPagination, RaySidebar, RaySidebarGroup, RayStepper, RayStep, RayTabs, RayTab, RayTabPanel, RayCommandPalette, RayDialog, RayDrawer, RayMenu, RayMenuItem, RayMenuLabel, RayMenuDivider, RayPopover, RayTooltip, RayAccordion, RayAccordionItem, RayAttachment, RayAttachments, RayAvatar, RayBadge, RayBlockquote, RayCarousel, RayCode, RayIcon, RayIndicator, RayKbd, RayStat, RayTable, RayTimeline, RayTimelineItem, RayAlert, RayEmptyState, RayNotification, RayToaster, RayProgress, RayPulse, RayRingProgress, RaySkeleton, RaySpinner, RayStepDots, RayAppBar, RayAppShell, RayAspectRatio, RayCard, RayCenter, RayContainer, RayGrid, RayGroup, RayScrollArea, RaySeparator, RaySplit, RayStack, RayStatusbar, RayStatusbarItem, RayThemeToggle };
|
|
85
86
|
|
|
86
87
|
/** app.use(RayElements) registers every component globally. */
|
|
87
88
|
export const RayElements = /*#__PURE__*/ createPlugin(components);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@raylang/vue",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.11.0",
|
|
4
4
|
"description": "Vue 3 wrappers (with v-model) of the ray-elements web components",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"keywords": ["web-components", "design-system", "ui", "raylang", "vue"],
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
},
|
|
29
29
|
"sideEffects": false,
|
|
30
30
|
"peerDependencies": {
|
|
31
|
-
"@raylang/elements": "^0.
|
|
31
|
+
"@raylang/elements": "^0.11.0",
|
|
32
32
|
"vue": ">=3.3"
|
|
33
33
|
}
|
|
34
34
|
}
|