@wow-two-beta/ui 0.0.7 → 0.0.9
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/actions/buttonGroup/ButtonGroup.d.ts +14 -0
- package/dist/actions/buttonGroup/ButtonGroup.d.ts.map +1 -0
- package/dist/actions/buttonGroup/index.d.ts +2 -0
- package/dist/actions/buttonGroup/index.d.ts.map +1 -0
- package/dist/actions/copyButton/CopyButton.d.ts +20 -0
- package/dist/actions/copyButton/CopyButton.d.ts.map +1 -0
- package/dist/actions/copyButton/index.d.ts +2 -0
- package/dist/actions/copyButton/index.d.ts.map +1 -0
- package/dist/actions/disclosureButton/DisclosureButton.d.ts +20 -0
- package/dist/actions/disclosureButton/DisclosureButton.d.ts.map +1 -0
- package/dist/actions/disclosureButton/index.d.ts +2 -0
- package/dist/actions/disclosureButton/index.d.ts.map +1 -0
- package/dist/actions/fab/FAB.d.ts +13 -0
- package/dist/actions/fab/FAB.d.ts.map +1 -0
- package/dist/actions/fab/FAB.variants.d.ts +130 -0
- package/dist/actions/fab/FAB.variants.d.ts.map +1 -0
- package/dist/actions/fab/index.d.ts +3 -0
- package/dist/actions/fab/index.d.ts.map +1 -0
- package/dist/actions/index.d.ts +8 -0
- package/dist/actions/index.d.ts.map +1 -1
- package/dist/actions/index.js +4 -1
- package/dist/actions/overlayButton/OverlayButton.d.ts +16 -0
- package/dist/actions/overlayButton/OverlayButton.d.ts.map +1 -0
- package/dist/actions/overlayButton/OverlayButton.variants.d.ts +123 -0
- package/dist/actions/overlayButton/OverlayButton.variants.d.ts.map +1 -0
- package/dist/actions/overlayButton/index.d.ts +3 -0
- package/dist/actions/overlayButton/index.d.ts.map +1 -0
- package/dist/actions/segmentedControl/SegmentedControl.d.ts +9 -0
- package/dist/actions/segmentedControl/SegmentedControl.d.ts.map +1 -0
- package/dist/actions/segmentedControl/index.d.ts +2 -0
- package/dist/actions/segmentedControl/index.d.ts.map +1 -0
- package/dist/actions/toggleButton/ToggleButton.d.ts +16 -0
- package/dist/actions/toggleButton/ToggleButton.d.ts.map +1 -0
- package/dist/actions/toggleButton/ToggleButton.variants.d.ts +81 -0
- package/dist/actions/toggleButton/ToggleButton.variants.d.ts.map +1 -0
- package/dist/actions/toggleButton/index.d.ts +3 -0
- package/dist/actions/toggleButton/index.d.ts.map +1 -0
- package/dist/actions/toggleButtonGroup/ToggleButtonGroup.d.ts +25 -0
- package/dist/actions/toggleButtonGroup/ToggleButtonGroup.d.ts.map +1 -0
- package/dist/actions/toggleButtonGroup/index.d.ts +2 -0
- package/dist/actions/toggleButtonGroup/index.d.ts.map +1 -0
- package/dist/chunk-3KGYKBW6.js +697 -0
- package/dist/chunk-3KGYKBW6.js.map +1 -0
- package/dist/{chunk-6NYTRHP7.js → chunk-4P2TFUVW.js} +39 -5
- package/dist/chunk-4P2TFUVW.js.map +1 -0
- package/dist/chunk-55Y2JOBV.js +774 -0
- package/dist/chunk-55Y2JOBV.js.map +1 -0
- package/dist/{chunk-JCMV6IT4.js → chunk-CZ6FQILQ.js} +30 -5
- package/dist/chunk-CZ6FQILQ.js.map +1 -0
- package/dist/chunk-D5CHR6RX.js +423 -0
- package/dist/chunk-D5CHR6RX.js.map +1 -0
- package/dist/{chunk-77WSI427.js → chunk-KDXJQNB6.js} +9 -5
- package/dist/chunk-KDXJQNB6.js.map +1 -0
- package/dist/{chunk-SYG6ZE42.js → chunk-NKGNOOXJ.js} +116 -4
- package/dist/chunk-NKGNOOXJ.js.map +1 -0
- package/dist/chunk-RIW2V3N4.js +596 -0
- package/dist/chunk-RIW2V3N4.js.map +1 -0
- package/dist/chunk-SBVWECJP.js +2034 -0
- package/dist/chunk-SBVWECJP.js.map +1 -0
- package/dist/display/avatarGroup/AvatarGroup.d.ts +16 -0
- package/dist/display/avatarGroup/AvatarGroup.d.ts.map +1 -0
- package/dist/display/avatarGroup/index.d.ts +2 -0
- package/dist/display/avatarGroup/index.d.ts.map +1 -0
- package/dist/display/badgeOverlay/BadgeOverlay.d.ts +18 -0
- package/dist/display/badgeOverlay/BadgeOverlay.d.ts.map +1 -0
- package/dist/display/badgeOverlay/index.d.ts +2 -0
- package/dist/display/badgeOverlay/index.d.ts.map +1 -0
- package/dist/display/card/Card.d.ts +20 -0
- package/dist/display/card/Card.d.ts.map +1 -0
- package/dist/display/card/index.d.ts +2 -0
- package/dist/display/card/index.d.ts.map +1 -0
- package/dist/display/countBadge/CountBadge.d.ts +18 -0
- package/dist/display/countBadge/CountBadge.d.ts.map +1 -0
- package/dist/display/countBadge/index.d.ts +2 -0
- package/dist/display/countBadge/index.d.ts.map +1 -0
- package/dist/display/descriptionList/DescriptionList.d.ts +18 -0
- package/dist/display/descriptionList/DescriptionList.d.ts.map +1 -0
- package/dist/display/descriptionList/index.d.ts +2 -0
- package/dist/display/descriptionList/index.d.ts.map +1 -0
- package/dist/display/emptyState/EmptyState.d.ts +19 -0
- package/dist/display/emptyState/EmptyState.d.ts.map +1 -0
- package/dist/display/emptyState/index.d.ts +2 -0
- package/dist/display/emptyState/index.d.ts.map +1 -0
- package/dist/display/highlight/Highlight.d.ts +16 -0
- package/dist/display/highlight/Highlight.d.ts.map +1 -0
- package/dist/display/highlight/index.d.ts +2 -0
- package/dist/display/highlight/index.d.ts.map +1 -0
- package/dist/display/index.d.ts +15 -0
- package/dist/display/index.d.ts.map +1 -1
- package/dist/display/index.js +6 -2
- package/dist/display/infoRow/InfoRow.d.ts +16 -0
- package/dist/display/infoRow/InfoRow.d.ts.map +1 -0
- package/dist/display/infoRow/index.d.ts +2 -0
- package/dist/display/infoRow/index.d.ts.map +1 -0
- package/dist/display/keyboardShortcut/KeyboardShortcut.d.ts +13 -0
- package/dist/display/keyboardShortcut/KeyboardShortcut.d.ts.map +1 -0
- package/dist/display/keyboardShortcut/index.d.ts +2 -0
- package/dist/display/keyboardShortcut/index.d.ts.map +1 -0
- package/dist/display/notificationDot/NotificationDot.d.ts +15 -0
- package/dist/display/notificationDot/NotificationDot.d.ts.map +1 -0
- package/dist/display/notificationDot/index.d.ts +2 -0
- package/dist/display/notificationDot/index.d.ts.map +1 -0
- package/dist/display/sectionHeader/SectionHeader.d.ts +21 -0
- package/dist/display/sectionHeader/SectionHeader.d.ts.map +1 -0
- package/dist/display/sectionHeader/index.d.ts +2 -0
- package/dist/display/sectionHeader/index.d.ts.map +1 -0
- package/dist/display/snippet/Snippet.d.ts +15 -0
- package/dist/display/snippet/Snippet.d.ts.map +1 -0
- package/dist/display/snippet/index.d.ts +2 -0
- package/dist/display/snippet/index.d.ts.map +1 -0
- package/dist/display/stat/Stat.d.ts +22 -0
- package/dist/display/stat/Stat.d.ts.map +1 -0
- package/dist/display/stat/index.d.ts +2 -0
- package/dist/display/stat/index.d.ts.map +1 -0
- package/dist/display/status/Status.d.ts +14 -0
- package/dist/display/status/Status.d.ts.map +1 -0
- package/dist/display/status/index.d.ts +2 -0
- package/dist/display/status/index.d.ts.map +1 -0
- package/dist/display/tooltip/Tooltip.d.ts +25 -0
- package/dist/display/tooltip/Tooltip.d.ts.map +1 -0
- package/dist/display/tooltip/index.d.ts +2 -0
- package/dist/display/tooltip/index.d.ts.map +1 -0
- package/dist/feedback/alert/Alert.d.ts +22 -0
- package/dist/feedback/alert/Alert.d.ts.map +1 -0
- package/dist/feedback/alert/index.d.ts +2 -0
- package/dist/feedback/alert/index.d.ts.map +1 -0
- package/dist/feedback/banner/Banner.d.ts +16 -0
- package/dist/feedback/banner/Banner.d.ts.map +1 -0
- package/dist/feedback/banner/index.d.ts +2 -0
- package/dist/feedback/banner/index.d.ts.map +1 -0
- package/dist/feedback/callout/Callout.d.ts +13 -0
- package/dist/feedback/callout/Callout.d.ts.map +1 -0
- package/dist/feedback/callout/index.d.ts +2 -0
- package/dist/feedback/callout/index.d.ts.map +1 -0
- package/dist/feedback/index.d.ts +10 -0
- package/dist/feedback/index.d.ts.map +1 -1
- package/dist/feedback/index.js +2 -1
- package/dist/feedback/inlineSpinner/InlineSpinner.d.ts +14 -0
- package/dist/feedback/inlineSpinner/InlineSpinner.d.ts.map +1 -0
- package/dist/feedback/inlineSpinner/index.d.ts +2 -0
- package/dist/feedback/inlineSpinner/index.d.ts.map +1 -0
- package/dist/feedback/loadingState/LoadingState.d.ts +15 -0
- package/dist/feedback/loadingState/LoadingState.d.ts.map +1 -0
- package/dist/feedback/loadingState/index.d.ts +2 -0
- package/dist/feedback/loadingState/index.d.ts.map +1 -0
- package/dist/feedback/meterBar/MeterBar.d.ts +18 -0
- package/dist/feedback/meterBar/MeterBar.d.ts.map +1 -0
- package/dist/feedback/meterBar/index.d.ts +2 -0
- package/dist/feedback/meterBar/index.d.ts.map +1 -0
- package/dist/feedback/progressSteps/ProgressSteps.d.ts +16 -0
- package/dist/feedback/progressSteps/ProgressSteps.d.ts.map +1 -0
- package/dist/feedback/progressSteps/index.d.ts +2 -0
- package/dist/feedback/progressSteps/index.d.ts.map +1 -0
- package/dist/feedback/statusIndicator/StatusIndicator.d.ts +17 -0
- package/dist/feedback/statusIndicator/StatusIndicator.d.ts.map +1 -0
- package/dist/feedback/statusIndicator/index.d.ts +2 -0
- package/dist/feedback/statusIndicator/index.d.ts.map +1 -0
- package/dist/feedback/toast/Toast.d.ts +16 -0
- package/dist/feedback/toast/Toast.d.ts.map +1 -0
- package/dist/feedback/toast/index.d.ts +2 -0
- package/dist/feedback/toast/index.d.ts.map +1 -0
- package/dist/feedback/trendIndicator/TrendIndicator.d.ts +18 -0
- package/dist/feedback/trendIndicator/TrendIndicator.d.ts.map +1 -0
- package/dist/feedback/trendIndicator/index.d.ts +2 -0
- package/dist/feedback/trendIndicator/index.d.ts.map +1 -0
- package/dist/forms/characterCount/CharacterCount.d.ts +15 -0
- package/dist/forms/characterCount/CharacterCount.d.ts.map +1 -0
- package/dist/forms/characterCount/index.d.ts +2 -0
- package/dist/forms/characterCount/index.d.ts.map +1 -0
- package/dist/forms/checkboxField/CheckboxField.d.ts +16 -0
- package/dist/forms/checkboxField/CheckboxField.d.ts.map +1 -0
- package/dist/forms/checkboxField/index.d.ts +2 -0
- package/dist/forms/checkboxField/index.d.ts.map +1 -0
- package/dist/forms/checkboxGroup/CheckboxGroup.d.ts +24 -0
- package/dist/forms/checkboxGroup/CheckboxGroup.d.ts.map +1 -0
- package/dist/forms/checkboxGroup/index.d.ts +2 -0
- package/dist/forms/checkboxGroup/index.d.ts.map +1 -0
- package/dist/forms/choiceCard/ChoiceCard.d.ts +17 -0
- package/dist/forms/choiceCard/ChoiceCard.d.ts.map +1 -0
- package/dist/forms/choiceCard/index.d.ts +2 -0
- package/dist/forms/choiceCard/index.d.ts.map +1 -0
- package/dist/forms/combobox/Combobox.d.ts +55 -0
- package/dist/forms/combobox/Combobox.d.ts.map +1 -0
- package/dist/forms/combobox/index.d.ts +2 -0
- package/dist/forms/combobox/index.d.ts.map +1 -0
- package/dist/forms/currencyInput/CurrencyInput.d.ts +11 -0
- package/dist/forms/currencyInput/CurrencyInput.d.ts.map +1 -0
- package/dist/forms/currencyInput/index.d.ts +2 -0
- package/dist/forms/currencyInput/index.d.ts.map +1 -0
- package/dist/forms/filePicker/FilePicker.d.ts +18 -0
- package/dist/forms/filePicker/FilePicker.d.ts.map +1 -0
- package/dist/forms/filePicker/index.d.ts +2 -0
- package/dist/forms/filePicker/index.d.ts.map +1 -0
- package/dist/forms/formField/FormField.d.ts +24 -0
- package/dist/forms/formField/FormField.d.ts.map +1 -0
- package/dist/forms/formField/index.d.ts +2 -0
- package/dist/forms/formField/index.d.ts.map +1 -0
- package/dist/forms/index.d.ts +21 -0
- package/dist/forms/index.d.ts.map +1 -1
- package/dist/forms/index.js +6 -4
- package/dist/forms/inputAddon/InputAddon.d.ts +16 -0
- package/dist/forms/inputAddon/InputAddon.d.ts.map +1 -0
- package/dist/forms/inputAddon/index.d.ts +2 -0
- package/dist/forms/inputAddon/index.d.ts.map +1 -0
- package/dist/forms/inputGroup/InputGroup.d.ts +11 -0
- package/dist/forms/inputGroup/InputGroup.d.ts.map +1 -0
- package/dist/forms/inputGroup/index.d.ts +2 -0
- package/dist/forms/inputGroup/index.d.ts.map +1 -0
- package/dist/forms/labeledInput/LabeledInput.d.ts +17 -0
- package/dist/forms/labeledInput/LabeledInput.d.ts.map +1 -0
- package/dist/forms/labeledInput/index.d.ts +2 -0
- package/dist/forms/labeledInput/index.d.ts.map +1 -0
- package/dist/forms/listbox/Listbox.d.ts +44 -0
- package/dist/forms/listbox/Listbox.d.ts.map +1 -0
- package/dist/forms/listbox/Listbox.variants.d.ts +58 -0
- package/dist/forms/listbox/Listbox.variants.d.ts.map +1 -0
- package/dist/forms/listbox/index.d.ts +2 -0
- package/dist/forms/listbox/index.d.ts.map +1 -0
- package/dist/forms/maskedInput/MaskedInput.d.ts +17 -0
- package/dist/forms/maskedInput/MaskedInput.d.ts.map +1 -0
- package/dist/forms/maskedInput/index.d.ts +2 -0
- package/dist/forms/maskedInput/index.d.ts.map +1 -0
- package/dist/forms/multiSelect/MultiSelect.d.ts +47 -0
- package/dist/forms/multiSelect/MultiSelect.d.ts.map +1 -0
- package/dist/forms/multiSelect/index.d.ts +2 -0
- package/dist/forms/multiSelect/index.d.ts.map +1 -0
- package/dist/forms/passwordStrength/PasswordStrength.d.ts +15 -0
- package/dist/forms/passwordStrength/PasswordStrength.d.ts.map +1 -0
- package/dist/forms/passwordStrength/index.d.ts +2 -0
- package/dist/forms/passwordStrength/index.d.ts.map +1 -0
- package/dist/forms/percentInput/PercentInput.d.ts +8 -0
- package/dist/forms/percentInput/PercentInput.d.ts.map +1 -0
- package/dist/forms/percentInput/index.d.ts +2 -0
- package/dist/forms/percentInput/index.d.ts.map +1 -0
- package/dist/forms/pinInput/PinInput.d.ts +26 -0
- package/dist/forms/pinInput/PinInput.d.ts.map +1 -0
- package/dist/forms/pinInput/index.d.ts +2 -0
- package/dist/forms/pinInput/index.d.ts.map +1 -0
- package/dist/forms/radioField/RadioField.d.ts +12 -0
- package/dist/forms/radioField/RadioField.d.ts.map +1 -0
- package/dist/forms/radioField/index.d.ts +2 -0
- package/dist/forms/radioField/index.d.ts.map +1 -0
- package/dist/forms/radioGroup/RadioGroup.d.ts +19 -0
- package/dist/forms/radioGroup/RadioGroup.d.ts.map +1 -0
- package/dist/forms/radioGroup/index.d.ts +2 -0
- package/dist/forms/radioGroup/index.d.ts.map +1 -0
- package/dist/forms/select/Select.d.ts +55 -0
- package/dist/forms/select/Select.d.ts.map +1 -0
- package/dist/forms/select/Select.variants.d.ts +74 -0
- package/dist/forms/select/Select.variants.d.ts.map +1 -0
- package/dist/forms/select/index.d.ts +2 -0
- package/dist/forms/select/index.d.ts.map +1 -0
- package/dist/forms/switchField/SwitchField.d.ts +15 -0
- package/dist/forms/switchField/SwitchField.d.ts.map +1 -0
- package/dist/forms/switchField/index.d.ts +2 -0
- package/dist/forms/switchField/index.d.ts.map +1 -0
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/index.d.ts.map +1 -1
- package/dist/hooks/index.js +2 -3
- package/dist/hooks/useClipboard.d.ts +21 -0
- package/dist/hooks/useClipboard.d.ts.map +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +10 -11
- package/dist/layout/cluster/Cluster.d.ts +13 -0
- package/dist/layout/cluster/Cluster.d.ts.map +1 -0
- package/dist/layout/cluster/index.d.ts +2 -0
- package/dist/layout/cluster/index.d.ts.map +1 -0
- package/dist/layout/frame/Frame.d.ts +17 -0
- package/dist/layout/frame/Frame.d.ts.map +1 -0
- package/dist/layout/frame/index.d.ts +2 -0
- package/dist/layout/frame/index.d.ts.map +1 -0
- package/dist/layout/index.d.ts +4 -0
- package/dist/layout/index.d.ts.map +1 -1
- package/dist/layout/index.js +1 -1
- package/dist/layout/inline/Inline.d.ts +13 -0
- package/dist/layout/inline/Inline.d.ts.map +1 -0
- package/dist/layout/inline/index.d.ts +2 -0
- package/dist/layout/inline/index.d.ts.map +1 -0
- package/dist/layout/twoColumn/TwoColumn.d.ts +19 -0
- package/dist/layout/twoColumn/TwoColumn.d.ts.map +1 -0
- package/dist/layout/twoColumn/index.d.ts +2 -0
- package/dist/layout/twoColumn/index.d.ts.map +1 -0
- package/dist/nav/breadcrumb/Breadcrumb.d.ts +18 -0
- package/dist/nav/breadcrumb/Breadcrumb.d.ts.map +1 -0
- package/dist/nav/breadcrumb/index.d.ts +2 -0
- package/dist/nav/breadcrumb/index.d.ts.map +1 -0
- package/dist/nav/contextMenu/ContextMenu.d.ts +31 -0
- package/dist/nav/contextMenu/ContextMenu.d.ts.map +1 -0
- package/dist/nav/contextMenu/index.d.ts +2 -0
- package/dist/nav/contextMenu/index.d.ts.map +1 -0
- package/dist/nav/dropdownMenu/DropdownMenu.d.ts +34 -0
- package/dist/nav/dropdownMenu/DropdownMenu.d.ts.map +1 -0
- package/dist/nav/dropdownMenu/index.d.ts +2 -0
- package/dist/nav/dropdownMenu/index.d.ts.map +1 -0
- package/dist/nav/index.d.ts +8 -0
- package/dist/nav/index.d.ts.map +1 -0
- package/dist/nav/index.js +12 -0
- package/dist/nav/index.js.map +1 -0
- package/dist/nav/menu/Menu.d.ts +38 -0
- package/dist/nav/menu/Menu.d.ts.map +1 -0
- package/dist/nav/menu/Menu.variants.d.ts +50 -0
- package/dist/nav/menu/Menu.variants.d.ts.map +1 -0
- package/dist/nav/menu/index.d.ts +3 -0
- package/dist/nav/menu/index.d.ts.map +1 -0
- package/dist/nav/menubar/Menubar.d.ts +40 -0
- package/dist/nav/menubar/Menubar.d.ts.map +1 -0
- package/dist/nav/menubar/Menubar.variants.d.ts +5 -0
- package/dist/nav/menubar/Menubar.variants.d.ts.map +1 -0
- package/dist/nav/menubar/index.d.ts +2 -0
- package/dist/nav/menubar/index.d.ts.map +1 -0
- package/dist/nav/navItem/NavItem.d.ts +22 -0
- package/dist/nav/navItem/NavItem.d.ts.map +1 -0
- package/dist/nav/navItem/index.d.ts +2 -0
- package/dist/nav/navItem/index.d.ts.map +1 -0
- package/dist/nav/pagination/Pagination.d.ts +19 -0
- package/dist/nav/pagination/Pagination.d.ts.map +1 -0
- package/dist/nav/pagination/index.d.ts +2 -0
- package/dist/nav/pagination/index.d.ts.map +1 -0
- package/dist/primitives/index.js +2 -4
- package/package.json +5 -1
- package/dist/chunk-62NXDB5V.js +0 -275
- package/dist/chunk-62NXDB5V.js.map +0 -1
- package/dist/chunk-6NYTRHP7.js.map +0 -1
- package/dist/chunk-77WSI427.js.map +0 -1
- package/dist/chunk-DBQ4VF2J.js +0 -318
- package/dist/chunk-DBQ4VF2J.js.map +0 -1
- package/dist/chunk-HVJVLK6B.js +0 -120
- package/dist/chunk-HVJVLK6B.js.map +0 -1
- package/dist/chunk-JCMV6IT4.js.map +0 -1
- package/dist/chunk-JTJEI6MF.js +0 -11
- package/dist/chunk-JTJEI6MF.js.map +0 -1
- package/dist/chunk-Q27NAHVB.js +0 -34
- package/dist/chunk-Q27NAHVB.js.map +0 -1
- package/dist/chunk-SYG6ZE42.js.map +0 -1
- package/dist/chunk-TDEEVNSD.js +0 -604
- package/dist/chunk-TDEEVNSD.js.map +0 -1
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { type ComponentPropsWithoutRef } from 'react';
|
|
2
|
+
export interface ButtonGroupProps extends ComponentPropsWithoutRef<'div'> {
|
|
3
|
+
/** Visual orientation. Default `horizontal`. */
|
|
4
|
+
orientation?: 'horizontal' | 'vertical';
|
|
5
|
+
/** Group children with collapsed inner radii (connected look). Default `true`. */
|
|
6
|
+
attached?: boolean;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* Visually groups Button / IconButton children. When `attached` (default),
|
|
10
|
+
* collapses inner border-radii so children read as one connected control.
|
|
11
|
+
* Pass `attached={false}` for a simple gap-spaced row.
|
|
12
|
+
*/
|
|
13
|
+
export declare const ButtonGroup: import("react").ForwardRefExoticComponent<ButtonGroupProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
14
|
+
//# sourceMappingURL=ButtonGroup.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ButtonGroup.d.ts","sourceRoot":"","sources":["../../../src/actions/buttonGroup/ButtonGroup.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,KAAK,wBAAwB,EAAE,MAAM,OAAO,CAAC;AAGlE,MAAM,WAAW,gBAAiB,SAAQ,wBAAwB,CAAC,KAAK,CAAC;IACvE,gDAAgD;IAChD,WAAW,CAAC,EAAE,YAAY,GAAG,UAAU,CAAC;IACxC,kFAAkF;IAClF,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED;;;;GAIG;AACH,eAAO,MAAM,WAAW,6GAmBvB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/actions/buttonGroup/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,KAAK,gBAAgB,EAAE,MAAM,eAAe,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { type ReactNode } from 'react';
|
|
2
|
+
import { type ButtonProps } from '../button/Button';
|
|
3
|
+
export interface CopyButtonProps extends Omit<ButtonProps, 'onClick' | 'children'> {
|
|
4
|
+
/** Text to copy when clicked. */
|
|
5
|
+
text: string;
|
|
6
|
+
/** Reset window for the "copied" state. Default 2000ms. */
|
|
7
|
+
resetAfter?: number;
|
|
8
|
+
/** Render-prop / static label. Receives `copied` so consumers can swap text. */
|
|
9
|
+
children?: ReactNode | ((args: {
|
|
10
|
+
copied: boolean;
|
|
11
|
+
}) => ReactNode);
|
|
12
|
+
/** Accessible label when no visible text (icon-only). Default `"Copy"`. */
|
|
13
|
+
'aria-label'?: string;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Button that copies `text` to the clipboard. Swaps to a checkmark icon for
|
|
17
|
+
* `resetAfter` ms after a successful copy.
|
|
18
|
+
*/
|
|
19
|
+
export declare const CopyButton: import("react").ForwardRefExoticComponent<CopyButtonProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
20
|
+
//# sourceMappingURL=CopyButton.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CopyButton.d.ts","sourceRoot":"","sources":["../../../src/actions/copyButton/CopyButton.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAInD,OAAO,EAAU,KAAK,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAE5D,MAAM,WAAW,eAAgB,SAAQ,IAAI,CAAC,WAAW,EAAE,SAAS,GAAG,UAAU,CAAC;IAChF,iCAAiC;IACjC,IAAI,EAAE,MAAM,CAAC;IACb,2DAA2D;IAC3D,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,gFAAgF;IAChF,QAAQ,CAAC,EAAE,SAAS,GAAG,CAAC,CAAC,IAAI,EAAE;QAAE,MAAM,EAAE,OAAO,CAAA;KAAE,KAAK,SAAS,CAAC,CAAC;IAClE,2EAA2E;IAC3E,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED;;;GAGG;AACH,eAAO,MAAM,UAAU,+GAwBtB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/actions/copyButton/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,KAAK,eAAe,EAAE,MAAM,cAAc,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { type ButtonHTMLAttributes, type ReactNode } from 'react';
|
|
2
|
+
export interface DisclosureButtonProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'children' | 'onChange'> {
|
|
3
|
+
/** Visible label (left-aligned). */
|
|
4
|
+
children?: ReactNode;
|
|
5
|
+
/** Controlled open state. */
|
|
6
|
+
open?: boolean;
|
|
7
|
+
/** Uncontrolled initial state. */
|
|
8
|
+
defaultOpen?: boolean;
|
|
9
|
+
/** Fires whenever open state changes. */
|
|
10
|
+
onOpenChange?: (open: boolean) => void;
|
|
11
|
+
/** Side the chevron sits on. Default `right`. */
|
|
12
|
+
chevronSide?: 'left' | 'right';
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* Button with a chevron that rotates on open. Used as the trigger for
|
|
16
|
+
* collapsible sections, accordion items, sidebar groups. Sets `aria-expanded`
|
|
17
|
+
* and `data-state="open" | "closed"` for downstream content sync.
|
|
18
|
+
*/
|
|
19
|
+
export declare const DisclosureButton: import("react").ForwardRefExoticComponent<DisclosureButtonProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
20
|
+
//# sourceMappingURL=DisclosureButton.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DisclosureButton.d.ts","sourceRoot":"","sources":["../../../src/actions/disclosureButton/DisclosureButton.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,KAAK,oBAAoB,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAM9E,MAAM,WAAW,qBACf,SAAQ,IAAI,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,EAAE,UAAU,GAAG,UAAU,CAAC;IAC9E,oCAAoC;IACpC,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,6BAA6B;IAC7B,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,kCAAkC;IAClC,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,yCAAyC;IACzC,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACvC,iDAAiD;IACjD,WAAW,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;CAChC;AAED;;;;GAIG;AACH,eAAO,MAAM,gBAAgB,qHAkD5B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/actions/disclosureButton/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,KAAK,qBAAqB,EAAE,MAAM,oBAAoB,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { type ButtonHTMLAttributes, type ReactNode } from 'react';
|
|
2
|
+
import { type FABVariants } from './FAB.variants';
|
|
3
|
+
export interface FABProps extends ButtonHTMLAttributes<HTMLButtonElement>, FABVariants {
|
|
4
|
+
/** Required accessible label — FAB content is typically icon-only. */
|
|
5
|
+
'aria-label': string;
|
|
6
|
+
children: ReactNode;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* Floating Action Button — fixed-position circular button with shadow.
|
|
10
|
+
* Pass an icon (or icon + short label) as children. `aria-label` required.
|
|
11
|
+
*/
|
|
12
|
+
export declare const FAB: import("react").ForwardRefExoticComponent<FABProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
13
|
+
//# sourceMappingURL=FAB.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FAB.d.ts","sourceRoot":"","sources":["../../../src/actions/fab/FAB.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,KAAK,oBAAoB,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAE9E,OAAO,EAAe,KAAK,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE/D,MAAM,WAAW,QAAS,SAAQ,oBAAoB,CAAC,iBAAiB,CAAC,EAAE,WAAW;IACpF,sEAAsE;IACtE,YAAY,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED;;;GAGG;AACH,eAAO,MAAM,GAAG,wGASf,CAAC"}
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
import { type VariantProps } from '../../utils';
|
|
2
|
+
export declare const fabVariants: import("tailwind-variants").TVReturnType<{
|
|
3
|
+
variant: {
|
|
4
|
+
primary: string;
|
|
5
|
+
secondary: string;
|
|
6
|
+
destructive: string;
|
|
7
|
+
};
|
|
8
|
+
size: {
|
|
9
|
+
sm: string;
|
|
10
|
+
md: string;
|
|
11
|
+
lg: string;
|
|
12
|
+
};
|
|
13
|
+
position: {
|
|
14
|
+
'bottom-right': string;
|
|
15
|
+
'bottom-left': string;
|
|
16
|
+
'bottom-center': string;
|
|
17
|
+
'top-right': string;
|
|
18
|
+
'top-left': string;
|
|
19
|
+
};
|
|
20
|
+
}, undefined, "fixed inline-flex items-center justify-center rounded-full shadow-lg transition-all hover:shadow-xl focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50", import("tailwind-variants/dist/config.js").TVConfig<{
|
|
21
|
+
variant: {
|
|
22
|
+
primary: string;
|
|
23
|
+
secondary: string;
|
|
24
|
+
destructive: string;
|
|
25
|
+
};
|
|
26
|
+
size: {
|
|
27
|
+
sm: string;
|
|
28
|
+
md: string;
|
|
29
|
+
lg: string;
|
|
30
|
+
};
|
|
31
|
+
position: {
|
|
32
|
+
'bottom-right': string;
|
|
33
|
+
'bottom-left': string;
|
|
34
|
+
'bottom-center': string;
|
|
35
|
+
'top-right': string;
|
|
36
|
+
'top-left': string;
|
|
37
|
+
};
|
|
38
|
+
}, {
|
|
39
|
+
variant: {
|
|
40
|
+
primary: string;
|
|
41
|
+
secondary: string;
|
|
42
|
+
destructive: string;
|
|
43
|
+
};
|
|
44
|
+
size: {
|
|
45
|
+
sm: string;
|
|
46
|
+
md: string;
|
|
47
|
+
lg: string;
|
|
48
|
+
};
|
|
49
|
+
position: {
|
|
50
|
+
'bottom-right': string;
|
|
51
|
+
'bottom-left': string;
|
|
52
|
+
'bottom-center': string;
|
|
53
|
+
'top-right': string;
|
|
54
|
+
'top-left': string;
|
|
55
|
+
};
|
|
56
|
+
}>, {
|
|
57
|
+
variant: {
|
|
58
|
+
primary: string;
|
|
59
|
+
secondary: string;
|
|
60
|
+
destructive: string;
|
|
61
|
+
};
|
|
62
|
+
size: {
|
|
63
|
+
sm: string;
|
|
64
|
+
md: string;
|
|
65
|
+
lg: string;
|
|
66
|
+
};
|
|
67
|
+
position: {
|
|
68
|
+
'bottom-right': string;
|
|
69
|
+
'bottom-left': string;
|
|
70
|
+
'bottom-center': string;
|
|
71
|
+
'top-right': string;
|
|
72
|
+
'top-left': string;
|
|
73
|
+
};
|
|
74
|
+
}, undefined, import("tailwind-variants").TVReturnType<{
|
|
75
|
+
variant: {
|
|
76
|
+
primary: string;
|
|
77
|
+
secondary: string;
|
|
78
|
+
destructive: string;
|
|
79
|
+
};
|
|
80
|
+
size: {
|
|
81
|
+
sm: string;
|
|
82
|
+
md: string;
|
|
83
|
+
lg: string;
|
|
84
|
+
};
|
|
85
|
+
position: {
|
|
86
|
+
'bottom-right': string;
|
|
87
|
+
'bottom-left': string;
|
|
88
|
+
'bottom-center': string;
|
|
89
|
+
'top-right': string;
|
|
90
|
+
'top-left': string;
|
|
91
|
+
};
|
|
92
|
+
}, undefined, "fixed inline-flex items-center justify-center rounded-full shadow-lg transition-all hover:shadow-xl focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50", import("tailwind-variants/dist/config.js").TVConfig<{
|
|
93
|
+
variant: {
|
|
94
|
+
primary: string;
|
|
95
|
+
secondary: string;
|
|
96
|
+
destructive: string;
|
|
97
|
+
};
|
|
98
|
+
size: {
|
|
99
|
+
sm: string;
|
|
100
|
+
md: string;
|
|
101
|
+
lg: string;
|
|
102
|
+
};
|
|
103
|
+
position: {
|
|
104
|
+
'bottom-right': string;
|
|
105
|
+
'bottom-left': string;
|
|
106
|
+
'bottom-center': string;
|
|
107
|
+
'top-right': string;
|
|
108
|
+
'top-left': string;
|
|
109
|
+
};
|
|
110
|
+
}, {
|
|
111
|
+
variant: {
|
|
112
|
+
primary: string;
|
|
113
|
+
secondary: string;
|
|
114
|
+
destructive: string;
|
|
115
|
+
};
|
|
116
|
+
size: {
|
|
117
|
+
sm: string;
|
|
118
|
+
md: string;
|
|
119
|
+
lg: string;
|
|
120
|
+
};
|
|
121
|
+
position: {
|
|
122
|
+
'bottom-right': string;
|
|
123
|
+
'bottom-left': string;
|
|
124
|
+
'bottom-center': string;
|
|
125
|
+
'top-right': string;
|
|
126
|
+
'top-left': string;
|
|
127
|
+
};
|
|
128
|
+
}>, unknown, unknown, undefined>>;
|
|
129
|
+
export type FABVariants = VariantProps<typeof fabVariants>;
|
|
130
|
+
//# sourceMappingURL=FAB.variants.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FAB.variants.d.ts","sourceRoot":"","sources":["../../../src/actions/fab/FAB.variants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAM,KAAK,YAAY,EAAE,MAAM,aAAa,CAAC;AAEpD,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCA0BtB,CAAC;AAEH,MAAM,MAAM,WAAW,GAAG,YAAY,CAAC,OAAO,WAAW,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/actions/fab/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,KAAK,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC3C,OAAO,EAAE,WAAW,EAAE,KAAK,WAAW,EAAE,MAAM,gBAAgB,CAAC"}
|
package/dist/actions/index.d.ts
CHANGED
|
@@ -1,4 +1,12 @@
|
|
|
1
1
|
export * from './button';
|
|
2
2
|
export * from './iconButton';
|
|
3
3
|
export * from './link';
|
|
4
|
+
export * from './buttonGroup';
|
|
5
|
+
export * from './toggleButton';
|
|
6
|
+
export * from './toggleButtonGroup';
|
|
7
|
+
export * from './segmentedControl';
|
|
8
|
+
export * from './fab';
|
|
9
|
+
export * from './copyButton';
|
|
10
|
+
export * from './disclosureButton';
|
|
11
|
+
export * from './overlayButton';
|
|
4
12
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/actions/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC;AAC7B,cAAc,QAAQ,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/actions/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC;AAC7B,cAAc,QAAQ,CAAC;AACvB,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,OAAO,CAAC;AACtB,cAAc,cAAc,CAAC;AAC7B,cAAc,oBAAoB,CAAC;AACnC,cAAc,iBAAiB,CAAC"}
|
package/dist/actions/index.js
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
|
-
export { Button, IconButton, Link, buttonVariants, iconButtonVariants, linkVariants } from '../chunk-
|
|
1
|
+
export { Button, ButtonGroup, CopyButton, DisclosureButton, FAB, IconButton, Link, OverlayButton, SegmentedControl, ToggleButton, ToggleButtonGroup, buttonVariants, fabVariants, iconButtonVariants, linkVariants, overlayButtonVariants, toggleButtonVariants } from '../chunk-D5CHR6RX.js';
|
|
2
|
+
import '../chunk-4P2TFUVW.js';
|
|
2
3
|
import '../chunk-33IOXQYO.js';
|
|
4
|
+
import '../chunk-KDXJQNB6.js';
|
|
3
5
|
import '../chunk-BMBIZLO4.js';
|
|
6
|
+
import '../chunk-TDX22OWF.js';
|
|
4
7
|
import '../chunk-DN7WBRIV.js';
|
|
5
8
|
import '../chunk-KZ4VFY2T.js';
|
|
6
9
|
import '../chunk-PZ5AY32C.js';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { type ButtonHTMLAttributes, type ReactNode } from 'react';
|
|
2
|
+
import { type OverlayButtonVariants } from './OverlayButton.variants';
|
|
3
|
+
export interface OverlayButtonProps extends ButtonHTMLAttributes<HTMLButtonElement>, OverlayButtonVariants {
|
|
4
|
+
/** REQUIRED accessible label — overlay buttons are typically icon-only. */
|
|
5
|
+
'aria-label': string;
|
|
6
|
+
children: ReactNode;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* Icon button absolutely positioned over its parent. Use for image-hover
|
|
10
|
+
* affordances (zoom, delete, edit), close buttons on cards, etc.
|
|
11
|
+
*
|
|
12
|
+
* Pair with `appearOn="hover"` and a parent with `className="group"` to
|
|
13
|
+
* reveal only on hover.
|
|
14
|
+
*/
|
|
15
|
+
export declare const OverlayButton: import("react").ForwardRefExoticComponent<OverlayButtonProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
16
|
+
//# sourceMappingURL=OverlayButton.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OverlayButton.d.ts","sourceRoot":"","sources":["../../../src/actions/overlayButton/OverlayButton.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,KAAK,oBAAoB,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAE9E,OAAO,EAAyB,KAAK,qBAAqB,EAAE,MAAM,0BAA0B,CAAC;AAE7F,MAAM,WAAW,kBACf,SAAQ,oBAAoB,CAAC,iBAAiB,CAAC,EAC7C,qBAAqB;IACvB,2EAA2E;IAC3E,YAAY,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED;;;;;;GAMG;AACH,eAAO,MAAM,aAAa,kHASzB,CAAC"}
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
import { type VariantProps } from '../../utils';
|
|
2
|
+
export declare const overlayButtonVariants: import("tailwind-variants").TVReturnType<{
|
|
3
|
+
size: {
|
|
4
|
+
xs: string;
|
|
5
|
+
sm: string;
|
|
6
|
+
md: string;
|
|
7
|
+
};
|
|
8
|
+
position: {
|
|
9
|
+
'top-right': string;
|
|
10
|
+
'top-left': string;
|
|
11
|
+
'bottom-right': string;
|
|
12
|
+
'bottom-left': string;
|
|
13
|
+
center: string;
|
|
14
|
+
};
|
|
15
|
+
appearOn: {
|
|
16
|
+
always: string;
|
|
17
|
+
hover: string;
|
|
18
|
+
};
|
|
19
|
+
}, undefined, "absolute z-10 inline-flex items-center justify-center rounded-full bg-inverse/70 text-inverse-foreground backdrop-blur-sm transition-opacity hover:bg-inverse/90 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring", import("tailwind-variants/dist/config.js").TVConfig<{
|
|
20
|
+
size: {
|
|
21
|
+
xs: string;
|
|
22
|
+
sm: string;
|
|
23
|
+
md: string;
|
|
24
|
+
};
|
|
25
|
+
position: {
|
|
26
|
+
'top-right': string;
|
|
27
|
+
'top-left': string;
|
|
28
|
+
'bottom-right': string;
|
|
29
|
+
'bottom-left': string;
|
|
30
|
+
center: string;
|
|
31
|
+
};
|
|
32
|
+
appearOn: {
|
|
33
|
+
always: string;
|
|
34
|
+
hover: string;
|
|
35
|
+
};
|
|
36
|
+
}, {
|
|
37
|
+
size: {
|
|
38
|
+
xs: string;
|
|
39
|
+
sm: string;
|
|
40
|
+
md: string;
|
|
41
|
+
};
|
|
42
|
+
position: {
|
|
43
|
+
'top-right': string;
|
|
44
|
+
'top-left': string;
|
|
45
|
+
'bottom-right': string;
|
|
46
|
+
'bottom-left': string;
|
|
47
|
+
center: string;
|
|
48
|
+
};
|
|
49
|
+
appearOn: {
|
|
50
|
+
always: string;
|
|
51
|
+
hover: string;
|
|
52
|
+
};
|
|
53
|
+
}>, {
|
|
54
|
+
size: {
|
|
55
|
+
xs: string;
|
|
56
|
+
sm: string;
|
|
57
|
+
md: string;
|
|
58
|
+
};
|
|
59
|
+
position: {
|
|
60
|
+
'top-right': string;
|
|
61
|
+
'top-left': string;
|
|
62
|
+
'bottom-right': string;
|
|
63
|
+
'bottom-left': string;
|
|
64
|
+
center: string;
|
|
65
|
+
};
|
|
66
|
+
appearOn: {
|
|
67
|
+
always: string;
|
|
68
|
+
hover: string;
|
|
69
|
+
};
|
|
70
|
+
}, undefined, import("tailwind-variants").TVReturnType<{
|
|
71
|
+
size: {
|
|
72
|
+
xs: string;
|
|
73
|
+
sm: string;
|
|
74
|
+
md: string;
|
|
75
|
+
};
|
|
76
|
+
position: {
|
|
77
|
+
'top-right': string;
|
|
78
|
+
'top-left': string;
|
|
79
|
+
'bottom-right': string;
|
|
80
|
+
'bottom-left': string;
|
|
81
|
+
center: string;
|
|
82
|
+
};
|
|
83
|
+
appearOn: {
|
|
84
|
+
always: string;
|
|
85
|
+
hover: string;
|
|
86
|
+
};
|
|
87
|
+
}, undefined, "absolute z-10 inline-flex items-center justify-center rounded-full bg-inverse/70 text-inverse-foreground backdrop-blur-sm transition-opacity hover:bg-inverse/90 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring", import("tailwind-variants/dist/config.js").TVConfig<{
|
|
88
|
+
size: {
|
|
89
|
+
xs: string;
|
|
90
|
+
sm: string;
|
|
91
|
+
md: string;
|
|
92
|
+
};
|
|
93
|
+
position: {
|
|
94
|
+
'top-right': string;
|
|
95
|
+
'top-left': string;
|
|
96
|
+
'bottom-right': string;
|
|
97
|
+
'bottom-left': string;
|
|
98
|
+
center: string;
|
|
99
|
+
};
|
|
100
|
+
appearOn: {
|
|
101
|
+
always: string;
|
|
102
|
+
hover: string;
|
|
103
|
+
};
|
|
104
|
+
}, {
|
|
105
|
+
size: {
|
|
106
|
+
xs: string;
|
|
107
|
+
sm: string;
|
|
108
|
+
md: string;
|
|
109
|
+
};
|
|
110
|
+
position: {
|
|
111
|
+
'top-right': string;
|
|
112
|
+
'top-left': string;
|
|
113
|
+
'bottom-right': string;
|
|
114
|
+
'bottom-left': string;
|
|
115
|
+
center: string;
|
|
116
|
+
};
|
|
117
|
+
appearOn: {
|
|
118
|
+
always: string;
|
|
119
|
+
hover: string;
|
|
120
|
+
};
|
|
121
|
+
}>, unknown, unknown, undefined>>;
|
|
122
|
+
export type OverlayButtonVariants = VariantProps<typeof overlayButtonVariants>;
|
|
123
|
+
//# sourceMappingURL=OverlayButton.variants.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OverlayButton.variants.d.ts","sourceRoot":"","sources":["../../../src/actions/overlayButton/OverlayButton.variants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAM,KAAK,YAAY,EAAE,MAAM,aAAa,CAAC;AAEpD,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCAyBhC,CAAC;AAEH,MAAM,MAAM,qBAAqB,GAAG,YAAY,CAAC,OAAO,qBAAqB,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/actions/overlayButton/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,KAAK,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AACzE,OAAO,EAAE,qBAAqB,EAAE,KAAK,qBAAqB,EAAE,MAAM,0BAA0B,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { type ToggleButtonGroupProps } from '../toggleButtonGroup/ToggleButtonGroup';
|
|
2
|
+
export type SegmentedControlProps = ToggleButtonGroupProps;
|
|
3
|
+
/**
|
|
4
|
+
* Visual variant of `ToggleButtonGroup` styled as a connected pill row —
|
|
5
|
+
* the iOS / shadcn segmented control pattern. Use for view switchers
|
|
6
|
+
* (day/week/month) and small option pickers.
|
|
7
|
+
*/
|
|
8
|
+
export declare const SegmentedControl: import("react").ForwardRefExoticComponent<ToggleButtonGroupProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
9
|
+
//# sourceMappingURL=SegmentedControl.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SegmentedControl.d.ts","sourceRoot":"","sources":["../../../src/actions/segmentedControl/SegmentedControl.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAqB,KAAK,sBAAsB,EAAE,MAAM,wCAAwC,CAAC;AAExG,MAAM,MAAM,qBAAqB,GAAG,sBAAsB,CAAC;AAE3D;;;;GAIG;AACH,eAAO,MAAM,gBAAgB,mHAc5B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/actions/segmentedControl/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,KAAK,qBAAqB,EAAE,MAAM,oBAAoB,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { type ButtonHTMLAttributes } from 'react';
|
|
2
|
+
import { type ToggleButtonVariants } from './ToggleButton.variants';
|
|
3
|
+
export interface ToggleButtonProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'value'>, ToggleButtonVariants {
|
|
4
|
+
/** Controlled pressed state. */
|
|
5
|
+
pressed?: boolean;
|
|
6
|
+
/** Uncontrolled initial state. */
|
|
7
|
+
defaultPressed?: boolean;
|
|
8
|
+
/** Fires whenever pressed state changes. */
|
|
9
|
+
onPressedChange?: (pressed: boolean) => void;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Two-state button (on / off). Sets `aria-pressed` and `data-state`. Use
|
|
13
|
+
* inside `ToggleButtonGroup` for arrow-key navigation across siblings.
|
|
14
|
+
*/
|
|
15
|
+
export declare const ToggleButton: import("react").ForwardRefExoticComponent<ToggleButtonProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
16
|
+
//# sourceMappingURL=ToggleButton.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ToggleButton.d.ts","sourceRoot":"","sources":["../../../src/actions/toggleButton/ToggleButton.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,KAAK,oBAAoB,EAAE,MAAM,OAAO,CAAC;AAG9D,OAAO,EAAwB,KAAK,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAE1F,MAAM,WAAW,iBACf,SAAQ,IAAI,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,EAAE,OAAO,CAAC,EAC5D,oBAAoB;IACtB,gCAAgC;IAChC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,kCAAkC;IAClC,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,4CAA4C;IAC5C,eAAe,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;CAC9C;AAED;;;GAGG;AACH,eAAO,MAAM,YAAY,iHAsCxB,CAAC"}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { type VariantProps } from '../../utils';
|
|
2
|
+
export declare const toggleButtonVariants: import("tailwind-variants").TVReturnType<{
|
|
3
|
+
variant: {
|
|
4
|
+
solid: string;
|
|
5
|
+
outline: string;
|
|
6
|
+
ghost: string;
|
|
7
|
+
};
|
|
8
|
+
size: {
|
|
9
|
+
sm: string;
|
|
10
|
+
md: string;
|
|
11
|
+
lg: string;
|
|
12
|
+
};
|
|
13
|
+
}, undefined, "inline-flex items-center justify-center font-medium transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-primary data-[state=on]:text-primary-foreground", import("tailwind-variants/dist/config.js").TVConfig<{
|
|
14
|
+
variant: {
|
|
15
|
+
solid: string;
|
|
16
|
+
outline: string;
|
|
17
|
+
ghost: string;
|
|
18
|
+
};
|
|
19
|
+
size: {
|
|
20
|
+
sm: string;
|
|
21
|
+
md: string;
|
|
22
|
+
lg: string;
|
|
23
|
+
};
|
|
24
|
+
}, {
|
|
25
|
+
variant: {
|
|
26
|
+
solid: string;
|
|
27
|
+
outline: string;
|
|
28
|
+
ghost: string;
|
|
29
|
+
};
|
|
30
|
+
size: {
|
|
31
|
+
sm: string;
|
|
32
|
+
md: string;
|
|
33
|
+
lg: string;
|
|
34
|
+
};
|
|
35
|
+
}>, {
|
|
36
|
+
variant: {
|
|
37
|
+
solid: string;
|
|
38
|
+
outline: string;
|
|
39
|
+
ghost: string;
|
|
40
|
+
};
|
|
41
|
+
size: {
|
|
42
|
+
sm: string;
|
|
43
|
+
md: string;
|
|
44
|
+
lg: string;
|
|
45
|
+
};
|
|
46
|
+
}, undefined, import("tailwind-variants").TVReturnType<{
|
|
47
|
+
variant: {
|
|
48
|
+
solid: string;
|
|
49
|
+
outline: string;
|
|
50
|
+
ghost: string;
|
|
51
|
+
};
|
|
52
|
+
size: {
|
|
53
|
+
sm: string;
|
|
54
|
+
md: string;
|
|
55
|
+
lg: string;
|
|
56
|
+
};
|
|
57
|
+
}, undefined, "inline-flex items-center justify-center font-medium transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-primary data-[state=on]:text-primary-foreground", import("tailwind-variants/dist/config.js").TVConfig<{
|
|
58
|
+
variant: {
|
|
59
|
+
solid: string;
|
|
60
|
+
outline: string;
|
|
61
|
+
ghost: string;
|
|
62
|
+
};
|
|
63
|
+
size: {
|
|
64
|
+
sm: string;
|
|
65
|
+
md: string;
|
|
66
|
+
lg: string;
|
|
67
|
+
};
|
|
68
|
+
}, {
|
|
69
|
+
variant: {
|
|
70
|
+
solid: string;
|
|
71
|
+
outline: string;
|
|
72
|
+
ghost: string;
|
|
73
|
+
};
|
|
74
|
+
size: {
|
|
75
|
+
sm: string;
|
|
76
|
+
md: string;
|
|
77
|
+
lg: string;
|
|
78
|
+
};
|
|
79
|
+
}>, unknown, unknown, undefined>>;
|
|
80
|
+
export type ToggleButtonVariants = VariantProps<typeof toggleButtonVariants>;
|
|
81
|
+
//# sourceMappingURL=ToggleButton.variants.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ToggleButton.variants.d.ts","sourceRoot":"","sources":["../../../src/actions/toggleButton/ToggleButton.variants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAM,KAAK,YAAY,EAAE,MAAM,aAAa,CAAC;AAEpD,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCAkB/B,CAAC;AAEH,MAAM,MAAM,oBAAoB,GAAG,YAAY,CAAC,OAAO,oBAAoB,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/actions/toggleButton/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,KAAK,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AACtE,OAAO,EAAE,oBAAoB,EAAE,KAAK,oBAAoB,EAAE,MAAM,yBAAyB,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { type ComponentPropsWithoutRef } from 'react';
|
|
2
|
+
interface SingleProps {
|
|
3
|
+
type?: 'single';
|
|
4
|
+
value?: string | null;
|
|
5
|
+
defaultValue?: string | null;
|
|
6
|
+
onValueChange?: (value: string | null) => void;
|
|
7
|
+
}
|
|
8
|
+
interface MultiProps {
|
|
9
|
+
type: 'multi';
|
|
10
|
+
value?: string[];
|
|
11
|
+
defaultValue?: string[];
|
|
12
|
+
onValueChange?: (value: string[]) => void;
|
|
13
|
+
}
|
|
14
|
+
type ToggleButtonGroupProps = Omit<ComponentPropsWithoutRef<'div'>, 'defaultValue' | 'onChange'> & {
|
|
15
|
+
orientation?: 'horizontal' | 'vertical';
|
|
16
|
+
attached?: boolean;
|
|
17
|
+
} & (SingleProps | MultiProps);
|
|
18
|
+
/**
|
|
19
|
+
* Coordinates a row/column of `ToggleButton` children. `type="single"` (default)
|
|
20
|
+
* tracks one active value; `type="multi"` tracks an array. Each child must
|
|
21
|
+
* expose a `value` prop that the group uses as its identifier.
|
|
22
|
+
*/
|
|
23
|
+
export declare const ToggleButtonGroup: import("react").ForwardRefExoticComponent<ToggleButtonGroupProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
24
|
+
export type { ToggleButtonGroupProps };
|
|
25
|
+
//# sourceMappingURL=ToggleButtonGroup.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ToggleButtonGroup.d.ts","sourceRoot":"","sources":["../../../src/actions/toggleButtonGroup/ToggleButtonGroup.tsx"],"names":[],"mappings":"AAAA,OAAO,EAKL,KAAK,wBAAwB,EAE9B,MAAM,OAAO,CAAC;AAOf,UAAU,WAAW;IACnB,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;CAChD;AAED,UAAU,UAAU;IAClB,IAAI,EAAE,OAAO,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;IACjB,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IACxB,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;CAC3C;AAED,KAAK,sBAAsB,GAAG,IAAI,CAAC,wBAAwB,CAAC,KAAK,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,GAAG;IACjG,WAAW,CAAC,EAAE,YAAY,GAAG,UAAU,CAAC;IACxC,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,GAAG,CAAC,WAAW,GAAG,UAAU,CAAC,CAAC;AAM/B;;;;GAIG;AACH,eAAO,MAAM,iBAAiB,mHA6D7B,CAAC;AAGF,YAAY,EAAE,sBAAsB,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/actions/toggleButtonGroup/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,KAAK,sBAAsB,EAAE,MAAM,qBAAqB,CAAC"}
|