@motech-development/breeze-ui 3.8.2 → 4.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/{Cabin-LICENSE.txt → Public-Sans-LICENSE.txt} +1 -1
- package/lib/assets/public-sans-latin-wght-normal-DdeTHZLK.woff2 +0 -0
- package/lib/index.d.ts +4 -99
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +103 -6083
- package/lib/index.js.map +1 -1
- package/lib/primitives/Button/Button.d.ts +51 -25
- package/lib/primitives/Button/Button.d.ts.map +1 -1
- package/lib/provider/BreezeContext.d.ts +5 -14
- package/lib/provider/BreezeContext.d.ts.map +1 -1
- package/lib/provider/BreezeProvider.d.ts +8 -21
- package/lib/provider/BreezeProvider.d.ts.map +1 -1
- package/lib/provider/en-GB.d.ts +5 -0
- package/lib/provider/en-GB.d.ts.map +1 -0
- package/lib/reset.css +1 -2
- package/lib/styles.css +1 -1
- package/package.json +4 -13
- package/lib/assets/cabin-latin-wght-normal-DZW_uTKI.woff2 +0 -0
- package/lib/formatting/FormattedDateTime/FormattedDateTime.d.ts +0 -17
- package/lib/formatting/FormattedDateTime/FormattedDateTime.d.ts.map +0 -1
- package/lib/formatting/FormattedList/FormattedList.d.ts +0 -17
- package/lib/formatting/FormattedList/FormattedList.d.ts.map +0 -1
- package/lib/formatting/FormattedNumber/FormattedNumber.d.ts +0 -17
- package/lib/formatting/FormattedNumber/FormattedNumber.d.ts.map +0 -1
- package/lib/formatting/RelativeTime/RelativeTime.d.ts +0 -21
- package/lib/formatting/RelativeTime/RelativeTime.d.ts.map +0 -1
- package/lib/icons/index.d.ts +0 -83
- package/lib/icons/index.d.ts.map +0 -1
- package/lib/icons.js +0 -29
- package/lib/icons.js.map +0 -1
- package/lib/internal/collections/VirtualizedCollection.d.ts +0 -16
- package/lib/internal/collections/VirtualizedCollection.d.ts.map +0 -1
- package/lib/internal/collections/collectionKey.d.ts +0 -6
- package/lib/internal/collections/collectionKey.d.ts.map +0 -1
- package/lib/internal/collections/useCollectionEmptyContent.d.ts +0 -3
- package/lib/internal/collections/useCollectionEmptyContent.d.ts.map +0 -1
- package/lib/internal/collections/useLoadMoreHandler.d.ts +0 -7
- package/lib/internal/collections/useLoadMoreHandler.d.ts.map +0 -1
- package/lib/internal/date/conversion.d.ts +0 -16
- package/lib/internal/date/conversion.d.ts.map +0 -1
- package/lib/internal/files/validation.d.ts +0 -17
- package/lib/internal/files/validation.d.ts.map +0 -1
- package/lib/internal/hooks/useForwardedRef.d.ts +0 -3
- package/lib/internal/hooks/useForwardedRef.d.ts.map +0 -1
- package/lib/internal/react-aria/DisclosureParts.d.ts +0 -27
- package/lib/internal/react-aria/DisclosureParts.d.ts.map +0 -1
- package/lib/internal/react-aria/OverlayParts.d.ts +0 -55
- package/lib/internal/react-aria/OverlayParts.d.ts.map +0 -1
- package/lib/internal/react-aria/renderNativeButton.d.ts +0 -6
- package/lib/internal/react-aria/renderNativeButton.d.ts.map +0 -1
- package/lib/internal/styling/actions.d.ts +0 -72
- package/lib/internal/styling/actions.d.ts.map +0 -1
- package/lib/internal/styling/breakpoints.d.ts +0 -5
- package/lib/internal/styling/breakpoints.d.ts.map +0 -1
- package/lib/internal/styling/formControls.d.ts +0 -23
- package/lib/internal/styling/formControls.d.ts.map +0 -1
- package/lib/internal/styling/layout.d.ts +0 -108
- package/lib/internal/styling/layout.d.ts.map +0 -1
- package/lib/internal/styling/responsive.d.ts +0 -22
- package/lib/internal/styling/responsive.d.ts.map +0 -1
- package/lib/internal/styling/visual.d.ts +0 -7
- package/lib/internal/styling/visual.d.ts.map +0 -1
- package/lib/internal/types/collection.d.ts +0 -60
- package/lib/internal/types/collection.d.ts.map +0 -1
- package/lib/internal/types/date.d.ts +0 -8
- package/lib/internal/types/date.d.ts.map +0 -1
- package/lib/internal/types/file.d.ts +0 -21
- package/lib/internal/types/file.d.ts.map +0 -1
- package/lib/internal/types/native.d.ts +0 -8
- package/lib/internal/types/native.d.ts.map +0 -1
- package/lib/patterns/ApplicationShell/ApplicationShell.d.ts +0 -50
- package/lib/patterns/ApplicationShell/ApplicationShell.d.ts.map +0 -1
- package/lib/patterns/ButtonGroup/ButtonGroup.d.ts +0 -20
- package/lib/patterns/ButtonGroup/ButtonGroup.d.ts.map +0 -1
- package/lib/patterns/ConfirmationDialog/ConfirmationDialog.d.ts +0 -76
- package/lib/patterns/ConfirmationDialog/ConfirmationDialog.d.ts.map +0 -1
- package/lib/patterns/ContextSwitcher/ContextSwitcher.d.ts +0 -42
- package/lib/patterns/ContextSwitcher/ContextSwitcher.d.ts.map +0 -1
- package/lib/patterns/FileAttachment/FileAttachment.d.ts +0 -17
- package/lib/patterns/FileAttachment/FileAttachment.d.ts.map +0 -1
- package/lib/patterns/FileUpload/FileUpload.d.ts +0 -35
- package/lib/patterns/FileUpload/FileUpload.d.ts.map +0 -1
- package/lib/patterns/FormActions/FormActions.d.ts +0 -25
- package/lib/patterns/FormActions/FormActions.d.ts.map +0 -1
- package/lib/patterns/FormSection/FormSection.d.ts +0 -31
- package/lib/patterns/FormSection/FormSection.d.ts.map +0 -1
- package/lib/patterns/MetricCard/MetricCard.d.ts +0 -28
- package/lib/patterns/MetricCard/MetricCard.d.ts.map +0 -1
- package/lib/patterns/NavigationSection/NavigationSection.d.ts +0 -17
- package/lib/patterns/NavigationSection/NavigationSection.d.ts.map +0 -1
- package/lib/patterns/PageHeader/PageHeader.d.ts +0 -21
- package/lib/patterns/PageHeader/PageHeader.d.ts.map +0 -1
- package/lib/patterns/Pagination/Pagination.d.ts +0 -23
- package/lib/patterns/Pagination/Pagination.d.ts.map +0 -1
- package/lib/patterns/PasswordField/PasswordField.d.ts +0 -58
- package/lib/patterns/PasswordField/PasswordField.d.ts.map +0 -1
- package/lib/patterns/SectionHeader/SectionHeader.d.ts +0 -21
- package/lib/patterns/SectionHeader/SectionHeader.d.ts.map +0 -1
- package/lib/patterns/SegmentedControl/SegmentedControl.d.ts +0 -56
- package/lib/patterns/SegmentedControl/SegmentedControl.d.ts.map +0 -1
- package/lib/patterns/StatePanel/StatePanel.d.ts +0 -25
- package/lib/patterns/StatePanel/StatePanel.d.ts.map +0 -1
- package/lib/patterns/UserMenu/UserMenu.d.ts +0 -63
- package/lib/patterns/UserMenu/UserMenu.d.ts.map +0 -1
- package/lib/primitives/Accordion/Accordion.d.ts +0 -76
- package/lib/primitives/Accordion/Accordion.d.ts.map +0 -1
- package/lib/primitives/Alert/Alert.d.ts +0 -23
- package/lib/primitives/Alert/Alert.d.ts.map +0 -1
- package/lib/primitives/AlertDialog/AlertDialog.d.ts +0 -77
- package/lib/primitives/AlertDialog/AlertDialog.d.ts.map +0 -1
- package/lib/primitives/Avatar/Avatar.d.ts +0 -308
- package/lib/primitives/Avatar/Avatar.d.ts.map +0 -1
- package/lib/primitives/Badge/Badge.d.ts +0 -299
- package/lib/primitives/Badge/Badge.d.ts.map +0 -1
- package/lib/primitives/Breadcrumbs/Breadcrumbs.d.ts +0 -40
- package/lib/primitives/Breadcrumbs/Breadcrumbs.d.ts.map +0 -1
- package/lib/primitives/Calendar/Calendar.d.ts +0 -61
- package/lib/primitives/Calendar/Calendar.d.ts.map +0 -1
- package/lib/primitives/Card/Card.d.ts +0 -63
- package/lib/primitives/Card/Card.d.ts.map +0 -1
- package/lib/primitives/Center/Center.d.ts +0 -295
- package/lib/primitives/Center/Center.d.ts.map +0 -1
- package/lib/primitives/Checkbox/Checkbox.d.ts +0 -106
- package/lib/primitives/Checkbox/Checkbox.d.ts.map +0 -1
- package/lib/primitives/CheckboxGroup/CheckboxGroup.d.ts +0 -76
- package/lib/primitives/CheckboxGroup/CheckboxGroup.d.ts.map +0 -1
- package/lib/primitives/ComboBox/ComboBox.d.ts +0 -174
- package/lib/primitives/ComboBox/ComboBox.d.ts.map +0 -1
- package/lib/primitives/Container/Container.d.ts +0 -296
- package/lib/primitives/Container/Container.d.ts.map +0 -1
- package/lib/primitives/DateField/DateField.d.ts +0 -87
- package/lib/primitives/DateField/DateField.d.ts.map +0 -1
- package/lib/primitives/DatePicker/DatePicker.d.ts +0 -74
- package/lib/primitives/DatePicker/DatePicker.d.ts.map +0 -1
- package/lib/primitives/DateRangePicker/DateRangePicker.d.ts +0 -116
- package/lib/primitives/DateRangePicker/DateRangePicker.d.ts.map +0 -1
- package/lib/primitives/DateTimePicker/DateTimePicker.d.ts +0 -93
- package/lib/primitives/DateTimePicker/DateTimePicker.d.ts.map +0 -1
- package/lib/primitives/DescriptionList/DescriptionList.d.ts +0 -45
- package/lib/primitives/DescriptionList/DescriptionList.d.ts.map +0 -1
- package/lib/primitives/Dialog/Dialog.d.ts +0 -56
- package/lib/primitives/Dialog/Dialog.d.ts.map +0 -1
- package/lib/primitives/Disclosure/Disclosure.d.ts +0 -59
- package/lib/primitives/Disclosure/Disclosure.d.ts.map +0 -1
- package/lib/primitives/Drawer/Drawer.d.ts +0 -87
- package/lib/primitives/Drawer/Drawer.d.ts.map +0 -1
- package/lib/primitives/DropZone/DropZone.d.ts +0 -85
- package/lib/primitives/DropZone/DropZone.d.ts.map +0 -1
- package/lib/primitives/Fieldset/Fieldset.d.ts +0 -57
- package/lib/primitives/Fieldset/Fieldset.d.ts.map +0 -1
- package/lib/primitives/FileTrigger/FileTrigger.d.ts +0 -72
- package/lib/primitives/FileTrigger/FileTrigger.d.ts.map +0 -1
- package/lib/primitives/Grid/Grid.d.ts +0 -307
- package/lib/primitives/Grid/Grid.d.ts.map +0 -1
- package/lib/primitives/GridList/GridList.d.ts +0 -131
- package/lib/primitives/GridList/GridList.d.ts.map +0 -1
- package/lib/primitives/IconButton/IconButton.d.ts +0 -37
- package/lib/primitives/IconButton/IconButton.d.ts.map +0 -1
- package/lib/primitives/IconTile/IconTile.d.ts +0 -312
- package/lib/primitives/IconTile/IconTile.d.ts.map +0 -1
- package/lib/primitives/Inline/Inline.d.ts +0 -302
- package/lib/primitives/Inline/Inline.d.ts.map +0 -1
- package/lib/primitives/InputGroup/InputGroup.d.ts +0 -36
- package/lib/primitives/InputGroup/InputGroup.d.ts.map +0 -1
- package/lib/primitives/Link/Link.d.ts +0 -28
- package/lib/primitives/Link/Link.d.ts.map +0 -1
- package/lib/primitives/LinkButton/LinkButton.d.ts +0 -31
- package/lib/primitives/LinkButton/LinkButton.d.ts.map +0 -1
- package/lib/primitives/List/List.d.ts +0 -29
- package/lib/primitives/List/List.d.ts.map +0 -1
- package/lib/primitives/ListBox/ListBox.d.ts +0 -102
- package/lib/primitives/ListBox/ListBox.d.ts.map +0 -1
- package/lib/primitives/Logo/Logo.d.ts +0 -292
- package/lib/primitives/Logo/Logo.d.ts.map +0 -1
- package/lib/primitives/Menu/Menu.d.ts +0 -161
- package/lib/primitives/Menu/Menu.d.ts.map +0 -1
- package/lib/primitives/Meter/Meter.d.ts +0 -28
- package/lib/primitives/Meter/Meter.d.ts.map +0 -1
- package/lib/primitives/NavigationList/NavigationList.d.ts +0 -44
- package/lib/primitives/NavigationList/NavigationList.d.ts.map +0 -1
- package/lib/primitives/NumberField/NumberField.d.ts +0 -118
- package/lib/primitives/NumberField/NumberField.d.ts.map +0 -1
- package/lib/primitives/Popover/Popover.d.ts +0 -61
- package/lib/primitives/Popover/Popover.d.ts.map +0 -1
- package/lib/primitives/ProgressBar/ProgressBar.d.ts +0 -41
- package/lib/primitives/ProgressBar/ProgressBar.d.ts.map +0 -1
- package/lib/primitives/RadioGroup/RadioGroup.d.ts +0 -131
- package/lib/primitives/RadioGroup/RadioGroup.d.ts.map +0 -1
- package/lib/primitives/RangeCalendar/RangeCalendar.d.ts +0 -57
- package/lib/primitives/RangeCalendar/RangeCalendar.d.ts.map +0 -1
- package/lib/primitives/SearchField/SearchField.d.ts +0 -70
- package/lib/primitives/SearchField/SearchField.d.ts.map +0 -1
- package/lib/primitives/Select/Select.d.ts +0 -110
- package/lib/primitives/Select/Select.d.ts.map +0 -1
- package/lib/primitives/Separator/Separator.d.ts +0 -302
- package/lib/primitives/Separator/Separator.d.ts.map +0 -1
- package/lib/primitives/Skeleton/Skeleton.d.ts +0 -27
- package/lib/primitives/Skeleton/Skeleton.d.ts.map +0 -1
- package/lib/primitives/SkipLink/SkipLink.d.ts +0 -21
- package/lib/primitives/SkipLink/SkipLink.d.ts.map +0 -1
- package/lib/primitives/Slider/Slider.d.ts +0 -148
- package/lib/primitives/Slider/Slider.d.ts.map +0 -1
- package/lib/primitives/Spinner/Spinner.d.ts +0 -23
- package/lib/primitives/Spinner/Spinner.d.ts.map +0 -1
- package/lib/primitives/Stack/Stack.d.ts +0 -300
- package/lib/primitives/Stack/Stack.d.ts.map +0 -1
- package/lib/primitives/Stepper/Stepper.d.ts +0 -42
- package/lib/primitives/Stepper/Stepper.d.ts.map +0 -1
- package/lib/primitives/Surface/Surface.d.ts +0 -306
- package/lib/primitives/Surface/Surface.d.ts.map +0 -1
- package/lib/primitives/Switch/Switch.d.ts +0 -118
- package/lib/primitives/Switch/Switch.d.ts.map +0 -1
- package/lib/primitives/Table/Table.d.ts +0 -233
- package/lib/primitives/Table/Table.d.ts.map +0 -1
- package/lib/primitives/Tabs/Tabs.d.ts +0 -105
- package/lib/primitives/Tabs/Tabs.d.ts.map +0 -1
- package/lib/primitives/Tag/Tag.d.ts +0 -18
- package/lib/primitives/Tag/Tag.d.ts.map +0 -1
- package/lib/primitives/TagGroup/TagGroup.d.ts +0 -60
- package/lib/primitives/TagGroup/TagGroup.d.ts.map +0 -1
- package/lib/primitives/TextArea/TextArea.d.ts +0 -40
- package/lib/primitives/TextArea/TextArea.d.ts.map +0 -1
- package/lib/primitives/TextField/TextField.d.ts +0 -102
- package/lib/primitives/TextField/TextField.d.ts.map +0 -1
- package/lib/primitives/TimeField/TimeField.d.ts +0 -58
- package/lib/primitives/TimeField/TimeField.d.ts.map +0 -1
- package/lib/primitives/Toast/Toast.d.ts +0 -88
- package/lib/primitives/Toast/Toast.d.ts.map +0 -1
- package/lib/primitives/ToggleButton/ToggleButton.d.ts +0 -55
- package/lib/primitives/ToggleButton/ToggleButton.d.ts.map +0 -1
- package/lib/primitives/ToggleGroup/ToggleGroup.d.ts +0 -48
- package/lib/primitives/ToggleGroup/ToggleGroup.d.ts.map +0 -1
- package/lib/primitives/Toolbar/Toolbar.d.ts +0 -17
- package/lib/primitives/Toolbar/Toolbar.d.ts.map +0 -1
- package/lib/primitives/Tooltip/Tooltip.d.ts +0 -66
- package/lib/primitives/Tooltip/Tooltip.d.ts.map +0 -1
- package/lib/primitives/Typography/Typography.d.ts +0 -317
- package/lib/primitives/Typography/Typography.d.ts.map +0 -1
- package/lib/primitives/VisuallyHidden/VisuallyHidden.d.ts +0 -294
- package/lib/primitives/VisuallyHidden/VisuallyHidden.d.ts.map +0 -1
- package/lib/primitives/date/CalendarParts.d.ts +0 -26
- package/lib/primitives/date/CalendarParts.d.ts.map +0 -1
- package/lib/primitives/date/DateInput.d.ts +0 -9
- package/lib/primitives/date/DateInput.d.ts.map +0 -1
- package/lib/primitives/date/PickerFieldParts.d.ts +0 -11
- package/lib/primitives/date/PickerFieldParts.d.ts.map +0 -1
- package/lib/primitives/date/PickerParts.d.ts +0 -29
- package/lib/primitives/date/PickerParts.d.ts.map +0 -1
- package/lib/primitives/file/FileFeedback.d.ts +0 -14
- package/lib/primitives/file/FileFeedback.d.ts.map +0 -1
- package/lib/provider/messages.d.ts +0 -43
- package/lib/provider/messages.d.ts.map +0 -1
- package/lib/theme.css +0 -5
package/lib/icons/index.d.ts
DELETED
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
import type { ComponentType, SVGAttributes } from 'react';
|
|
2
|
-
/** Breeze-owned props shared by every curated icon. */
|
|
3
|
-
export interface IconProps extends Omit<SVGAttributes<SVGSVGElement>, 'children' | 'height' | 'width'> {
|
|
4
|
-
/** Icon size in CSS pixels or a CSS length. Defaults to `1em`. */
|
|
5
|
-
size?: number | string;
|
|
6
|
-
/** Stroke thickness. Defaults to `2`. */
|
|
7
|
-
strokeWidth?: number;
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* Plus icon for create or add actions.
|
|
11
|
-
*
|
|
12
|
-
* @summary curated create-or-add action glyph
|
|
13
|
-
*/
|
|
14
|
-
export declare const AddIcon: ComponentType<IconProps>;
|
|
15
|
-
/** Left-pointing navigation arrow. */
|
|
16
|
-
export declare const ArrowLeftIcon: ComponentType<IconProps>;
|
|
17
|
-
/** Right-pointing navigation arrow. */
|
|
18
|
-
export declare const ArrowRightIcon: ComponentType<IconProps>;
|
|
19
|
-
/** Building icon for organisations and company details. */
|
|
20
|
-
export declare const BuildingIcon: ComponentType<IconProps>;
|
|
21
|
-
/** Calendar icon for date-related interfaces. */
|
|
22
|
-
export declare const CalendarIcon: ComponentType<IconProps>;
|
|
23
|
-
/** Chart icon for summaries, dashboards, and analytics. */
|
|
24
|
-
export declare const ChartIcon: ComponentType<IconProps>;
|
|
25
|
-
/** Check mark for completed or selected states. */
|
|
26
|
-
export declare const CheckIcon: ComponentType<IconProps>;
|
|
27
|
-
/** Down-pointing disclosure chevron. */
|
|
28
|
-
export declare const ChevronDownIcon: ComponentType<IconProps>;
|
|
29
|
-
/** Left-pointing disclosure chevron. */
|
|
30
|
-
export declare const ChevronLeftIcon: ComponentType<IconProps>;
|
|
31
|
-
/** Right-pointing disclosure chevron. */
|
|
32
|
-
export declare const ChevronRightIcon: ComponentType<IconProps>;
|
|
33
|
-
/** Up-pointing disclosure chevron. */
|
|
34
|
-
export declare const ChevronUpIcon: ComponentType<IconProps>;
|
|
35
|
-
/** Close or dismiss icon. */
|
|
36
|
-
export declare const CloseIcon: ComponentType<IconProps>;
|
|
37
|
-
/** Delete icon for destructive removal actions. */
|
|
38
|
-
export declare const DeleteIcon: ComponentType<IconProps>;
|
|
39
|
-
/** Download icon for obtaining a resource. */
|
|
40
|
-
export declare const DownloadIcon: ComponentType<IconProps>;
|
|
41
|
-
/** Edit icon for modifying content. */
|
|
42
|
-
export declare const EditIcon: ComponentType<IconProps>;
|
|
43
|
-
/** External-link indicator. */
|
|
44
|
-
export declare const ExternalLinkIcon: ComponentType<IconProps>;
|
|
45
|
-
/** Visible-content icon. */
|
|
46
|
-
export declare const EyeIcon: ComponentType<IconProps>;
|
|
47
|
-
/** Hidden-content icon. */
|
|
48
|
-
export declare const EyeOffIcon: ComponentType<IconProps>;
|
|
49
|
-
/** Document icon for files, reports, and written records. */
|
|
50
|
-
export declare const FileTextIcon: ComponentType<IconProps>;
|
|
51
|
-
/** Help icon for contextual assistance. */
|
|
52
|
-
export declare const HelpIcon: ComponentType<IconProps>;
|
|
53
|
-
/** Information icon for neutral notices. */
|
|
54
|
-
export declare const InfoIcon: ComponentType<IconProps>;
|
|
55
|
-
/** Menu icon for compact navigation. */
|
|
56
|
-
export declare const MenuIcon: ComponentType<IconProps>;
|
|
57
|
-
/** More-actions icon. */
|
|
58
|
-
export declare const MoreIcon: ComponentType<IconProps>;
|
|
59
|
-
/** Paperclip icon for file attachments. */
|
|
60
|
-
export declare const PaperclipIcon: ComponentType<IconProps>;
|
|
61
|
-
/** Clockwise rotation icon for turning content. */
|
|
62
|
-
export declare const RotateIcon: ComponentType<IconProps>;
|
|
63
|
-
/** Search icon for query interfaces. */
|
|
64
|
-
export declare const SearchIcon: ComponentType<IconProps>;
|
|
65
|
-
/** Sign-out icon for ending an authenticated session. */
|
|
66
|
-
export declare const SignOutIcon: ComponentType<IconProps>;
|
|
67
|
-
/** Settings icon for configuration interfaces. */
|
|
68
|
-
export declare const SettingsIcon: ComponentType<IconProps>;
|
|
69
|
-
/** Upload icon for supplying a resource. */
|
|
70
|
-
export declare const UploadIcon: ComponentType<IconProps>;
|
|
71
|
-
/** User icon for account and identity interfaces. */
|
|
72
|
-
export declare const UserIcon: ComponentType<IconProps>;
|
|
73
|
-
/** Users icon for groups, teams, and client collections. */
|
|
74
|
-
export declare const UsersIcon: ComponentType<IconProps>;
|
|
75
|
-
/** Wallet icon for money and transaction interfaces. */
|
|
76
|
-
export declare const WalletIcon: ComponentType<IconProps>;
|
|
77
|
-
/** Warning icon for cautionary notices. */
|
|
78
|
-
export declare const WarningIcon: ComponentType<IconProps>;
|
|
79
|
-
/** Magnifying-glass icon for increasing content scale. */
|
|
80
|
-
export declare const ZoomInIcon: ComponentType<IconProps>;
|
|
81
|
-
/** Magnifying-glass icon for decreasing content scale. */
|
|
82
|
-
export declare const ZoomOutIcon: ComponentType<IconProps>;
|
|
83
|
-
//# sourceMappingURL=index.d.ts.map
|
package/lib/icons/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/icons/index.tsx"],"names":[],"mappings":"AAsCA,OAAO,KAAK,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAG1D,uDAAuD;AACvD,MAAM,WAAW,SACf,SAAQ,IAAI,CAAC,aAAa,CAAC,aAAa,CAAC,EAAE,UAAU,GAAG,QAAQ,GAAG,OAAO,CAAC;IAC3E,kEAAkE;IAClE,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB,yCAAyC;IACzC,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAsCD;;;;GAIG;AACH,eAAO,MAAM,OAAO,0BAA8B,CAAC;AACnD,sCAAsC;AACtC,eAAO,MAAM,aAAa,0BAAyC,CAAC;AACpE,uCAAuC;AACvC,eAAO,MAAM,cAAc,0BAA2C,CAAC;AACvE,2DAA2D;AAC3D,eAAO,MAAM,YAAY,0BAAwC,CAAC;AAClE,iDAAiD;AACjD,eAAO,MAAM,YAAY,0BAAuC,CAAC;AACjE,2DAA2D;AAC3D,eAAO,MAAM,SAAS,0BAA+C,CAAC;AACtE,mDAAmD;AACnD,eAAO,MAAM,SAAS,0BAAiC,CAAC;AACxD,wCAAwC;AACxC,eAAO,MAAM,eAAe,0BAA6C,CAAC;AAC1E,wCAAwC;AACxC,eAAO,MAAM,eAAe,0BAA6C,CAAC;AAC1E,yCAAyC;AACzC,eAAO,MAAM,gBAAgB,0BAA+C,CAAC;AAC7E,sCAAsC;AACtC,eAAO,MAAM,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D;AAC1D,eAAO,MAAM,UAAU,0BAAmC,CAAC;AAC3D,0DAA0D;AAC1D,eAAO,MAAM,WAAW,0BAAqC,CAAC"}
|
package/lib/icons.js
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { ArrowLeft as e, ArrowRight as t, Building2 as n, Calendar as r, ChartNoAxesCombined as i, Check as a, ChevronDown as o, ChevronLeft as s, ChevronRight as c, ChevronUp as ee, CircleHelp as l, Download as u, Ellipsis as d, ExternalLink as f, Eye as p, EyeOff as m, FileText as h, Info as g, LogOut as _, Menu as v, Paperclip as y, Pencil as b, Plus as x, RotateCw as S, Search as C, Settings as w, Trash2 as T, TriangleAlert as E, Upload as D, User as O, Users as k, Wallet as A, X as j, ZoomIn as M, ZoomOut as N } from "lucide-react";
|
|
2
|
-
import { createElement as P } from "react";
|
|
3
|
-
//#region src/icons/index.tsx
|
|
4
|
-
function F(e, t) {
|
|
5
|
-
function n({ "aria-label": t, className: n, size: r = "1em", strokeWidth: i = 2, style: a, ...o }) {
|
|
6
|
-
let s = t?.trim() || void 0;
|
|
7
|
-
return P(e, {
|
|
8
|
-
...o,
|
|
9
|
-
"aria-hidden": s === void 0 || void 0,
|
|
10
|
-
"aria-label": s,
|
|
11
|
-
className: `inline-block shrink-0 align-[-0.125em] ${n ?? ""}`,
|
|
12
|
-
focusable: "false",
|
|
13
|
-
role: s === void 0 ? void 0 : "img",
|
|
14
|
-
size: r,
|
|
15
|
-
strokeWidth: i,
|
|
16
|
-
style: {
|
|
17
|
-
...a,
|
|
18
|
-
height: r,
|
|
19
|
-
width: r
|
|
20
|
-
}
|
|
21
|
-
});
|
|
22
|
-
}
|
|
23
|
-
return n.displayName = t, n;
|
|
24
|
-
}
|
|
25
|
-
var I = F(x, "AddIcon"), te = F(e, "ArrowLeftIcon"), L = F(t, "ArrowRightIcon"), R = F(n, "BuildingIcon"), z = F(r, "CalendarIcon"), B = F(i, "ChartIcon"), V = F(a, "CheckIcon"), H = F(o, "ChevronDownIcon"), U = F(s, "ChevronLeftIcon"), W = F(c, "ChevronRightIcon"), G = F(ee, "ChevronUpIcon"), K = F(j, "CloseIcon"), q = F(T, "DeleteIcon"), J = F(u, "DownloadIcon"), Y = F(b, "EditIcon"), X = F(f, "ExternalLinkIcon"), Z = F(p, "EyeIcon"), Q = F(m, "EyeOffIcon"), ne = F(h, "FileTextIcon"), re = F(l, "HelpIcon"), ie = F(g, "InfoIcon"), ae = F(v, "MenuIcon"), oe = F(d, "MoreIcon"), se = F(y, "PaperclipIcon"), ce = F(S, "RotateIcon"), le = F(C, "SearchIcon"), ue = F(_, "SignOutIcon"), de = F(w, "SettingsIcon"), fe = F(D, "UploadIcon"), pe = F(O, "UserIcon"), $ = F(k, "UsersIcon"), me = F(A, "WalletIcon"), he = F(E, "WarningIcon"), ge = F(M, "ZoomInIcon"), _e = F(N, "ZoomOutIcon");
|
|
26
|
-
//#endregion
|
|
27
|
-
export { I as AddIcon, te as ArrowLeftIcon, L as ArrowRightIcon, R as BuildingIcon, z as CalendarIcon, B as ChartIcon, V as CheckIcon, H as ChevronDownIcon, U as ChevronLeftIcon, W as ChevronRightIcon, G as ChevronUpIcon, K as CloseIcon, q as DeleteIcon, J as DownloadIcon, Y as EditIcon, X as ExternalLinkIcon, Z as EyeIcon, Q as EyeOffIcon, ne as FileTextIcon, re as HelpIcon, ie as InfoIcon, ae as MenuIcon, oe as MoreIcon, se as PaperclipIcon, ce as RotateIcon, le as SearchIcon, de as SettingsIcon, ue as SignOutIcon, fe as UploadIcon, pe as UserIcon, $ as UsersIcon, me as WalletIcon, he as WarningIcon, ge as ZoomInIcon, _e as ZoomOutIcon };
|
|
28
|
-
|
|
29
|
-
//# sourceMappingURL=icons.js.map
|
package/lib/icons.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"icons.js","names":[],"sources":["../src/icons/index.tsx"],"sourcesContent":["import {\n ArrowLeft,\n ArrowRight,\n Building2,\n Calendar,\n ChartNoAxesCombined,\n Check,\n ChevronDown,\n ChevronLeft,\n ChevronRight,\n ChevronUp,\n CircleHelp,\n Download,\n Ellipsis,\n ExternalLink,\n Eye,\n EyeOff,\n FileText,\n Info,\n LogOut,\n type LucideIcon,\n Menu,\n Paperclip,\n Pencil,\n Plus,\n RotateCw,\n Search,\n Settings,\n Trash2,\n TriangleAlert,\n Upload,\n User,\n Users,\n Wallet,\n X,\n ZoomIn,\n ZoomOut,\n} from 'lucide-react';\nimport type { ComponentType, SVGAttributes } from 'react';\nimport { createElement } from 'react';\n\n/** Breeze-owned props shared by every curated icon. */\nexport interface IconProps\n extends Omit<SVGAttributes<SVGSVGElement>, 'children' | 'height' | 'width'> {\n /** Icon size in CSS pixels or a CSS length. Defaults to `1em`. */\n size?: number | string;\n /** Stroke thickness. Defaults to `2`. */\n strokeWidth?: number;\n}\n\nfunction createIcon(\n Icon: LucideIcon,\n displayName: string,\n): ComponentType<IconProps> {\n function BreezeIcon({\n 'aria-label': ariaLabel,\n className,\n size = '1em',\n strokeWidth = 2,\n style,\n ...props\n }: Readonly<IconProps>) {\n const normalizedAriaLabel = ariaLabel?.trim() || undefined;\n\n return createElement(Icon, {\n ...props,\n 'aria-hidden': normalizedAriaLabel === undefined ? true : undefined,\n 'aria-label': normalizedAriaLabel,\n className: `inline-block shrink-0 align-[-0.125em] ${className ?? ''}`,\n focusable: 'false',\n role: normalizedAriaLabel === undefined ? undefined : 'img',\n size,\n strokeWidth,\n style: {\n ...style,\n height: size,\n width: size,\n },\n });\n }\n\n BreezeIcon.displayName = displayName;\n\n return BreezeIcon;\n}\n\n/**\n * Plus icon for create or add actions.\n *\n * @summary curated create-or-add action glyph\n */\nexport const AddIcon = createIcon(Plus, 'AddIcon');\n/** Left-pointing navigation arrow. */\nexport const ArrowLeftIcon = createIcon(ArrowLeft, 'ArrowLeftIcon');\n/** Right-pointing navigation arrow. */\nexport const ArrowRightIcon = createIcon(ArrowRight, 'ArrowRightIcon');\n/** Building icon for organisations and company details. */\nexport const BuildingIcon = createIcon(Building2, 'BuildingIcon');\n/** Calendar icon for date-related interfaces. */\nexport const CalendarIcon = createIcon(Calendar, 'CalendarIcon');\n/** Chart icon for summaries, dashboards, and analytics. */\nexport const ChartIcon = createIcon(ChartNoAxesCombined, 'ChartIcon');\n/** Check mark for completed or selected states. */\nexport const CheckIcon = createIcon(Check, 'CheckIcon');\n/** Down-pointing disclosure chevron. */\nexport const ChevronDownIcon = createIcon(ChevronDown, 'ChevronDownIcon');\n/** Left-pointing disclosure chevron. */\nexport const ChevronLeftIcon = createIcon(ChevronLeft, 'ChevronLeftIcon');\n/** Right-pointing disclosure chevron. */\nexport const ChevronRightIcon = createIcon(ChevronRight, 'ChevronRightIcon');\n/** Up-pointing disclosure chevron. */\nexport const ChevronUpIcon = createIcon(ChevronUp, 'ChevronUpIcon');\n/** Close or dismiss icon. */\nexport const CloseIcon = createIcon(X, 'CloseIcon');\n/** Delete icon for destructive removal actions. */\nexport const DeleteIcon = createIcon(Trash2, 'DeleteIcon');\n/** Download icon for obtaining a resource. */\nexport const DownloadIcon = createIcon(Download, 'DownloadIcon');\n/** Edit icon for modifying content. */\nexport const EditIcon = createIcon(Pencil, 'EditIcon');\n/** External-link indicator. */\nexport const ExternalLinkIcon = createIcon(ExternalLink, 'ExternalLinkIcon');\n/** Visible-content icon. */\nexport const EyeIcon = createIcon(Eye, 'EyeIcon');\n/** Hidden-content icon. */\nexport const EyeOffIcon = createIcon(EyeOff, 'EyeOffIcon');\n/** Document icon for files, reports, and written records. */\nexport const FileTextIcon = createIcon(FileText, 'FileTextIcon');\n/** Help icon for contextual assistance. */\nexport const HelpIcon = createIcon(CircleHelp, 'HelpIcon');\n/** Information icon for neutral notices. */\nexport const InfoIcon = createIcon(Info, 'InfoIcon');\n/** Menu icon for compact navigation. */\nexport const MenuIcon = createIcon(Menu, 'MenuIcon');\n/** More-actions icon. */\nexport const MoreIcon = createIcon(Ellipsis, 'MoreIcon');\n/** Paperclip icon for file attachments. */\nexport const PaperclipIcon = createIcon(Paperclip, 'PaperclipIcon');\n/** Clockwise rotation icon for turning content. */\nexport const RotateIcon = createIcon(RotateCw, 'RotateIcon');\n/** Search icon for query interfaces. */\nexport const SearchIcon = createIcon(Search, 'SearchIcon');\n/** Sign-out icon for ending an authenticated session. */\nexport const SignOutIcon = createIcon(LogOut, 'SignOutIcon');\n/** Settings icon for configuration interfaces. */\nexport const SettingsIcon = createIcon(Settings, 'SettingsIcon');\n/** Upload icon for supplying a resource. */\nexport const UploadIcon = createIcon(Upload, 'UploadIcon');\n/** User icon for account and identity interfaces. */\nexport const UserIcon = createIcon(User, 'UserIcon');\n/** Users icon for groups, teams, and client collections. */\nexport const UsersIcon = createIcon(Users, 'UsersIcon');\n/** Wallet icon for money and transaction interfaces. */\nexport const WalletIcon = createIcon(Wallet, 'WalletIcon');\n/** Warning icon for cautionary notices. */\nexport const WarningIcon = createIcon(TriangleAlert, 'WarningIcon');\n/** Magnifying-glass icon for increasing content scale. */\nexport const ZoomInIcon = createIcon(ZoomIn, 'ZoomInIcon');\n/** Magnifying-glass icon for decreasing content scale. */\nexport const ZoomOutIcon = createIcon(ZoomOut, 'ZoomOutIcon');\n"],"mappings":";;;AAkDA,SAAS,EACP,GACA,GAC0B;CAC1B,SAAS,EAAW,EAClB,cAAc,GACd,cACA,UAAO,OACP,iBAAc,GACd,UACA,GAAG,KACmB;EACtB,IAAM,IAAsB,GAAW,KAAK,KAAK,KAAA;EAEjD,OAAO,EAAc,GAAM;GACzB,GAAG;GACH,eAAe,MAAwB,KAAA,KAAmB,KAAA;GAC1D,cAAc;GACd,WAAW,0CAA0C,KAAa;GAClE,WAAW;GACX,MAAM,MAAwB,KAAA,IAAY,KAAA,IAAY;GACtD;GACA;GACA,OAAO;IACL,GAAG;IACH,QAAQ;IACR,OAAO;GACT;EACF,CAAC;CACH;CAIA,OAFA,EAAW,cAAc,GAElB;AACT;AAOA,IAAa,IAAU,EAAW,GAAM,SAAS,GAEpC,KAAgB,EAAW,GAAW,eAAe,GAErD,IAAiB,EAAW,GAAY,gBAAgB,GAExD,IAAe,EAAW,GAAW,cAAc,GAEnD,IAAe,EAAW,GAAU,cAAc,GAElD,IAAY,EAAW,GAAqB,WAAW,GAEvD,IAAY,EAAW,GAAO,WAAW,GAEzC,IAAkB,EAAW,GAAa,iBAAiB,GAE3D,IAAkB,EAAW,GAAa,iBAAiB,GAE3D,IAAmB,EAAW,GAAc,kBAAkB,GAE9D,IAAgB,EAAW,IAAW,eAAe,GAErD,IAAY,EAAW,GAAG,WAAW,GAErC,IAAa,EAAW,GAAQ,YAAY,GAE5C,IAAe,EAAW,GAAU,cAAc,GAElD,IAAW,EAAW,GAAQ,UAAU,GAExC,IAAmB,EAAW,GAAc,kBAAkB,GAE9D,IAAU,EAAW,GAAK,SAAS,GAEnC,IAAa,EAAW,GAAQ,YAAY,GAE5C,KAAe,EAAW,GAAU,cAAc,GAElD,KAAW,EAAW,GAAY,UAAU,GAE5C,KAAW,EAAW,GAAM,UAAU,GAEtC,KAAW,EAAW,GAAM,UAAU,GAEtC,KAAW,EAAW,GAAU,UAAU,GAE1C,KAAgB,EAAW,GAAW,eAAe,GAErD,KAAa,EAAW,GAAU,YAAY,GAE9C,KAAa,EAAW,GAAQ,YAAY,GAE5C,KAAc,EAAW,GAAQ,aAAa,GAE9C,KAAe,EAAW,GAAU,cAAc,GAElD,KAAa,EAAW,GAAQ,YAAY,GAE5C,KAAW,EAAW,GAAM,UAAU,GAEtC,IAAY,EAAW,GAAO,WAAW,GAEzC,KAAa,EAAW,GAAQ,YAAY,GAE5C,KAAc,EAAW,GAAe,aAAa,GAErD,KAAa,EAAW,GAAQ,YAAY,GAE5C,KAAc,EAAW,GAAS,aAAa"}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import type { CSSProperties, ReactElement, ReactNode } from 'react';
|
|
2
|
-
import type { CollectionVirtualization } from '../types/collection';
|
|
3
|
-
interface VirtualizedCollectionProps {
|
|
4
|
-
children?: ReactNode;
|
|
5
|
-
compactHiddenColumns?: ReadonlySet<string>;
|
|
6
|
-
configuration: CollectionVirtualization;
|
|
7
|
-
kind: 'grid' | 'list' | 'table';
|
|
8
|
-
direction?: 'ltr' | 'rtl';
|
|
9
|
-
maximumColumns?: number;
|
|
10
|
-
minimumItemWidth?: number;
|
|
11
|
-
orientation?: 'horizontal' | 'vertical';
|
|
12
|
-
}
|
|
13
|
-
export declare function collectionViewportStyle(configuration: CollectionVirtualization | undefined): CSSProperties | undefined;
|
|
14
|
-
export default function VirtualizedCollection({ children, compactHiddenColumns, configuration, direction, kind, maximumColumns, minimumItemWidth, orientation, }: Readonly<VirtualizedCollectionProps>): ReactElement;
|
|
15
|
-
export {};
|
|
16
|
-
//# sourceMappingURL=VirtualizedCollection.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"VirtualizedCollection.d.ts","sourceRoot":"","sources":["../../../src/internal/collections/VirtualizedCollection.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAEV,aAAa,EACb,YAAY,EACZ,SAAS,EACV,MAAM,OAAO,CAAC;AAWf,OAAO,KAAK,EAEV,wBAAwB,EACzB,MAAM,qBAAqB,CAAC;AAgB7B,UAAU,0BAA0B;IAClC,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,oBAAoB,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAC3C,aAAa,EAAE,wBAAwB,CAAC;IACxC,IAAI,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC;IAChC,SAAS,CAAC,EAAE,KAAK,GAAG,KAAK,CAAC;IAC1B,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,WAAW,CAAC,EAAE,YAAY,GAAG,UAAU,CAAC;CACzC;AA8JD,wBAAgB,uBAAuB,CACrC,aAAa,EAAE,wBAAwB,GAAG,SAAS,GAClD,aAAa,GAAG,SAAS,CAM3B;AAED,MAAM,CAAC,OAAO,UAAU,qBAAqB,CAAC,EAC5C,QAAQ,EACR,oBAAgD,EAChD,aAAa,EACb,SAAiB,EACjB,IAAI,EACJ,cAAc,EACd,gBAAsB,EACtB,WAAwB,GACzB,EAAE,QAAQ,CAAC,0BAA0B,CAAC,GAAG,YAAY,CAoFrD"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import type { CollectionKey } from '../types/collection';
|
|
2
|
-
/** Encodes collection keys for collision-safe DOM metadata. */
|
|
3
|
-
export default function encodeCollectionKey(key: CollectionKey): string;
|
|
4
|
-
/** Encodes an iterable while treating a bare string as one collection key. */
|
|
5
|
-
export declare function encodeCollectionKeys(keys: CollectionKey | Iterable<CollectionKey>): ReadonlySet<string>;
|
|
6
|
-
//# sourceMappingURL=collectionKey.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"collectionKey.d.ts","sourceRoot":"","sources":["../../../src/internal/collections/collectionKey.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAEzD,+DAA+D;AAC/D,MAAM,CAAC,OAAO,UAAU,mBAAmB,CAAC,GAAG,EAAE,aAAa,GAAG,MAAM,CAEtE;AAED,8EAA8E;AAC9E,wBAAgB,oBAAoB,CAClC,IAAI,EAAE,aAAa,GAAG,QAAQ,CAAC,aAAa,CAAC,GAC5C,WAAW,CAAC,MAAM,CAAC,CAKrB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useCollectionEmptyContent.d.ts","sourceRoot":"","sources":["../../../src/internal/collections/useCollectionEmptyContent.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGvC,MAAM,CAAC,OAAO,UAAU,yBAAyB,CAC/C,YAAY,EAAE,SAAS,GAAG,SAAS,GAClC,SAAS,CAIX"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
interface LoadMoreHandlerOptions {
|
|
2
|
-
loading: boolean;
|
|
3
|
-
onLoadMore: () => void | Promise<void>;
|
|
4
|
-
}
|
|
5
|
-
export default function useLoadMoreHandler({ loading, onLoadMore, }: LoadMoreHandlerOptions): () => void;
|
|
6
|
-
export {};
|
|
7
|
-
//# sourceMappingURL=useLoadMoreHandler.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useLoadMoreHandler.d.ts","sourceRoot":"","sources":["../../../src/internal/collections/useLoadMoreHandler.ts"],"names":[],"mappings":"AAEA,UAAU,sBAAsB;IAC9B,OAAO,EAAE,OAAO,CAAC;IACjB,UAAU,EAAE,MAAM,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CACxC;AAED,MAAM,CAAC,OAAO,UAAU,kBAAkB,CAAC,EACzC,OAAO,EACP,UAAU,GACX,EAAE,sBAAsB,GAAG,MAAM,IAAI,CAuCrC"}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { type CalendarDate, type Time, type ZonedDateTime } from '@internationalized/date';
|
|
2
|
-
import type { DateRangeValue } from '../types/date';
|
|
3
|
-
/** Internal parsed date range used only at the React Aria boundary. */
|
|
4
|
-
export interface InternalDateRange {
|
|
5
|
-
start: CalendarDate;
|
|
6
|
-
end: CalendarDate;
|
|
7
|
-
}
|
|
8
|
-
export declare function parseDateValue(value: string | null): CalendarDate | null;
|
|
9
|
-
export declare function formatDateValue(value: CalendarDate | null): string | null;
|
|
10
|
-
export declare function parseTimeValue(value: string | null): Time | null;
|
|
11
|
-
export declare function formatTimeValue(value: Time | null): string | null;
|
|
12
|
-
export declare function parseDateRangeValue(value: DateRangeValue | null): InternalDateRange | null;
|
|
13
|
-
export declare function formatDateRangeValue(value: InternalDateRange | null): DateRangeValue | null;
|
|
14
|
-
export declare function parseDateTimeValue(value: string | null, timeZone: string): ZonedDateTime | null;
|
|
15
|
-
export declare function formatDateTimeValue(value: ZonedDateTime | null): string | null;
|
|
16
|
-
//# sourceMappingURL=conversion.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"conversion.d.ts","sourceRoot":"","sources":["../../../src/internal/date/conversion.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,YAAY,EAIjB,KAAK,IAAI,EACT,KAAK,aAAa,EACnB,MAAM,yBAAyB,CAAC;AACjC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAMpD,uEAAuE;AACvE,MAAM,WAAW,iBAAiB;IAChC,KAAK,EAAE,YAAY,CAAC;IACpB,GAAG,EAAE,YAAY,CAAC;CACnB;AAED,wBAAgB,cAAc,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,YAAY,GAAG,IAAI,CAExE;AAED,wBAAgB,eAAe,CAAC,KAAK,EAAE,YAAY,GAAG,IAAI,GAAG,MAAM,GAAG,IAAI,CAEzE;AAED,wBAAgB,cAAc,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAEhE;AAED,wBAAgB,eAAe,CAAC,KAAK,EAAE,IAAI,GAAG,IAAI,GAAG,MAAM,GAAG,IAAI,CAQjE;AAED,wBAAgB,mBAAmB,CACjC,KAAK,EAAE,cAAc,GAAG,IAAI,GAC3B,iBAAiB,GAAG,IAAI,CAO1B;AAED,wBAAgB,oBAAoB,CAClC,KAAK,EAAE,iBAAiB,GAAG,IAAI,GAC9B,cAAc,GAAG,IAAI,CAOvB;AAED,wBAAgB,kBAAkB,CAChC,KAAK,EAAE,MAAM,GAAG,IAAI,EACpB,QAAQ,EAAE,MAAM,GACf,aAAa,GAAG,IAAI,CAYtB;AAED,wBAAgB,mBAAmB,CACjC,KAAK,EAAE,aAAa,GAAG,IAAI,GAC1B,MAAM,GAAG,IAAI,CAef"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import type { FileRejection } from '../types/file';
|
|
2
|
-
interface FileConstraints {
|
|
3
|
-
acceptedFileTypes?: readonly string[];
|
|
4
|
-
allowsMultiple: boolean;
|
|
5
|
-
maxFileSize?: number;
|
|
6
|
-
}
|
|
7
|
-
/** Result of applying Breeze-owned file constraints. */
|
|
8
|
-
export interface FileValidationResult {
|
|
9
|
-
/** Files that satisfy every constraint. */
|
|
10
|
-
accepted: File[];
|
|
11
|
-
/** Files that failed one or more constraints. */
|
|
12
|
-
rejected: FileRejection[];
|
|
13
|
-
}
|
|
14
|
-
/** Splits native files into accepted files and stable rejection records. */
|
|
15
|
-
export default function validateFiles(files: readonly File[], { acceptedFileTypes, allowsMultiple, maxFileSize }: FileConstraints): FileValidationResult;
|
|
16
|
-
export {};
|
|
17
|
-
//# sourceMappingURL=validation.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"validation.d.ts","sourceRoot":"","sources":["../../../src/internal/files/validation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAuB,MAAM,eAAe,CAAC;AAExE,UAAU,eAAe;IACvB,iBAAiB,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IACtC,cAAc,EAAE,OAAO,CAAC;IACxB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,wDAAwD;AACxD,MAAM,WAAW,oBAAoB;IACnC,2CAA2C;IAC3C,QAAQ,EAAE,IAAI,EAAE,CAAC;IACjB,iDAAiD;IACjD,QAAQ,EAAE,aAAa,EAAE,CAAC;CAC3B;AAwBD,4EAA4E;AAC5E,MAAM,CAAC,OAAO,UAAU,aAAa,CACnC,KAAK,EAAE,SAAS,IAAI,EAAE,EACtB,EAAE,iBAAiB,EAAE,cAAc,EAAE,WAAW,EAAE,EAAE,eAAe,GAClE,oBAAoB,CA4BtB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useForwardedRef.d.ts","sourceRoot":"","sources":["../../../src/internal/hooks/useForwardedRef.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAG9C,MAAM,CAAC,OAAO,UAAU,eAAe,CAAC,OAAO,EAC7C,GAAG,EAAE,GAAG,CAAC,OAAO,CAAC,GAAG,SAAS,GAC5B,WAAW,CAAC,OAAO,CAAC,CAatB"}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import type { HTMLAttributes, ReactElement, ReactNode, Ref } from 'react';
|
|
2
|
-
import type { NativeButtonProps } from '../types/native';
|
|
3
|
-
/** Shared Breeze props for a disclosure or accordion trigger. */
|
|
4
|
-
export interface SharedDisclosureTriggerProps extends NativeButtonProps {
|
|
5
|
-
/** Trigger label. */
|
|
6
|
-
children: ReactNode;
|
|
7
|
-
/** Placement and composition classes. */
|
|
8
|
-
className?: string;
|
|
9
|
-
/** Heading level around the trigger. Defaults to `3`. */
|
|
10
|
-
headingLevel?: 2 | 3 | 4 | 5 | 6;
|
|
11
|
-
/** Ref to the rendered trigger button. */
|
|
12
|
-
ref?: Ref<HTMLButtonElement>;
|
|
13
|
-
}
|
|
14
|
-
/** Shared Breeze props for a disclosure or accordion panel. */
|
|
15
|
-
export interface SharedDisclosurePanelProps extends Omit<HTMLAttributes<HTMLDivElement>, 'style'> {
|
|
16
|
-
/** Collapsible panel content. */
|
|
17
|
-
children: ReactNode;
|
|
18
|
-
/** Announces the panel as a region instead of a group. */
|
|
19
|
-
role?: 'group' | 'region';
|
|
20
|
-
/** Ref to the rendered panel. */
|
|
21
|
-
ref?: Ref<HTMLDivElement>;
|
|
22
|
-
}
|
|
23
|
-
/** Internal React Aria-backed trigger shared by disclosures and accordions. */
|
|
24
|
-
export declare function SharedDisclosureTrigger({ children, className, headingLevel, ref, ...props }: Readonly<SharedDisclosureTriggerProps>): ReactElement;
|
|
25
|
-
/** Internal React Aria-backed panel shared by disclosures and accordions. */
|
|
26
|
-
export declare function SharedDisclosurePanel({ className, ref, ...props }: Readonly<SharedDisclosurePanelProps>): ReactElement;
|
|
27
|
-
//# sourceMappingURL=DisclosureParts.d.ts.map
|
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
import type { CSSProperties, HTMLAttributes, ReactElement, ReactNode, Ref } from 'react';
|
|
2
|
-
import { type ButtonProps } from '../../primitives/Button/Button';
|
|
3
|
-
import type { VisualAppearance } from '../styling/visual';
|
|
4
|
-
export declare const OverlayDescriptionContext: import("react").Context<string | undefined>;
|
|
5
|
-
/** Shared Breeze trigger props for overlays. */
|
|
6
|
-
export type SharedOverlayTriggerProps = Omit<ButtonProps, 'appearance'> & {
|
|
7
|
-
appearance?: VisualAppearance;
|
|
8
|
-
};
|
|
9
|
-
/** Shared Breeze close-button props for overlays. */
|
|
10
|
-
export interface SharedOverlayCloseProps extends Omit<ButtonProps, 'appearance'> {
|
|
11
|
-
appearance?: VisualAppearance;
|
|
12
|
-
}
|
|
13
|
-
/** Shared Breeze title props for overlays. */
|
|
14
|
-
export interface SharedOverlayTitleProps extends Omit<HTMLAttributes<HTMLHeadingElement>, 'style'> {
|
|
15
|
-
/** Required accessible overlay title. */
|
|
16
|
-
children: ReactNode;
|
|
17
|
-
/** Semantic heading level. Defaults to `2`. */
|
|
18
|
-
level?: 1 | 2 | 3 | 4 | 5 | 6;
|
|
19
|
-
/** Ref to the rendered heading. */
|
|
20
|
-
ref?: Ref<HTMLHeadingElement>;
|
|
21
|
-
}
|
|
22
|
-
/** Shared Breeze description props for overlays. */
|
|
23
|
-
export interface SharedOverlayDescriptionProps extends Omit<HTMLAttributes<HTMLElement>, 'style'> {
|
|
24
|
-
/** Required accessible overlay description. */
|
|
25
|
-
children: ReactNode;
|
|
26
|
-
/** Ref to the rendered description. */
|
|
27
|
-
ref?: Ref<HTMLElement>;
|
|
28
|
-
}
|
|
29
|
-
/** Internal modal-dialog surface configuration. */
|
|
30
|
-
export interface SharedModalContentProps extends Omit<HTMLAttributes<HTMLElement>, 'style'> {
|
|
31
|
-
children: ReactNode;
|
|
32
|
-
dismissible?: boolean;
|
|
33
|
-
keyboardDismissDisabled?: boolean;
|
|
34
|
-
modalClassName?: string;
|
|
35
|
-
modalState?: {
|
|
36
|
-
onOpenChange: (open: boolean) => void;
|
|
37
|
-
open: boolean;
|
|
38
|
-
};
|
|
39
|
-
overlayClassName?: string;
|
|
40
|
-
overlayStyle?: CSSProperties;
|
|
41
|
-
ref?: Ref<HTMLElement>;
|
|
42
|
-
role?: 'dialog' | 'alertdialog';
|
|
43
|
-
surfaceClassName?: string;
|
|
44
|
-
}
|
|
45
|
-
/** React Aria-backed semantic trigger. */
|
|
46
|
-
export declare function SharedOverlayTrigger({ appearance, ...props }: Readonly<SharedOverlayTriggerProps>): ReactElement;
|
|
47
|
-
/** React Aria-backed semantic close action. */
|
|
48
|
-
export declare function SharedOverlayClose({ appearance, children, className, disabled, onAction, ref, size, variant, ...props }: Readonly<SharedOverlayCloseProps>): ReactElement;
|
|
49
|
-
/** React Aria title slot used as the overlay accessible name. */
|
|
50
|
-
export declare function SharedOverlayTitle({ className, level, ref, ...props }: Readonly<SharedOverlayTitleProps>): ReactElement;
|
|
51
|
-
/** React Aria description slot used as the overlay accessible description. */
|
|
52
|
-
export declare function SharedOverlayDescription({ className, ref, ...props }: Readonly<SharedOverlayDescriptionProps>): ReactElement;
|
|
53
|
-
/** React Aria modal engine shared by Dialog, AlertDialog, and Drawer. */
|
|
54
|
-
export declare function SharedModalContent({ children, className, dismissible, keyboardDismissDisabled, modalClassName, modalState, overlayClassName, overlayStyle, ref, role, surfaceClassName, ...props }: Readonly<SharedModalContentProps>): ReactElement;
|
|
55
|
-
//# sourceMappingURL=OverlayParts.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"OverlayParts.d.ts","sourceRoot":"","sources":["../../../src/internal/react-aria/OverlayParts.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAEV,aAAa,EACb,cAAc,EACd,YAAY,EACZ,SAAS,EACT,GAAG,EACJ,MAAM,OAAO,CAAC;AAWf,OAAO,EAAU,KAAK,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAI1E,OAAO,KAAK,EAAE,gBAAgB,E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breeze action buttons. */
|
|
3
|
-
export type NativeButtonType = 'button' | 'submit';
|
|
4
|
-
/** Renders the concrete button expected by React Aria's DOM render contract. */
|
|
5
|
-
export default function renderNativeButton(props: ComponentProps<'button'>, type: NativeButtonType): ReactElement;
|
|
6
|
-
//# sourceMappingURL=renderNativeButton.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"renderNativeButton.d.ts","sourceRoot":"","sources":["../../../src/internal/react-aria/renderNativeButton.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAG1D,gEAAgE;AAChE,MAAM,MAAM,gBAAgB,GAAG,QAAQ,GAAG,QAAQ,CAAC;AAEnD,gFAAgF;AAChF,MAAM,CAAC,OAAO,UAAU,kBAAkB,CACxC,KAAK,EAAE,cAAc,CAAC,QAAQ,CAAC,EAC/B,IAAI,EAAE,gBAAgB,GACrB,YAAY,CAYd"}
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
declare const action: import("tailwind-variants").TVReturnType<{
|
|
2
|
-
appearance: {
|
|
3
|
-
ghost: string;
|
|
4
|
-
outline: string;
|
|
5
|
-
solid: string;
|
|
6
|
-
subtle: string;
|
|
7
|
-
text: string;
|
|
8
|
-
};
|
|
9
|
-
size: {
|
|
10
|
-
lg: string;
|
|
11
|
-
md: string;
|
|
12
|
-
sm: string;
|
|
13
|
-
};
|
|
14
|
-
variant: {
|
|
15
|
-
danger: string;
|
|
16
|
-
dark: string;
|
|
17
|
-
info: string;
|
|
18
|
-
light: string;
|
|
19
|
-
primary: string;
|
|
20
|
-
secondary: string;
|
|
21
|
-
success: string;
|
|
22
|
-
warning: string;
|
|
23
|
-
};
|
|
24
|
-
}, undefined, "breeze-action inline-flex shrink-0 items-center justify-center gap-2 border font-[family-name:var(--breeze-font-display)] font-bold no-underline transition-colors duration-[var(--breeze-duration-fast)] disabled:cursor-not-allowed disabled:opacity-55 data-[disabled]:cursor-not-allowed data-[disabled]:opacity-55 data-[pressed]:translate-y-px", {
|
|
25
|
-
appearance: {
|
|
26
|
-
ghost: string;
|
|
27
|
-
outline: string;
|
|
28
|
-
solid: string;
|
|
29
|
-
subtle: string;
|
|
30
|
-
text: string;
|
|
31
|
-
};
|
|
32
|
-
size: {
|
|
33
|
-
lg: string;
|
|
34
|
-
md: string;
|
|
35
|
-
sm: string;
|
|
36
|
-
};
|
|
37
|
-
variant: {
|
|
38
|
-
danger: string;
|
|
39
|
-
dark: string;
|
|
40
|
-
info: string;
|
|
41
|
-
light: string;
|
|
42
|
-
primary: string;
|
|
43
|
-
secondary: string;
|
|
44
|
-
success: string;
|
|
45
|
-
warning: string;
|
|
46
|
-
};
|
|
47
|
-
}, undefined, import("tailwind-variants").TVReturnType<{
|
|
48
|
-
appearance: {
|
|
49
|
-
ghost: string;
|
|
50
|
-
outline: string;
|
|
51
|
-
solid: string;
|
|
52
|
-
subtle: string;
|
|
53
|
-
text: string;
|
|
54
|
-
};
|
|
55
|
-
size: {
|
|
56
|
-
lg: string;
|
|
57
|
-
md: string;
|
|
58
|
-
sm: string;
|
|
59
|
-
};
|
|
60
|
-
variant: {
|
|
61
|
-
danger: string;
|
|
62
|
-
dark: string;
|
|
63
|
-
info: string;
|
|
64
|
-
light: string;
|
|
65
|
-
primary: string;
|
|
66
|
-
secondary: string;
|
|
67
|
-
success: string;
|
|
68
|
-
warning: string;
|
|
69
|
-
};
|
|
70
|
-
}, undefined, "breeze-action inline-flex shrink-0 items-center justify-center gap-2 border font-[family-name:var(--breeze-font-display)] font-bold no-underline transition-colors duration-[var(--breeze-duration-fast)] disabled:cursor-not-allowed disabled:opacity-55 data-[disabled]:cursor-not-allowed data-[disabled]:opacity-55 data-[pressed]:translate-y-px", unknown, unknown, undefined>>;
|
|
71
|
-
export default action;
|
|
72
|
-
//# sourceMappingURL=actions.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"actions.d.ts","sourceRoot":"","sources":["../../../src/internal/styling/actions.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oYA6HV,CAAC;AAEH,eAAe,MAAM,CAAC"}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/** Media query used by Breeze's compact variants below the small breakpoint. */
|
|
2
|
-
export declare const breezeSmallBreakpointQuery = "(width < 42.5625rem)";
|
|
3
|
-
/** Returns whether the viewport currently matches Breeze's compact range. */
|
|
4
|
-
export default function isBreezeSmallViewport(view: Pick<Window, 'matchMedia'>): boolean;
|
|
5
|
-
//# sourceMappingURL=breakpoints.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"breakpoints.d.ts","sourceRoot":"","sources":["../../../src/internal/styling/breakpoints.ts"],"names":[],"mappings":"AAAA,gFAAgF;AAChF,eAAO,MAAM,0BAA0B,yBAAyB,CAAC;AAEjE,6EAA6E;AAC7E,MAAM,CAAC,OAAO,UAAU,qBAAqB,CAC3C,IAAI,EAAE,IAAI,CAAC,MAAM,EAAE,YAAY,CAAC,GAC/B,OAAO,CAKT"}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/** Shared value typography and sizing for Breeze form controls. */
|
|
2
|
-
export declare const formControlValueTypography = "font-[family-name:var(--breeze-font-body)] font-normal";
|
|
3
|
-
declare const formControlValue: import("tailwind-variants").TVReturnType<{
|
|
4
|
-
size: {
|
|
5
|
-
lg: string;
|
|
6
|
-
md: string;
|
|
7
|
-
sm: string;
|
|
8
|
-
};
|
|
9
|
-
}, undefined, "font-[family-name:var(--breeze-font-body)] font-normal", {
|
|
10
|
-
size: {
|
|
11
|
-
lg: string;
|
|
12
|
-
md: string;
|
|
13
|
-
sm: string;
|
|
14
|
-
};
|
|
15
|
-
}, undefined, import("tailwind-variants").TVReturnType<{
|
|
16
|
-
size: {
|
|
17
|
-
lg: string;
|
|
18
|
-
md: string;
|
|
19
|
-
sm: string;
|
|
20
|
-
};
|
|
21
|
-
}, undefined, "font-[family-name:var(--breeze-font-body)] font-normal", unknown, unknown, undefined>>;
|
|
22
|
-
export default formControlValue;
|
|
23
|
-
//# sourceMappingURL=formControls.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"formControls.d.ts","sourceRoot":"","sources":["../../../src/internal/styling/formControls.ts"],"names":[],"mappings":"AAEA,mEAAmE;AACnE,eAAO,MAAM,0BAA0B,2DACmB,CAAC;AAE3D,QAAA,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;qGAYpB,CAAC;AAEH,eAAe,gBAAgB,CAAC"}
|
|
@@ -1,108 +0,0 @@
|
|
|
1
|
-
import type { ComponentPropsWithRef } from 'react';
|
|
2
|
-
import type { ResponsiveValue } from './responsive';
|
|
3
|
-
export type LayoutElementProps = Omit<ComponentPropsWithRef<'div'>, 'style'>;
|
|
4
|
-
/** Named spacing steps available to Breeze layout primitives. */
|
|
5
|
-
export type Space = 'none' | 'xs' | 'sm' | 'control' | 'compact' | 'md' | 'lg' | 'xl' | 'xxl' | 'page';
|
|
6
|
-
/** A scalar spacing step or mobile-first responsive spacing value. */
|
|
7
|
-
export type ResponsiveSpace = ResponsiveValue<Space>;
|
|
8
|
-
export declare const paddingClasses: {
|
|
9
|
-
readonly base: {
|
|
10
|
-
readonly compact: "p-3";
|
|
11
|
-
readonly control: "p-2.5";
|
|
12
|
-
readonly lg: "p-5";
|
|
13
|
-
readonly md: "p-4";
|
|
14
|
-
readonly none: "p-0";
|
|
15
|
-
readonly page: "p-12";
|
|
16
|
-
readonly sm: "p-2";
|
|
17
|
-
readonly xl: "p-6";
|
|
18
|
-
readonly xs: "p-1";
|
|
19
|
-
readonly xxl: "p-8";
|
|
20
|
-
};
|
|
21
|
-
readonly lg: {
|
|
22
|
-
readonly compact: "lg:p-3";
|
|
23
|
-
readonly control: "lg:p-2.5";
|
|
24
|
-
readonly lg: "lg:p-5";
|
|
25
|
-
readonly md: "lg:p-4";
|
|
26
|
-
readonly none: "lg:p-0";
|
|
27
|
-
readonly page: "lg:p-12";
|
|
28
|
-
readonly sm: "lg:p-2";
|
|
29
|
-
readonly xl: "lg:p-6";
|
|
30
|
-
readonly xs: "lg:p-1";
|
|
31
|
-
readonly xxl: "lg:p-8";
|
|
32
|
-
};
|
|
33
|
-
readonly md: {
|
|
34
|
-
readonly compact: "md:p-3";
|
|
35
|
-
readonly control: "md:p-2.5";
|
|
36
|
-
readonly lg: "md:p-5";
|
|
37
|
-
readonly md: "md:p-4";
|
|
38
|
-
readonly none: "md:p-0";
|
|
39
|
-
readonly page: "md:p-12";
|
|
40
|
-
readonly sm: "md:p-2";
|
|
41
|
-
readonly xl: "md:p-6";
|
|
42
|
-
readonly xs: "md:p-1";
|
|
43
|
-
readonly xxl: "md:p-8";
|
|
44
|
-
};
|
|
45
|
-
readonly sm: {
|
|
46
|
-
readonly compact: "sm:p-3";
|
|
47
|
-
readonly control: "sm:p-2.5";
|
|
48
|
-
readonly lg: "sm:p-5";
|
|
49
|
-
readonly md: "sm:p-4";
|
|
50
|
-
readonly none: "sm:p-0";
|
|
51
|
-
readonly page: "sm:p-12";
|
|
52
|
-
readonly sm: "sm:p-2";
|
|
53
|
-
readonly xl: "sm:p-6";
|
|
54
|
-
readonly xs: "sm:p-1";
|
|
55
|
-
readonly xxl: "sm:p-8";
|
|
56
|
-
};
|
|
57
|
-
};
|
|
58
|
-
export declare const gapClasses: {
|
|
59
|
-
readonly base: {
|
|
60
|
-
readonly compact: "gap-3";
|
|
61
|
-
readonly control: "gap-2.5";
|
|
62
|
-
readonly lg: "gap-5";
|
|
63
|
-
readonly md: "gap-4";
|
|
64
|
-
readonly none: "gap-0";
|
|
65
|
-
readonly page: "gap-12";
|
|
66
|
-
readonly sm: "gap-2";
|
|
67
|
-
readonly xl: "gap-6";
|
|
68
|
-
readonly xs: "gap-1";
|
|
69
|
-
readonly xxl: "gap-8";
|
|
70
|
-
};
|
|
71
|
-
readonly lg: {
|
|
72
|
-
readonly compact: "lg:gap-3";
|
|
73
|
-
readonly control: "lg:gap-2.5";
|
|
74
|
-
readonly lg: "lg:gap-5";
|
|
75
|
-
readonly md: "lg:gap-4";
|
|
76
|
-
readonly none: "lg:gap-0";
|
|
77
|
-
readonly page: "lg:gap-12";
|
|
78
|
-
readonly sm: "lg:gap-2";
|
|
79
|
-
readonly xl: "lg:gap-6";
|
|
80
|
-
readonly xs: "lg:gap-1";
|
|
81
|
-
readonly xxl: "lg:gap-8";
|
|
82
|
-
};
|
|
83
|
-
readonly md: {
|
|
84
|
-
readonly compact: "md:gap-3";
|
|
85
|
-
readonly control: "md:gap-2.5";
|
|
86
|
-
readonly lg: "md:gap-5";
|
|
87
|
-
readonly md: "md:gap-4";
|
|
88
|
-
readonly none: "md:gap-0";
|
|
89
|
-
readonly page: "md:gap-12";
|
|
90
|
-
readonly sm: "md:gap-2";
|
|
91
|
-
readonly xl: "md:gap-6";
|
|
92
|
-
readonly xs: "md:gap-1";
|
|
93
|
-
readonly xxl: "md:gap-8";
|
|
94
|
-
};
|
|
95
|
-
readonly sm: {
|
|
96
|
-
readonly compact: "sm:gap-3";
|
|
97
|
-
readonly control: "sm:gap-2.5";
|
|
98
|
-
readonly lg: "sm:gap-5";
|
|
99
|
-
readonly md: "sm:gap-4";
|
|
100
|
-
readonly none: "sm:gap-0";
|
|
101
|
-
readonly page: "sm:gap-12";
|
|
102
|
-
readonly sm: "sm:gap-2";
|
|
103
|
-
readonly xl: "sm:gap-6";
|
|
104
|
-
readonly xs: "sm:gap-1";
|
|
105
|
-
readonly xxl: "sm:gap-8";
|
|
106
|
-
};
|
|
107
|
-
};
|
|
108
|
-
//# sourceMappingURL=layout.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"layout.d.ts","sourceRoot":"","sources":["../../../src/internal/styling/layout.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAEpD,MAAM,MAAM,kBAAkB,GAAG,IAAI,CAAC,qBAAqB,CAAC,KAAK,CAAC,EAAE,OAAO,CAAC,CAAC;AAE7E,iEAAiE;AACjE,MAAM,MAAM,KAAK,GACb,MAAM,GACN,IAAI,GACJ,IAAI,GACJ,SAAS,GACT,SAAS,GACT,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,KAAK,GACL,MAAM,CAAC;AAEX,sEAAsE;AACtE,MAAM,MAAM,eAAe,GAAG,eAAe,CAAC,KAAK,CAAC,CAAC;AAErD,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiDjB,CAAC;AAEX,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiDb,CAAC"}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/** Breakpoints available to Breeze responsive layout props. */
|
|
2
|
-
export type BreezeBreakpoint = 'base' | 'sm' | 'md' | 'lg';
|
|
3
|
-
/**
|
|
4
|
-
* A mobile-first layout value with required base behaviour and optional
|
|
5
|
-
* overrides at Breeze breakpoints.
|
|
6
|
-
*/
|
|
7
|
-
export interface ResponsiveValueObject<Value> {
|
|
8
|
-
/** Value used below the first breakpoint and inherited until overridden. */
|
|
9
|
-
base: Value;
|
|
10
|
-
/** Value applied at 1181px and wider. */
|
|
11
|
-
lg?: Value;
|
|
12
|
-
/** Value applied at 901px and wider. */
|
|
13
|
-
md?: Value;
|
|
14
|
-
/** Value applied at 681px and wider. */
|
|
15
|
-
sm?: Value;
|
|
16
|
-
}
|
|
17
|
-
/** A scalar layout value or mobile-first responsive value. */
|
|
18
|
-
export type ResponsiveValue<Value> = Value | ResponsiveValueObject<Value>;
|
|
19
|
-
type ResponsiveClassMap<Value extends PropertyKey> = Record<BreezeBreakpoint, Record<Value, string>>;
|
|
20
|
-
export declare function resolveResponsiveClasses<Value extends PropertyKey>(value: ResponsiveValue<Value>, classes: ResponsiveClassMap<Value>): string;
|
|
21
|
-
export {};
|
|
22
|
-
//# sourceMappingURL=responsive.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"responsive.d.ts","sourceRoot":"","sources":["../../../src/internal/styling/responsive.ts"],"names":[],"mappings":"AAAA,+DAA+D;AAC/D,MAAM,MAAM,gBAAgB,GAAG,MAAM,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAE3D;;;GAGG;AACH,MAAM,WAAW,qBAAqB,CAAC,KAAK;IAC1C,4EAA4E;IAC5E,IAAI,EAAE,KAAK,CAAC;IACZ,yCAAyC;IACzC,EAAE,CAAC,EAAE,KAAK,CAAC;IACX,wCAAwC;IACxC,EAAE,CAAC,EAAE,KAAK,CAAC;IACX,wCAAwC;IACxC,EAAE,CAAC,EAAE,KAAK,CAAC;CACZ;AAED,8DAA8D;AAC9D,MAAM,MAAM,eAAe,CAAC,KAAK,IAAI,KAAK,GAAG,qBAAqB,CAAC,KAAK,CAAC,CAAC;AAE1E,KAAK,kBAAkB,CAAC,KAAK,SAAS,WAAW,IAAI,MAAM,CACzD,gBAAgB,EAChB,MAAM,CAAC,KAAK,EAAE,MAAM,CAAC,CACtB,CAAC;AAUF,wBAAgB,wBAAwB,CAAC,KAAK,SAAS,WAAW,EAChE,KAAK,EAAE,eAAe,CAAC,KAAK,CAAC,EAC7B,OAAO,EAAE,kBAAkB,CAAC,KAAK,CAAC,GACjC,MAAM,CAeR"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/** Semantic Breeze colour vocabulary shared by visual primitives. */
|
|
2
|
-
export type VisualVariant = 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'light' | 'dark';
|
|
3
|
-
/** Supported component emphasis treatments. */
|
|
4
|
-
export type VisualAppearance = 'solid' | 'subtle' | 'outline' | 'ghost';
|
|
5
|
-
/** Canonical Breeze control sizes. */
|
|
6
|
-
export type ControlSize = 'sm' | 'md' | 'lg';
|
|
7
|
-
//# sourceMappingURL=visual.d.ts.map
|