@stacksjs/components 0.2.572 → 0.2.573
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/dist/components/CodeBlock.d.ts +35 -0
- package/dist/components/Footer.d.ts +12 -0
- package/dist/components/Hero.d.ts +7 -0
- package/dist/components/Installation.d.ts +9 -0
- package/dist/components/index.d.ts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/ui/accordion/Accordion.d.ts +22 -0
- package/dist/ui/accordion/AccordionItem.d.ts +11 -0
- package/dist/ui/accordion/index.d.ts +2 -2
- package/dist/ui/audio/Audio.d.ts +4 -0
- package/dist/ui/audio/index.d.ts +1 -1
- package/dist/ui/auth/Login.d.ts +30 -0
- package/dist/ui/auth/Signup.d.ts +18 -0
- package/dist/ui/auth/TwoFactorChallenge.d.ts +24 -0
- package/dist/ui/auth/index.d.ts +3 -3
- package/dist/ui/avatar/Avatar.d.ts +17 -0
- package/dist/ui/avatar/index.d.ts +1 -1
- package/dist/ui/badge/Badge.d.ts +42 -0
- package/dist/ui/badge/index.d.ts +1 -1
- package/dist/ui/breadcrumb/Breadcrumb.d.ts +13 -0
- package/dist/ui/breadcrumb/index.d.ts +1 -1
- package/dist/ui/button/Button.d.ts +103 -0
- package/dist/ui/button/index.d.ts +1 -1
- package/dist/ui/calendar/Calendar.d.ts +67 -0
- package/dist/ui/calendar/index.d.ts +1 -1
- package/dist/ui/card/Card.d.ts +14 -0
- package/dist/ui/card/index.d.ts +1 -1
- package/dist/ui/chat/ChatInbox.d.ts +15 -0
- package/dist/ui/chat/ChatLauncher.d.ts +8 -0
- package/dist/ui/chat/ChatMessage.d.ts +9 -0
- package/dist/ui/chat/ChatUnreadBadge.d.ts +5 -0
- package/dist/ui/chat/index.d.ts +4 -4
- package/dist/ui/checkbox/Checkbox.d.ts +53 -0
- package/dist/ui/checkbox/index.d.ts +1 -1
- package/dist/ui/combobox/Combobox.d.ts +40 -0
- package/dist/ui/combobox/ComboboxButton.d.ts +13 -0
- package/dist/ui/combobox/ComboboxInput.d.ts +9 -0
- package/dist/ui/combobox/ComboboxOption.d.ts +10 -0
- package/dist/ui/combobox/ComboboxOptions.d.ts +7 -0
- package/dist/ui/combobox/index.d.ts +5 -5
- package/dist/ui/command-palette/CommandPalette.d.ts +13 -0
- package/dist/ui/command-palette/CommandPaletteItem.d.ts +8 -0
- package/dist/ui/command-palette/index.d.ts +2 -2
- package/dist/ui/date-range-picker/DateRangePicker.d.ts +59 -0
- package/dist/ui/date-range-picker/index.d.ts +1 -1
- package/dist/ui/dialog/Dialog.d.ts +31 -0
- package/dist/ui/dialog/DialogBackdrop.d.ts +6 -0
- package/dist/ui/dialog/DialogDescription.d.ts +6 -0
- package/dist/ui/dialog/DialogPanel.d.ts +6 -0
- package/dist/ui/dialog/DialogTitle.d.ts +6 -0
- package/dist/ui/dialog/index.d.ts +5 -5
- package/dist/ui/drawer/Drawer.d.ts +90 -0
- package/dist/ui/drawer/index.d.ts +1 -1
- package/dist/ui/dropdown/Dropdown.d.ts +12 -0
- package/dist/ui/dropdown/DropdownButton.d.ts +8 -0
- package/dist/ui/dropdown/DropdownItem.d.ts +10 -0
- package/dist/ui/dropdown/DropdownItems.d.ts +7 -0
- package/dist/ui/dropdown/index.d.ts +4 -4
- package/dist/ui/empty-state/EmptyState.d.ts +33 -0
- package/dist/ui/empty-state/index.d.ts +1 -1
- package/dist/ui/form/Form.d.ts +31 -0
- package/dist/ui/form/index.d.ts +1 -1
- package/dist/ui/image/Image.d.ts +104 -0
- package/dist/ui/image/index.d.ts +1 -1
- package/dist/ui/input/EmailInput.d.ts +28 -0
- package/dist/ui/input/NumberInput.d.ts +83 -0
- package/dist/ui/input/PasswordInput.d.ts +84 -0
- package/dist/ui/input/SearchInput.d.ts +29 -0
- package/dist/ui/input/TextInput.d.ts +145 -0
- package/dist/ui/input/index.d.ts +17 -5
- package/dist/ui/listbox/Listbox.d.ts +30 -0
- package/dist/ui/listbox/ListboxButton.d.ts +8 -0
- package/dist/ui/listbox/ListboxLabel.d.ts +6 -0
- package/dist/ui/listbox/ListboxOption.d.ts +10 -0
- package/dist/ui/listbox/ListboxOptions.d.ts +7 -0
- package/dist/ui/listbox/index.d.ts +5 -5
- package/dist/ui/mobile/FilterChip.d.ts +35 -0
- package/dist/ui/mobile/FilterChips.d.ts +26 -0
- package/dist/ui/mobile/ListRow.d.ts +35 -0
- package/dist/ui/mobile/NavBar.d.ts +47 -0
- package/dist/ui/mobile/SectionCard.d.ts +38 -0
- package/dist/ui/mobile/TabBar.d.ts +31 -0
- package/dist/ui/mobile/TabBarItem.d.ts +41 -0
- package/dist/ui/mobile/index.d.ts +7 -7
- package/dist/ui/navigator/Navigator.d.ts +14 -0
- package/dist/ui/navigator/index.d.ts +1 -1
- package/dist/ui/notification/Notification.d.ts +22 -0
- package/dist/ui/notification/index.d.ts +1 -1
- package/dist/ui/pager/Pager.d.ts +48 -0
- package/dist/ui/pager/PagerDots.d.ts +22 -0
- package/dist/ui/pager/index.d.ts +2 -2
- package/dist/ui/pagination/Pagination.d.ts +19 -0
- package/dist/ui/pagination/index.d.ts +1 -1
- package/dist/ui/payment/Checkout.d.ts +13 -0
- package/dist/ui/payment/DefaultPaymentMethod.d.ts +8 -0
- package/dist/ui/payment/PaymentMethods.d.ts +23 -0
- package/dist/ui/payment/SubscriptionCheckout.d.ts +28 -0
- package/dist/ui/payment/index.d.ts +4 -4
- package/dist/ui/popover/Popover.d.ts +12 -0
- package/dist/ui/popover/PopoverButton.d.ts +8 -0
- package/dist/ui/popover/PopoverPanel.d.ts +8 -0
- package/dist/ui/popover/index.d.ts +3 -3
- package/dist/ui/portal/Portal.d.ts +7 -0
- package/dist/ui/portal/index.d.ts +1 -1
- package/dist/ui/progress/Progress.d.ts +32 -0
- package/dist/ui/progress/index.d.ts +1 -1
- package/dist/ui/radio/Radio.d.ts +51 -0
- package/dist/ui/radio/index.d.ts +1 -1
- package/dist/ui/radio-group/RadioGroup.d.ts +47 -0
- package/dist/ui/radio-group/RadioGroupDescription.d.ts +6 -0
- package/dist/ui/radio-group/RadioGroupLabel.d.ts +6 -0
- package/dist/ui/radio-group/RadioGroupOption.d.ts +10 -0
- package/dist/ui/radio-group/index.d.ts +4 -4
- package/dist/ui/select/Select.d.ts +93 -0
- package/dist/ui/select/index.d.ts +1 -1
- package/dist/ui/sidebar/Sidebar.d.ts +70 -0
- package/dist/ui/sidebar/SidebarFooter.d.ts +21 -0
- package/dist/ui/sidebar/SidebarHeader.d.ts +114 -0
- package/dist/ui/sidebar/SidebarItem.d.ts +37 -0
- package/dist/ui/sidebar/SidebarPinned.d.ts +27 -0
- package/dist/ui/sidebar/SidebarSection.d.ts +35 -0
- package/dist/ui/sidebar/SidebarSpace.d.ts +44 -0
- package/dist/ui/sidebar/SidebarSpaceSwitcher.d.ts +30 -0
- package/dist/ui/sidebar/SidebarSpaces.d.ts +38 -0
- package/dist/ui/sidebar/index.d.ts +9 -9
- package/dist/ui/sidebar/themes.d.ts +39 -5
- package/dist/ui/skeleton/Skeleton.d.ts +13 -0
- package/dist/ui/skeleton/index.d.ts +1 -1
- package/dist/ui/spinner/Spinner.d.ts +13 -0
- package/dist/ui/spinner/index.d.ts +1 -1
- package/dist/ui/stepper/Stepper.d.ts +8 -0
- package/dist/ui/stepper/StepperStep.d.ts +17 -0
- package/dist/ui/stepper/index.d.ts +2 -2
- package/dist/ui/switch/Switch.d.ts +75 -0
- package/dist/ui/switch/index.d.ts +1 -1
- package/dist/ui/table/Table.d.ts +20 -0
- package/dist/ui/table/TableBody.d.ts +5 -0
- package/dist/ui/table/TableCell.d.ts +5 -0
- package/dist/ui/table/TableHead.d.ts +5 -0
- package/dist/ui/table/TableHeader.d.ts +45 -0
- package/dist/ui/table/TableRow.d.ts +6 -0
- package/dist/ui/table/index.d.ts +6 -6
- package/dist/ui/tabs/Tab.d.ts +19 -0
- package/dist/ui/tabs/TabList.d.ts +34 -0
- package/dist/ui/tabs/TabPanel.d.ts +13 -0
- package/dist/ui/tabs/Tabs.d.ts +30 -0
- package/dist/ui/tabs/index.d.ts +4 -4
- package/dist/ui/teleport/Teleport.d.ts +8 -0
- package/dist/ui/teleport/index.d.ts +1 -1
- package/dist/ui/textarea/Textarea.d.ts +75 -0
- package/dist/ui/textarea/index.d.ts +1 -1
- package/dist/ui/theme-toggle/ThemeToggle.d.ts +53 -0
- package/dist/ui/theme-toggle/index.d.ts +1 -1
- package/dist/ui/tooltip/Tooltip.d.ts +39 -0
- package/dist/ui/tooltip/index.d.ts +1 -1
- package/dist/ui/transition/Transition.d.ts +191 -0
- package/dist/ui/transition/index.d.ts +1 -1
- package/dist/ui/video/Video.d.ts +61 -0
- package/dist/ui/video/index.d.ts +1 -1
- package/dist/ui/virtual-list/VirtualList.d.ts +12 -0
- package/dist/ui/virtual-list/index.d.ts +1 -1
- package/dist/ui/virtual-table/VirtualTable.d.ts +21 -0
- package/dist/ui/virtual-table/index.d.ts +1 -1
- package/dist/utils/accessibility.d.ts +15 -0
- package/dist/utils/error-handling.d.ts +15 -2
- package/dist/utils/i18n.d.ts +48 -65
- package/dist/utils/keep-alive.d.ts +27 -3
- package/dist/utils/lazy-loading.d.ts +5 -1
- package/dist/utils/prop-validation.d.ts +3 -3
- package/dist/utils/tooltip-position.d.ts +7 -1
- package/package.json +4 -7
- package/src/utils/animation/helpers.ts +5 -5
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import type { DefineComponent } from '@stacksjs/stx';
|
|
2
|
+
declare const __dtsx_component__: __DtsxStxComponentType;
|
|
3
|
+
export declare const code: unknown;
|
|
4
|
+
export declare const language: unknown;
|
|
5
|
+
export declare const theme: unknown;
|
|
6
|
+
/*
|
|
7
|
+
* `$bool`, not `!== false`. A plain attribute arrives as a STRING, so
|
|
8
|
+
* `copyable="false"` was `'false' !== false` - true - and the copy button
|
|
9
|
+
* rendered anyway, which is half of why #2014 looked like a template-gating
|
|
10
|
+
* problem. Same shape as the 103 props in stacksjs/stx#2006; `!== false` is a
|
|
11
|
+
* third spelling of it that the library-wide sweep does not recognise.
|
|
12
|
+
*/
|
|
13
|
+
export declare const lineNumbers: unknown;
|
|
14
|
+
export declare const copyable: unknown;
|
|
15
|
+
export declare const className: unknown;
|
|
16
|
+
declare const result: unknown;
|
|
17
|
+
export declare const highlightedCode: unknown;
|
|
18
|
+
// Exported, not rendered: no stylesheet in this package covers the
|
|
19
|
+
// highlighter's class names, so a consumer needs these rules to see colour --
|
|
20
|
+
// but a <style> inside a component is extracted from the component's source
|
|
21
|
+
// before interpolation runs, so emitting it here ships an empty tag. Until that
|
|
22
|
+
// is fixed in stx, an app includes this itself (or sets its own token styles).
|
|
23
|
+
export declare const highlightCss: unknown;
|
|
24
|
+
/*
|
|
25
|
+
* The clipboard payload, decided on the SERVER.
|
|
26
|
+
*
|
|
27
|
+
* `{{ copyable ? code : '' }}` in the client script does not work:
|
|
28
|
+
* interpolateScriptExpressions resolves an identifier or a property path, not
|
|
29
|
+
* an arbitrary expression, so a ternary emits nothing at all (#1989) and the
|
|
30
|
+
* declaration came out as a bare `const code = `. A named export is a plain
|
|
31
|
+
* identifier, which is what the interpolator can resolve.
|
|
32
|
+
*/
|
|
33
|
+
export declare const copyPayload: unknown;
|
|
34
|
+
declare type __DtsxStxComponentType = DefineComponent<{ code?: string, language?: string, theme?: string, lineNumbers?: unknown, copyable?: unknown, className?: string }>;
|
|
35
|
+
export default __dtsx_component__;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { DefineComponent } from '@stacksjs/stx';
|
|
2
|
+
declare const __dtsx_component__: __DtsxStxComponentType;
|
|
3
|
+
export declare const author: unknown;
|
|
4
|
+
export declare const authorUrl: unknown;
|
|
5
|
+
export declare const project: unknown;
|
|
6
|
+
export declare const projectUrl: unknown;
|
|
7
|
+
export declare const twitterUrl: unknown;
|
|
8
|
+
export declare const sponsorUrl: unknown;
|
|
9
|
+
export declare const coffeeUrl: unknown;
|
|
10
|
+
export declare const currentYear: unknown;
|
|
11
|
+
declare type __DtsxStxComponentType = DefineComponent<{ author?: string, authorUrl?: string, project?: string, projectUrl?: string, twitterUrl?: string, sponsorUrl?: string, coffeeUrl?: string }>;
|
|
12
|
+
export default __dtsx_component__;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { DefineComponent } from '@stacksjs/stx';
|
|
2
|
+
declare const __dtsx_component__: __DtsxStxComponentType;
|
|
3
|
+
export declare const title: unknown;
|
|
4
|
+
export declare const description: unknown;
|
|
5
|
+
export declare const githubUrl: unknown;
|
|
6
|
+
declare type __DtsxStxComponentType = DefineComponent<{ title?: string, description?: string, githubUrl?: string }>;
|
|
7
|
+
export default __dtsx_component__;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { DefineComponent } from '@stacksjs/stx';
|
|
2
|
+
declare const __dtsx_component__: __DtsxStxComponentType;
|
|
3
|
+
export declare const packageName: unknown;
|
|
4
|
+
export declare const installCode: string;
|
|
5
|
+
export declare const npmCode: string;
|
|
6
|
+
export declare const pnpmCode: string;
|
|
7
|
+
export declare const yarnCode: string;
|
|
8
|
+
declare type __DtsxStxComponentType = DefineComponent<{ packageName?: string }>;
|
|
9
|
+
export default __dtsx_component__;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { default as CodeBlock } from './CodeBlock
|
|
2
|
-
export { default as Footer } from './Footer
|
|
3
|
-
export { default as Hero } from './Hero
|
|
4
|
-
export { default as Installation } from './Installation
|
|
1
|
+
export { default as CodeBlock } from './CodeBlock';
|
|
2
|
+
export { default as Footer } from './Footer';
|
|
3
|
+
export { default as Hero } from './Hero';
|
|
4
|
+
export { default as Installation } from './Installation';
|
package/dist/index.d.ts
CHANGED
|
@@ -28,10 +28,10 @@ export declare interface InstallationProps extends ComponentProps {
|
|
|
28
28
|
packageName?: string
|
|
29
29
|
}
|
|
30
30
|
// Export shared components (these will be imported as .stx files)
|
|
31
|
-
export { default as CodeBlock } from './components/CodeBlock
|
|
32
|
-
export { default as Footer } from './components/Footer
|
|
33
|
-
export { default as Hero } from './components/Hero
|
|
34
|
-
export { default as Installation } from './components/Installation
|
|
31
|
+
export { default as CodeBlock } from './components/CodeBlock';
|
|
32
|
+
export { default as Footer } from './components/Footer';
|
|
33
|
+
export { default as Hero } from './components/Hero';
|
|
34
|
+
export { default as Installation } from './components/Installation';
|
|
35
35
|
// Export composables
|
|
36
36
|
export * from './composables/index';
|
|
37
37
|
// The page's overlay stack, for overlays an app draws itself (stacksjs/stx#2057).
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { DefineComponent } from '@stacksjs/stx';
|
|
2
|
+
declare function toggleItem(index: unknown): void;
|
|
3
|
+
declare const __dtsx_component__: __DtsxStxComponentType;
|
|
4
|
+
// Two modes (see stacksjs/stx#1703):
|
|
5
|
+
// 1. Legacy prop API — pass `items={[{title, content}, …]}` for simple
|
|
6
|
+
// string-content accordions (kept for backward compatibility with
|
|
7
|
+
// existing visual snapshots and consumers).
|
|
8
|
+
// 2. Slot API — drop `<AccordionItem title="…">` children for arbitrary
|
|
9
|
+
// content. Each AccordionItem renders its own header + content panel;
|
|
10
|
+
// this parent attaches click handlers and toggles content visibility.
|
|
11
|
+
export declare const items: unknown;
|
|
12
|
+
export declare const allowMultiple: ReturnType<typeof $bool>;
|
|
13
|
+
export declare const defaultOpen: unknown;
|
|
14
|
+
export declare const className: unknown;
|
|
15
|
+
export declare const accordionClasses: unknown;
|
|
16
|
+
export declare const headerClasses: unknown;
|
|
17
|
+
export declare const iconClasses: unknown;
|
|
18
|
+
export declare const contentClasses: unknown;
|
|
19
|
+
export declare const hasPropItems: boolean;
|
|
20
|
+
declare const openItems: unknown;
|
|
21
|
+
declare type __DtsxStxComponentType = DefineComponent<{ items?: unknown[], allowMultiple?: unknown, defaultOpen?: unknown[], className?: string }> & { readonly __stxExposed?: { openItems: typeof openItems, toggleItem: typeof toggleItem } }
|
|
22
|
+
export default __dtsx_component__;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { DefineComponent } from '@stacksjs/stx';
|
|
2
|
+
declare const __dtsx_component__: __DtsxStxComponentType;
|
|
3
|
+
// Slot wrapper that the parent <Accordion> discovers and wires up on mount.
|
|
4
|
+
// Renders its own header button + content panel; the parent attaches click
|
|
5
|
+
// handlers and toggles the content panel's `hidden` attribute as openItems
|
|
6
|
+
// changes. Hard-coded styling here matches the legacy prop-mode markup so
|
|
7
|
+
// snapshots compare cleanly in both modes. See stacksjs/stx#1703.
|
|
8
|
+
export declare const title: unknown;
|
|
9
|
+
export declare const className: unknown;
|
|
10
|
+
declare type __DtsxStxComponentType = DefineComponent<{ title?: string, className?: string }>;
|
|
11
|
+
export default __dtsx_component__;
|
|
@@ -38,5 +38,5 @@ export declare interface AccordionItemProps {
|
|
|
38
38
|
className?: string
|
|
39
39
|
}
|
|
40
40
|
export type AccordionItemDefinition = AccordionLegacyItem;
|
|
41
|
-
export { default as Accordion } from './Accordion
|
|
42
|
-
export { default as AccordionItem } from './AccordionItem
|
|
41
|
+
export { default as Accordion } from './Accordion';
|
|
42
|
+
export { default as AccordionItem } from './AccordionItem';
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { DefineComponent } from '@stacksjs/stx';
|
|
2
|
+
declare const __dtsx_component__: __DtsxStxComponentType;
|
|
3
|
+
declare type __DtsxStxComponentType = DefineComponent<{ src?: string, sources?: unknown, tracks?: unknown, title?: string, artist?: string, artwork?: string, waveform?: string, controls?: unknown, preload?: string, crossorigin?: string, className?: unknown, class?: string, drm?: unknown, autoplay?: unknown, loop?: unknown, muted?: unknown, showWaveform?: unknown }>;
|
|
4
|
+
export default __dtsx_component__;
|
package/dist/ui/audio/index.d.ts
CHANGED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { DefineComponent } from '@stacksjs/stx';
|
|
2
|
+
declare const __dtsx_component__: __DtsxStxComponentType;
|
|
3
|
+
export declare const showLogo: unknown;
|
|
4
|
+
export declare const headingText: unknown;
|
|
5
|
+
export declare const showSocialLogin: unknown;
|
|
6
|
+
export declare const showRememberMe: unknown;
|
|
7
|
+
export declare const showForgotPassword: unknown;
|
|
8
|
+
export declare const showSignup: unknown;
|
|
9
|
+
export declare const signupText: unknown;
|
|
10
|
+
export declare const className: unknown;
|
|
11
|
+
// These two used to be `href="#"`, which is not a link an app can wire — so
|
|
12
|
+
// adopting <Login> meant a form with two dead ends and no prop to fix them
|
|
13
|
+
// (#1930). They are real navigation, so they route through <StxLink>: an app on
|
|
14
|
+
// the SPA router gets a client-side transition, and an absolute URL still gets a
|
|
15
|
+
// native one because the router excludes those.
|
|
16
|
+
export declare const forgotPasswordHref: unknown;
|
|
17
|
+
export declare const signupHref: unknown;
|
|
18
|
+
/*
|
|
19
|
+
* Field ids unique to this instance.
|
|
20
|
+
*
|
|
21
|
+
* They were `email`, `password` and the like -- names generic enough to
|
|
22
|
+
* collide with the host app's own ids, which breaks getElementById and
|
|
23
|
+
* `<label for>` for both. `name` deliberately stays generic: it is the key the
|
|
24
|
+
* form submits under, and it is what `autocomplete` and password managers read
|
|
25
|
+
* alongside `type`, so the autofill behaviour is unchanged.
|
|
26
|
+
*/
|
|
27
|
+
export declare const fieldPrefix: unknown;
|
|
28
|
+
export declare const containerClasses: unknown;
|
|
29
|
+
declare type __DtsxStxComponentType = DefineComponent<{ showLogo?: unknown, headingText?: string, showSocialLogin?: unknown, showRememberMe?: unknown, showForgotPassword?: unknown, showSignup?: unknown, signupText?: string, className?: string, forgotPasswordHref?: string, signupHref?: string, id?: string }>;
|
|
30
|
+
export default __dtsx_component__;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { DefineComponent } from '@stacksjs/stx';
|
|
2
|
+
declare const __dtsx_component__: __DtsxStxComponentType;
|
|
3
|
+
export declare const headingText: unknown;
|
|
4
|
+
export declare const showSocialSignup: unknown;
|
|
5
|
+
export declare const className: unknown;
|
|
6
|
+
/*
|
|
7
|
+
* Field ids unique to this instance.
|
|
8
|
+
*
|
|
9
|
+
* They were `email`, `password` and the like -- names generic enough to
|
|
10
|
+
* collide with the host app's own ids, which breaks getElementById and
|
|
11
|
+
* `<label for>` for both. `name` deliberately stays generic: it is the key the
|
|
12
|
+
* form submits under, and it is what `autocomplete` and password managers read
|
|
13
|
+
* alongside `type`, so the autofill behaviour is unchanged.
|
|
14
|
+
*/
|
|
15
|
+
export declare const fieldPrefix: unknown;
|
|
16
|
+
export declare const containerClasses: unknown;
|
|
17
|
+
declare type __DtsxStxComponentType = DefineComponent<{ headingText?: string, showSocialSignup?: unknown, className?: string, id?: string }>;
|
|
18
|
+
export default __dtsx_component__;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { DefineComponent } from '@stacksjs/stx';
|
|
2
|
+
declare const __dtsx_component__: __DtsxStxComponentType;
|
|
3
|
+
export declare const headingText: unknown;
|
|
4
|
+
export declare const labelText: unknown;
|
|
5
|
+
export declare const instructionText: unknown;
|
|
6
|
+
export declare const codeLength: unknown;
|
|
7
|
+
export declare const showRecoveryCode: unknown;
|
|
8
|
+
export declare const className: unknown;
|
|
9
|
+
/*
|
|
10
|
+
* The digit inputs' ids, unique to this instance.
|
|
11
|
+
*
|
|
12
|
+
* They were `code-0` ... `code-5`, and the focus management looks them up with
|
|
13
|
+
* `document.getElementById` -- a DOCUMENT-wide lookup on an id as generic as
|
|
14
|
+
* `code-1`. Any element in the host app with that id would take the focus
|
|
15
|
+
* instead, and two of these on a page would type into each other.
|
|
16
|
+
*
|
|
17
|
+
* `name` deliberately stays `code-<i>`: that is the key the form submits
|
|
18
|
+
* under, so namespacing it would change the payload a server sees. Only the
|
|
19
|
+
* id, which exists to connect the label and the focus moves, is instance-local.
|
|
20
|
+
*/
|
|
21
|
+
export declare const codeIdPrefix: unknown;
|
|
22
|
+
export declare const containerClasses: unknown;
|
|
23
|
+
declare type __DtsxStxComponentType = DefineComponent<{ headingText?: string, labelText?: string, instructionText?: string, codeLength?: unknown, showRecoveryCode?: unknown, className?: string, id?: string }>;
|
|
24
|
+
export default __dtsx_component__;
|
package/dist/ui/auth/index.d.ts
CHANGED
|
@@ -24,6 +24,6 @@ export declare interface TwoFactorChallengeProps {
|
|
|
24
24
|
onUseRecoveryCode?: () => void
|
|
25
25
|
className?: string
|
|
26
26
|
}
|
|
27
|
-
export { default as Login } from './Login
|
|
28
|
-
export { default as Signup } from './Signup
|
|
29
|
-
export { default as TwoFactorChallenge } from './TwoFactorChallenge
|
|
27
|
+
export { default as Login } from './Login';
|
|
28
|
+
export { default as Signup } from './Signup';
|
|
29
|
+
export { default as TwoFactorChallenge } from './TwoFactorChallenge';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { DefineComponent } from '@stacksjs/stx';
|
|
2
|
+
declare const __dtsx_component__: __DtsxStxComponentType;
|
|
3
|
+
export declare const src: unknown;
|
|
4
|
+
export declare const alt: unknown;
|
|
5
|
+
export declare const initials: unknown;
|
|
6
|
+
export declare const size: unknown;
|
|
7
|
+
export declare const shape: unknown;
|
|
8
|
+
export declare const status: unknown;
|
|
9
|
+
export declare const className: unknown;
|
|
10
|
+
export declare const containerClasses: unknown;
|
|
11
|
+
export declare const avatarClasses: unknown;
|
|
12
|
+
export declare const imageClasses: unknown;
|
|
13
|
+
export declare const initialsClasses: unknown;
|
|
14
|
+
export declare const statusClasses: unknown;
|
|
15
|
+
export declare const displayInitials: unknown;
|
|
16
|
+
declare type __DtsxStxComponentType = DefineComponent<{ src?: string, alt?: string, initials?: string, size?: string, shape?: string, status?: string, className?: string }>;
|
|
17
|
+
export default __dtsx_component__;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import type { DefineComponent } from '@stacksjs/stx';
|
|
2
|
+
declare const __dtsx_component__: __DtsxStxComponentType;
|
|
3
|
+
export declare const variant: unknown;
|
|
4
|
+
export declare const size: unknown;
|
|
5
|
+
export declare const dot: ReturnType<typeof $bool>;
|
|
6
|
+
export declare const removable: ReturnType<typeof $bool>;
|
|
7
|
+
/*
|
|
8
|
+
* Whether this badge announces itself. Off by default (stacksjs/stx#2043-adjacent).
|
|
9
|
+
*
|
|
10
|
+
* Every badge carried `role="status"`, which is an ARIA live region: a screen
|
|
11
|
+
* reader watches it and reads out any change to its contents. A badge is
|
|
12
|
+
* usually a styled label -- a tag, a count, a status pill sitting in a table
|
|
13
|
+
* cell -- and a page of them becomes a page of live regions. One estate has
|
|
14
|
+
* 126 badges on a single view, so a single re-render could queue 126
|
|
15
|
+
* announcements, and the interruptions are the point: a live region speaks
|
|
16
|
+
* over whatever the user is reading.
|
|
17
|
+
*
|
|
18
|
+
* A live region is right when the badge is the thing that CHANGED and nothing
|
|
19
|
+
* else says so -- an unread count going up while focus is elsewhere. That is
|
|
20
|
+
* the caller's judgement, not a default, so it is opt-in: `<Badge live>` for
|
|
21
|
+
* polite, `<Badge live="assertive">` to interrupt.
|
|
22
|
+
*/
|
|
23
|
+
declare const liveProp: unknown;
|
|
24
|
+
export declare const live: boolean;
|
|
25
|
+
export declare const className: unknown;
|
|
26
|
+
/*
|
|
27
|
+
* Role tokens for the status variants, so an app re-themes a badge by setting
|
|
28
|
+
* --stx-accent-soft rather than by cancelling a class (stacksjs/stx#1993).
|
|
29
|
+
* The 100/800 light and 900/200 dark pairing these used IS the soft-fill
|
|
30
|
+
* token's definition, so primary, success, warning and danger are unchanged.
|
|
31
|
+
*
|
|
32
|
+
* `secondary` (purple) and `info` (cyan) stay literal. The role vocabulary has
|
|
33
|
+
* five status hues and neither of those is one of them: mapping info onto the
|
|
34
|
+
* `info` role would paint it blue, which is what `primary` already is, so a
|
|
35
|
+
* badge whose whole job is to distinguish would render two of its variants
|
|
36
|
+
* identically. A wrong colour is worse than an unthemeable one.
|
|
37
|
+
*/
|
|
38
|
+
export declare const badgeClasses: unknown;
|
|
39
|
+
export declare const dotClasses: unknown;
|
|
40
|
+
export declare const removeButtonClasses: unknown;
|
|
41
|
+
declare type __DtsxStxComponentType = DefineComponent<{ variant?: string, size?: string, dot?: unknown, removable?: unknown, live?: unknown, className?: string }>;
|
|
42
|
+
export default __dtsx_component__;
|
package/dist/ui/badge/index.d.ts
CHANGED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { DefineComponent } from '@stacksjs/stx';
|
|
2
|
+
declare const __dtsx_component__: __DtsxStxComponentType;
|
|
3
|
+
export declare const items: unknown;
|
|
4
|
+
export declare const separator: unknown;
|
|
5
|
+
export declare const maxItems: unknown;
|
|
6
|
+
export declare const className: unknown;
|
|
7
|
+
export declare const breadcrumbClasses: unknown;
|
|
8
|
+
export declare const itemClasses: unknown;
|
|
9
|
+
export declare const activeItemClasses: unknown;
|
|
10
|
+
export declare const separatorClasses: unknown;
|
|
11
|
+
export declare const collapsedClasses: unknown;
|
|
12
|
+
declare type __DtsxStxComponentType = DefineComponent<{ items?: unknown[], separator?: string, maxItems?: unknown, className?: string }>;
|
|
13
|
+
export default __dtsx_component__;
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import type { DefineComponent } from '@stacksjs/stx';
|
|
2
|
+
declare const __dtsx_component__: __DtsxStxComponentType;
|
|
3
|
+
export declare const variant: unknown;
|
|
4
|
+
export declare const size: unknown;
|
|
5
|
+
export declare const disabled: ReturnType<typeof $bool>;
|
|
6
|
+
export declare const loading: ReturnType<typeof $bool>;
|
|
7
|
+
export declare const type: unknown;
|
|
8
|
+
export declare const fullWidth: ReturnType<typeof $bool>;
|
|
9
|
+
/*
|
|
10
|
+
* The label, as a prop, for a button whose text changes with its state.
|
|
11
|
+
*
|
|
12
|
+
* "Rotate" -> "Rotating..." is as common as disabling the button, and the slot
|
|
13
|
+
* cannot express it: slot content is the CALLER's markup, interpolated in the
|
|
14
|
+
* caller's scope at render time, so it is a snapshot like `disabled` used to
|
|
15
|
+
* be. `:text` on the component tag is not the answer either - the runtime's
|
|
16
|
+
* text binding writes textContent, which would erase the spinner and the icons
|
|
17
|
+
* this button keeps inside itself.
|
|
18
|
+
*
|
|
19
|
+
* So the reactive spelling is a prop: `<Button :label="rotateLabel()">`. Given
|
|
20
|
+
* one, the button renders it in a span that tracks the parent's binding; given
|
|
21
|
+
* none, the slot behaves exactly as before. See stacksjs/stx#1997.
|
|
22
|
+
*/
|
|
23
|
+
export declare const label: unknown;
|
|
24
|
+
export declare const hasLabel: boolean;
|
|
25
|
+
/*
|
|
26
|
+
* A server-rendered accessible name, for the one case the slot cannot cover.
|
|
27
|
+
*
|
|
28
|
+
* `:label` is client-categorised, so the server cannot see it: a
|
|
29
|
+
* `<Button :label="confirmLabel()" />` with no slot content has no text and no
|
|
30
|
+
* name in the markup actually served, and assistive technology reaching it
|
|
31
|
+
* before hydration finds an unlabelled button. On a destructive confirmation
|
|
32
|
+
* that is the worst case (stacksjs/stx#2034). Slot content is the better
|
|
33
|
+
* answer where there is any, because it is visible as well as announced; this
|
|
34
|
+
* is for a button that has neither.
|
|
35
|
+
*/
|
|
36
|
+
export declare const ariaLabel: unknown;
|
|
37
|
+
export declare const leftIcon: unknown;
|
|
38
|
+
export declare const rightIcon: unknown;
|
|
39
|
+
export declare const className: unknown;
|
|
40
|
+
/*
|
|
41
|
+
* Role tokens, not palette shades, so an app can re-theme the button by
|
|
42
|
+
* meaning rather than by cancelling its classes (stacksjs/stx#1993).
|
|
43
|
+
*
|
|
44
|
+
* `className` was never an escape hatch for this: it is appended last in the
|
|
45
|
+
* class ATTRIBUTE, and attribute order does not decide CSS. `bg-blue-500` and
|
|
46
|
+
* `bg-accent` are both single-class selectors of equal specificity, so the
|
|
47
|
+
* winner is whichever lands later in the generated stylesheet - not something
|
|
48
|
+
* a call site can control.
|
|
49
|
+
*
|
|
50
|
+
* `bg-accent-solid` is `var(--stx-accent-solid, <blue-500>)`, so an app sets
|
|
51
|
+
* one variable and primary buttons follow, dark mode included and with no
|
|
52
|
+
* `dark:` anywhere. The solid/hover/ink triple exists because all three have
|
|
53
|
+
* to move together: a themed fill needs its own hover step, and white text on
|
|
54
|
+
* a light themed fill is unreadable.
|
|
55
|
+
*
|
|
56
|
+
* primary and danger are byte-for-byte the same colours as before. outline
|
|
57
|
+
* moves one shade in light mode (its border and text were blue-500, `accent`
|
|
58
|
+
* is blue-600) and its hover tint one step stronger, because a role for every
|
|
59
|
+
* shade would be a palette with extra steps.
|
|
60
|
+
*/
|
|
61
|
+
/*
|
|
62
|
+
* Padding decides the height, with no `h-*` to override it.
|
|
63
|
+
*
|
|
64
|
+
* Each size used to carry a fixed height beside its padding, which meant an app
|
|
65
|
+
* passing its own `py-1.5` got the padding it asked for and the height it did
|
|
66
|
+
* not - and `className` cannot win that fight, because `h-10` and `h-8` are
|
|
67
|
+
* single-class selectors of equal specificity (stacksjs/stx#1993).
|
|
68
|
+
*
|
|
69
|
+
* The fixed heights were also wrong on three of five sizes. Measured against
|
|
70
|
+
* the theme's own line-heights: xs declared 1.75rem around 1.5rem of content,
|
|
71
|
+
* while lg declared 3rem around 3.25rem and xl 3.5rem around 3.75rem - so the
|
|
72
|
+
* two largest sizes had been quietly eating a quarter-rem of their own padding.
|
|
73
|
+
*
|
|
74
|
+
* The padding below reproduces all five declared heights EXACTLY - 1.75, 2,
|
|
75
|
+
* 2.5, 3 and 3.5rem - so nothing changes on screen while the height becomes
|
|
76
|
+
* something a call site can actually set. xs, lg and xl needed a padding step
|
|
77
|
+
* adjusted to land on the same number they claimed before.
|
|
78
|
+
* @defaultValue `{ xs: 'h-3 w-3', sm: 'h-4 w-4', md: 'h-5 w-5', lg: 'h-6 w-6', xl: 'h-7 w-7' }`
|
|
79
|
+
*/
|
|
80
|
+
declare const iconSizeClasses: {
|
|
81
|
+
/** @defaultValue 'h-3 w-3' */
|
|
82
|
+
xs: string;
|
|
83
|
+
/** @defaultValue 'h-4 w-4' */
|
|
84
|
+
sm: string;
|
|
85
|
+
/** @defaultValue 'h-5 w-5' */
|
|
86
|
+
md: string;
|
|
87
|
+
/** @defaultValue 'h-6 w-6' */
|
|
88
|
+
lg: string;
|
|
89
|
+
/** @defaultValue 'h-7 w-7' */
|
|
90
|
+
xl: string
|
|
91
|
+
};
|
|
92
|
+
/*
|
|
93
|
+
* The focus ring follows the accent too. It was `ring-blue-500` with no dark
|
|
94
|
+
* twin, so it stayed blue in a dark theme and in a rose-accented app alike;
|
|
95
|
+
* the token's light value is that same blue-500 and its dark value is a step
|
|
96
|
+
* darker, which is a ring that was missing rather than one that changed.
|
|
97
|
+
*/
|
|
98
|
+
export declare const isDisabled: unknown;
|
|
99
|
+
export declare const buttonClasses: unknown;
|
|
100
|
+
export declare const iconClasses: unknown;
|
|
101
|
+
export declare const spinnerClasses: unknown;
|
|
102
|
+
declare type __DtsxStxComponentType = DefineComponent<{ variant?: string, size?: string, disabled?: unknown, loading?: unknown, type?: string, fullWidth?: unknown, label?: string, ariaLabel?: unknown, "aria-label"?: string, leftIcon?: string, rightIcon?: string, className?: string }>;
|
|
103
|
+
export default __dtsx_component__;
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import type { DefineComponent } from '@stacksjs/stx';
|
|
2
|
+
declare function selectDate(date: unknown): undefined;
|
|
3
|
+
declare const __dtsx_component__: __DtsxStxComponentType;
|
|
4
|
+
export declare const value: unknown;
|
|
5
|
+
/*
|
|
6
|
+
* `range` is the mode four apps were missing (stacksjs/stx#1981).
|
|
7
|
+
*
|
|
8
|
+
* `<Calendar>` was single-date only, so every app that needed "last 7 days /
|
|
9
|
+
* custom range" built its own picker - four near-identical copies, hand-ported
|
|
10
|
+
* between repos, four copies of the same bugs. Range selection is the half an
|
|
11
|
+
* app cannot reasonably compose from what exists; the preset row is a Button
|
|
12
|
+
* loop, which is why `<DateRangePicker>` sits on top of this rather than
|
|
13
|
+
* replacing it.
|
|
14
|
+
*/
|
|
15
|
+
export declare const mode: boolean;
|
|
16
|
+
export declare const start: unknown;
|
|
17
|
+
export declare const end: unknown;
|
|
18
|
+
export declare const minDate: unknown;
|
|
19
|
+
export declare const maxDate: unknown;
|
|
20
|
+
export declare const disabledDates: unknown;
|
|
21
|
+
export declare const locale: unknown;
|
|
22
|
+
export declare const firstDayOfWeek: unknown;
|
|
23
|
+
export declare const showToday: unknown;
|
|
24
|
+
export declare const className: unknown;
|
|
25
|
+
export declare const highlightToday: unknown;
|
|
26
|
+
export declare const calendarClasses: unknown;
|
|
27
|
+
export declare const headerClasses: 'flex items-center justify-between mb-4';
|
|
28
|
+
export declare const monthYearClasses: 'text-lg font-semibold text-fg';
|
|
29
|
+
export declare const buttonClasses: 'p-2 hover:bg-surface-hover rounded-control transition-colors';
|
|
30
|
+
export declare const weekdaysClasses: 'grid grid-cols-7 gap-1 mb-2';
|
|
31
|
+
export declare const weekdayClasses: 'text-center text-xs font-medium text-fg-muted py-2';
|
|
32
|
+
export declare const daysGridClasses: 'grid grid-cols-7 gap-1';
|
|
33
|
+
declare const valueIso: unknown;
|
|
34
|
+
export declare const initialValueIso: unknown;
|
|
35
|
+
export declare const initialStartIso: unknown;
|
|
36
|
+
export declare const initialEndIso: unknown;
|
|
37
|
+
export declare const minIsoValue: unknown;
|
|
38
|
+
export declare const maxIsoValue: unknown;
|
|
39
|
+
export declare const disabledIsoList: ReturnType<typeof disabledDates.map>;
|
|
40
|
+
/*
|
|
41
|
+
* The ISO strings are interpolated and guarded in JS, not inlined twice through
|
|
42
|
+
* a `=== null ? 'null' : …` ternary (stacksjs/stx#1981).
|
|
43
|
+
*
|
|
44
|
+
* That ternary produced the STRING "null", because `{{ }}` in a client script
|
|
45
|
+
* emits a JSON literal - so the guard `"null" ? …` was always true and every
|
|
46
|
+
* one of these became `new Date("null")`, an Invalid Date. With no props at all
|
|
47
|
+
* `<Calendar />` rendered a header reading "Invalid Date NaN" and 42 cells of
|
|
48
|
+
* Invalid Date: it has never worked without an explicit `value`, which is some
|
|
49
|
+
* of why four apps hand-rolled a picker rather than composing this one.
|
|
50
|
+
*
|
|
51
|
+
* A server-side `null` interpolates as the `null` literal, so the guard means
|
|
52
|
+
* what it says.
|
|
53
|
+
*/
|
|
54
|
+
declare const minIso: {};
|
|
55
|
+
declare const maxIso: {};
|
|
56
|
+
declare const initialValue: unknown;
|
|
57
|
+
declare const startIso: {};
|
|
58
|
+
declare const endIso: {};
|
|
59
|
+
declare const initialStart: unknown;
|
|
60
|
+
declare const initialEnd: unknown;
|
|
61
|
+
declare const today: Date;
|
|
62
|
+
declare const currentMonth: unknown;
|
|
63
|
+
declare const selectedDate: ReturnType<typeof state>;
|
|
64
|
+
declare const rangeStart: ReturnType<typeof state>;
|
|
65
|
+
declare const rangeEnd: ReturnType<typeof state>;
|
|
66
|
+
declare type __DtsxStxComponentType = DefineComponent<{ value?: unknown, mode?: unknown, start?: unknown, end?: unknown, minDate?: unknown, maxDate?: unknown, disabledDates?: unknown[], locale?: string, firstDayOfWeek?: unknown, showToday?: unknown, className?: string, highlightToday?: unknown }> & { readonly __stxExposed?: { selectedDate: typeof selectedDate, currentMonth: typeof currentMonth, selectDate: typeof selectDate, rangeStart: typeof rangeStart, rangeEnd: typeof rangeEnd } }
|
|
67
|
+
export default __dtsx_component__;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { DefineComponent } from '@stacksjs/stx';
|
|
2
|
+
declare const __dtsx_component__: __DtsxStxComponentType;
|
|
3
|
+
export declare const variant: unknown;
|
|
4
|
+
export declare const padding: unknown;
|
|
5
|
+
export declare const hover: ReturnType<typeof $bool>;
|
|
6
|
+
export declare const clickable: ReturnType<typeof $bool>;
|
|
7
|
+
export declare const image: unknown;
|
|
8
|
+
export declare const imageAlt: unknown;
|
|
9
|
+
export declare const className: unknown;
|
|
10
|
+
export declare const cardClasses: unknown;
|
|
11
|
+
export declare const imageClasses: unknown;
|
|
12
|
+
export declare const contentClasses: unknown;
|
|
13
|
+
declare type __DtsxStxComponentType = DefineComponent<{ variant?: string, padding?: string, hover?: unknown, clickable?: unknown, image?: string, imageAlt?: string, className?: string }>;
|
|
14
|
+
export default __dtsx_component__;
|
package/dist/ui/card/index.d.ts
CHANGED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { DefineComponent } from '@stacksjs/stx';
|
|
2
|
+
declare const __dtsx_component__: __DtsxStxComponentType;
|
|
3
|
+
export declare const storeName: unknown;
|
|
4
|
+
export declare const className: unknown;
|
|
5
|
+
export declare const active: boolean;
|
|
6
|
+
export declare const compact: boolean;
|
|
7
|
+
export declare const sizeClasses: unknown;
|
|
8
|
+
export declare const selectedInboxClass: 'hidden';
|
|
9
|
+
export declare const backButtonClass: '';
|
|
10
|
+
export declare const inboxWidth: 'w-full';
|
|
11
|
+
// Where the selected contact's face and name lead (contact-link.ts): a URL
|
|
12
|
+
// with {field} placeholders filled from the contact, e.g. "/people/{username}".
|
|
13
|
+
export declare const contactHref: unknown;
|
|
14
|
+
declare type __DtsxStxComponentType = DefineComponent<{ store?: string, className?: string, active?: boolean, compact?: boolean, contactHref?: string }>;
|
|
15
|
+
export default __dtsx_component__;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { DefineComponent } from '@stacksjs/stx';
|
|
2
|
+
declare const __dtsx_component__: __DtsxStxComponentType;
|
|
3
|
+
export declare const storeName: unknown;
|
|
4
|
+
export declare const href: unknown;
|
|
5
|
+
export declare const inline: boolean;
|
|
6
|
+
export declare const className: unknown;
|
|
7
|
+
declare type __DtsxStxComponentType = DefineComponent<{ store?: string, href?: string, placement?: unknown, className?: string }>;
|
|
8
|
+
export default __dtsx_component__;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { DefineComponent } from '@stacksjs/stx';
|
|
2
|
+
declare const __dtsx_component__: __DtsxStxComponentType;
|
|
3
|
+
export declare const body: unknown;
|
|
4
|
+
export declare const author: unknown;
|
|
5
|
+
export declare const time: unknown;
|
|
6
|
+
export declare const outgoing: ReturnType<typeof $bool>;
|
|
7
|
+
export declare const className: unknown;
|
|
8
|
+
declare type __DtsxStxComponentType = DefineComponent<{ body?: string, author?: string, time?: string, outgoing?: unknown, className?: string }>;
|
|
9
|
+
export default __dtsx_component__;
|
package/dist/ui/chat/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
export declare interface ChatInboxProps { store?: string, compact?: boolean, active?: boolean, className?: string, contactHref?: string }
|
|
2
2
|
export declare interface ChatMessageProps { body?: string, author?: string, time?: string, outgoing?: boolean, className?: string }
|
|
3
3
|
export declare interface ChatLauncherProps { store?: string, href?: string, placement?: 'floating' | 'inline', className?: string }
|
|
4
|
-
export { default as ChatInbox } from './ChatInbox
|
|
5
|
-
export { default as ChatMessage } from './ChatMessage
|
|
4
|
+
export { default as ChatInbox } from './ChatInbox';
|
|
5
|
+
export { default as ChatMessage } from './ChatMessage';
|
|
6
6
|
export * from './contact-link';
|
|
7
7
|
export * from './controller';
|
|
8
|
-
export { default as ChatUnreadBadge } from './ChatUnreadBadge
|
|
9
|
-
export { default as ChatLauncher } from './ChatLauncher
|
|
8
|
+
export { default as ChatUnreadBadge } from './ChatUnreadBadge';
|
|
9
|
+
export { default as ChatLauncher } from './ChatLauncher';
|