@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,38 @@
|
|
|
1
|
+
import type { DefineComponent } from '@stacksjs/stx';
|
|
2
|
+
declare const __dtsx_component__: __DtsxStxComponentType;
|
|
3
|
+
// Arc's swipeable spaces.
|
|
4
|
+
//
|
|
5
|
+
// Every space is rendered up front, side by side on one track that is
|
|
6
|
+
// `n × 100%` wide; switching is a transform on the track rather than a
|
|
7
|
+
// re-render. That is what makes the gesture feel native — the next space is
|
|
8
|
+
// already painted, so it tracks the finger at 1:1 instead of appearing after
|
|
9
|
+
// the gesture ends. It also means each space keeps its own scroll position,
|
|
10
|
+
// its own disclosure state and its own DOM, exactly like Arc.
|
|
11
|
+
export declare const spaceList: unknown;
|
|
12
|
+
export declare const theme: unknown;
|
|
13
|
+
// `space` names the space to open on. `active` is accepted as an alias so the
|
|
14
|
+
// prop reads naturally next to `<SidebarSpaceSwitcher :active>`.
|
|
15
|
+
export declare const activeId: unknown;
|
|
16
|
+
export declare const activeIndex: unknown;
|
|
17
|
+
export declare const showSwitcher: unknown;
|
|
18
|
+
export declare const showAdd: ReturnType<typeof $bool>;
|
|
19
|
+
export declare const addLabel: unknown;
|
|
20
|
+
export declare const persistKey: unknown;
|
|
21
|
+
// One panel is `100 / n` percent of the track, so the server-rendered
|
|
22
|
+
// transform matches exactly what the controller computes on the client and the
|
|
23
|
+
// track does not jump on hydration.
|
|
24
|
+
declare const panelCount: unknown;
|
|
25
|
+
export declare const trackWidth: unknown;
|
|
26
|
+
export declare const initialShift: unknown;
|
|
27
|
+
// Everything the controller needs, in one attribute.
|
|
28
|
+
//
|
|
29
|
+
// It travels as data rather than as interpolated constants in the client
|
|
30
|
+
// script on purpose: `<script client>` blocks are bundled and cached by
|
|
31
|
+
// content, so baking per-instance values into one would either bust that cache
|
|
32
|
+
// on every render or — worse, once a bundle is reused — hand a second sidebar
|
|
33
|
+
// the first one's configuration. Rows and sections are already in the DOM, so
|
|
34
|
+
// only each space's identity and palette have to ship here; those are what a
|
|
35
|
+
// swipe repaints.
|
|
36
|
+
export declare const config: unknown;
|
|
37
|
+
declare type __DtsxStxComponentType = DefineComponent<{ spaces?: unknown[], theme?: string, space?: unknown, active?: unknown, showSwitcher?: unknown, showAdd?: unknown, addLabel?: string, persistKey?: string }>;
|
|
38
|
+
export default __dtsx_component__;
|
|
@@ -83,15 +83,15 @@ export declare interface SidebarFooterProps {
|
|
|
83
83
|
declare type MacOSSidebarTheme = 'macos' | 'macos-tahoe' | 'macos-latest' | 'tahoe';
|
|
84
84
|
declare type LegacySidebarTheme = 'vibrancy' | 'solid' | 'transparent' | 'workspace' | 'desktop';
|
|
85
85
|
export type SidebarThemeChoice = MacOSSidebarTheme | LegacySidebarTheme;
|
|
86
|
-
export { default as Sidebar } from './Sidebar
|
|
87
|
-
export { default as SidebarFooter } from './SidebarFooter
|
|
88
|
-
export { default as SidebarHeader } from './SidebarHeader
|
|
89
|
-
export { default as SidebarItem } from './SidebarItem
|
|
90
|
-
export { default as SidebarPinned } from './SidebarPinned
|
|
91
|
-
export { default as SidebarSection } from './SidebarSection
|
|
92
|
-
export { default as SidebarSpace } from './SidebarSpace
|
|
93
|
-
export { default as SidebarSpaces } from './SidebarSpaces
|
|
94
|
-
export { default as SidebarSpaceSwitcher } from './SidebarSpaceSwitcher
|
|
86
|
+
export { default as Sidebar } from './Sidebar';
|
|
87
|
+
export { default as SidebarFooter } from './SidebarFooter';
|
|
88
|
+
export { default as SidebarHeader } from './SidebarHeader';
|
|
89
|
+
export { default as SidebarItem } from './SidebarItem';
|
|
90
|
+
export { default as SidebarPinned } from './SidebarPinned';
|
|
91
|
+
export { default as SidebarSection } from './SidebarSection';
|
|
92
|
+
export { default as SidebarSpace } from './SidebarSpace';
|
|
93
|
+
export { default as SidebarSpaces } from './SidebarSpaces';
|
|
94
|
+
export { default as SidebarSpaceSwitcher } from './SidebarSpaceSwitcher';
|
|
95
95
|
export * from './rows';
|
|
96
96
|
export * from './spaces';
|
|
97
97
|
export * from './themes';
|
|
@@ -54,11 +54,45 @@ export declare const macosColors: {
|
|
|
54
54
|
brown: '#ac7f5e';
|
|
55
55
|
gray: '#8e8e93'
|
|
56
56
|
};
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
57
|
+
declare const macos: SidebarTheme;
|
|
58
|
+
/**
|
|
59
|
+
* Legacy themes carried over from the old per-component variant maps so
|
|
60
|
+
* existing apps keep rendering identically. New work should use `macos`.
|
|
61
|
+
*/
|
|
62
|
+
declare const workspace: SidebarTheme;
|
|
63
|
+
declare const desktop: SidebarTheme;
|
|
64
|
+
/**
|
|
65
|
+
* `arc` — the Arc browser sidebar.
|
|
66
|
+
*
|
|
67
|
+
* Where macOS paints the selected row with the system accent, Arc raises it:
|
|
68
|
+
* the active row becomes a white card floating on a warm tinted panel, with a
|
|
69
|
+
* hairline border and a single-pixel drop shadow. That inversion — light card
|
|
70
|
+
* on tinted ground, rather than saturated fill on gray — is the whole look, so
|
|
71
|
+
* this theme uses the `classes` selection model and puts the card in
|
|
72
|
+
* `item.active` instead of the accent rules the `accent` model applies.
|
|
73
|
+
*
|
|
74
|
+
* Metrics taken from Arc 1.5x at @2x:
|
|
75
|
+
*
|
|
76
|
+
* row pitch 30px with 2px between rows — rows are separate cards, not the
|
|
77
|
+
* contiguous run AppKit uses, so consecutive selections read as distinct
|
|
78
|
+
* selection radius 8px · white fill · 1px hairline · shadow 0 1px 2px/8%
|
|
79
|
+
* label 13px, and the selected row goes to 500 (not 600 — Arc keeps the
|
|
80
|
+
* weight shift subtle because the card already carries the emphasis)
|
|
81
|
+
* section header 11px medium, sentence case, 55% muted
|
|
82
|
+
* icon 16px in an 18px slot · child indent 14px
|
|
83
|
+
* panel warm off-white (#f7f5f1), noticeably warmer than macOS's neutral
|
|
84
|
+
* #f2f2f4 — the warmth is what makes it read as Arc at a glance
|
|
85
|
+
*
|
|
86
|
+
* The panel tint is a soft top-down gradient rather than a flat fill, which is
|
|
87
|
+
* how Arc suggests the current space's color. Apps that want a per-space tint
|
|
88
|
+
* can override `--stx-sidebar-tint` on the pane; the gradient falls back to the
|
|
89
|
+
* warm default when it is unset.
|
|
90
|
+
*/
|
|
91
|
+
declare const arc: SidebarTheme;
|
|
92
|
+
declare const solid: SidebarTheme;
|
|
93
|
+
declare const transparent: SidebarTheme;
|
|
94
|
+
declare const vibrancy: SidebarTheme;
|
|
95
|
+
export declare const sidebarThemes: Record<string, SidebarTheme>;
|
|
62
96
|
/** Class groups a sidebar theme provides. All values are utility classes. */
|
|
63
97
|
export declare interface SidebarTheme {
|
|
64
98
|
pane: string
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { DefineComponent } from '@stacksjs/stx';
|
|
2
|
+
declare const __dtsx_component__: __DtsxStxComponentType;
|
|
3
|
+
export declare const variant: unknown;
|
|
4
|
+
export declare const count: unknown;
|
|
5
|
+
export declare const width: unknown;
|
|
6
|
+
export declare const height: unknown;
|
|
7
|
+
export declare const circle: ReturnType<typeof $bool>;
|
|
8
|
+
export declare const className: unknown;
|
|
9
|
+
export declare const animate: unknown;
|
|
10
|
+
export declare const skeletonClasses: unknown;
|
|
11
|
+
export declare const containerClasses: boolean;
|
|
12
|
+
declare type __DtsxStxComponentType = DefineComponent<{ variant?: string, count?: unknown, width?: string, height?: string, circle?: unknown, className?: string, animate?: unknown }>;
|
|
13
|
+
export default __dtsx_component__;
|
|
@@ -0,0 +1,13 @@
|
|
|
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 color: unknown;
|
|
6
|
+
export declare const label: unknown;
|
|
7
|
+
export declare const className: unknown;
|
|
8
|
+
export declare const containerClasses: unknown;
|
|
9
|
+
export declare const spinnerClasses: unknown;
|
|
10
|
+
export declare const labelClasses: unknown;
|
|
11
|
+
export declare const dotClasses: unknown;
|
|
12
|
+
declare type __DtsxStxComponentType = DefineComponent<{ variant?: string, size?: string, color?: string, label?: string, className?: string }>;
|
|
13
|
+
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 currentStep: unknown;
|
|
4
|
+
export declare const orientation: unknown;
|
|
5
|
+
export declare const className: unknown;
|
|
6
|
+
export declare const as: unknown;
|
|
7
|
+
declare type __DtsxStxComponentType = DefineComponent<{ currentStep?: unknown, orientation?: string, className?: string, as?: string }>;
|
|
8
|
+
export default __dtsx_component__;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { DefineComponent } from '@stacksjs/stx';
|
|
2
|
+
declare const __dtsx_component__: __DtsxStxComponentType;
|
|
3
|
+
// Defaulted, and not only for tidiness: this value is spliced into the client
|
|
4
|
+
// script below as `const stepNumber = {{ stepNumber }}`. An undefined server
|
|
5
|
+
// value leaves the mustache in the JavaScript, which is a SyntaxError that
|
|
6
|
+
// takes the whole scoped script down -- onClick included. `??` rather than
|
|
7
|
+
// `||` so an explicit 0 (the first step) survives.
|
|
8
|
+
export declare const stepNumber: unknown;
|
|
9
|
+
export declare const currentStep: unknown;
|
|
10
|
+
export declare const label: unknown;
|
|
11
|
+
export declare const description: unknown;
|
|
12
|
+
export declare const className: unknown;
|
|
13
|
+
export declare const as: unknown;
|
|
14
|
+
export declare const isComplete: boolean;
|
|
15
|
+
export declare const stepClasses: unknown;
|
|
16
|
+
declare type __DtsxStxComponentType = DefineComponent<{ stepNumber?: unknown, currentStep?: unknown, label?: string, description?: string, className?: string, as?: string }>;
|
|
17
|
+
export default __dtsx_component__;
|
|
@@ -13,5 +13,5 @@ export declare interface StepperStepProps {
|
|
|
13
13
|
as?: string
|
|
14
14
|
onClick?: (step: number) => void
|
|
15
15
|
}
|
|
16
|
-
export { default as Stepper } from './Stepper
|
|
17
|
-
export { default as StepperStep } from './StepperStep
|
|
16
|
+
export { default as Stepper } from './Stepper';
|
|
17
|
+
export { default as StepperStep } from './StepperStep';
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import type { DefineComponent } from '@stacksjs/stx';
|
|
2
|
+
declare function toggle(): undefined;
|
|
3
|
+
declare const __dtsx_component__: __DtsxStxComponentType;
|
|
4
|
+
export declare const checked: ReturnType<typeof $bool>;
|
|
5
|
+
/*
|
|
6
|
+
* Form participation, which a <button role="switch"> cannot have on its own
|
|
7
|
+
* (stacksjs/stx#2043).
|
|
8
|
+
*
|
|
9
|
+
* The control the user operates is a button, and a button is never submitted
|
|
10
|
+
* by name -- so a Switch inside a form contributed nothing to FormData no
|
|
11
|
+
* matter what it was set to. A hidden input carries the state instead, which
|
|
12
|
+
* is what it takes for a custom switch to be readable the way a checkbox is.
|
|
13
|
+
*
|
|
14
|
+
* Only rendered when a `name` is given, so a Switch used as a plain toggle
|
|
15
|
+
* emits exactly the markup it did before.
|
|
16
|
+
*/
|
|
17
|
+
export declare const name: unknown;
|
|
18
|
+
export declare const form: unknown;
|
|
19
|
+
export declare const checkedValue: unknown;
|
|
20
|
+
export declare const uncheckedValue: unknown;
|
|
21
|
+
export declare const disabled: ReturnType<typeof $bool>;
|
|
22
|
+
export declare const size: unknown;
|
|
23
|
+
export declare const className: unknown;
|
|
24
|
+
export declare const label: unknown;
|
|
25
|
+
/**
|
|
26
|
+
* @defaultValue
|
|
27
|
+
* ```ts
|
|
28
|
+
* {
|
|
29
|
+
* sm: { track: 'h-5 w-9', thumb: 'h-4 w-4', translate: 'translate-x-4' },
|
|
30
|
+
* md: {
|
|
31
|
+
* track: 'h-[38px] w-[74px]',
|
|
32
|
+
* thumb: 'h-[34px] w-[34px]',
|
|
33
|
+
* translate: 'translate-x-9'
|
|
34
|
+
* },
|
|
35
|
+
* lg: { track: 'h-12 w-24', thumb: 'h-11 w-11', translate: 'translate-x-12' }
|
|
36
|
+
* }
|
|
37
|
+
* ```
|
|
38
|
+
*/
|
|
39
|
+
declare const sizeConfig: {
|
|
40
|
+
sm: {
|
|
41
|
+
/** @defaultValue 'h-5 w-9' */
|
|
42
|
+
track: string;
|
|
43
|
+
/** @defaultValue 'h-4 w-4' */
|
|
44
|
+
thumb: string;
|
|
45
|
+
/** @defaultValue 'translate-x-4' */
|
|
46
|
+
translate: string
|
|
47
|
+
};
|
|
48
|
+
md: {
|
|
49
|
+
/** @defaultValue 'h-[38px] w-[74px]' */
|
|
50
|
+
track: string;
|
|
51
|
+
/** @defaultValue 'h-[34px] w-[34px]' */
|
|
52
|
+
thumb: string;
|
|
53
|
+
/** @defaultValue 'translate-x-9' */
|
|
54
|
+
translate: string
|
|
55
|
+
};
|
|
56
|
+
lg: {
|
|
57
|
+
/** @defaultValue 'h-12 w-24' */
|
|
58
|
+
track: string;
|
|
59
|
+
/** @defaultValue 'h-11 w-11' */
|
|
60
|
+
thumb: string;
|
|
61
|
+
/** @defaultValue 'translate-x-12' */
|
|
62
|
+
translate: string
|
|
63
|
+
}
|
|
64
|
+
};
|
|
65
|
+
// Falls back rather than indexing to undefined: `size="huge"` is a typo, and
|
|
66
|
+
// without this it became `const config = {{ config }}` in the client script --
|
|
67
|
+
// a SyntaxError that killed the whole component rather than mis-sizing it.
|
|
68
|
+
export declare const config: unknown;
|
|
69
|
+
export declare const trackBaseClasses: 'relative inline-flex shrink-0 cursor-pointer border-2 border-transparent rounded-full transition-colors duration-200 ease-in-out focus:outline-none focus-visible:ring-2 focus-visible:ring-accent focus-visible:ring-offset-2 focus-visible:ring-offset-panel';
|
|
70
|
+
export declare const trackDisabledClasses: unknown;
|
|
71
|
+
export declare const thumbBaseClasses: 'pointer-events-none inline-block transform rounded-full bg-white shadow-lg ring-0 transition duration-200 ease-in-out';
|
|
72
|
+
// v-model:checked adds two-way binding; keep @change for existing callers.
|
|
73
|
+
declare const isChecked: unknown;
|
|
74
|
+
declare type __DtsxStxComponentType = DefineComponent<{ checked?: unknown, name?: string, form?: string, checkedValue?: string, uncheckedValue?: string, disabled?: unknown, size?: string, className?: string, label?: string }> & { readonly __stxExposed?: { isChecked: typeof isChecked, toggle: typeof toggle } }
|
|
75
|
+
export default __dtsx_component__;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { DefineComponent } from '@stacksjs/stx';
|
|
2
|
+
declare const __dtsx_component__: __DtsxStxComponentType;
|
|
3
|
+
export declare const className: unknown;
|
|
4
|
+
export declare const striped: ReturnType<typeof $bool>;
|
|
5
|
+
export declare const hoverable: unknown;
|
|
6
|
+
/*
|
|
7
|
+
* The table's accessible name (stacksjs/stx#2060).
|
|
8
|
+
*
|
|
9
|
+
* A table is named by its <caption>, and there was no way to give a library
|
|
10
|
+
* table one: no prop, and no slot ahead of <thead>. It is the table's first
|
|
11
|
+
* child, as HTML requires, and visually hidden unless `captionVisible` -- most
|
|
12
|
+
* tables sit under a heading that already says what they are, and a second
|
|
13
|
+
* visible title would repeat it.
|
|
14
|
+
*/
|
|
15
|
+
export declare const caption: unknown;
|
|
16
|
+
export declare const captionVisible: ReturnType<typeof $bool>;
|
|
17
|
+
export declare const captionClasses: unknown;
|
|
18
|
+
export declare const tableClasses: unknown;
|
|
19
|
+
declare type __DtsxStxComponentType = DefineComponent<{ className?: string, striped?: unknown, hoverable?: unknown, caption?: string, captionVisible?: unknown }>;
|
|
20
|
+
export default __dtsx_component__;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { DefineComponent } from '@stacksjs/stx';
|
|
2
|
+
declare const __dtsx_component__: __DtsxStxComponentType;
|
|
3
|
+
export declare const className: unknown;
|
|
4
|
+
declare type __DtsxStxComponentType = DefineComponent<{ className?: string }>;
|
|
5
|
+
export default __dtsx_component__;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { DefineComponent } from '@stacksjs/stx';
|
|
2
|
+
declare const __dtsx_component__: __DtsxStxComponentType;
|
|
3
|
+
export declare const className: unknown;
|
|
4
|
+
declare type __DtsxStxComponentType = DefineComponent<{ className?: string }>;
|
|
5
|
+
export default __dtsx_component__;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { DefineComponent } from '@stacksjs/stx';
|
|
2
|
+
declare const __dtsx_component__: __DtsxStxComponentType;
|
|
3
|
+
export declare const className: unknown;
|
|
4
|
+
declare type __DtsxStxComponentType = DefineComponent<{ className?: string }>;
|
|
5
|
+
export default __dtsx_component__;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import type { DefineComponent } from '@stacksjs/stx';
|
|
2
|
+
declare const __dtsx_component__: __DtsxStxComponentType;
|
|
3
|
+
export declare const className: unknown;
|
|
4
|
+
export declare const sortable: ReturnType<typeof $bool>;
|
|
5
|
+
/*
|
|
6
|
+
* Which cells this header heads (stacksjs/stx#2060).
|
|
7
|
+
*
|
|
8
|
+
* A <th> without `scope` leaves a screen reader to guess, and it guesses wrong
|
|
9
|
+
* in any table with row headers. `col` by default, because that is what a
|
|
10
|
+
* header in a <thead> is; `row` for a header at the start of a body row. An
|
|
11
|
+
* attribute written on <TableHeader> never reached the <th>, so there was no
|
|
12
|
+
* way to say it at all.
|
|
13
|
+
* @defaultValue `['col', 'row', 'colgroup', 'rowgroup']`
|
|
14
|
+
*/
|
|
15
|
+
declare const SCOPES: string[];
|
|
16
|
+
export declare const scope: unknown;
|
|
17
|
+
/*
|
|
18
|
+
* Which way the column is sorted now, as `aria-sort` on the <th> -- the one
|
|
19
|
+
* place a screen reader looks for it. `asc` / `desc`; anything else is
|
|
20
|
+
* unsorted, `none`. Served on every sortable header (and on any header given
|
|
21
|
+
* a `sort`), and live, so a page re-sorting a table moves it without a
|
|
22
|
+
* re-render.
|
|
23
|
+
* @defaultValue `{ asc: 'ascending', desc: 'descending' }`
|
|
24
|
+
*/
|
|
25
|
+
declare const SORTS: {
|
|
26
|
+
/** @defaultValue 'ascending' */
|
|
27
|
+
asc: string;
|
|
28
|
+
/** @defaultValue 'descending' */
|
|
29
|
+
desc: string
|
|
30
|
+
};
|
|
31
|
+
export declare const sortDirection: unknown;
|
|
32
|
+
export declare const announcesSort: unknown;
|
|
33
|
+
export declare const servedAriaSort: unknown;
|
|
34
|
+
export declare const headerClasses: unknown;
|
|
35
|
+
/*
|
|
36
|
+
* The control that sorts. A <th> is not focusable, so a click handler on it
|
|
37
|
+
* made sorting mouse-only (stacksjs/stx#2060); a <button> inside it is
|
|
38
|
+
* reachable by Tab and operated by Enter and Space, and it is what emits
|
|
39
|
+
* `click`. It takes on the header's type -- the preflight resets a button's
|
|
40
|
+
* text-transform, so `uppercase` is restated -- and draws a ring on keyboard
|
|
41
|
+
* focus only.
|
|
42
|
+
*/
|
|
43
|
+
export declare const buttonClasses: 'inline-flex items-center gap-1 uppercase tracking-wider text-left rounded-control cursor-pointer hover:text-fg-strong focus:outline-none focus-visible:ring-2 focus-visible:ring-accent';
|
|
44
|
+
declare type __DtsxStxComponentType = DefineComponent<{ className?: string, sortable?: unknown, scope?: unknown, sort?: unknown }>;
|
|
45
|
+
export default __dtsx_component__;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { DefineComponent } from '@stacksjs/stx';
|
|
2
|
+
declare const __dtsx_component__: __DtsxStxComponentType;
|
|
3
|
+
export declare const className: unknown;
|
|
4
|
+
export declare const hoverable: unknown;
|
|
5
|
+
declare type __DtsxStxComponentType = DefineComponent<{ className?: string, hoverable?: unknown }>;
|
|
6
|
+
export default __dtsx_component__;
|
package/dist/ui/table/index.d.ts
CHANGED
|
@@ -25,9 +25,9 @@ export declare interface TableHeaderProps {
|
|
|
25
25
|
export declare interface TableCellProps {
|
|
26
26
|
className?: string
|
|
27
27
|
}
|
|
28
|
-
export { default as Table } from './Table
|
|
29
|
-
export { default as TableBody } from './TableBody
|
|
30
|
-
export { default as TableCell } from './TableCell
|
|
31
|
-
export { default as TableHead } from './TableHead
|
|
32
|
-
export { default as TableHeader } from './TableHeader
|
|
33
|
-
export { default as TableRow } from './TableRow
|
|
28
|
+
export { default as Table } from './Table';
|
|
29
|
+
export { default as TableBody } from './TableBody';
|
|
30
|
+
export { default as TableCell } from './TableCell';
|
|
31
|
+
export { default as TableHead } from './TableHead';
|
|
32
|
+
export { default as TableHeader } from './TableHeader';
|
|
33
|
+
export { default as TableRow } from './TableRow';
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { DefineComponent } from '@stacksjs/stx';
|
|
2
|
+
declare const __dtsx_component__: __DtsxStxComponentType;
|
|
3
|
+
/*
|
|
4
|
+
* One tab in a <TabList>. A plain button with the role, its value and the
|
|
5
|
+
* panel it controls; the list keeps `aria-selected` and `tabindex` on it.
|
|
6
|
+
*
|
|
7
|
+
* No client script, so no scope of its own: it is a button in the strip,
|
|
8
|
+
* nothing around it, and `@click` or bound attributes written on it land on
|
|
9
|
+
* the button in the caller's scope. Style the selected state with
|
|
10
|
+
* `aria-selected:` utilities, which outrank the base classes.
|
|
11
|
+
*/
|
|
12
|
+
export declare const value: unknown;
|
|
13
|
+
export declare const controls: unknown;
|
|
14
|
+
export declare const disabled: ReturnType<typeof $bool>;
|
|
15
|
+
export declare const variant: unknown;
|
|
16
|
+
export declare const className: unknown;
|
|
17
|
+
export declare const tabClasses: unknown;
|
|
18
|
+
declare type __DtsxStxComponentType = DefineComponent<{ value?: string, controls?: string, disabled?: unknown, variant?: string, className?: string }>;
|
|
19
|
+
export default __dtsx_component__;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import type { DefineComponent } from '@stacksjs/stx';
|
|
2
|
+
declare const __dtsx_component__: __DtsxStxComponentType;
|
|
3
|
+
/*
|
|
4
|
+
* A tab strip whose selection and panels belong to the page (stacksjs/stx#2058).
|
|
5
|
+
*
|
|
6
|
+
* <Tabs> owns both its selection and its panels: it renders every panel inside
|
|
7
|
+
* itself and remembers the tab it was told to start on. That suits a settings
|
|
8
|
+
* card. It does not suit tabs that switch between whole sections of a page,
|
|
9
|
+
* where the selection is kept in the URL or a store and each section is behind
|
|
10
|
+
* its own `:if`, so a section nobody opened never fetches its data.
|
|
11
|
+
*
|
|
12
|
+
* TabList is the behaviour alone. Its children are `role="tab"` elements, a
|
|
13
|
+
* `<Tab>` or any element with `role="tab"` and `data-value` (a `:for` row
|
|
14
|
+
* works), and it gives them what the role promises: one tab stop on the
|
|
15
|
+
* selected tab, the arrow keys, Home and End moving between them and selecting
|
|
16
|
+
* as they go, and `aria-selected` kept true on exactly one. The selection is a
|
|
17
|
+
* `v-model:value`, or `:value` with `@change`.
|
|
18
|
+
*
|
|
19
|
+
* <TabList v-model:value="tab" label="Store sections" variant="line">
|
|
20
|
+
* <Tab value="products" controls="products-panel">Products</Tab>
|
|
21
|
+
* <Tab value="sales" controls="sales-panel">Sales</Tab>
|
|
22
|
+
* </TabList>
|
|
23
|
+
* <section :if="tab === 'products'" id="products-panel" role="tabpanel">…</section>
|
|
24
|
+
*/
|
|
25
|
+
export declare const value: unknown;
|
|
26
|
+
export declare const label: unknown;
|
|
27
|
+
export declare const labelledby: unknown;
|
|
28
|
+
export declare const orientation: boolean;
|
|
29
|
+
export declare const variant: unknown;
|
|
30
|
+
export declare const className: unknown;
|
|
31
|
+
export declare const listClasses: unknown;
|
|
32
|
+
declare const selected: ReturnType<typeof useModel>;
|
|
33
|
+
declare type __DtsxStxComponentType = DefineComponent<{ value?: string, label?: string, labelledby?: string, orientation?: unknown, variant?: string, className?: string }> & { readonly __stxExposed?: { selected: typeof selected } }
|
|
34
|
+
export default __dtsx_component__;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { DefineComponent } from '@stacksjs/stx';
|
|
2
|
+
declare const __dtsx_component__: __DtsxStxComponentType;
|
|
3
|
+
// Slot wrapper that the parent <Tabs> discovers via DOM walk. The parent
|
|
4
|
+
// reads `data-label` (and optional `data-icon`) to build the tab list and
|
|
5
|
+
// toggles the `hidden` attribute as the active tab changes. Hidden by
|
|
6
|
+
// default — the parent flips the active one visible after mount. See
|
|
7
|
+
// stacksjs/stx#1703.
|
|
8
|
+
export declare const label: unknown;
|
|
9
|
+
export declare const icon: unknown;
|
|
10
|
+
export declare const className: unknown;
|
|
11
|
+
export declare const panelClasses: unknown;
|
|
12
|
+
declare type __DtsxStxComponentType = DefineComponent<{ label?: string, icon?: string, className?: string }>;
|
|
13
|
+
export default __dtsx_component__;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { DefineComponent } from '@stacksjs/stx';
|
|
2
|
+
declare function selectTab(index: unknown): void;
|
|
3
|
+
declare const __dtsx_component__: __DtsxStxComponentType;
|
|
4
|
+
// Two modes (see stacksjs/stx#1703):
|
|
5
|
+
// 1. Legacy prop API — pass `tabs={[{label, content, icon}, …]}` for
|
|
6
|
+
// simple string-content tabs (kept for backward compatibility with
|
|
7
|
+
// existing visual snapshots and consumers).
|
|
8
|
+
// 2. Slot API — drop `<TabPanel label="…">` children for arbitrary
|
|
9
|
+
// content (components, forms, tables, etc.). The parent enumerates
|
|
10
|
+
// [data-stx-tab-panel] descendants on mount and builds the tab list
|
|
11
|
+
// dynamically.
|
|
12
|
+
export declare const tabs: unknown;
|
|
13
|
+
export declare const defaultTab: unknown;
|
|
14
|
+
export declare const orientation: unknown;
|
|
15
|
+
export declare const variant: unknown;
|
|
16
|
+
export declare const className: unknown;
|
|
17
|
+
/*
|
|
18
|
+
* This tab set's own id, so the ids it mints for slot-mode tabs and panels
|
|
19
|
+
* cannot collide with a second <Tabs> on the same page. Same idiom as Dialog.
|
|
20
|
+
*/
|
|
21
|
+
export declare const tabsInstanceId: unknown;
|
|
22
|
+
export declare const containerClasses: unknown;
|
|
23
|
+
export declare const tabListClasses: unknown;
|
|
24
|
+
export declare const tabPanelClasses: unknown;
|
|
25
|
+
// True when the parent passes a non-empty `tabs` array — switches to the
|
|
26
|
+
// legacy render path so existing snapshots stay byte-identical.
|
|
27
|
+
export declare const hasPropTabs: boolean;
|
|
28
|
+
declare const activeTab: unknown;
|
|
29
|
+
declare type __DtsxStxComponentType = DefineComponent<{ tabs?: unknown[], defaultTab?: unknown, orientation?: string, variant?: string, className?: string }> & { readonly __stxExposed?: { activeTab: typeof activeTab, selectTab: typeof selectTab } }
|
|
30
|
+
export default __dtsx_component__;
|
package/dist/ui/tabs/index.d.ts
CHANGED
|
@@ -71,7 +71,7 @@ export declare interface TabProps {
|
|
|
71
71
|
variant?: 'line' | 'pills' | 'none'
|
|
72
72
|
className?: string
|
|
73
73
|
}
|
|
74
|
-
export { default as Tab } from './Tab
|
|
75
|
-
export { default as TabList } from './TabList
|
|
76
|
-
export { default as TabPanel } from './TabPanel
|
|
77
|
-
export { default as Tabs } from './Tabs
|
|
74
|
+
export { default as Tab } from './Tab';
|
|
75
|
+
export { default as TabList } from './TabList';
|
|
76
|
+
export { default as TabPanel } from './TabPanel';
|
|
77
|
+
export { default as Tabs } from './Tabs';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { DefineComponent } from '@stacksjs/stx';
|
|
2
|
+
declare const __dtsx_component__: __DtsxStxComponentType;
|
|
3
|
+
export declare const to: unknown;
|
|
4
|
+
export declare const disabled: ReturnType<typeof $bool>;
|
|
5
|
+
export declare const defer: ReturnType<typeof $bool>;
|
|
6
|
+
export declare const teleportId: unknown;
|
|
7
|
+
declare type __DtsxStxComponentType = DefineComponent<{ to?: string, disabled?: unknown, defer?: unknown }>;
|
|
8
|
+
export default __dtsx_component__;
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import type { DefineComponent } from '@stacksjs/stx';
|
|
2
|
+
declare const __dtsx_component__: __DtsxStxComponentType;
|
|
3
|
+
export declare const value: unknown;
|
|
4
|
+
export declare const placeholder: unknown;
|
|
5
|
+
export declare const disabled: ReturnType<typeof $bool>;
|
|
6
|
+
export declare const readonly: ReturnType<typeof $bool>;
|
|
7
|
+
export declare const rows: unknown;
|
|
8
|
+
export declare const autoResize: ReturnType<typeof $bool>;
|
|
9
|
+
export declare const maxRows: unknown;
|
|
10
|
+
export declare const error: ReturnType<typeof $bool>;
|
|
11
|
+
export declare const label: unknown;
|
|
12
|
+
/*
|
|
13
|
+
* Ids unique to this instance.
|
|
14
|
+
*
|
|
15
|
+
* These were derived from the LABEL or hardcoded outright, so two of these on
|
|
16
|
+
* one page -- an ordinary form -- emitted the same id twice. `<label for>`
|
|
17
|
+
* then activated the FIRST field from every label, and `aria-describedby`
|
|
18
|
+
* pointed every field's description at the first one's helper text. A label
|
|
19
|
+
* containing a space also produced an invalid id, `input-First name`, which
|
|
20
|
+
* getElementById and querySelector cannot address at all.
|
|
21
|
+
*
|
|
22
|
+
* `$uid` is unique per instance and stable across renders, which is what an id
|
|
23
|
+
* has to be (utils.ts explains why a render that changes its own bytes is
|
|
24
|
+
* uncacheable). The `id` prop overrides it, for a caller that needs to point
|
|
25
|
+
* its own `for` or `aria-describedby` at this control.
|
|
26
|
+
*/
|
|
27
|
+
export declare const inputId: unknown;
|
|
28
|
+
export declare const helperId: string;
|
|
29
|
+
export declare const helperText: unknown;
|
|
30
|
+
export declare const required: ReturnType<typeof $bool>;
|
|
31
|
+
export declare const maxLength: unknown;
|
|
32
|
+
export declare const showCount: ReturnType<typeof $bool>;
|
|
33
|
+
export declare const resize: unknown;
|
|
34
|
+
export declare const className: unknown;
|
|
35
|
+
/*
|
|
36
|
+
* The padding and type read the density roles, so an
|
|
37
|
+
* app sets its own field size with --stx-control-px, --stx-control-py,
|
|
38
|
+
* --stx-control-text and --stx-control-leading instead of a className
|
|
39
|
+
* that ties with py-2 on specificity. The fallbacks are px-4 / py-2 /
|
|
40
|
+
* text-base, so nothing moves by default (stacksjs/stx#1993).
|
|
41
|
+
*/
|
|
42
|
+
/*
|
|
43
|
+
* The two halves of the validity state, exported so the CLIENT can swap them
|
|
44
|
+
* (stacksjs/stx#2047). Toggled per class rather than as a whole string,
|
|
45
|
+
* because a reactive class string MERGES with the static one and the element
|
|
46
|
+
* would carry both rings at once.
|
|
47
|
+
*/
|
|
48
|
+
export declare const stateInvalidClasses: 'ring-danger-line text-danger-fg placeholder-danger focus:ring-danger-focus';
|
|
49
|
+
export declare const stateValidClasses: 'ring-line-strong text-fg placeholder-fg-soft focus:ring-accent';
|
|
50
|
+
export declare const textareaClasses: unknown;
|
|
51
|
+
export declare const labelClasses: unknown;
|
|
52
|
+
export declare const helperClasses: unknown;
|
|
53
|
+
/*
|
|
54
|
+
* The attributes that make this a form control (stacksjs/stx#2043).
|
|
55
|
+
*
|
|
56
|
+
* A control with no `name` is not a form control in the HTML sense: it is left
|
|
57
|
+
* out of FormData, out of form.elements.namedItem(), and out of an ordinary
|
|
58
|
+
* non-JS POST. A form built from these components submitted nothing for every
|
|
59
|
+
* field, silently -- which is how six apps read their forms.
|
|
60
|
+
*
|
|
61
|
+
* `autocomplete` is separate and just as load-bearing: it is how the browser
|
|
62
|
+
* and a password manager identify a field, so a password input without
|
|
63
|
+
* `autocomplete="current-password"` is never offered for autofill and is not
|
|
64
|
+
* recognised as part of a sign-in form at all.
|
|
65
|
+
*
|
|
66
|
+
* Emitted only when given, so a control that passes none of them renders
|
|
67
|
+
* exactly the markup it did before.
|
|
68
|
+
*/
|
|
69
|
+
export declare const name: unknown;
|
|
70
|
+
export declare const autocomplete: unknown;
|
|
71
|
+
export declare const form: unknown;
|
|
72
|
+
export declare const inputMode: unknown;
|
|
73
|
+
export declare const enterKeyHint: unknown;
|
|
74
|
+
declare type __DtsxStxComponentType = DefineComponent<{ value?: string, placeholder?: string, disabled?: unknown, readonly?: unknown, rows?: unknown, autoResize?: unknown, maxRows?: unknown, error?: unknown, label?: string, id?: string, helperText?: string, required?: unknown, maxLength?: unknown, showCount?: unknown, resize?: string, className?: string, name?: string, autocomplete?: unknown, autoComplete?: string, form?: string, inputMode?: unknown, inputmode?: string, enterKeyHint?: unknown, enterkeyhint?: string }> & { readonly __stxExposed?: { value: unknown } }
|
|
75
|
+
export default __dtsx_component__;
|