@birdycom/omniaui-vue 0.12.2 → 0.12.3

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.
@@ -1,7 +1,8 @@
1
- /** Alert. Classes: .oc-alert--info/success/warning/danger. Default slot = description. */
1
+ /** Alert. Classes: .oc-alert--info/success/warning/danger, --inline (compact, under a field). Default slot = description. */
2
2
  type __VLS_Props = {
3
3
  variant?: 'info' | 'success' | 'warning' | 'danger';
4
4
  title?: string;
5
+ inline?: boolean;
5
6
  };
6
7
  declare var __VLS_1: {}, __VLS_3: {};
7
8
  type __VLS_Slots = {} & {
@@ -1,13 +1,14 @@
1
1
  /**
2
2
  * Button. Renders <a> when `href` is set, otherwise <button>.
3
3
  * Classes: .oc-btn + --secondary/--outline/--ghost/--link/--destructive/--success/--gradient/--glass,
4
- * --xs/--sm/--lg, --icon, --pill
4
+ * --xs/--sm/--lg, --icon, --pill, --inline (link button inside running text)
5
5
  */
6
6
  type __VLS_Props = {
7
7
  variant?: 'default' | 'secondary' | 'outline' | 'ghost' | 'link' | 'destructive' | 'success' | 'gradient' | 'glass';
8
8
  size?: 'xs' | 'sm' | 'md' | 'lg';
9
9
  icon?: boolean;
10
10
  pill?: boolean;
11
+ inline?: boolean;
11
12
  href?: string;
12
13
  type?: 'button' | 'submit' | 'reset';
13
14
  };
@@ -0,0 +1,21 @@
1
+ /** See-through glass sheet with a light top edge; .oc-card inside becomes a glass panel.
2
+ * Classes: .oc-glass + --strong, --flat (desktop window where the OS draws the blur) */
3
+ type __VLS_Props = {
4
+ strong?: boolean;
5
+ flat?: boolean;
6
+ as?: 'div' | 'section' | 'aside' | 'article' | 'main';
7
+ };
8
+ declare var __VLS_6: {};
9
+ type __VLS_Slots = {} & {
10
+ default?: (props: typeof __VLS_6) => any;
11
+ };
12
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
13
+ as: "div" | "section" | "aside" | "article" | "main";
14
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
15
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
16
+ export default _default;
17
+ type __VLS_WithSlots<T, S> = T & {
18
+ new (): {
19
+ $slots: S;
20
+ };
21
+ };
@@ -0,0 +1,16 @@
1
+ /** A lighter layer inside a glass sheet. Classes: .oc-glass-panel(--strong) */
2
+ type __VLS_Props = {
3
+ strong?: boolean;
4
+ };
5
+ declare var __VLS_1: {};
6
+ type __VLS_Slots = {} & {
7
+ default?: (props: typeof __VLS_1) => any;
8
+ };
9
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
10
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
11
+ export default _default;
12
+ type __VLS_WithSlots<T, S> = T & {
13
+ new (): {
14
+ $slots: S;
15
+ };
16
+ };
@@ -2,10 +2,16 @@ type __VLS_Props = {
2
2
  value: number;
3
3
  max?: number;
4
4
  variant?: 'default' | 'success' | 'warning' | 'danger';
5
+ size?: 'xs' | 'sm' | 'md';
6
+ glow?: boolean;
7
+ levels?: boolean | [number, number];
8
+ marker?: number;
5
9
  label?: string;
6
10
  };
7
11
  declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
8
12
  variant: "default" | "success" | "warning" | "danger";
13
+ size: "xs" | "sm" | "md";
9
14
  max: number;
15
+ levels: boolean | [number, number];
10
16
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
11
17
  export default _default;
@@ -1,10 +1,10 @@
1
1
  /**
2
2
  * Typography for long-form text written without classes (same markup as snippets/prose.html). Slot default = the text
3
- * (put .oc-prose-lead on the intro paragraph); the snippet's demo article when empty. size: sm | md | lg, full = no max width.
4
- * Classes: .oc-prose(--sm/--lg/--full), .oc-prose-lead
3
+ * (put .oc-prose-lead on the intro paragraph); the snippet's demo article when empty. size: compact (widgets, 13 px) | sm | md | lg, full = no max width.
4
+ * Classes: .oc-prose(--compact/--sm/--lg/--full), .oc-prose-lead
5
5
  */
6
6
  type __VLS_Props = {
7
- size?: 'sm' | 'md' | 'lg';
7
+ size?: 'compact' | 'sm' | 'md' | 'lg';
8
8
  full?: boolean;
9
9
  as?: 'article' | 'div' | 'section';
10
10
  };
@@ -13,7 +13,7 @@ type __VLS_Slots = {} & {
13
13
  default?: (props: typeof __VLS_6) => any;
14
14
  };
15
15
  declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
16
- size: "sm" | "md" | "lg";
16
+ size: "compact" | "sm" | "md" | "lg";
17
17
  as: "article" | "div" | "section";
18
18
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
19
19
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
@@ -0,0 +1,20 @@
1
+ type __VLS_Props = {
2
+ tone?: 'default' | 'working' | 'waiting' | 'done' | 'error' | 'idle';
3
+ meta?: string;
4
+ };
5
+ declare var __VLS_4: {}, __VLS_6: {};
6
+ type __VLS_Slots = {} & {
7
+ default?: (props: typeof __VLS_4) => any;
8
+ } & {
9
+ meta?: (props: typeof __VLS_6) => any;
10
+ };
11
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
12
+ tone: "default" | "working" | "waiting" | "done" | "error" | "idle";
13
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
14
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
15
+ export default _default;
16
+ type __VLS_WithSlots<T, S> = T & {
17
+ new (): {
18
+ $slots: S;
19
+ };
20
+ };
@@ -0,0 +1,12 @@
1
+ /** A live state light; --working pulses. With `label` the dot stands alone (role="img"), without it is decoration.
2
+ * Classes: .oc-status-dot + --working/--waiting/--done/--error/--idle, --sm/--lg */
3
+ type __VLS_Props = {
4
+ tone?: 'default' | 'working' | 'waiting' | 'done' | 'error' | 'idle';
5
+ size?: 'sm' | 'md' | 'lg';
6
+ label?: string;
7
+ };
8
+ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
9
+ tone: "default" | "working" | "waiting" | "done" | "error" | "idle";
10
+ size: "sm" | "md" | "lg";
11
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
12
+ export default _default;
@@ -0,0 +1,29 @@
1
+ /** Drag area of a frameless desktop window (app-region: drag); buttons in it stay clickable.
2
+ * Slots: icon, title, subtitle, default (the OcTitlebarButton actions).
3
+ * Classes: .oc-titlebar(--bordered/--sm), __main, __icon, __title, __subtitle, __actions */
4
+ type __VLS_Props = {
5
+ title?: string;
6
+ subtitle?: string;
7
+ bordered?: boolean;
8
+ size?: 'sm' | 'md';
9
+ };
10
+ declare var __VLS_1: {}, __VLS_3: {}, __VLS_5: {}, __VLS_7: {};
11
+ type __VLS_Slots = {} & {
12
+ icon?: (props: typeof __VLS_1) => any;
13
+ } & {
14
+ title?: (props: typeof __VLS_3) => any;
15
+ } & {
16
+ subtitle?: (props: typeof __VLS_5) => any;
17
+ } & {
18
+ default?: (props: typeof __VLS_7) => any;
19
+ };
20
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
21
+ size: "sm" | "md";
22
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
23
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
24
+ export default _default;
25
+ type __VLS_WithSlots<T, S> = T & {
26
+ new (): {
27
+ $slots: S;
28
+ };
29
+ };
@@ -0,0 +1,12 @@
1
+ declare var __VLS_1: {};
2
+ type __VLS_Slots = {} & {
3
+ default?: (props: typeof __VLS_1) => any;
4
+ };
5
+ declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
6
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
7
+ export default _default;
8
+ type __VLS_WithSlots<T, S> = T & {
9
+ new (): {
10
+ $slots: S;
11
+ };
12
+ };
@@ -0,0 +1,18 @@
1
+ /** Compact icon button in the title bar; `label` names it for screen readers, `close` turns it red on hover.
2
+ * Classes: .oc-titlebar__btn(--close) */
3
+ type __VLS_Props = {
4
+ label: string;
5
+ close?: boolean;
6
+ };
7
+ declare var __VLS_1: {};
8
+ type __VLS_Slots = {} & {
9
+ default?: (props: typeof __VLS_1) => any;
10
+ };
11
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
12
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
13
+ export default _default;
14
+ type __VLS_WithSlots<T, S> = T & {
15
+ new (): {
16
+ $slots: S;
17
+ };
18
+ };
@@ -0,0 +1,12 @@
1
+ declare var __VLS_1: {};
2
+ type __VLS_Slots = {} & {
3
+ default?: (props: typeof __VLS_1) => any;
4
+ };
5
+ declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
6
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
7
+ export default _default;
8
+ type __VLS_WithSlots<T, S> = T & {
9
+ new (): {
10
+ $slots: S;
11
+ };
12
+ };
package/dist/index.d.ts CHANGED
@@ -53,6 +53,8 @@ import OcFactList from './components/OcFactList.vue';
53
53
  import OcFilterCounts from './components/OcFilterCounts.vue';
54
54
  import OcFlipCard from './components/OcFlipCard.vue';
55
55
  import OcFormField from './components/OcFormField.vue';
56
+ import OcGlass from './components/OcGlass.vue';
57
+ import OcGlassPanel from './components/OcGlassPanel.vue';
56
58
  import OcGreeting from './components/OcGreeting.vue';
57
59
  import OcHeading from './components/OcHeading.vue';
58
60
  import OcHoverCard from './components/OcHoverCard.vue';
@@ -118,6 +120,8 @@ import OcSpinner from './components/OcSpinner.vue';
118
120
  import OcStackCard from './components/OcStackCard.vue';
119
121
  import OcStackList from './components/OcStackList.vue';
120
122
  import OcStatCard from './components/OcStatCard.vue';
123
+ import OcStatus from './components/OcStatus.vue';
124
+ import OcStatusDot from './components/OcStatusDot.vue';
121
125
  import OcStepper from './components/OcStepper.vue';
122
126
  import OcSwitch from './components/OcSwitch.vue';
123
127
  import OcTable from './components/OcTable.vue';
@@ -130,6 +134,10 @@ import OcTextarea from './components/OcTextarea.vue';
130
134
  import OcThemeSwitch from './components/OcThemeSwitch.vue';
131
135
  import OcTimeInput from './components/OcTimeInput.vue';
132
136
  import OcTimeline from './components/OcTimeline.vue';
137
+ import OcTitlebar from './components/OcTitlebar.vue';
138
+ import OcTitlebarBody from './components/OcTitlebarBody.vue';
139
+ import OcTitlebarButton from './components/OcTitlebarButton.vue';
140
+ import OcTitlebarWindow from './components/OcTitlebarWindow.vue';
133
141
  import OcToast from './components/OcToast.vue';
134
142
  import OcToastContainer from './components/OcToastContainer.vue';
135
143
  import OcToggle from './components/OcToggle.vue';
@@ -174,7 +182,7 @@ import OcBlockStatsCounter from './blocks/OcBlockStatsCounter.vue';
174
182
  import OcBlockTeamList from './blocks/OcBlockTeamList.vue';
175
183
  import OcBlockTwoFactor from './blocks/OcBlockTwoFactor.vue';
176
184
  import OcBlockWizardDialog from './blocks/OcBlockWizardDialog.vue';
177
- export { OcAccordion, OcAccordionAccent, OcAccordionItem, OcAffixInput, OcAlert, OcAlertDialog, OcAlphaTabs, OcAspectRatio, OcAttachment, OcAttachmentImage, OcAttachmentList, OcAttachmentThumb, OcAvatar, OcAvatarGroup, OcBackLink, OcBadge, OcBarcodeInput, OcBreadcrumb, OcBrowserFrame, OcBusyOverlay, OcButton, OcButtonGroup, OcButtonGroupText, OcCard, OcChartLine, OcChatComposer, OcCheckbox, OcChecklist, OcChipFilter, OcCollapsible, OcColorField, OcColorSelect, OcColumnMenu, OcCommand, OcConfirmDialog, OcCookieConsent, OcCopyField, OcCounter, OcDataTable, OcDecimalInput, OcDefinitionList, OcDocViewer, OcDropdown, OcDropdownItem, OcDropdownLabel, OcDropdownSeparator, OcDropzone, OcEmojiPicker, OcEmptyState, OcEntityCard, OcFactList, OcFilterCounts, OcFlipCard, OcFormField, OcGreeting, OcHeading, OcHoverCard, OcImageZoom, OcInput, OcInputGroup, OcItem, OcItemGroup, OcItemSeparator, OcKbd, OcKbdGroup, OcLabel, OcLanguageSelect, OcLauncherCard, OcLightbox, OcLinkArrow, OcLinkRow, OcListToolbar, OcLiveFrame, OcMarquee, OcMediaCard, OcMediaRow, OcMediaThumb, OcMessage, OcMessageList, OcMessageThread, OcModal, OcNavmenu, OcNavmenuList, OcNextTeaser, OcNumberInput, OcOtpInput, OcPageHeader, OcPagination, OcPasswordInput, OcPasswordRequirements, OcPhoneInput, OcPopover, OcPriceCard, OcProductMark, OcProgress, OcProjectCard, OcProse, OcRadio, OcRadioGroup, OcRecoveryCodes, OcScrollArea, OcSegmented, OcSelect, OcSeparator, OcSeverityCard, OcSheet, OcSidebar, OcSidebarCollapsible, OcSidebarGroup, OcSidebarMenu, OcSidebarMenuButton, OcSidebarSeparator, OcSkeleton, OcSlider, OcSortableRow, OcSpinner, OcStackCard, OcStackList, OcStatCard, OcStepper, OcSwitch, OcTable, OcTableActions, OcTableCompact, OcTabs, OcTagInput, OcTerminalLog, OcTextarea, OcThemeSwitch, OcTimeInput, OcTimeline, OcToast, OcToastContainer, OcToggle, OcToggleField, OcToggleGroup, OcTooltip, OcTopProgress, OcTree, OcUpgradeBanner, OcUser, OcVersionBanner, OcWatermark, OcBlockAboutTimeline, OcBlockAppHeader, OcBlockAppShell, OcBlockAuth, OcBlockAuthSplit, OcBlockContactGrid, OcBlockCta, OcBlockDataTable, OcBlockFaq, OcBlockFeatures, OcBlockFooter, OcBlockFormPage, OcBlockHero, OcBlockHeroCode, OcBlockHeroOrbit, OcBlockHeroSplit, OcBlockModuleHeader, OcBlockPageHero, OcBlockPortfolioGrid, OcBlockPricing, OcBlockProcess, OcBlockProductGrid, OcBlockProfileHeader, OcBlockShowcase, OcBlockSiteFooter, OcBlockSiteHeader, OcBlockSpotlight, OcBlockStats, OcBlockStatsCounter, OcBlockTeamList, OcBlockTwoFactor, OcBlockWizardDialog, };
185
+ export { OcAccordion, OcAccordionAccent, OcAccordionItem, OcAffixInput, OcAlert, OcAlertDialog, OcAlphaTabs, OcAspectRatio, OcAttachment, OcAttachmentImage, OcAttachmentList, OcAttachmentThumb, OcAvatar, OcAvatarGroup, OcBackLink, OcBadge, OcBarcodeInput, OcBreadcrumb, OcBrowserFrame, OcBusyOverlay, OcButton, OcButtonGroup, OcButtonGroupText, OcCard, OcChartLine, OcChatComposer, OcCheckbox, OcChecklist, OcChipFilter, OcCollapsible, OcColorField, OcColorSelect, OcColumnMenu, OcCommand, OcConfirmDialog, OcCookieConsent, OcCopyField, OcCounter, OcDataTable, OcDecimalInput, OcDefinitionList, OcDocViewer, OcDropdown, OcDropdownItem, OcDropdownLabel, OcDropdownSeparator, OcDropzone, OcEmojiPicker, OcEmptyState, OcEntityCard, OcFactList, OcFilterCounts, OcFlipCard, OcFormField, OcGlass, OcGlassPanel, OcGreeting, OcHeading, OcHoverCard, OcImageZoom, OcInput, OcInputGroup, OcItem, OcItemGroup, OcItemSeparator, OcKbd, OcKbdGroup, OcLabel, OcLanguageSelect, OcLauncherCard, OcLightbox, OcLinkArrow, OcLinkRow, OcListToolbar, OcLiveFrame, OcMarquee, OcMediaCard, OcMediaRow, OcMediaThumb, OcMessage, OcMessageList, OcMessageThread, OcModal, OcNavmenu, OcNavmenuList, OcNextTeaser, OcNumberInput, OcOtpInput, OcPageHeader, OcPagination, OcPasswordInput, OcPasswordRequirements, OcPhoneInput, OcPopover, OcPriceCard, OcProductMark, OcProgress, OcProjectCard, OcProse, OcRadio, OcRadioGroup, OcRecoveryCodes, OcScrollArea, OcSegmented, OcSelect, OcSeparator, OcSeverityCard, OcSheet, OcSidebar, OcSidebarCollapsible, OcSidebarGroup, OcSidebarMenu, OcSidebarMenuButton, OcSidebarSeparator, OcSkeleton, OcSlider, OcSortableRow, OcSpinner, OcStackCard, OcStackList, OcStatCard, OcStatus, OcStatusDot, OcStepper, OcSwitch, OcTable, OcTableActions, OcTableCompact, OcTabs, OcTagInput, OcTerminalLog, OcTextarea, OcThemeSwitch, OcTimeInput, OcTimeline, OcTitlebar, OcTitlebarBody, OcTitlebarButton, OcTitlebarWindow, OcToast, OcToastContainer, OcToggle, OcToggleField, OcToggleGroup, OcTooltip, OcTopProgress, OcTree, OcUpgradeBanner, OcUser, OcVersionBanner, OcWatermark, OcBlockAboutTimeline, OcBlockAppHeader, OcBlockAppShell, OcBlockAuth, OcBlockAuthSplit, OcBlockContactGrid, OcBlockCta, OcBlockDataTable, OcBlockFaq, OcBlockFeatures, OcBlockFooter, OcBlockFormPage, OcBlockHero, OcBlockHeroCode, OcBlockHeroOrbit, OcBlockHeroSplit, OcBlockModuleHeader, OcBlockPageHero, OcBlockPortfolioGrid, OcBlockPricing, OcBlockProcess, OcBlockProductGrid, OcBlockProfileHeader, OcBlockShowcase, OcBlockSiteFooter, OcBlockSiteHeader, OcBlockSpotlight, OcBlockStats, OcBlockStatsCounter, OcBlockTeamList, OcBlockTwoFactor, OcBlockWizardDialog, };
178
186
  export type { AffixInputKind } from './components/OcAffixInput.vue';
179
187
  export type { AttachmentType, AttachmentFile } from './components/OcAttachment.vue';
180
188
  export type { BreadcrumbItem } from './components/OcBreadcrumb.vue';