@mt-gloss/ui 0.0.9 → 0.0.10
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/catalog.d.ts +7 -0
- package/catalog.js +614 -0
- package/index.d.ts +274 -2
- package/index.js +2217 -18330
- package/internals.d.ts +64 -0
- package/internals.js +279 -0
- package/lib/base/BaseAccordion/BaseAccordion.d.ts +51 -0
- package/lib/base/BaseAlert/BaseAlert.d.ts +28 -0
- package/lib/base/BaseAsyncButton/BaseAsyncButton.d.ts +22 -0
- package/lib/base/BaseAvatar/BaseAvatar.d.ts +28 -0
- package/lib/base/BaseBadge/BaseBadge.d.ts +31 -0
- package/lib/base/BaseBox/BaseBox.d.ts +35 -0
- package/lib/base/BaseBreadcrumbs/BaseBreadcrumbs.d.ts +26 -0
- package/lib/base/BaseButton/BaseButton.d.ts +38 -0
- package/lib/base/BaseCard/BaseCard.d.ts +109 -0
- package/lib/base/BaseCheckbox/BaseCheckbox.d.ts +23 -0
- package/lib/base/BaseChip/BaseChip.d.ts +38 -0
- package/lib/base/BaseColorPicker/BaseColorPicker.d.ts +77 -0
- package/lib/base/BaseDatePicker/BaseDatePicker.d.ts +76 -0
- package/lib/base/BaseDateRangePicker/BaseDateRangePicker.d.ts +47 -0
- package/lib/base/BaseDialog/BaseDialog.d.ts +54 -0
- package/lib/base/BaseDivider/BaseDivider.d.ts +24 -0
- package/lib/base/BaseFileUpload/BaseFileUpload.d.ts +57 -0
- package/lib/base/BaseIcon/BaseIcon.d.ts +23 -0
- package/lib/base/BaseInput/BaseInput.d.ts +34 -0
- package/lib/base/BaseLabel/BaseLabel.d.ts +21 -0
- package/lib/base/BaseLink/BaseLink.d.ts +29 -0
- package/lib/base/BaseMaskedInput/BaseMaskedInput.d.ts +31 -0
- package/lib/base/BaseMenu/BaseMenu.d.ts +70 -0
- package/lib/base/BaseNumberInput/BaseNumberInput.d.ts +31 -0
- package/lib/base/BaseOverlay/BaseOverlay.d.ts +39 -0
- package/lib/base/BaseOverlay/useOverlayDismiss.d.ts +15 -0
- package/lib/base/BaseOverlay/useOverlayPositioning.d.ts +13 -0
- package/lib/base/BasePopover/BasePopover.d.ts +40 -0
- package/lib/base/BaseProgressBar/BaseProgressBar.d.ts +27 -0
- package/lib/base/BaseRadio/BaseRadio.d.ts +20 -0
- package/lib/base/BaseRangeSlider/BaseRangeSlider.d.ts +31 -0
- package/lib/base/BaseRating/BaseRating.d.ts +25 -0
- package/lib/base/BaseSegmentedControl/BaseSegmentedControl.d.ts +26 -0
- package/lib/base/BaseSelect/BaseSelect.d.ts +83 -0
- package/lib/base/BaseSlider/BaseSlider.d.ts +29 -0
- package/lib/base/BaseStack/BaseStack.d.ts +26 -0
- package/lib/base/BaseTable/BaseTable.d.ts +97 -0
- package/lib/base/BaseText/BaseText.d.ts +19 -0
- package/lib/base/BaseTextarea/BaseTextarea.d.ts +37 -0
- package/lib/base/BaseTimePicker/BaseTimePicker.d.ts +55 -0
- package/lib/base/BaseTitle/BaseTitle.d.ts +22 -0
- package/lib/base/BaseToast/BaseToast.d.ts +35 -0
- package/lib/base/BaseToggle/BaseToggle.d.ts +22 -0
- package/lib/base/BaseTooltip/BaseTooltip.d.ts +27 -0
- package/lib/base/BaseTypography/BaseTypography.d.ts +30 -0
- package/lib/base/BaseValue/BaseValue.d.ts +20 -0
- package/lib/base/index.d.ts +65 -0
- package/lib/base/types.d.ts +9 -0
- package/lib/base/utils.d.ts +18 -0
- package/lib/composites/controls/ThresholdRamp/ThresholdRamp.d.ts +24 -0
- package/lib/composites/controls/ThresholdRamp/index.d.ts +2 -0
- package/lib/composites/controls/index.d.ts +1 -0
- package/lib/composites/dashboard/QuickConfigPanel/QuickConfigPanel.d.ts +14 -0
- package/lib/composites/dashboard/QuickConfigPanel/index.d.ts +2 -0
- package/lib/composites/dashboard/QuickConfigPanel/types.d.ts +38 -0
- package/lib/composites/data/DataTable.d.ts +61 -0
- package/lib/composites/data/PinToMetric/PinToMetric.d.ts +11 -0
- package/lib/composites/data/PinToMetric/index.d.ts +2 -0
- package/lib/composites/data/PinToMetric/types.d.ts +17 -0
- package/lib/composites/data/index.d.ts +4 -0
- package/lib/composites/index.d.ts +5 -0
- package/lib/composites/inputs/Autocomplete.d.ts +36 -0
- package/lib/composites/inputs/EntityPicker.d.ts +36 -0
- package/lib/composites/inputs/FilterChip.d.ts +29 -0
- package/lib/composites/inputs/MultiSelect.d.ts +38 -0
- package/lib/composites/inputs/index.d.ts +8 -0
- package/lib/composites/navigation/Stepper.d.ts +40 -0
- package/lib/composites/navigation/index.d.ts +2 -0
- package/lib/composites/overlay/Dropdown/Dropdown.d.ts +22 -0
- package/lib/composites/overlay/Dropdown/index.d.ts +2 -0
- package/lib/composites/overlay/FormDialog.d.ts +38 -0
- package/lib/composites/overlay/InlineNudge/InlineNudge.d.ts +26 -0
- package/lib/composites/overlay/InlineNudge/index.d.ts +12 -0
- package/lib/composites/overlay/MergePrompt/MergePrompt.d.ts +16 -0
- package/lib/composites/overlay/MergePrompt/index.d.ts +2 -0
- package/lib/composites/overlay/MergePrompt/types.d.ts +15 -0
- package/lib/composites/overlay/SplitButton/SplitButton.d.ts +27 -0
- package/lib/composites/overlay/SplitButton/index.d.ts +2 -0
- package/lib/composites/overlay/index.d.ts +6 -0
- package/lib/compositions/feedback/DestructiveModal.d.ts +1 -1
- package/lib/compositions/filters/OrderFilterBar.d.ts +35 -0
- package/lib/compositions/filters/index.d.ts +2 -0
- package/lib/compositions/forms/AddressGroup.d.ts +13 -1
- package/lib/compositions/forms/ContactForm.d.ts +31 -0
- package/lib/compositions/forms/CreditCardForm.d.ts +3 -1
- package/lib/compositions/forms/LoginForm.d.ts +3 -1
- package/lib/compositions/forms/PaymentForm.d.ts +50 -0
- package/lib/compositions/forms/RegistrationForm.d.ts +39 -0
- package/lib/compositions/forms/index.d.ts +3 -0
- package/lib/compositions/index.d.ts +3 -0
- package/lib/compositions/navigation/ImportWizard.d.ts +28 -0
- package/lib/compositions/navigation/index.d.ts +2 -0
- package/lib/compositions/panels/EntitySearchPanel.d.ts +41 -0
- package/lib/compositions/panels/ProfileCard.d.ts +34 -0
- package/lib/compositions/panels/index.d.ts +4 -0
- package/lib/containers/ContainerCard/ContainerCard.d.ts +13 -0
- package/lib/containers/ContainerDialog/ContainerDialog.d.ts +27 -0
- package/lib/containers/ContainerForm/ContainerForm.d.ts +45 -0
- package/lib/containers/ContainerFormField/ContainerFormField.d.ts +31 -0
- package/lib/containers/ContainerFormSection/ContainerFormSection.d.ts +13 -0
- package/lib/containers/ContainerPanel/ContainerPanel.d.ts +14 -0
- package/lib/containers/ContainerTable/ContainerTable.d.ts +12 -0
- package/lib/containers/ContainerToolbar/ContainerToolbar.d.ts +11 -0
- package/lib/containers/UIContext.d.ts +26 -0
- package/lib/containers/index.d.ts +18 -0
- package/lib/dictionary/border.d.ts +11 -0
- package/lib/dictionary/breakpoint.d.ts +12 -0
- package/lib/dictionary/color.d.ts +67 -0
- package/lib/dictionary/elevation.d.ts +16 -0
- package/lib/dictionary/index.d.ts +14 -0
- package/lib/dictionary/motion.d.ts +13 -0
- package/lib/dictionary/opacity.d.ts +11 -0
- package/lib/dictionary/radius.d.ts +14 -0
- package/lib/dictionary/spacing.d.ts +18 -0
- package/lib/dictionary/typography.d.ts +25 -0
- package/lib/dictionary/z-index.d.ts +13 -0
- package/lib/facade/composites.d.ts +56 -0
- package/lib/facade/compositions.d.ts +27 -0
- package/lib/facade/containers.d.ts +8 -0
- package/lib/facade/data-display.d.ts +41 -0
- package/lib/facade/display.d.ts +50 -0
- package/lib/facade/feedback.d.ts +6 -0
- package/lib/facade/index.d.ts +17 -0
- package/lib/facade/inputs.d.ts +43 -0
- package/lib/facade/layout.d.ts +8 -0
- package/lib/facade/overlay.d.ts +26 -0
- package/lib/facade/typography.d.ts +12 -0
- package/lib/facade/wrappers.d.ts +26 -0
- package/lib/presets/PresetAccordion/PresetAccordion.d.ts +21 -0
- package/lib/presets/PresetAlert/PresetAlert.d.ts +17 -0
- package/lib/presets/PresetAsyncButton/PresetAsyncButton.d.ts +22 -0
- package/lib/presets/PresetAsyncLoader/PresetAsyncLoader.d.ts +6 -0
- package/lib/presets/PresetAvatar/PresetAvatar.d.ts +18 -0
- package/lib/presets/PresetBadge/PresetBadge.d.ts +15 -0
- package/lib/presets/PresetBreadcrumbs/PresetBreadcrumbs.d.ts +15 -0
- package/lib/presets/PresetButton/PresetButton.d.ts +27 -0
- package/lib/presets/PresetButtonGroup/PresetButtonGroup.d.ts +6 -0
- package/lib/presets/PresetCard/PresetCard.d.ts +45 -0
- package/lib/presets/PresetCheckbox/PresetCheckbox.d.ts +23 -0
- package/lib/presets/PresetCheckboxGroup/PresetCheckboxGroup.d.ts +6 -0
- package/lib/presets/PresetChip/PresetChip.d.ts +22 -0
- package/lib/presets/PresetColorPicker/PresetColorPicker.d.ts +22 -0
- package/lib/presets/PresetDatePicker/PresetDatePicker.d.ts +29 -0
- package/lib/presets/PresetDateRangePicker/PresetDateRangePicker.d.ts +37 -0
- package/lib/presets/PresetDialog/PresetDialog.d.ts +46 -0
- package/lib/presets/PresetDivider/PresetDivider.d.ts +13 -0
- package/lib/presets/PresetDropdown/PresetDropdown.d.ts +6 -0
- package/lib/presets/PresetFileUpload/PresetFileUpload.d.ts +35 -0
- package/lib/presets/PresetForm/PresetForm.d.ts +6 -0
- package/lib/presets/PresetFormField/PresetFormField.d.ts +6 -0
- package/lib/presets/PresetInput/PresetInput.d.ts +24 -0
- package/lib/presets/PresetInputGroup/PresetInputGroup.d.ts +6 -0
- package/lib/presets/PresetLabel/PresetLabel.d.ts +18 -0
- package/lib/presets/PresetLink/PresetLink.d.ts +21 -0
- package/lib/presets/PresetMaskedInput/PresetMaskedInput.d.ts +41 -0
- package/lib/presets/PresetMenu/PresetMenu.d.ts +33 -0
- package/lib/presets/PresetNumberInput/PresetNumberInput.d.ts +26 -0
- package/lib/presets/PresetPopover/PresetPopover.d.ts +17 -0
- package/lib/presets/PresetProgressBar/PresetProgressBar.d.ts +19 -0
- package/lib/presets/PresetRadio/PresetRadio.d.ts +21 -0
- package/lib/presets/PresetRadioGroup/PresetRadioGroup.d.ts +6 -0
- package/lib/presets/PresetRangeSlider/PresetRangeSlider.d.ts +30 -0
- package/lib/presets/PresetRating/PresetRating.d.ts +19 -0
- package/lib/presets/PresetSegmentedControl/PresetSegmentedControl.d.ts +28 -0
- package/lib/presets/PresetSelect/PresetSelect.d.ts +63 -0
- package/lib/presets/PresetSlider/PresetSlider.d.ts +29 -0
- package/lib/presets/PresetSplitButton/PresetSplitButton.d.ts +6 -0
- package/lib/presets/PresetSwatchRow/PresetSwatchRow.d.ts +28 -0
- package/lib/presets/PresetSwatchRow/index.d.ts +2 -0
- package/lib/presets/PresetText/PresetText.d.ts +17 -0
- package/lib/presets/PresetTextarea/PresetTextarea.d.ts +25 -0
- package/lib/presets/PresetTimePicker/PresetTimePicker.d.ts +27 -0
- package/lib/presets/PresetTitle/PresetTitle.d.ts +19 -0
- package/lib/presets/PresetToast/PresetToast.d.ts +19 -0
- package/lib/presets/PresetToggle/PresetToggle.d.ts +21 -0
- package/lib/presets/PresetTooltip/PresetTooltip.d.ts +20 -0
- package/lib/presets/PresetTransition/PresetTransition.d.ts +6 -0
- package/lib/presets/PresetValue/PresetValue.d.ts +15 -0
- package/lib/presets/createPreset.d.ts +64 -0
- package/lib/presets/index.d.ts +86 -0
- package/lib/presets/types.d.ts +13 -0
- package/lib/primitives/Accordion.d.ts +12 -102
- package/lib/primitives/AsyncLoader.d.ts +4 -39
- package/lib/primitives/Badge.d.ts +5 -40
- package/lib/primitives/Button.d.ts +4 -71
- package/lib/primitives/ButtonGroup.d.ts +4 -70
- package/lib/primitives/Card.d.ts +20 -138
- package/lib/primitives/Checkbox.d.ts +4 -68
- package/lib/primitives/CheckboxGroup.d.ts +4 -160
- package/lib/primitives/Chip.d.ts +5 -66
- package/lib/primitives/ColorPicker.d.ts +4 -80
- package/lib/primitives/DatePicker.d.ts +4 -100
- package/lib/primitives/DateRangePicker.d.ts +4 -107
- package/lib/primitives/Dropdown.d.ts +4 -63
- package/lib/primitives/FileUpload.d.ts +4 -107
- package/lib/primitives/Form.d.ts +4 -117
- package/lib/primitives/FormField.d.ts +4 -67
- package/lib/primitives/Input.d.ts +4 -87
- package/lib/primitives/InputGroup.d.ts +4 -57
- package/lib/primitives/Link.d.ts +4 -67
- package/lib/primitives/MaskedInput.d.ts +4 -93
- package/lib/primitives/Menu.d.ts +12 -131
- package/lib/primitives/NumberInput.d.ts +4 -79
- package/lib/primitives/Radio.d.ts +4 -58
- package/lib/primitives/RadioGroup.d.ts +4 -161
- package/lib/primitives/RangeSlider.d.ts +4 -103
- package/lib/primitives/Rating.d.ts +4 -113
- package/lib/primitives/SegmentedControl.d.ts +4 -94
- package/lib/primitives/Select.d.ts +5 -203
- package/lib/primitives/Slider.d.ts +4 -109
- package/lib/primitives/SplitButton.d.ts +4 -82
- package/lib/primitives/Textarea.d.ts +4 -57
- package/lib/primitives/TimePicker.d.ts +4 -91
- package/lib/primitives/Toggle.d.ts +4 -66
- package/lib/primitives/Tooltip.d.ts +6 -86
- package/lib/primitives/Transition.d.ts +4 -105
- package/lib/primitives/dashboard/MetricCard/CardBack.d.ts +17 -2
- package/lib/primitives/dashboard/MetricCard/CardShell.d.ts +1 -1
- package/lib/primitives/dashboard/MetricCard/EdgeHoverHandle.d.ts +20 -0
- package/lib/primitives/dashboard/MetricCard/GhostPreview.d.ts +24 -0
- package/lib/primitives/dashboard/MetricCard/GutterActions.d.ts +12 -2
- package/lib/primitives/dashboard/MetricCard/MetricCard.d.ts +0 -28
- package/lib/primitives/dashboard/MetricCard/StatusModeCard.d.ts +5 -0
- package/lib/primitives/dashboard/MetricCard/StatusSlotChipMenu.d.ts +28 -0
- package/lib/primitives/dashboard/MetricCard/flipAndStage/FlipAndStageProvider.d.ts +29 -0
- package/lib/primitives/dashboard/MetricCard/flipAndStage/index.d.ts +15 -0
- package/lib/primitives/dashboard/MetricCard/flipAndStage/types.d.ts +83 -0
- package/lib/primitives/dashboard/MetricCard/flipAndStage/useFlipAndStage.d.ts +10 -0
- package/lib/primitives/dashboard/MetricCard/index.d.ts +10 -0
- package/lib/primitives/dashboard/MetricCard/types.d.ts +48 -4
- package/lib/primitives/dashboard/MetricCard/useEdgeHoverResize.d.ts +52 -0
- package/lib/primitives/dashboard/MetricCard/useSlotCapacity.d.ts +12 -0
- package/lib/primitives/dashboard/MetricCardGrid/MetricCardGrid.d.ts +21 -19
- package/lib/primitives/dashboard/MetricCardGrid/types.d.ts +8 -1
- package/lib/primitives/dashboard/MetricGroupContainer/MetricGroupContainer.d.ts +5 -0
- package/lib/primitives/dashboard/MetricGroupContainer/__tests__/fixtures.d.ts +13 -0
- package/lib/primitives/dashboard/MetricGroupContainer/index.d.ts +2 -0
- package/lib/primitives/dashboard/MetricGroupContainer/types.d.ts +34 -0
- package/lib/primitives/dashboard/PageChip/PageChip.d.ts +27 -0
- package/lib/primitives/dashboard/PageChip/PageDropdown.d.ts +29 -0
- package/lib/primitives/dashboard/PageChip/index.d.ts +3 -0
- package/lib/primitives/dashboard/PageChip/types.d.ts +36 -0
- package/lib/primitives/dashboard/TimeFrame/SimpleSelector.d.ts +9 -0
- package/lib/primitives/dashboard/TimeFrame/index.d.ts +2 -0
- package/lib/primitives/dashboard/TimeFrame/types.d.ts +8 -0
- package/lib/primitives/dashboard/UnifiedContextMenu/types.d.ts +2 -0
- package/lib/primitives/dashboard/index.d.ts +2 -0
- package/lib/wrappers/Actionable/Actionable.d.ts +17 -0
- package/lib/wrappers/AsyncLoader/AsyncLoader.d.ts +13 -0
- package/lib/wrappers/ButtonGroup/ButtonGroup.d.ts +23 -0
- package/lib/wrappers/CheckboxGroup/CheckboxGroup.d.ts +52 -0
- package/lib/wrappers/Dismissible/Dismissible.d.ts +24 -0
- package/lib/wrappers/Expandable/Expandable.d.ts +23 -0
- package/lib/wrappers/InputGroup/InputGroup.d.ts +20 -0
- package/lib/wrappers/RadioGroup/RadioGroup.d.ts +52 -0
- package/lib/wrappers/Selectable/Selectable.d.ts +19 -0
- package/lib/wrappers/Sortable/Sortable.d.ts +27 -0
- package/lib/wrappers/SortableZones/SortableZones.d.ts +32 -0
- package/lib/wrappers/SortableZones/index.d.ts +4 -0
- package/lib/wrappers/SortableZones/useSortableZones.d.ts +66 -0
- package/lib/wrappers/Transition/Transition.d.ts +49 -0
- package/lib/wrappers/index.d.ts +25 -0
- package/lib/wrappers/utils.d.ts +10 -0
- package/package.json +36 -2
- package/index.css +0 -1
package/internals.d.ts
ADDED
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @internal
|
|
3
|
+
* Left Side infrastructure -- DO NOT import in application code.
|
|
4
|
+
* For library maintainers and Base/Preset component authors only.
|
|
5
|
+
*
|
|
6
|
+
* Usage: import { Color, Spacing, BaseBox } from '@mt-gloss/ui/internals';
|
|
7
|
+
*/
|
|
8
|
+
export { Color, type ColorValue } from './lib/dictionary/color';
|
|
9
|
+
export { Spacing, type SpacingValue } from './lib/dictionary/spacing';
|
|
10
|
+
export { Typography, type TypographyValue } from './lib/dictionary/typography';
|
|
11
|
+
export { Elevation, type ElevationValue } from './lib/dictionary/elevation';
|
|
12
|
+
export { Radius, type RadiusValue } from './lib/dictionary/radius';
|
|
13
|
+
export { Motion, type MotionValue } from './lib/dictionary/motion';
|
|
14
|
+
export { Breakpoint, type BreakpointValue } from './lib/dictionary/breakpoint';
|
|
15
|
+
export { ZIndex, type ZIndexValue } from './lib/dictionary/z-index';
|
|
16
|
+
export { Opacity, type OpacityValue } from './lib/dictionary/opacity';
|
|
17
|
+
export { Border, type BorderValue } from './lib/dictionary/border';
|
|
18
|
+
export type { AsProp, PolymorphicProps } from './lib/base/types';
|
|
19
|
+
export { BaseBox, type BaseBoxDefinition } from './lib/base/BaseBox/BaseBox';
|
|
20
|
+
export { BaseStack, type BaseStackDefinition } from './lib/base/BaseStack/BaseStack';
|
|
21
|
+
export { BaseDivider, type BaseDividerDefinition } from './lib/base/BaseDivider/BaseDivider';
|
|
22
|
+
export { BaseTypography, type BaseTypographyDefinition } from './lib/base/BaseTypography/BaseTypography';
|
|
23
|
+
export { BaseIcon, type BaseIconDefinition } from './lib/base/BaseIcon/BaseIcon';
|
|
24
|
+
export { BaseOverlay, type BaseOverlayDefinition } from './lib/base/BaseOverlay/BaseOverlay';
|
|
25
|
+
export { BaseTable, BaseTableHead, BaseTableBody, BaseTableRow, BaseTableCell, type BaseTableDefinition, type BaseTableHeadDefinition, type BaseTableRowDefinition, type BaseTableCellDefinition, } from './lib/base/BaseTable/BaseTable';
|
|
26
|
+
export { BaseButton, type BaseButtonDefinition } from './lib/base/BaseButton/BaseButton';
|
|
27
|
+
export { BaseInput, type BaseInputDefinition } from './lib/base/BaseInput/BaseInput';
|
|
28
|
+
export { BaseTextarea, type BaseTextareaDefinition } from './lib/base/BaseTextarea/BaseTextarea';
|
|
29
|
+
export { BaseCheckbox, type BaseCheckboxDefinition } from './lib/base/BaseCheckbox/BaseCheckbox';
|
|
30
|
+
export { BaseRadio, type BaseRadioDefinition } from './lib/base/BaseRadio/BaseRadio';
|
|
31
|
+
export { BaseToggle, type BaseToggleDefinition } from './lib/base/BaseToggle/BaseToggle';
|
|
32
|
+
export { BaseSelect, BaseSelectTrigger, BaseSelectDropdown, BaseSelectOption, BaseSelectGroup, type BaseSelectDefinition, type BaseSelectDropdownDefinition, } from './lib/base/BaseSelect/BaseSelect';
|
|
33
|
+
export { BaseSlider, type BaseSliderDefinition } from './lib/base/BaseSlider/BaseSlider';
|
|
34
|
+
export { BaseCard, BaseCardHeader, BaseCardBody, BaseCardFooter, BaseCardMedia, BaseCardTitle, BaseCardSubtitle, BaseCardActions, type BaseCardDefinition, type BaseCardHeaderDefinition, type BaseCardBodyDefinition, type BaseCardFooterDefinition, } from './lib/base/BaseCard/BaseCard';
|
|
35
|
+
export { BaseAccordion, BaseAccordionItem, BaseAccordionTrigger, BaseAccordionContent, type BaseAccordionDefinition, } from './lib/base/BaseAccordion/BaseAccordion';
|
|
36
|
+
export { BaseMenu, BaseMenuGroup, BaseMenuItem, BaseMenuDivider, type BaseMenuDefinition, type BaseMenuItemDefinition, } from './lib/base/BaseMenu/BaseMenu';
|
|
37
|
+
export { BaseTooltip, type BaseTooltipDefinition } from './lib/base/BaseTooltip/BaseTooltip';
|
|
38
|
+
export { BaseRating, type BaseRatingDefinition } from './lib/base/BaseRating/BaseRating';
|
|
39
|
+
export { BaseSegmentedControl, type BaseSegmentedControlDefinition } from './lib/base/BaseSegmentedControl/BaseSegmentedControl';
|
|
40
|
+
export { BaseDatePicker, BaseDatePickerHeader, BaseDatePickerCalendar, BaseDatePickerDay, type BaseDatePickerDefinition, type BaseDatePickerDayDefinition, } from './lib/base/BaseDatePicker/BaseDatePicker';
|
|
41
|
+
export { BaseTimePicker, BaseTimePickerColumn, BaseTimePickerCell, type BaseTimePickerDefinition, } from './lib/base/BaseTimePicker/BaseTimePicker';
|
|
42
|
+
export { BaseDateRangePicker, BaseDateRangePickerDay, type BaseDateRangePickerDefinition, } from './lib/base/BaseDateRangePicker/BaseDateRangePicker';
|
|
43
|
+
export { BaseNumberInput, type BaseNumberInputDefinition } from './lib/base/BaseNumberInput/BaseNumberInput';
|
|
44
|
+
export { BaseMaskedInput, type BaseMaskedInputDefinition } from './lib/base/BaseMaskedInput/BaseMaskedInput';
|
|
45
|
+
export { BaseFileUpload, BaseFileUploadList, BaseFileUploadItem, type BaseFileUploadDefinition, } from './lib/base/BaseFileUpload/BaseFileUpload';
|
|
46
|
+
export { BaseColorPicker, BaseColorPickerSaturation, BaseColorPickerHue, BaseColorPickerAlpha, BaseColorPickerSwatch, type BaseColorPickerDefinition, } from './lib/base/BaseColorPicker/BaseColorPicker';
|
|
47
|
+
export { BaseRangeSlider, type BaseRangeSliderDefinition } from './lib/base/BaseRangeSlider/BaseRangeSlider';
|
|
48
|
+
export { BaseText, type BaseTextDefinition } from './lib/base/BaseText/BaseText';
|
|
49
|
+
export { BaseTitle, type BaseTitleDefinition } from './lib/base/BaseTitle/BaseTitle';
|
|
50
|
+
export { BaseLabel, type BaseLabelDefinition } from './lib/base/BaseLabel/BaseLabel';
|
|
51
|
+
export { BaseValue, type BaseValueDefinition } from './lib/base/BaseValue/BaseValue';
|
|
52
|
+
export { BaseDialog, BaseDialogHeader, BaseDialogBody, BaseDialogActions, type BaseDialogDefinition, } from './lib/base/BaseDialog/BaseDialog';
|
|
53
|
+
export { BasePopover, type BasePopoverDefinition } from './lib/base/BasePopover/BasePopover';
|
|
54
|
+
export { BaseToast, type BaseToastDefinition } from './lib/base/BaseToast/BaseToast';
|
|
55
|
+
export { BaseAlert, type BaseAlertDefinition } from './lib/base/BaseAlert/BaseAlert';
|
|
56
|
+
export { BaseAvatar, type BaseAvatarDefinition } from './lib/base/BaseAvatar/BaseAvatar';
|
|
57
|
+
export { BaseProgressBar, type BaseProgressBarDefinition } from './lib/base/BaseProgressBar/BaseProgressBar';
|
|
58
|
+
export { BaseBreadcrumbs, type BaseBreadcrumbsDefinition } from './lib/base/BaseBreadcrumbs/BaseBreadcrumbs';
|
|
59
|
+
export { BaseAsyncButton, type BaseAsyncButtonDefinition } from './lib/base/BaseAsyncButton/BaseAsyncButton';
|
|
60
|
+
export { BaseBadge, type BaseBadgeDefinition } from './lib/base/BaseBadge/BaseBadge';
|
|
61
|
+
export { BaseChip, type BaseChipDefinition } from './lib/base/BaseChip/BaseChip';
|
|
62
|
+
export { BaseLink, type BaseLinkDefinition } from './lib/base/BaseLink/BaseLink';
|
|
63
|
+
export { UIContext, UIContextProvider, useUIContext } from './lib/containers/UIContext';
|
|
64
|
+
export type { UIContextValue, UIRegion, UIDensity } from './lib/containers/UIContext';
|
package/internals.js
ADDED
|
@@ -0,0 +1,279 @@
|
|
|
1
|
+
import { b as B } from "./UIContext-CEp38xw-.js";
|
|
2
|
+
import { F as A, I, G as H, H as M, ad as $, af as R, c as E, h as F, t as O, D as U, w as z, x as W, v as L, y as j, A as G, z as V, k as X, ag as Z, a6 as q, a9 as J, a8 as K, a7 as Q, aa as Y, Q as aa, V as sa, W as ea, T as oa, $ as ta, a0 as la, e as ra, a3 as ia, a5 as da, a4 as na, g as ca, i as Ba, ah as ga, a2 as ba, J as ma, M as ua, K as pa, L as ya, a1 as ha, B as _a, ae as fa, l as va, ab as Ca, O as ka, P as Ta, n as Da, p as wa, r as xa, q as Sa, o as Na, s as Pa, d as Aa, ac as Ia, j as Ha, X as Ma, _ as $a, Y as Ra, m as Ea, N as Fa, f as Oa, C as Ua, E as za, R as Wa, S as La, a as ja, U as Ga, Z as Va, u as Xa } from "./UIContext-CEp38xw-.js";
|
|
3
|
+
import { d as qa, f as Ja, e as Ka, a as Qa, B as Ya, c as as, b as ss, T as es } from "./BaseAsyncButton-XBXVlXMl.js";
|
|
4
|
+
import { jsx as d, jsxs as g, Fragment as b } from "react/jsx-runtime";
|
|
5
|
+
const D = {
|
|
6
|
+
DurationFast: "var(--gloss-motion-duration-fast)",
|
|
7
|
+
DurationNormal: "var(--gloss-motion-duration-normal)",
|
|
8
|
+
DurationSlow: "var(--gloss-motion-duration-slow)",
|
|
9
|
+
EasingDefault: "var(--gloss-motion-easing-default)",
|
|
10
|
+
EasingEnter: "var(--gloss-motion-easing-enter)",
|
|
11
|
+
EasingExit: "var(--gloss-motion-easing-exit)"
|
|
12
|
+
}, w = {
|
|
13
|
+
Sm: "var(--gloss-breakpoint-sm)",
|
|
14
|
+
Md: "var(--gloss-breakpoint-md)",
|
|
15
|
+
Lg: "var(--gloss-breakpoint-lg)",
|
|
16
|
+
Xl: "var(--gloss-breakpoint-xl)",
|
|
17
|
+
"2xl": "var(--gloss-breakpoint-2xl)"
|
|
18
|
+
}, x = {
|
|
19
|
+
Disabled: "var(--gloss-opacity-disabled)",
|
|
20
|
+
Hover: "var(--gloss-opacity-hover)",
|
|
21
|
+
Focus: "var(--gloss-opacity-focus)",
|
|
22
|
+
Overlay: "var(--gloss-opacity-overlay)"
|
|
23
|
+
}, S = {
|
|
24
|
+
WidthThin: "var(--gloss-border-width-thin)",
|
|
25
|
+
WidthMedium: "var(--gloss-border-width-medium)",
|
|
26
|
+
WidthThick: "var(--gloss-border-width-thick)",
|
|
27
|
+
StyleDefault: "var(--gloss-border-style-default)"
|
|
28
|
+
};
|
|
29
|
+
function m(s) {
|
|
30
|
+
const { as: e, definition: a, className: t, style: l, children: r, ...n } = s, i = e || "table", o = { ...l };
|
|
31
|
+
a?.width && (o["--_width"] = a.width);
|
|
32
|
+
const c = {};
|
|
33
|
+
return a?.borderCollapse && (c["data-border-collapse"] = a.borderCollapse), a?.layout && (c["data-layout"] = a.layout), /* @__PURE__ */ d(
|
|
34
|
+
i,
|
|
35
|
+
{
|
|
36
|
+
className: t ? `gloss-base-table ${t}` : "gloss-base-table",
|
|
37
|
+
style: o,
|
|
38
|
+
...c,
|
|
39
|
+
...n,
|
|
40
|
+
children: r
|
|
41
|
+
}
|
|
42
|
+
);
|
|
43
|
+
}
|
|
44
|
+
m.displayName = "BaseTable";
|
|
45
|
+
function u(s) {
|
|
46
|
+
const { as: e, definition: a, className: t, style: l, children: r, ...n } = s, i = e || "thead", o = { ...l };
|
|
47
|
+
return a?.bg && (o["--_bg"] = a.bg), a?.borderBottom && (o["--_border-bottom"] = a.borderBottom), /* @__PURE__ */ d(
|
|
48
|
+
i,
|
|
49
|
+
{
|
|
50
|
+
className: t ? `gloss-base-table__head ${t}` : "gloss-base-table__head",
|
|
51
|
+
style: o,
|
|
52
|
+
...n,
|
|
53
|
+
children: r
|
|
54
|
+
}
|
|
55
|
+
);
|
|
56
|
+
}
|
|
57
|
+
u.displayName = "BaseTableHead";
|
|
58
|
+
function p(s) {
|
|
59
|
+
const { as: e, className: a, style: t, children: l, ...r } = s;
|
|
60
|
+
return /* @__PURE__ */ d(
|
|
61
|
+
e || "tbody",
|
|
62
|
+
{
|
|
63
|
+
className: a ? `gloss-base-table__body ${a}` : "gloss-base-table__body",
|
|
64
|
+
style: t,
|
|
65
|
+
...r,
|
|
66
|
+
children: l
|
|
67
|
+
}
|
|
68
|
+
);
|
|
69
|
+
}
|
|
70
|
+
p.displayName = "BaseTableBody";
|
|
71
|
+
function y(s) {
|
|
72
|
+
const { as: e, definition: a, className: t, style: l, children: r, ...n } = s, i = e || "tr", o = { ...l };
|
|
73
|
+
return a?.hoverBg && (o["--_hover-bg"] = a.hoverBg), a?.borderBottom && (o["--_border-bottom"] = a.borderBottom), /* @__PURE__ */ d(
|
|
74
|
+
i,
|
|
75
|
+
{
|
|
76
|
+
className: t ? `gloss-base-table__row ${t}` : "gloss-base-table__row",
|
|
77
|
+
style: o,
|
|
78
|
+
...n,
|
|
79
|
+
children: r
|
|
80
|
+
}
|
|
81
|
+
);
|
|
82
|
+
}
|
|
83
|
+
y.displayName = "BaseTableRow";
|
|
84
|
+
function h(s) {
|
|
85
|
+
const { as: e, definition: a, className: t, style: l, children: r, ...n } = s, i = e || "td", o = { ...l };
|
|
86
|
+
a?.padding && (o["--_padding"] = a.padding), a?.width && (o["--_width"] = a.width), a?.fontSize && (o["--_font-size"] = a.fontSize), a?.fontWeight && (o["--_font-weight"] = a.fontWeight), a?.color && (o["--_color"] = a.color);
|
|
87
|
+
const c = {};
|
|
88
|
+
return a?.align && (c["data-align"] = a.align), a?.truncate && (c["data-truncate"] = ""), /* @__PURE__ */ d(
|
|
89
|
+
i,
|
|
90
|
+
{
|
|
91
|
+
className: t ? `gloss-base-table__cell ${t}` : "gloss-base-table__cell",
|
|
92
|
+
style: o,
|
|
93
|
+
...c,
|
|
94
|
+
...n,
|
|
95
|
+
children: r
|
|
96
|
+
}
|
|
97
|
+
);
|
|
98
|
+
}
|
|
99
|
+
h.displayName = "BaseTableCell";
|
|
100
|
+
function _({
|
|
101
|
+
definition: s,
|
|
102
|
+
open: e,
|
|
103
|
+
onDismiss: a,
|
|
104
|
+
className: t,
|
|
105
|
+
style: l,
|
|
106
|
+
children: r
|
|
107
|
+
}) {
|
|
108
|
+
const n = {
|
|
109
|
+
portal: !0,
|
|
110
|
+
dismissOnClickOutside: !0,
|
|
111
|
+
dismissOnEscape: !0,
|
|
112
|
+
role: "dialog",
|
|
113
|
+
bg: s?.bg,
|
|
114
|
+
shadow: s?.shadow,
|
|
115
|
+
radius: s?.radius,
|
|
116
|
+
padding: s?.padding,
|
|
117
|
+
zIndex: s?.zIndex
|
|
118
|
+
}, i = { ...l };
|
|
119
|
+
return s?.width && (i["--_width"] = s.width), s?.maxHeight && (i["--_max-height"] = s.maxHeight), /* @__PURE__ */ g(b, { children: [
|
|
120
|
+
e && /* @__PURE__ */ d("div", { className: "gloss-base-dialog__backdrop" }),
|
|
121
|
+
/* @__PURE__ */ d(
|
|
122
|
+
B,
|
|
123
|
+
{
|
|
124
|
+
definition: n,
|
|
125
|
+
open: e,
|
|
126
|
+
onDismiss: a,
|
|
127
|
+
children: /* @__PURE__ */ d(
|
|
128
|
+
"div",
|
|
129
|
+
{
|
|
130
|
+
className: t ? `gloss-base-dialog ${t}` : "gloss-base-dialog",
|
|
131
|
+
style: i,
|
|
132
|
+
children: r
|
|
133
|
+
}
|
|
134
|
+
)
|
|
135
|
+
}
|
|
136
|
+
)
|
|
137
|
+
] });
|
|
138
|
+
}
|
|
139
|
+
_.displayName = "BaseDialog";
|
|
140
|
+
function f({
|
|
141
|
+
children: s,
|
|
142
|
+
className: e,
|
|
143
|
+
...a
|
|
144
|
+
}) {
|
|
145
|
+
return /* @__PURE__ */ d(
|
|
146
|
+
"div",
|
|
147
|
+
{
|
|
148
|
+
className: e ? `gloss-base-dialog__header ${e}` : "gloss-base-dialog__header",
|
|
149
|
+
...a,
|
|
150
|
+
children: s
|
|
151
|
+
}
|
|
152
|
+
);
|
|
153
|
+
}
|
|
154
|
+
f.displayName = "BaseDialogHeader";
|
|
155
|
+
function v({
|
|
156
|
+
children: s,
|
|
157
|
+
className: e,
|
|
158
|
+
...a
|
|
159
|
+
}) {
|
|
160
|
+
return /* @__PURE__ */ d(
|
|
161
|
+
"div",
|
|
162
|
+
{
|
|
163
|
+
className: e ? `gloss-base-dialog__body ${e}` : "gloss-base-dialog__body",
|
|
164
|
+
...a,
|
|
165
|
+
children: s
|
|
166
|
+
}
|
|
167
|
+
);
|
|
168
|
+
}
|
|
169
|
+
v.displayName = "BaseDialogBody";
|
|
170
|
+
function C({
|
|
171
|
+
children: s,
|
|
172
|
+
className: e,
|
|
173
|
+
...a
|
|
174
|
+
}) {
|
|
175
|
+
return /* @__PURE__ */ d(
|
|
176
|
+
"div",
|
|
177
|
+
{
|
|
178
|
+
className: e ? `gloss-base-dialog__actions ${e}` : "gloss-base-dialog__actions",
|
|
179
|
+
...a,
|
|
180
|
+
children: s
|
|
181
|
+
}
|
|
182
|
+
);
|
|
183
|
+
}
|
|
184
|
+
C.displayName = "BaseDialogActions";
|
|
185
|
+
export {
|
|
186
|
+
A as BaseAccordion,
|
|
187
|
+
I as BaseAccordionContent,
|
|
188
|
+
H as BaseAccordionItem,
|
|
189
|
+
M as BaseAccordionTrigger,
|
|
190
|
+
qa as BaseAlert,
|
|
191
|
+
Ja as BaseAsyncButton,
|
|
192
|
+
$ as BaseAvatar,
|
|
193
|
+
R as BaseBadge,
|
|
194
|
+
E as BaseBox,
|
|
195
|
+
Ka as BaseBreadcrumbs,
|
|
196
|
+
F as BaseButton,
|
|
197
|
+
O as BaseCard,
|
|
198
|
+
U as BaseCardActions,
|
|
199
|
+
z as BaseCardBody,
|
|
200
|
+
W as BaseCardFooter,
|
|
201
|
+
L as BaseCardHeader,
|
|
202
|
+
j as BaseCardMedia,
|
|
203
|
+
G as BaseCardSubtitle,
|
|
204
|
+
V as BaseCardTitle,
|
|
205
|
+
X as BaseCheckbox,
|
|
206
|
+
Z as BaseChip,
|
|
207
|
+
q as BaseColorPicker,
|
|
208
|
+
J as BaseColorPickerAlpha,
|
|
209
|
+
K as BaseColorPickerHue,
|
|
210
|
+
Q as BaseColorPickerSaturation,
|
|
211
|
+
Y as BaseColorPickerSwatch,
|
|
212
|
+
aa as BaseDatePicker,
|
|
213
|
+
sa as BaseDatePickerCalendar,
|
|
214
|
+
ea as BaseDatePickerDay,
|
|
215
|
+
oa as BaseDatePickerHeader,
|
|
216
|
+
ta as BaseDateRangePicker,
|
|
217
|
+
la as BaseDateRangePickerDay,
|
|
218
|
+
_ as BaseDialog,
|
|
219
|
+
C as BaseDialogActions,
|
|
220
|
+
v as BaseDialogBody,
|
|
221
|
+
f as BaseDialogHeader,
|
|
222
|
+
ra as BaseDivider,
|
|
223
|
+
ia as BaseFileUpload,
|
|
224
|
+
da as BaseFileUploadItem,
|
|
225
|
+
na as BaseFileUploadList,
|
|
226
|
+
ca as BaseIcon,
|
|
227
|
+
Ba as BaseInput,
|
|
228
|
+
Qa as BaseLabel,
|
|
229
|
+
ga as BaseLink,
|
|
230
|
+
ba as BaseMaskedInput,
|
|
231
|
+
ma as BaseMenu,
|
|
232
|
+
ua as BaseMenuDivider,
|
|
233
|
+
pa as BaseMenuGroup,
|
|
234
|
+
ya as BaseMenuItem,
|
|
235
|
+
ha as BaseNumberInput,
|
|
236
|
+
B as BaseOverlay,
|
|
237
|
+
_a as BasePopover,
|
|
238
|
+
fa as BaseProgressBar,
|
|
239
|
+
va as BaseRadio,
|
|
240
|
+
Ca as BaseRangeSlider,
|
|
241
|
+
ka as BaseRating,
|
|
242
|
+
Ta as BaseSegmentedControl,
|
|
243
|
+
Da as BaseSelect,
|
|
244
|
+
wa as BaseSelectDropdown,
|
|
245
|
+
xa as BaseSelectGroup,
|
|
246
|
+
Sa as BaseSelectOption,
|
|
247
|
+
Na as BaseSelectTrigger,
|
|
248
|
+
Pa as BaseSlider,
|
|
249
|
+
Aa as BaseStack,
|
|
250
|
+
m as BaseTable,
|
|
251
|
+
p as BaseTableBody,
|
|
252
|
+
h as BaseTableCell,
|
|
253
|
+
u as BaseTableHead,
|
|
254
|
+
y as BaseTableRow,
|
|
255
|
+
Ia as BaseText,
|
|
256
|
+
Ha as BaseTextarea,
|
|
257
|
+
Ma as BaseTimePicker,
|
|
258
|
+
$a as BaseTimePickerCell,
|
|
259
|
+
Ra as BaseTimePickerColumn,
|
|
260
|
+
Ya as BaseTitle,
|
|
261
|
+
as as BaseToast,
|
|
262
|
+
Ea as BaseToggle,
|
|
263
|
+
Fa as BaseTooltip,
|
|
264
|
+
Oa as BaseTypography,
|
|
265
|
+
ss as BaseValue,
|
|
266
|
+
S as Border,
|
|
267
|
+
w as Breakpoint,
|
|
268
|
+
Ua as Color,
|
|
269
|
+
za as Elevation,
|
|
270
|
+
D as Motion,
|
|
271
|
+
x as Opacity,
|
|
272
|
+
Wa as Radius,
|
|
273
|
+
La as Spacing,
|
|
274
|
+
es as Typography,
|
|
275
|
+
ja as UIContext,
|
|
276
|
+
Ga as UIContextProvider,
|
|
277
|
+
Va as ZIndex,
|
|
278
|
+
Xa as useUIContext
|
|
279
|
+
};
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { ColorValue } from '../../dictionary/color';
|
|
3
|
+
import { RadiusValue } from '../../dictionary/radius';
|
|
4
|
+
import { SpacingValue } from '../../dictionary/spacing';
|
|
5
|
+
export interface BaseAccordionDefinition {
|
|
6
|
+
borderColor?: ColorValue | string;
|
|
7
|
+
radius?: RadiusValue | string;
|
|
8
|
+
gap?: SpacingValue | string;
|
|
9
|
+
}
|
|
10
|
+
interface BaseAccordionProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'className' | 'style'> {
|
|
11
|
+
definition?: BaseAccordionDefinition;
|
|
12
|
+
className?: string;
|
|
13
|
+
style?: React.CSSProperties;
|
|
14
|
+
children?: React.ReactNode;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* @internal
|
|
18
|
+
* Structural accordion container with border and layout definitions.
|
|
19
|
+
*/
|
|
20
|
+
export declare const BaseAccordion: React.ForwardRefExoticComponent<BaseAccordionProps & React.RefAttributes<HTMLDivElement>>;
|
|
21
|
+
interface BaseAccordionItemProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'className' | 'style'> {
|
|
22
|
+
className?: string;
|
|
23
|
+
style?: React.CSSProperties;
|
|
24
|
+
children?: React.ReactNode;
|
|
25
|
+
open?: boolean;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* @internal
|
|
29
|
+
* Structural accordion item wrapper.
|
|
30
|
+
*/
|
|
31
|
+
export declare const BaseAccordionItem: React.ForwardRefExoticComponent<BaseAccordionItemProps & React.RefAttributes<HTMLDivElement>>;
|
|
32
|
+
interface BaseAccordionTriggerProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
33
|
+
className?: string;
|
|
34
|
+
children?: React.ReactNode;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* @internal
|
|
38
|
+
* Structural accordion trigger button.
|
|
39
|
+
*/
|
|
40
|
+
export declare const BaseAccordionTrigger: React.ForwardRefExoticComponent<BaseAccordionTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
41
|
+
interface BaseAccordionContentProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'className' | 'style'> {
|
|
42
|
+
className?: string;
|
|
43
|
+
style?: React.CSSProperties;
|
|
44
|
+
children?: React.ReactNode;
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* @internal
|
|
48
|
+
* Structural accordion content panel.
|
|
49
|
+
*/
|
|
50
|
+
export declare const BaseAccordionContent: React.ForwardRefExoticComponent<BaseAccordionContentProps & React.RefAttributes<HTMLDivElement>>;
|
|
51
|
+
export {};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { ColorValue } from '../../dictionary/color';
|
|
3
|
+
import { SpacingValue } from '../../dictionary/spacing';
|
|
4
|
+
import { RadiusValue } from '../../dictionary/radius';
|
|
5
|
+
export interface BaseAlertDefinition {
|
|
6
|
+
bg?: ColorValue | string;
|
|
7
|
+
borderColor?: ColorValue | string;
|
|
8
|
+
color?: ColorValue | string;
|
|
9
|
+
padding?: SpacingValue | string;
|
|
10
|
+
radius?: RadiusValue | string;
|
|
11
|
+
iconColor?: ColorValue | string;
|
|
12
|
+
}
|
|
13
|
+
interface BaseAlertProps {
|
|
14
|
+
definition?: BaseAlertDefinition;
|
|
15
|
+
className?: string;
|
|
16
|
+
style?: React.CSSProperties;
|
|
17
|
+
role?: string;
|
|
18
|
+
children?: React.ReactNode;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* @internal
|
|
22
|
+
* Structural alert chassis with definition-driven CSS custom properties.
|
|
23
|
+
*/
|
|
24
|
+
export declare function BaseAlert(props: BaseAlertProps & Omit<React.HTMLAttributes<HTMLDivElement>, keyof BaseAlertProps>): import("react/jsx-runtime").JSX.Element;
|
|
25
|
+
export declare namespace BaseAlert {
|
|
26
|
+
var displayName: string;
|
|
27
|
+
}
|
|
28
|
+
export {};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { BaseButtonDefinition } from '../BaseButton/BaseButton';
|
|
3
|
+
import { PolymorphicProps } from '../types';
|
|
4
|
+
export type BaseAsyncButtonDefinition = BaseButtonDefinition;
|
|
5
|
+
interface BaseAsyncButtonProps {
|
|
6
|
+
definition?: BaseAsyncButtonDefinition;
|
|
7
|
+
loading?: boolean;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
className?: string;
|
|
10
|
+
style?: React.CSSProperties;
|
|
11
|
+
children?: React.ReactNode;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* @internal
|
|
15
|
+
* Async button chassis -- extends BaseButton with loading spinner overlay.
|
|
16
|
+
* When loading, children are visually hidden (preserving size) and a spinner appears.
|
|
17
|
+
*/
|
|
18
|
+
export declare function BaseAsyncButton<C extends React.ElementType = 'button'>(props: PolymorphicProps<C, BaseAsyncButtonProps>): import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
export declare namespace BaseAsyncButton {
|
|
20
|
+
var displayName: string;
|
|
21
|
+
}
|
|
22
|
+
export {};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { ColorValue } from '../../dictionary/color';
|
|
3
|
+
import { RadiusValue } from '../../dictionary/radius';
|
|
4
|
+
export interface BaseAvatarDefinition {
|
|
5
|
+
size?: string;
|
|
6
|
+
bg?: ColorValue | string;
|
|
7
|
+
color?: ColorValue | string;
|
|
8
|
+
fontSize?: string;
|
|
9
|
+
radius?: RadiusValue | string;
|
|
10
|
+
}
|
|
11
|
+
interface BaseAvatarProps {
|
|
12
|
+
definition?: BaseAvatarDefinition;
|
|
13
|
+
src?: string;
|
|
14
|
+
alt?: string;
|
|
15
|
+
className?: string;
|
|
16
|
+
style?: React.CSSProperties;
|
|
17
|
+
children?: React.ReactNode;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* @internal
|
|
21
|
+
* Structural avatar chassis with definition-driven CSS custom properties.
|
|
22
|
+
* Renders image or children (initials/icon) with error fallback.
|
|
23
|
+
*/
|
|
24
|
+
export declare function BaseAvatar(props: BaseAvatarProps & Omit<React.HTMLAttributes<HTMLDivElement>, keyof BaseAvatarProps>): import("react/jsx-runtime").JSX.Element;
|
|
25
|
+
export declare namespace BaseAvatar {
|
|
26
|
+
var displayName: string;
|
|
27
|
+
}
|
|
28
|
+
export {};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { PolymorphicProps } from '../types';
|
|
3
|
+
import { ColorValue } from '../../dictionary/color';
|
|
4
|
+
import { SpacingValue } from '../../dictionary/spacing';
|
|
5
|
+
import { RadiusValue } from '../../dictionary/radius';
|
|
6
|
+
export interface BaseBadgeDefinition {
|
|
7
|
+
bg?: ColorValue | string;
|
|
8
|
+
color?: ColorValue | string;
|
|
9
|
+
padding?: SpacingValue | string;
|
|
10
|
+
paddingX?: SpacingValue | string;
|
|
11
|
+
radius?: RadiusValue | string;
|
|
12
|
+
fontSize?: string;
|
|
13
|
+
fontWeight?: string;
|
|
14
|
+
}
|
|
15
|
+
interface BaseBadgeProps {
|
|
16
|
+
definition?: BaseBadgeDefinition;
|
|
17
|
+
className?: string;
|
|
18
|
+
style?: React.CSSProperties;
|
|
19
|
+
dot?: boolean;
|
|
20
|
+
children?: React.ReactNode;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* @internal
|
|
24
|
+
* Structural badge chassis with definition-driven CSS custom properties.
|
|
25
|
+
* No colors, no sizes -- those belong in the Preset layer.
|
|
26
|
+
*/
|
|
27
|
+
export declare function BaseBadge<C extends React.ElementType = 'span'>(props: PolymorphicProps<C, BaseBadgeProps>): import("react/jsx-runtime").JSX.Element;
|
|
28
|
+
export declare namespace BaseBadge {
|
|
29
|
+
var displayName: string;
|
|
30
|
+
}
|
|
31
|
+
export {};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { PolymorphicProps } from '../types';
|
|
3
|
+
import { SpacingValue } from '../../dictionary/spacing';
|
|
4
|
+
import { ColorValue } from '../../dictionary/color';
|
|
5
|
+
import { RadiusValue } from '../../dictionary/radius';
|
|
6
|
+
export interface BaseBoxDefinition {
|
|
7
|
+
padding?: SpacingValue | string;
|
|
8
|
+
paddingX?: SpacingValue | string;
|
|
9
|
+
paddingY?: SpacingValue | string;
|
|
10
|
+
margin?: SpacingValue | string;
|
|
11
|
+
gap?: SpacingValue | string;
|
|
12
|
+
bg?: ColorValue | string;
|
|
13
|
+
border?: string;
|
|
14
|
+
radius?: RadiusValue | string;
|
|
15
|
+
display?: 'flex' | 'grid' | 'block' | 'inline-flex';
|
|
16
|
+
direction?: 'row' | 'column';
|
|
17
|
+
align?: 'center' | 'start' | 'end' | 'stretch' | 'baseline';
|
|
18
|
+
justify?: 'center' | 'start' | 'end' | 'between' | 'around';
|
|
19
|
+
wrap?: boolean;
|
|
20
|
+
}
|
|
21
|
+
interface BaseBoxProps {
|
|
22
|
+
definition?: BaseBoxDefinition;
|
|
23
|
+
className?: string;
|
|
24
|
+
style?: React.CSSProperties;
|
|
25
|
+
children?: React.ReactNode;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* @internal
|
|
29
|
+
* Layout primitive with Dictionary-driven spacing, background, and flex layout.
|
|
30
|
+
*/
|
|
31
|
+
export declare function BaseBox<C extends React.ElementType = 'div'>(props: PolymorphicProps<C, BaseBoxProps>): import("react/jsx-runtime").JSX.Element;
|
|
32
|
+
export declare namespace BaseBox {
|
|
33
|
+
var displayName: string;
|
|
34
|
+
}
|
|
35
|
+
export {};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { ColorValue } from '../../dictionary/color';
|
|
3
|
+
import { SpacingValue } from '../../dictionary/spacing';
|
|
4
|
+
export interface BaseBreadcrumbsDefinition {
|
|
5
|
+
separator?: string;
|
|
6
|
+
gap?: SpacingValue | string;
|
|
7
|
+
color?: ColorValue | string;
|
|
8
|
+
fontSize?: string;
|
|
9
|
+
}
|
|
10
|
+
interface BaseBreadcrumbsProps {
|
|
11
|
+
definition?: BaseBreadcrumbsDefinition;
|
|
12
|
+
separator?: React.ReactNode;
|
|
13
|
+
className?: string;
|
|
14
|
+
style?: React.CSSProperties;
|
|
15
|
+
children?: React.ReactNode;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @internal
|
|
19
|
+
* Structural breadcrumb chassis with definition-driven CSS custom properties.
|
|
20
|
+
* Renders semantic nav/ol with separator between items.
|
|
21
|
+
*/
|
|
22
|
+
export declare function BaseBreadcrumbs(props: BaseBreadcrumbsProps): import("react/jsx-runtime").JSX.Element;
|
|
23
|
+
export declare namespace BaseBreadcrumbs {
|
|
24
|
+
var displayName: string;
|
|
25
|
+
}
|
|
26
|
+
export {};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { PolymorphicProps } from '../types';
|
|
3
|
+
import { ColorValue } from '../../dictionary/color';
|
|
4
|
+
import { SpacingValue } from '../../dictionary/spacing';
|
|
5
|
+
import { RadiusValue } from '../../dictionary/radius';
|
|
6
|
+
import { ElevationValue } from '../../dictionary/elevation';
|
|
7
|
+
export interface BaseButtonDefinition {
|
|
8
|
+
bg?: ColorValue | string;
|
|
9
|
+
color?: ColorValue | string;
|
|
10
|
+
borderColor?: ColorValue | string;
|
|
11
|
+
padding?: SpacingValue | string;
|
|
12
|
+
paddingX?: SpacingValue | string;
|
|
13
|
+
radius?: RadiusValue | string;
|
|
14
|
+
elevation?: ElevationValue | string;
|
|
15
|
+
fontSize?: string;
|
|
16
|
+
fontWeight?: string;
|
|
17
|
+
minHeight?: string;
|
|
18
|
+
gap?: SpacingValue | string;
|
|
19
|
+
display?: 'inline-flex' | 'flex';
|
|
20
|
+
}
|
|
21
|
+
interface BaseButtonProps {
|
|
22
|
+
definition?: BaseButtonDefinition;
|
|
23
|
+
className?: string;
|
|
24
|
+
style?: React.CSSProperties;
|
|
25
|
+
children?: React.ReactNode;
|
|
26
|
+
disabled?: boolean;
|
|
27
|
+
loading?: boolean;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* @internal
|
|
31
|
+
* Structural button chassis with definition-driven CSS custom properties.
|
|
32
|
+
* No colors, no hover effects -- those belong in the Preset layer.
|
|
33
|
+
*/
|
|
34
|
+
export declare function BaseButton<C extends React.ElementType = 'button'>(props: PolymorphicProps<C, BaseButtonProps>): import("react/jsx-runtime").JSX.Element;
|
|
35
|
+
export declare namespace BaseButton {
|
|
36
|
+
var displayName: string;
|
|
37
|
+
}
|
|
38
|
+
export {};
|