origam 2.5.0 → 2.6.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/src/assets/css/tokens/dark.css +3788 -3768
- package/dist/src/assets/css/tokens/light.css +1894 -1884
- package/dist/src/assets/css/tokens/primitive.css +2 -0
- package/dist/src/assets/css/tokens/themes-all.css +44226 -0
- package/dist/src/assets/locales/en.json +34 -2
- package/dist/src/assets/locales/fr.json +34 -2
- package/dist/src/assets/scss/tokens/_dark.scss +1894 -1884
- package/dist/src/assets/scss/tokens/_light.scss +1894 -1884
- package/dist/src/assets/scss/tokens/_primitive.scss +2 -0
- package/dist/src/assets/scss/tokens/_themes-all.scss +44241 -0
- package/dist/src/components/Alert/OrigamAlert.vue +16 -21
- package/dist/src/components/App/OrigamApp.vue +7 -38
- package/dist/src/components/App/OrigamAppBar.vue +35 -17
- package/dist/src/components/Audio/OrigamAudio.vue +77 -6
- package/dist/src/components/Avatar/OrigamAvatar.vue +11 -9
- package/dist/src/components/Avatar/OrigamAvatarGroup.vue +26 -8
- package/dist/src/components/Badge/OrigamBadge.vue +13 -3
- package/dist/src/components/Blockquote/OrigamBlockquote.vue +137 -13
- package/dist/src/components/BottomNav/OrigamBottomNav.vue +34 -4
- package/dist/src/components/Bracket/OrigamBracket.vue +386 -64
- package/dist/src/components/Bracket/OrigamBracketCompetitor.vue +190 -13
- package/dist/src/components/Bracket/OrigamBracketMatch.vue +197 -42
- package/dist/src/components/Bracket/OrigamBracketRound.vue +11 -3
- package/dist/src/components/Breadcrumb/OrigamBreadcrumb.vue +14 -12
- package/dist/src/components/Breadcrumb/OrigamBreadcrumbDivider.vue +4 -1
- package/dist/src/components/Breadcrumb/OrigamBreadcrumbItem.vue +3 -5
- package/dist/src/components/Btn/OrigamBtn.vue +69 -30
- package/dist/src/components/Btn/OrigamBtnGroup.vue +33 -7
- package/dist/src/components/Btn/OrigamBtnToggle.vue +4 -7
- package/dist/src/components/Calendar/OrigamCalendar.vue +785 -658
- package/dist/src/components/Card/OrigamCard.vue +24 -3
- package/dist/src/components/Card/OrigamCardHeader.vue +17 -3
- package/dist/src/components/Card/OrigamCardText.vue +29 -7
- package/dist/src/components/Carousel/OrigamCarousel.vue +29 -9
- package/dist/src/components/Carousel/OrigamCarouselItem.vue +2 -2
- package/dist/src/components/Chart/OrigamChart.vue +3 -1
- package/dist/src/components/Chart/OrigamChartAxis.vue +1 -1
- package/dist/src/components/Chart/OrigamChartBoxPlot.vue +7 -3
- package/dist/src/components/Chart/OrigamChartBullet.vue +7 -3
- package/dist/src/components/Chart/OrigamChartCandlestick.vue +7 -3
- package/dist/src/components/Chart/OrigamChartCartesian.vue +14 -10
- package/dist/src/components/Chart/OrigamChartGauge.vue +7 -3
- package/dist/src/components/Chart/OrigamChartHeatmap.vue +7 -3
- package/dist/src/components/Chart/OrigamChartHoneycomb.vue +7 -3
- package/dist/src/components/Chart/OrigamChartLegend.vue +1 -2
- package/dist/src/components/Chart/OrigamChartMap.vue +7 -3
- package/dist/src/components/Chart/OrigamChartPareto.vue +7 -3
- package/dist/src/components/Chart/OrigamChartPictorial.vue +9 -6
- package/dist/src/components/Chart/OrigamChartPolar.vue +13 -6
- package/dist/src/components/Chart/OrigamChartPolarBar.vue +7 -3
- package/dist/src/components/Chart/OrigamChartPyramid.vue +7 -3
- package/dist/src/components/Chart/OrigamChartRadar.vue +7 -5
- package/dist/src/components/Chart/OrigamChartRangeSelector.vue +3 -4
- package/dist/src/components/Chart/OrigamChartSankey.vue +7 -3
- package/dist/src/components/Chart/OrigamChartSparkline.vue +5 -3
- package/dist/src/components/Chart/OrigamChartStreamgraph.vue +9 -5
- package/dist/src/components/Chart/OrigamChartSunburst.vue +7 -3
- package/dist/src/components/Chart/OrigamChartTooltip.vue +1 -1
- package/dist/src/components/Chart/OrigamChartTreemap.vue +7 -3
- package/dist/src/components/Chart/OrigamChartVariwide.vue +7 -3
- package/dist/src/components/Chart/OrigamChartWordCloud.vue +3 -2
- package/dist/src/components/Checkbox/OrigamCheckbox.vue +18 -3
- package/dist/src/components/Checkbox/OrigamCheckboxBtn.vue +4 -2
- package/dist/src/components/Chip/OrigamChip.vue +25 -12
- package/dist/src/components/Chip/OrigamChipGroup.vue +5 -5
- package/dist/src/components/ClientOnly/OrigamClientOnly.vue +1 -1
- package/dist/src/components/Clipboard/OrigamClipboard.vue +12 -4
- package/dist/src/components/Code/OrigamCode.vue +144 -39
- package/dist/src/components/ColorPicker/OrigamColorPicker.vue +7 -2
- package/dist/src/components/ColorPicker/OrigamColorPickerCanvas.vue +3 -2
- package/dist/src/components/ColorPicker/OrigamColorPickerEdit.vue +2 -2
- package/dist/src/components/ColorPicker/OrigamColorPickerPreview.vue +1 -1
- package/dist/src/components/ColorPicker/OrigamColorPickerSwatches.vue +1 -1
- package/dist/src/components/ColorPickerField/OrigamColorPickerField.vue +15 -5
- package/dist/src/components/CommandPalette/OrigamCommandPalette.vue +13 -3
- package/dist/src/components/ConfirmWrapper/OrigamConfirmWrapper.vue +1 -1
- package/dist/src/components/ContextualMenu/OrigamContextualMenu.vue +7 -2
- package/dist/src/components/Counter/OrigamCounter.vue +2 -1
- package/dist/src/components/DataList/OrigamDataList.vue +21 -5
- package/dist/src/components/DataList/OrigamDataText.vue +5 -1
- package/dist/src/components/DataList/OrigamDataTitle.vue +5 -1
- package/dist/src/components/DataTable/OrigamDataTable.vue +15 -7
- package/dist/src/components/DataTable/OrigamDataTableColumnCell.vue +1 -1
- package/dist/src/components/DataTable/OrigamDataTableFooter.vue +1 -1
- package/dist/src/components/DataTable/OrigamDataTableGroupHeaderRow.vue +1 -1
- package/dist/src/components/DataTable/OrigamDataTableHeaderCell.vue +3 -2
- package/dist/src/components/DataTable/OrigamDataTableHeaders.vue +2 -1
- package/dist/src/components/DataTable/OrigamDataTableHeadersCell.vue +1 -1
- package/dist/src/components/DataTable/OrigamDataTableHeadersCellMobile.vue +1 -1
- package/dist/src/components/DataTable/OrigamDataTableRow.vue +5 -3
- package/dist/src/components/DataTable/OrigamDataTableRows.vue +3 -3
- package/dist/src/components/DatePicker/OrigamDatePicker.vue +21 -30
- package/dist/src/components/DatePicker/OrigamDatePickerControls.vue +2 -2
- package/dist/src/components/DatePicker/OrigamDatePickerHeader.vue +1 -1
- package/dist/src/components/DatePicker/OrigamDatePickerMonth.vue +16 -28
- package/dist/src/components/DatePicker/OrigamDatePickerMonths.vue +3 -3
- package/dist/src/components/DatePicker/OrigamDatePickerYears.vue +3 -3
- package/dist/src/components/DatePickerField/OrigamDatePickerField.vue +27 -16
- package/dist/src/components/DefaultsProvider/OrigamDefaultsProvider.vue +1 -1
- package/dist/src/components/Dialog/OrigamDialog.vue +1 -1
- package/dist/src/components/Dialog/OrigamDialogConfirmation.vue +1 -1
- package/dist/src/components/Divider/OrigamDivider.vue +2 -2
- package/dist/src/components/Drawer/OrigamDrawer.vue +5 -11
- package/dist/src/components/EmptyState/OrigamEmptyState.vue +14 -4
- package/dist/src/components/ExpansionPanel/OrigamExpansionPanel.vue +12 -2
- package/dist/src/components/ExpansionPanel/OrigamExpansionPanelContent.vue +4 -2
- package/dist/src/components/ExpansionPanel/OrigamExpansionPanelHeader.vue +14 -5
- package/dist/src/components/ExpansionPanel/OrigamExpansionPanels.vue +2 -1
- package/dist/src/components/Field/OrigamField.vue +26 -9
- package/dist/src/components/FileField/OrigamFileField.vue +8 -3
- package/dist/src/components/FileField/OrigamFileFieldDragNDropItem.vue +14 -4
- package/dist/src/components/FileField/OrigamFileFieldListItem.vue +14 -4
- package/dist/src/components/Form/OrigamForm.vue +10 -2
- package/dist/src/components/Grid/OrigamGrid.vue +1 -1
- package/dist/src/components/Grid/OrigamGridItem.vue +1 -1
- package/dist/src/components/Grids/OrigamCol.vue +1 -1
- package/dist/src/components/Grids/OrigamContainer.vue +1 -1
- package/dist/src/components/Grids/OrigamRow.vue +6 -2
- package/dist/src/components/Grids/OrigamSpacer.vue +1 -1
- package/dist/src/components/Icon/OrigamClassIcon.vue +1 -1
- package/dist/src/components/Icon/OrigamComponentIcon.vue +1 -1
- package/dist/src/components/Icon/OrigamIcon.vue +1 -1
- package/dist/src/components/Icon/OrigamLigatureIcon.vue +1 -1
- package/dist/src/components/Icon/OrigamSvgIcon.vue +2 -2
- package/dist/src/components/Img/OrigamImg.vue +10 -9
- package/dist/src/components/InfiniteScroll/OrigamInfiniteScroll.vue +14 -7
- package/dist/src/components/InfiniteScroll/OrigamInfiniteScrollIntersect.vue +3 -2
- package/dist/src/components/InlineEdit/OrigamInlineEdit.vue +13 -4
- package/dist/src/components/Input/OrigamInput.vue +17 -3
- package/dist/src/components/ItemGroup/OrigamItem.vue +1 -1
- package/dist/src/components/ItemGroup/OrigamItemGroup.vue +1 -1
- package/dist/src/components/Kbd/OrigamKbd.vue +18 -8
- package/dist/src/components/Label/OrigamLabel.vue +14 -3
- package/dist/src/components/Layout/OrigamLayout.vue +1 -1
- package/dist/src/components/Lazy/OrigamLazy.vue +1 -1
- package/dist/src/components/List/OrigamList.vue +1 -1
- package/dist/src/components/List/OrigamListChildren.vue +1 -1
- package/dist/src/components/List/OrigamListGroup.vue +4 -1
- package/dist/src/components/List/OrigamListGroupActivator.vue +1 -1
- package/dist/src/components/List/OrigamListItem.vue +14 -4
- package/dist/src/components/List/OrigamListSubheader.vue +13 -3
- package/dist/src/components/Loader/OrigamLoader.vue +1 -1
- package/dist/src/components/Main/OrigamMain.vue +1 -1
- package/dist/src/components/Masonry/OrigamMasonry.vue +2 -2
- package/dist/src/components/Media/OrigamMediaController.vue +1 -1
- package/dist/src/components/Media/OrigamMediaScrubber.vue +3 -2
- package/dist/src/components/Media/OrigamMediaVolumeControl.vue +3 -2
- package/dist/src/components/Menu/OrigamMenu.vue +9 -2
- package/dist/src/components/Messages/OrigamMessages.vue +13 -4
- package/dist/src/components/NumberField/OrigamNumberField.vue +80 -40
- package/dist/src/components/NumberFormat/OrigamNumberFormat.vue +1 -1
- package/dist/src/components/OtpInputField/OrigamOtpInputField.vue +107 -11
- package/dist/src/components/Overlay/OrigamOverlay.vue +1 -1
- package/dist/src/components/Overlay/OrigamOverlayScrim.vue +1 -1
- package/dist/src/components/Pagination/OrigamPagination.vue +16 -4
- package/dist/src/components/Parallax/OrigamParallax.vue +9 -2
- package/dist/src/components/Parallax/OrigamParallaxElement.vue +1 -1
- package/dist/src/components/Parallax/OrigamParallaxLayer.vue +2 -2
- package/dist/src/components/PasswordField/OrigamPasswordField.vue +9 -2
- package/dist/src/components/Picker/OrigamPicker.vue +8 -3
- package/dist/src/components/Picker/OrigamPickerTitle.vue +10 -3
- package/dist/src/components/Progress/OrigamProgress.vue +6 -3
- package/dist/src/components/Progress/OrigamProgressCircular.vue +3 -1
- package/dist/src/components/Progress/OrigamProgressLinear.vue +5 -6
- package/dist/src/components/{QRCode → QrCode}/OrigamQrCode.vue +1 -1
- package/dist/src/components/QrCode/index.d.ts +1 -0
- package/dist/src/components/Radio/OrigamRadio.vue +20 -11
- package/dist/src/components/Radio/OrigamRadioBtn.vue +4 -2
- package/dist/src/components/Radio/OrigamRadioGroup.vue +48 -41
- package/dist/src/components/RatingField/OrigamRatingField.vue +9 -13
- package/dist/src/components/RatingField/OrigamRatingFieldItem.vue +3 -6
- package/dist/src/components/Responsive/OrigamResponsive.vue +1 -1
- package/dist/src/components/Section/OrigamSection.vue +1 -1
- package/dist/src/components/Select/OrigamSelect.vue +19 -10
- package/dist/src/components/SelectionControl/OrigamSelectionControl.vue +12 -6
- package/dist/src/components/SelectionControl/OrigamSelectionControlGroup.vue +2 -2
- package/dist/src/components/Sheet/OrigamSheet.vue +11 -3
- package/dist/src/components/Skeleton/OrigamSkeleton.vue +2 -4
- package/dist/src/components/Slide/OrigamSlideGroup.vue +1 -1
- package/dist/src/components/SliderField/OrigamSliderField.vue +7 -6
- package/dist/src/components/SliderField/OrigamSliderFieldTrack.vue +1 -1
- package/dist/src/components/Snackbar/OrigamSnackbar.vue +5 -4
- package/dist/src/components/Snackbar/OrigamSnackbarGroup.vue +1 -1
- package/dist/src/components/Snackbar/OrigamSnackbarItem.vue +27 -26
- package/dist/src/components/Stepper/OrigamStepper.vue +6 -2
- package/dist/src/components/Stepper/OrigamStepperItem.vue +10 -3
- package/dist/src/components/Switch/OrigamSwitch.vue +35 -37
- package/dist/src/components/Switch/OrigamSwitchTrack.vue +9 -15
- package/dist/src/components/SystemBar/OrigamSystemBar.vue +14 -4
- package/dist/src/components/Table/OrigamTable.vue +15 -3
- package/dist/src/components/Tabs/OrigamTab.vue +13 -3
- package/dist/src/components/Tabs/OrigamTabPanel.vue +1 -1
- package/dist/src/components/Tabs/OrigamTabPanels.vue +1 -1
- package/dist/src/components/Tabs/OrigamTabs.vue +1 -1
- package/dist/src/components/TextField/OrigamTextField.vue +8 -1
- package/dist/src/components/TextMask/OrigamTextMask.vue +17 -27
- package/dist/src/components/TextareaField/OrigamRichToolbar.vue +15 -11
- package/dist/src/components/TextareaField/OrigamTextareaField.vue +11 -1
- package/dist/src/components/ThemeProvider/OrigamThemeProvider.vue +4 -1
- package/dist/src/components/Timeline/OrigamTimeline.vue +3 -3
- package/dist/src/components/Timeline/OrigamTimelineItem.vue +3 -1
- package/dist/src/components/Title/OrigamTitle.vue +20 -8
- package/dist/src/components/Toolbar/OrigamToolbar.vue +17 -5
- package/dist/src/components/Tooltip/OrigamTooltip.vue +12 -3
- package/dist/src/components/Transition/OrigamExpandX.vue +1 -1
- package/dist/src/components/Transition/OrigamExpandY.vue +1 -1
- package/dist/src/components/Transition/OrigamFade.vue +1 -1
- package/dist/src/components/Transition/OrigamReverseTranslatePicker.vue +1 -1
- package/dist/src/components/Transition/OrigamScaleRotate.vue +1 -1
- package/dist/src/components/Transition/OrigamSlideX.vue +1 -1
- package/dist/src/components/Transition/OrigamSlideY.vue +1 -1
- package/dist/src/components/Transition/OrigamSnack.vue +1 -1
- package/dist/src/components/Transition/OrigamTransition.vue +1 -1
- package/dist/src/components/Transition/OrigamTranslateBottom.vue +1 -1
- package/dist/src/components/Transition/OrigamTranslatePicker.vue +1 -1
- package/dist/src/components/Transition/OrigamTranslateScale.vue +1 -1
- package/dist/src/components/Transition/OrigamWindowXReverseTranslate.vue +1 -1
- package/dist/src/components/Transition/OrigamWindowXTranslate.vue +1 -1
- package/dist/src/components/Transition/OrigamWindowYReverseTranslate.vue +1 -1
- package/dist/src/components/Transition/OrigamWindowYTranslate.vue +1 -1
- package/dist/src/components/Treeview/OrigamTreeview.vue +1 -1
- package/dist/src/components/Treeview/OrigamTreeviewNode.vue +7 -5
- package/dist/src/components/Video/OrigamVideo.vue +56 -63
- package/dist/src/components/VirtualScroll/OrigamVirtualScroll.vue +1 -1
- package/dist/src/components/VirtualScroll/OrigamVirtualScrollItem.vue +1 -6
- package/dist/src/components/Watermark/OrigamWatermark.vue +1 -1
- package/dist/src/components/Window/OrigamWindow.vue +32 -2
- package/dist/src/components/Window/OrigamWindowItem.vue +1 -1
- package/dist/src/components/index.cjs +1 -1
- package/dist/src/components/index.js +1 -1
- package/dist/src/composables/Chart/chart-gauge.composable.cjs +1 -1
- package/dist/src/composables/Chart/chart-gauge.composable.js +1 -1
- package/dist/src/composables/Chart/chart-header-typography.composable.cjs +20 -0
- package/dist/src/composables/Chart/chart-header-typography.composable.d.ts +27 -0
- package/dist/src/composables/Chart/chart-header-typography.composable.js +11 -0
- package/dist/src/composables/Chart/chart-zoom.composable.cjs +0 -1
- package/dist/src/composables/Chart/chart-zoom.composable.js +0 -1
- package/dist/src/composables/Chart/chart.composable.cjs +0 -11
- package/dist/src/composables/Chart/chart.composable.js +0 -11
- package/dist/src/composables/Code/code.composable.js +4 -1
- package/dist/src/composables/Commons/audio.composable.d.ts +97 -31
- package/dist/src/composables/Commons/border.composable.cjs +10 -0
- package/dist/src/composables/Commons/border.composable.js +7 -0
- package/dist/src/composables/Commons/color.composable.cjs +42 -42
- package/dist/src/composables/Commons/color.composable.d.ts +8 -3
- package/dist/src/composables/Commons/color.composable.js +2 -2
- package/dist/src/composables/Commons/date-picker-calendar.composable.cjs +1 -1
- package/dist/src/composables/Commons/date-picker-calendar.composable.d.ts +1 -1
- package/dist/src/composables/Commons/date-picker-calendar.composable.js +1 -1
- package/dist/src/composables/Commons/defaults.composable.cjs +10 -9
- package/dist/src/composables/Commons/defaults.composable.js +10 -9
- package/dist/src/composables/Commons/delay.composable.cjs +8 -3
- package/dist/src/composables/Commons/delay.composable.js +7 -4
- package/dist/src/composables/Commons/density.composable.cjs +1 -1
- package/dist/src/composables/Commons/density.composable.js +2 -2
- package/dist/src/composables/Commons/dragResizer.composable.cjs +7 -9
- package/dist/src/composables/Commons/dragResizer.composable.js +8 -9
- package/dist/src/composables/Commons/focus.composable.cjs +1 -1
- package/dist/src/composables/Commons/focus.composable.js +1 -1
- package/dist/src/composables/Commons/layout.composable.cjs +12 -0
- package/dist/src/composables/Commons/layout.composable.js +14 -0
- package/dist/src/composables/Commons/message.composable.cjs +1 -1
- package/dist/src/composables/Commons/message.composable.d.ts +1 -1
- package/dist/src/composables/Commons/message.composable.js +1 -1
- package/dist/src/composables/Commons/rounded.composable.cjs +15 -4
- package/dist/src/composables/Commons/rounded.composable.d.ts +1 -1
- package/dist/src/composables/Commons/rounded.composable.js +17 -6
- package/dist/src/composables/Commons/scroll.composable.cjs +2 -2
- package/dist/src/composables/Commons/scroll.composable.js +2 -2
- package/dist/src/composables/Commons/size.composable.d.ts +1 -1
- package/dist/src/composables/Commons/stateEffect.composable.cjs +36 -14
- package/dist/src/composables/Commons/stateEffect.composable.js +38 -14
- package/dist/src/composables/Commons/status.composable.cjs +11 -1
- package/dist/src/composables/Commons/status.composable.d.ts +2 -0
- package/dist/src/composables/Commons/status.composable.js +10 -1
- package/dist/src/composables/Commons/sticky.composable.d.ts +2 -14
- package/dist/src/composables/Commons/style.composable.cjs +5 -3
- package/dist/src/composables/Commons/style.composable.js +5 -3
- package/dist/src/composables/Commons/typography.composable.cjs +23 -0
- package/dist/src/composables/Commons/typography.composable.d.ts +7 -0
- package/dist/src/composables/Commons/typography.composable.js +21 -0
- package/dist/src/composables/DataTable/headers.composable.d.ts +4 -364
- package/dist/src/composables/Icon/icon.composable.cjs +6 -1
- package/dist/src/composables/Icon/icon.composable.js +4 -1
- package/dist/src/composables/InlineEdit/inline-edit.composable.cjs +16 -2
- package/dist/src/composables/InlineEdit/inline-edit.composable.js +16 -2
- package/dist/src/composables/Masonry/masonry.composable.d.ts +2 -1
- package/dist/src/composables/Parallax/transform.composable.d.ts +1 -1
- package/dist/src/composables/Responsive/aspect.composable.cjs +9 -1
- package/dist/src/composables/Responsive/aspect.composable.d.ts +1 -1
- package/dist/src/composables/Responsive/aspect.composable.js +9 -1
- package/dist/src/composables/Theme/installed-themes.composable.cjs +11 -0
- package/dist/src/composables/Theme/installed-themes.composable.d.ts +19 -0
- package/dist/src/composables/Theme/installed-themes.composable.js +5 -0
- package/dist/src/composables/Theme/theme.composable.cjs +86 -15
- package/dist/src/composables/Theme/theme.composable.d.ts +55 -10
- package/dist/src/composables/Theme/theme.composable.js +88 -17
- package/dist/src/composables/index.cjs +36 -0
- package/dist/src/composables/index.d.ts +3 -0
- package/dist/src/composables/index.js +3 -0
- package/dist/src/consts/Bracket/bracket.const.cjs +4 -2
- package/dist/src/consts/Bracket/bracket.const.d.ts +12 -0
- package/dist/src/consts/Bracket/bracket.const.js +2 -0
- package/dist/src/consts/Commons/density.const.cjs +2 -2
- package/dist/src/consts/Commons/density.const.d.ts +1 -1
- package/dist/src/consts/Commons/density.const.js +1 -1
- package/dist/src/consts/Commons/rounded.const.cjs +4 -2
- package/dist/src/consts/Commons/rounded.const.d.ts +22 -2
- package/dist/src/consts/Commons/rounded.const.js +3 -1
- package/dist/src/consts/DataTable/select.const.cjs +1 -1
- package/dist/src/consts/DataTable/select.const.js +1 -1
- package/dist/src/consts/Icon/mdi.const.cjs +6 -1
- package/dist/src/consts/Icon/mdi.const.js +10 -2
- package/dist/src/consts/Theme/theme.const.cjs +11 -1
- package/dist/src/consts/Theme/theme.const.d.ts +16 -0
- package/dist/src/consts/Theme/theme.const.js +10 -0
- package/dist/src/directives/Contrast/contrast.directive.cjs +150 -0
- package/dist/src/directives/Contrast/contrast.directive.d.ts +5 -0
- package/dist/src/directives/Contrast/contrast.directive.js +131 -0
- package/dist/src/directives/index.cjs +7 -0
- package/dist/src/directives/index.d.ts +1 -0
- package/dist/src/directives/index.js +1 -0
- package/dist/src/enums/BottomNav/bottom-nav-position.enum.cjs +12 -0
- package/dist/src/enums/BottomNav/bottom-nav-position.enum.d.ts +10 -0
- package/dist/src/enums/BottomNav/bottom-nav-position.enum.js +6 -0
- package/dist/src/enums/Toolbar/toolbar.enum.cjs +1 -0
- package/dist/src/enums/Toolbar/toolbar.enum.d.ts +2 -1
- package/dist/src/enums/Toolbar/toolbar.enum.js +1 -0
- package/dist/src/enums/index.cjs +22 -0
- package/dist/src/enums/index.d.ts +2 -0
- package/dist/src/enums/index.js +2 -0
- package/dist/src/interfaces/Alert/alert.interface.d.ts +2 -3
- package/dist/src/interfaces/App/app-bar.interface.d.ts +19 -1
- package/dist/src/interfaces/App/app.interface.cjs +1 -0
- package/dist/src/interfaces/App/app.interface.d.ts +24 -0
- package/dist/src/interfaces/Audio/audio-player.interface.d.ts +23 -2
- package/dist/src/interfaces/Avatar/avatar.interface.d.ts +2 -4
- package/dist/src/interfaces/Badge/badge.interface.d.ts +2 -2
- package/dist/src/interfaces/Blockquote/blockquote.interface.d.ts +23 -21
- package/dist/src/interfaces/BottomNav/bottom-nav.interface.d.ts +12 -4
- package/dist/src/interfaces/Bracket/bracket-competitor-component.interface.d.ts +17 -6
- package/dist/src/interfaces/Bracket/bracket-match-component.interface.d.ts +13 -6
- package/dist/src/interfaces/Bracket/bracket-match.interface.d.ts +22 -0
- package/dist/src/interfaces/Bracket/bracket-round-component.interface.d.ts +2 -2
- package/dist/src/interfaces/Bracket/bracket.interface.d.ts +17 -2
- package/dist/src/interfaces/Breadcrumb/breadcrumb-divider.interface.d.ts +2 -2
- package/dist/src/interfaces/Breadcrumb/breadcrumb.interface.d.ts +2 -3
- package/dist/src/interfaces/Btn/btn-group.interface.d.ts +2 -2
- package/dist/src/interfaces/Btn/btn.interface.d.ts +11 -3
- package/dist/src/interfaces/Calendar/calendar.interface.d.ts +7 -2
- package/dist/src/interfaces/Card/card-header.interface.d.ts +2 -2
- package/dist/src/interfaces/Card/card-text.interface.d.ts +2 -2
- package/dist/src/interfaces/Carousel/carousel.interface.d.ts +2 -2
- package/dist/src/interfaces/Chart/chart-base.interface.d.ts +9 -8
- package/dist/src/interfaces/Chart/chart-word-cloud.interface.d.ts +1 -1
- package/dist/src/interfaces/Chart/chart.interface.d.ts +12 -1
- package/dist/src/interfaces/Checkbox/checkbox-btn.interface.d.ts +3 -3
- package/dist/src/interfaces/Checkbox/checkbox.interface.d.ts +10 -9
- package/dist/src/interfaces/Chip/chip-group.interface.d.ts +3 -1
- package/dist/src/interfaces/Chip/chip.interface.d.ts +2 -2
- package/dist/src/interfaces/Clipboard/clipboard.interface.d.ts +2 -2
- package/dist/src/interfaces/Code/code.interface.d.ts +19 -2
- package/dist/src/interfaces/ColorPickerField/color-picker-field.interface.d.ts +2 -2
- package/dist/src/interfaces/CommandPalette/command-palette.interface.d.ts +2 -1
- package/dist/src/interfaces/Commons/calendar.interface.d.ts +3 -3
- package/dist/src/interfaces/Commons/commons.interface.d.ts +34 -1
- package/dist/src/interfaces/Commons/filters.interface.d.ts +2 -2
- package/dist/src/interfaces/Commons/hover.interface.d.ts +18 -3
- package/dist/src/interfaces/Commons/scroll.interface.d.ts +8 -1
- package/dist/src/interfaces/Commons/typography.interface.cjs +1 -0
- package/dist/src/interfaces/Commons/typography.interface.d.ts +52 -0
- package/dist/src/interfaces/Commons/typography.interface.js +0 -0
- package/dist/src/interfaces/Commons/validation.interface.d.ts +3 -1
- package/dist/src/interfaces/Counter/counter.interface.d.ts +2 -2
- package/dist/src/interfaces/DataList/data-list.interface.d.ts +2 -2
- package/dist/src/interfaces/DataList/data-text.interface.d.ts +5 -0
- package/dist/src/interfaces/DataList/data-title.interface.d.ts +5 -0
- package/dist/src/interfaces/DataTable/headers.interface.d.ts +5 -5
- package/dist/src/interfaces/DataTable/row.interface.d.ts +2 -2
- package/dist/src/interfaces/DatePicker/date-picker-controls.interface.d.ts +16 -8
- package/dist/src/interfaces/DatePicker/date-picker-header.interface.d.ts +6 -3
- package/dist/src/interfaces/DatePicker/date-picker-months.interface.d.ts +2 -2
- package/dist/src/interfaces/DatePicker/date-picker-years.interface.d.ts +1 -1
- package/dist/src/interfaces/DatePicker/date-picker.interface.d.ts +1 -1
- package/dist/src/interfaces/Dialog/dialog-confirmation.interface.d.ts +2 -2
- package/dist/src/interfaces/EmptyState/empty-state.interface.d.ts +9 -2
- package/dist/src/interfaces/ExpensionPanel/expansion-panel-header.interface.d.ts +2 -2
- package/dist/src/interfaces/Field/field.interface.d.ts +7 -2
- package/dist/src/interfaces/FileField/file-field-dragndrop-item.interface.d.ts +2 -2
- package/dist/src/interfaces/FileField/file-field-list-item.interface.d.ts +2 -2
- package/dist/src/interfaces/FileField/file-field.interface.d.ts +1 -1
- package/dist/src/interfaces/Form/form.interface.d.ts +2 -2
- package/dist/src/interfaces/Grids/row.interface.d.ts +2 -2
- package/dist/src/interfaces/InfiniteScroll/infinite-scroll.interface.d.ts +2 -2
- package/dist/src/interfaces/InlineEdit/inline-edit.interface.d.ts +31 -2
- package/dist/src/interfaces/Input/input.interface.d.ts +4 -3
- package/dist/src/interfaces/Kbd/kbd.interface.d.ts +2 -2
- package/dist/src/interfaces/Label/label.interface.d.ts +2 -2
- package/dist/src/interfaces/List/list-group.interface.d.ts +4 -1
- package/dist/src/interfaces/List/list-item.interface.d.ts +2 -2
- package/dist/src/interfaces/List/list-subheader.interface.d.ts +2 -2
- package/dist/src/interfaces/Media/media-scrubber.interface.d.ts +10 -2
- package/dist/src/interfaces/Messages/messages.interface.d.ts +2 -2
- package/dist/src/interfaces/NumberField/number-field.interface.d.ts +1 -1
- package/dist/src/interfaces/Nuxt/nuxt-module.interface.d.ts +55 -15
- package/dist/src/interfaces/OtpInputField/otp-input-field.interface.d.ts +4 -2
- package/dist/src/interfaces/Pagination/pagination.interface.d.ts +18 -3
- package/dist/src/interfaces/Parallax/parallax.interface.d.ts +2 -2
- package/dist/src/interfaces/PasswordField/password-field.interface.d.ts +1 -1
- package/dist/src/interfaces/Picker/picker-title.interface.d.ts +2 -2
- package/dist/src/interfaces/Progress/progress.interface.d.ts +8 -2
- package/dist/src/interfaces/RatingField/rating-field-item.interface.d.ts +2 -1
- package/dist/src/interfaces/SelectionControl/selection-control-group.interface.d.ts +2 -1
- package/dist/src/interfaces/SelectionControl/selection-control.interface.d.ts +23 -5
- package/dist/src/interfaces/Sheet/sheet.interface.d.ts +2 -2
- package/dist/src/interfaces/Snackbar/snackbar-item.interface.d.ts +2 -2
- package/dist/src/interfaces/SystemBar/system-bar.interface.d.ts +2 -2
- package/dist/src/interfaces/Table/table.interface.d.ts +2 -2
- package/dist/src/interfaces/Tabs/tab.interface.d.ts +7 -2
- package/dist/src/interfaces/TextField/text-field.interface.d.ts +1 -1
- package/dist/src/interfaces/TextMask/text-mask.interface.d.ts +7 -33
- package/dist/src/interfaces/TextareaField/textarea-field.interface.d.ts +3 -3
- package/dist/src/interfaces/Theme/origam-theme.interface.cjs +1 -0
- package/dist/src/interfaces/Theme/origam-theme.interface.d.ts +114 -0
- package/dist/src/interfaces/Theme/origam-theme.interface.js +0 -0
- package/dist/src/interfaces/Timeline/timeline.interface.d.ts +1 -1
- package/dist/src/interfaces/Title/title.interface.d.ts +2 -2
- package/dist/src/interfaces/Toolbar/toolbar.interface.d.ts +2 -2
- package/dist/src/interfaces/Tooltip/tooltip.interface.d.ts +2 -2
- package/dist/src/interfaces/Video/video.interface.d.ts +2 -2
- package/dist/src/interfaces/Window/window.interface.d.ts +2 -2
- package/dist/src/interfaces/index.cjs +33 -0
- package/dist/src/interfaces/index.d.ts +3 -0
- package/dist/src/interfaces/index.js +3 -0
- package/dist/src/nuxt/module.cjs +78 -8
- package/dist/src/nuxt/module.js +81 -9
- package/dist/src/nuxt/plugin.client.cjs +28 -10
- package/dist/src/nuxt/plugin.client.js +28 -10
- package/dist/src/nuxt/plugin.server.cjs +52 -12
- package/dist/src/nuxt/plugin.server.js +55 -13
- package/dist/src/origam.cjs +39 -2
- package/dist/src/origam.d.ts +19 -1
- package/dist/src/origam.js +46 -5
- package/dist/src/services/Commons/date-adapter.service.d.ts +1 -1
- package/dist/src/themes/index.cjs +24 -0
- package/dist/src/themes/index.d.ts +1 -0
- package/dist/src/themes/index.js +1 -0
- package/dist/src/themes/origam.theme.cjs +906 -0
- package/dist/src/themes/origam.theme.d.ts +4 -0
- package/dist/src/themes/origam.theme.js +379 -0
- package/dist/src/types/BottomNav/bottom-nav.type.d.ts +2 -0
- package/dist/src/types/Commons/font-family.type.cjs +1 -0
- package/dist/src/types/Commons/font-family.type.d.ts +5 -0
- package/dist/src/types/Commons/font-family.type.js +0 -0
- package/dist/src/types/Commons/font-size.type.cjs +1 -0
- package/dist/src/types/Commons/font-size.type.d.ts +6 -0
- package/dist/src/types/Commons/font-size.type.js +0 -0
- package/dist/src/types/Commons/font-weight.type.cjs +1 -0
- package/dist/src/types/Commons/font-weight.type.d.ts +5 -0
- package/dist/src/types/Commons/font-weight.type.js +0 -0
- package/dist/src/types/Commons/letter-spacing.type.cjs +1 -0
- package/dist/src/types/Commons/letter-spacing.type.d.ts +5 -0
- package/dist/src/types/Commons/letter-spacing.type.js +0 -0
- package/dist/src/types/Commons/line-height.type.cjs +1 -0
- package/dist/src/types/Commons/line-height.type.d.ts +5 -0
- package/dist/src/types/Commons/line-height.type.js +0 -0
- package/dist/src/types/Commons/mode.type.d.ts +1 -1
- package/dist/src/types/Theme/installed-theme.type.cjs +1 -0
- package/dist/src/types/Theme/installed-theme.type.d.ts +31 -0
- package/dist/src/types/Theme/installed-theme.type.js +0 -0
- package/dist/src/types/Theme/semantic-tree.type.cjs +1 -0
- package/dist/src/types/Theme/semantic-tree.type.d.ts +48 -0
- package/dist/src/types/Theme/semantic-tree.type.js +0 -0
- package/dist/src/types/Theme/theme.type.d.ts +27 -6
- package/dist/src/types/Theme/token-tree.type.cjs +1 -0
- package/dist/src/types/Theme/token-tree.type.d.ts +10 -0
- package/dist/src/types/Theme/token-tree.type.js +0 -0
- package/dist/src/types/index.cjs +88 -0
- package/dist/src/types/index.d.ts +8 -0
- package/dist/src/types/index.js +8 -0
- package/dist/src/types/tokens.type.d.ts +1 -1
- package/dist/src/utils/Bracket/bracket-surface.util.cjs +106 -0
- package/dist/src/utils/Bracket/bracket-surface.util.d.ts +47 -0
- package/dist/src/utils/Bracket/bracket-surface.util.js +88 -0
- package/dist/src/utils/Commons/border.util.d.ts +1 -1
- package/dist/src/utils/Commons/color.util.cjs +4 -2
- package/dist/src/utils/Commons/color.util.js +4 -2
- package/dist/src/utils/Commons/commons.util.cjs +3 -2
- package/dist/src/utils/Commons/commons.util.d.ts +1 -1
- package/dist/src/utils/Commons/commons.util.js +3 -2
- package/dist/src/utils/Commons/date.util.d.ts +1 -1
- package/dist/src/utils/Commons/dom.util.d.ts +1 -1
- package/dist/src/utils/Commons/elevation.util.cjs +1 -1
- package/dist/src/utils/Commons/elevation.util.js +1 -1
- package/dist/src/utils/Commons/forwardRefs.util.cjs +1 -1
- package/dist/src/utils/Commons/forwardRefs.util.js +1 -1
- package/dist/src/utils/Commons/gradient.util.cjs +3 -3
- package/dist/src/utils/Commons/gradient.util.js +1 -1
- package/dist/src/utils/Commons/hover.util.cjs +5 -1
- package/dist/src/utils/Commons/hover.util.js +5 -1
- package/dist/src/utils/Commons/margin.util.d.ts +1 -1
- package/dist/src/utils/Commons/padding.util.d.ts +1 -1
- package/dist/src/utils/Commons/ripple.util.cjs +1 -2
- package/dist/src/utils/Commons/ripple.util.js +2 -3
- package/dist/src/utils/Commons/rounded.util.cjs +5 -0
- package/dist/src/utils/Commons/rounded.util.d.ts +10 -1
- package/dist/src/utils/Commons/rounded.util.js +4 -0
- package/dist/src/utils/DataTable/headers.util.cjs +1 -1
- package/dist/src/utils/DataTable/headers.util.js +1 -1
- package/dist/src/utils/DataTable/sort.util.cjs +2 -2
- package/dist/src/utils/DataTable/sort.util.js +2 -2
- package/dist/src/utils/List/list-item.util.d.ts +7 -0
- package/dist/src/utils/Theme/apply-theme.util.cjs +148 -0
- package/dist/src/utils/Theme/apply-theme.util.d.ts +65 -0
- package/dist/src/utils/Theme/apply-theme.util.js +125 -0
- package/dist/src/utils/Theme/token-name.util.cjs +47 -0
- package/dist/src/utils/Theme/token-name.util.d.ts +54 -0
- package/dist/src/utils/Theme/token-name.util.js +55 -0
- package/dist/src/utils/Transition/transition.util.d.ts +1 -1
- package/dist/src/utils/index.cjs +22 -0
- package/dist/src/utils/index.d.ts +2 -0
- package/dist/src/utils/index.js +2 -0
- package/package.json +22 -63
- package/CHANGELOG.md +0 -807
- package/README.md +0 -275
- package/dist/src/App.vue +0 -25
- package/dist/src/main.cjs +0 -7
- package/dist/src/main.d.ts +0 -1
- package/dist/src/main.js +0 -4
- /package/dist/src/components/{QRCode → QrCode}/index.cjs +0 -0
- /package/dist/src/components/{QRCode → QrCode}/index.js +0 -0
- /package/dist/src/{components/QRCode/index.d.ts → interfaces/App/app.interface.js} +0 -0
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { IBgColorProps, IColorProps, ICommonsComponentEmits, ICommonsComponentProps } from '../../interfaces';
|
|
2
|
+
/**
|
|
3
|
+
* Props for the `<OrigamApp>` application shell.
|
|
4
|
+
*
|
|
5
|
+
* App is a thin wrapper over `<OrigamLayout>` whose only surface concern is
|
|
6
|
+
* the page background / default text colour — it intentionally does NOT
|
|
7
|
+
* expose the full layout design surface (border / rounded / elevation /
|
|
8
|
+
* dimension / spacing): an application root has no business carrying a
|
|
9
|
+
* corner radius, a shadow or margins. Those remain available on
|
|
10
|
+
* `<OrigamLayout>` directly for embedded / sized layouts.
|
|
11
|
+
*
|
|
12
|
+
* `color` / `bgColor` are forwarded to the underlying layout: `bgColor`
|
|
13
|
+
* paints the app surface, and `color` sets the root text colour which
|
|
14
|
+
* cascades to descendants through normal CSS inheritance.
|
|
15
|
+
*/
|
|
16
|
+
export interface IAppProps extends ICommonsComponentProps, IColorProps, IBgColorProps {
|
|
17
|
+
/** Stretch the layout to the full viewport (`100vw` / `100vh`). Default `true`. */
|
|
18
|
+
fullHeight?: boolean;
|
|
19
|
+
/** IDs of layout items allowed to overlap each other (forwarded to the layout). */
|
|
20
|
+
overlaps?: Array<string>;
|
|
21
|
+
}
|
|
22
|
+
/** Emits fired by `<OrigamApp>` — none beyond the shared component contract. */
|
|
23
|
+
export interface IAppEmits extends ICommonsComponentEmits {
|
|
24
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Ref } from 'vue';
|
|
2
|
-
import type { IBgColorProps, IBorderProps, IColorProps, ICommonsComponentProps, IElevationProps, IMarginProps, IMediaPlayerEmits, IMediaPlayerMethods, IMediaPlayerState, IPaddingProps, IPositionProps, IRoundedProps, ISrcObject, ITagProps, IVideoTrack } from '../../interfaces';
|
|
2
|
+
import type { IBgColorProps, IBorderProps, IColorProps, ICommonsComponentProps, IDimensionProps, IElevationProps, IMarginProps, IMediaPlayerEmits, IMediaPlayerMethods, IMediaPlayerState, IPaddingProps, IPositionProps, IRoundedProps, ISrcObject, ITagProps, ITypographyProps, IVideoTrack } from '../../interfaces';
|
|
3
3
|
import type { TAudioControls, TAudioLoopMode, TAudioVariant, TCoverPosition } from '../../types';
|
|
4
4
|
/**
|
|
5
5
|
* Descriptor for a single track in an `<OrigamAudio>` playlist.
|
|
@@ -103,7 +103,7 @@ export interface IAudioSlots {
|
|
|
103
103
|
* (cover + title/artist + transport bar). Designed to drop into a
|
|
104
104
|
* page without surrounding chrome.
|
|
105
105
|
*/
|
|
106
|
-
export interface IAudioProps extends ICommonsComponentProps, ITagProps, IRoundedProps, IBorderProps, IMarginProps, IPaddingProps, IElevationProps, IPositionProps, IColorProps, IBgColorProps {
|
|
106
|
+
export interface IAudioProps extends ICommonsComponentProps, ITagProps, IRoundedProps, IBorderProps, IDimensionProps, IMarginProps, IPaddingProps, IElevationProps, IPositionProps, IColorProps, IBgColorProps, ITypographyProps {
|
|
107
107
|
/**
|
|
108
108
|
* Visual variant of the audio surface.
|
|
109
109
|
*
|
|
@@ -355,6 +355,27 @@ export interface IAudioEmits {
|
|
|
355
355
|
* next, auto-advance). Payload is the new track descriptor. */
|
|
356
356
|
(e: 'track-change', track: IAudioTrack, index: number): void;
|
|
357
357
|
}
|
|
358
|
+
/**
|
|
359
|
+
* Options accepted by `useWaveform()` to configure how the audio file
|
|
360
|
+
* is fetched and decoded into waveform peak data.
|
|
361
|
+
*/
|
|
362
|
+
export interface IUseWaveformOptions {
|
|
363
|
+
/**
|
|
364
|
+
* Number of amplitude buckets (bars) to downsample the decoded
|
|
365
|
+
* audio into. A higher value produces a finer-grained waveform but
|
|
366
|
+
* costs more processing time.
|
|
367
|
+
*
|
|
368
|
+
* @default 200
|
|
369
|
+
*/
|
|
370
|
+
bins?: number;
|
|
371
|
+
/**
|
|
372
|
+
* CORS credentials mode forwarded to `fetch()`.
|
|
373
|
+
*
|
|
374
|
+
* - `'use-credentials'` — include cookies / auth headers.
|
|
375
|
+
* - any other value (or `undefined`) — `'same-origin'` semantics.
|
|
376
|
+
*/
|
|
377
|
+
crossOrigin?: string;
|
|
378
|
+
}
|
|
358
379
|
/**
|
|
359
380
|
* Reactive state surface returned by `useAudioPlayer` (Audio
|
|
360
381
|
* namespace). For the moment audio does not expose any state beyond
|
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
import type { IActiveEmits, IActiveProps, IBorderProps, IBgColorProps, IColorProps, ICommonsComponentProps, IDensityProps, IElevationProps, IHoverEmits, IHoverProps, IMarginProps, IPaddingProps, IRoundedProps, ISizeProps, ISrcObject, ITagProps } from '../../interfaces';
|
|
1
|
+
import type { IActiveEmits, IActiveProps, IBorderProps, IBgColorProps, IColorProps, ICommonsComponentProps, IDensityProps, IElevationProps, IHoverEmits, IHoverProps, IMarginProps, IPaddingProps, IRoundedProps, ISizeProps, ISrcObject, ITagProps, ITypographyProps } from '../../interfaces';
|
|
2
2
|
import type { TIcon } from '../../types';
|
|
3
|
-
export interface IAvatarProps extends ICommonsComponentProps, IDensityProps, IRoundedProps, ISizeProps, ITagProps, IColorProps, IBgColorProps, IPaddingProps, IMarginProps, IBorderProps, IElevationProps, IHoverProps, IActiveProps {
|
|
4
|
-
start?: boolean;
|
|
5
|
-
end?: boolean;
|
|
3
|
+
export interface IAvatarProps extends ICommonsComponentProps, IDensityProps, IRoundedProps, ISizeProps, ITagProps, IColorProps, IBgColorProps, IPaddingProps, IMarginProps, IBorderProps, IElevationProps, IHoverProps, IActiveProps, ITypographyProps {
|
|
6
4
|
/**
|
|
7
5
|
* Renders an icon inside the avatar (centered). Mutually exclusive
|
|
8
6
|
* with `image` and `text`: image wins, then icon, then text.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { IBorderProps, IBgColorProps, IColorProps, ICommonsComponentProps, IElevationProps, IHoverProps, ILocationProps, IRoundedProps, IStatusProps, ITagProps, ITransitionComponentProps } from '../../interfaces';
|
|
2
|
-
export interface IBadgeProps extends ICommonsComponentProps, ITagProps, IBorderProps, IColorProps, IBgColorProps, ILocationProps, IRoundedProps, ITransitionComponentProps, IStatusProps, IHoverProps, IElevationProps {
|
|
1
|
+
import type { IBorderProps, IBgColorProps, IColorProps, ICommonsComponentProps, IElevationProps, IHoverProps, ILocationProps, IRoundedProps, IStatusProps, ITagProps, ITransitionComponentProps, ITypographyProps } from '../../interfaces';
|
|
2
|
+
export interface IBadgeProps extends ICommonsComponentProps, ITagProps, IBorderProps, IColorProps, IBgColorProps, ILocationProps, IRoundedProps, ITransitionComponentProps, IStatusProps, IHoverProps, IElevationProps, ITypographyProps {
|
|
3
3
|
content?: number | string;
|
|
4
4
|
dot?: boolean;
|
|
5
5
|
floating?: boolean;
|
|
@@ -1,18 +1,32 @@
|
|
|
1
|
-
import type { ICommonsComponentProps, ITagProps } from '../../interfaces';
|
|
2
|
-
import type { TBlockquoteAlign, TBlockquoteLang, TBlockquoteVariant
|
|
1
|
+
import type { IBgColorProps, IBorderProps, IColorProps, ICommonsComponentProps, IElevationProps, IMarginProps, IPaddingProps, IRoundedProps, ITagProps, ITypographyProps } from '../../interfaces';
|
|
2
|
+
import type { TBlockquoteAlign, TBlockquoteLang, TBlockquoteVariant } from '../../types';
|
|
3
3
|
/**
|
|
4
4
|
* Props for `<OrigamBlockquote>` — typographic citation component.
|
|
5
5
|
*
|
|
6
6
|
* A thin layer on top of the native `<blockquote>` element. Adds five
|
|
7
|
-
* visual variants, optional author/source attribution
|
|
8
|
-
* decorative quote marks (for `variant="quoted"`)
|
|
9
|
-
* accent color (consumed by the accent bar / quote marks / author
|
|
10
|
-
* label depending on the variant).
|
|
7
|
+
* visual variants, optional author/source attribution and locale-aware
|
|
8
|
+
* decorative quote marks (for `variant="quoted"`).
|
|
11
9
|
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
10
|
+
* ## Colour model (two independent axes)
|
|
11
|
+
*
|
|
12
|
+
* - **`color`** drives the **citation text** itself (the body). Defaults
|
|
13
|
+
* to `text-primary`. An intent resolves to its readable-on-light shade
|
|
14
|
+
* (`fgSubtle`); a custom value is applied verbatim.
|
|
15
|
+
* - **`bgColor`** drives the **accent**: the decorative bar / pull rules
|
|
16
|
+
* (the "borders"), the big background quote glyph and the author label.
|
|
17
|
+
* Defaults to `primary`. It does NOT paint a surface fill — the
|
|
18
|
+
* blockquote stays transparent (see ROADMAP: future rename to
|
|
19
|
+
* `accentColor`).
|
|
20
|
+
*
|
|
21
|
+
* The two axes are meant to contrast: a dark body (`color`) reads against
|
|
22
|
+
* a coloured accent (`bgColor`).
|
|
23
|
+
*
|
|
24
|
+
* Standard cross-cutting surfaces (`rounded`, `elevation`, `border`,
|
|
25
|
+
* `padding`, `margin`) are inherited from the Commons interfaces and
|
|
26
|
+
* consumed via the matching composables. The component never imposes an
|
|
27
|
+
* outer margin unless `margin` is passed.
|
|
14
28
|
*/
|
|
15
|
-
export interface IBlockquoteProps extends ICommonsComponentProps, ITagProps {
|
|
29
|
+
export interface IBlockquoteProps extends ICommonsComponentProps, ITagProps, IColorProps, IBgColorProps, IRoundedProps, IElevationProps, IBorderProps, IPaddingProps, IMarginProps, ITypographyProps {
|
|
16
30
|
/**
|
|
17
31
|
* Visual variant. See `TBlockquoteVariant` for the per-variant
|
|
18
32
|
* typographic contract.
|
|
@@ -57,18 +71,6 @@ export interface IBlockquoteProps extends ICommonsComponentProps, ITagProps {
|
|
|
57
71
|
* @default 'left'
|
|
58
72
|
*/
|
|
59
73
|
align?: TBlockquoteAlign;
|
|
60
|
-
/**
|
|
61
|
-
* Semantic accent color. Drives:
|
|
62
|
-
* - the left accent bar (`default`).
|
|
63
|
-
* - the decorative quote marks (`quoted`).
|
|
64
|
-
* - the author label and pull-quote top/bottom rules (`pull`).
|
|
65
|
-
*
|
|
66
|
-
* Maps to the `--origam-color__action--{intent}---bg` token. Pass
|
|
67
|
-
* one of the semantic intents (`'primary'`, `'secondary'`,
|
|
68
|
-
* `'success'`, `'danger'`, …) — raw hex/rgb values are NOT
|
|
69
|
-
* supported here on purpose (keeps the token contract clean).
|
|
70
|
-
*/
|
|
71
|
-
color?: TIntent;
|
|
72
74
|
}
|
|
73
75
|
/**
|
|
74
76
|
* Slot signatures for `<OrigamBlockquote>`. The `default` slot owns the
|
|
@@ -1,9 +1,17 @@
|
|
|
1
|
-
import type { IActiveEmits, IBorderProps, IBtnProps, IBgColorProps, IColorProps, ICommonsComponentEmits, ICommonsComponentProps, IDensityProps, IDimensionProps, IElevationProps, IGroupProps, IHoverEmits, IHoverProps, ILayoutItemProps, IMarginProps, IPaddingProps, IRoundedProps, ITagProps, ITransitionComponentProps } from '../../interfaces';
|
|
2
|
-
import type {
|
|
3
|
-
export interface IBottomNavProps extends ITagProps, ICommonsComponentProps, IColorProps, IBgColorProps, IPaddingProps, IBorderProps, IElevationProps, IMarginProps, IDimensionProps, IDensityProps, IRoundedProps, ILayoutItemProps, IGroupProps, IHoverProps, ITransitionComponentProps {
|
|
1
|
+
import type { IActiveEmits, IActiveProps, IBorderProps, IBtnProps, IBgColorProps, IColorProps, ICommonsComponentEmits, ICommonsComponentProps, IDensityProps, IDimensionProps, IElevationProps, IGroupProps, IHoverEmits, IHoverProps, ILayoutItemProps, IMarginProps, IPaddingProps, IRoundedProps, ITagProps, ITransitionComponentProps } from '../../interfaces';
|
|
2
|
+
import type { TBottomNavPosition, TNavMode } from '../../types';
|
|
3
|
+
export interface IBottomNavProps extends ITagProps, ICommonsComponentProps, IColorProps, IBgColorProps, IPaddingProps, IBorderProps, IElevationProps, IMarginProps, IDimensionProps, IDensityProps, IRoundedProps, ILayoutItemProps, IGroupProps, IHoverProps, IActiveProps, ITransitionComponentProps {
|
|
4
4
|
grow?: boolean;
|
|
5
|
-
mode?:
|
|
5
|
+
mode?: TNavMode;
|
|
6
6
|
items?: Array<IBtnProps>;
|
|
7
|
+
/**
|
|
8
|
+
* Horizontal placement of the bar when it does not span the full width
|
|
9
|
+
* (e.g. a custom `width`): `'start'` (inline-start), `'center'` or
|
|
10
|
+
* `'end'` (inline-end).
|
|
11
|
+
*
|
|
12
|
+
* @default 'start'
|
|
13
|
+
*/
|
|
14
|
+
position?: TBottomNavPosition;
|
|
7
15
|
}
|
|
8
16
|
/** Emits fired by `<OrigamBottomNav>` — active item v-model + hover/active
|
|
9
17
|
* propagation. */
|
|
@@ -1,12 +1,14 @@
|
|
|
1
|
-
import type { ICommonsComponentProps, ITagProps } from '../../interfaces';
|
|
2
|
-
import type { TIntent } from '../../types';
|
|
1
|
+
import type { IActiveProps, IBgColorProps, IBorderProps, IColorProps, ICommonsComponentProps, IDensityProps, IDimensionProps, IElevationProps, IHoverProps, IMarginProps, IPaddingProps, IRoundedProps, ITagProps, ITypographyProps } from '../../interfaces';
|
|
3
2
|
import type { IBracketCompetitor } from './bracket-competitor.interface';
|
|
4
3
|
/**
|
|
5
4
|
* Props for `<OrigamBracketCompetitor>` — a single competitor row.
|
|
6
5
|
* Exported so consumers can render a competitor row standalone (e.g.
|
|
7
|
-
* inside a custom match slot).
|
|
6
|
+
* inside a custom match slot). Carries the full cross-cutting prop
|
|
7
|
+
* surface (color, bgColor, rounded, elevation, border, density,
|
|
8
|
+
* dimension, padding, margin) so a standalone row behaves like any
|
|
9
|
+
* other origam component.
|
|
8
10
|
*/
|
|
9
|
-
export interface IBracketCompetitorProps extends ICommonsComponentProps, ITagProps {
|
|
11
|
+
export interface IBracketCompetitorProps extends ICommonsComponentProps, ITagProps, IColorProps, IBgColorProps, IHoverProps, IActiveProps, IRoundedProps, IElevationProps, IBorderProps, IDensityProps, IDimensionProps, IPaddingProps, IMarginProps, ITypographyProps {
|
|
10
12
|
/**
|
|
11
13
|
* The competitor payload. `null` renders a "TBD" placeholder — used
|
|
12
14
|
* when the match's participant is not yet determined (winner of an
|
|
@@ -48,6 +50,15 @@ export interface IBracketCompetitorProps extends ICommonsComponentProps, ITagPro
|
|
|
48
50
|
* @default true
|
|
49
51
|
*/
|
|
50
52
|
interactive?: boolean;
|
|
51
|
-
/**
|
|
52
|
-
|
|
53
|
+
/**
|
|
54
|
+
* Head-start carried into the match by this competitor, in rounds /
|
|
55
|
+
* sets. When set (`> 0`), a `+N` badge is rendered next to the name
|
|
56
|
+
* — used for the Winner Bracket champion's Grand Final advantage.
|
|
57
|
+
*/
|
|
58
|
+
advantageRounds?: number;
|
|
59
|
+
/**
|
|
60
|
+
* Marks this competitor as the one that FORFEITED the match — the
|
|
61
|
+
* name is struck through and a "forfeit" tag is shown.
|
|
62
|
+
*/
|
|
63
|
+
forfeit?: boolean;
|
|
53
64
|
}
|
|
@@ -1,12 +1,15 @@
|
|
|
1
|
-
import type { ICommonsComponentProps, ITagProps } from '../../interfaces';
|
|
2
|
-
import type { TBracketMatchStatus
|
|
1
|
+
import type { IActiveProps, IBgColorProps, IBorderProps, IColorProps, ICommonsComponentProps, IDensityProps, IDimensionProps, IElevationProps, IHoverProps, IMarginProps, IPaddingProps, IRoundedProps, ITagProps } from '../../interfaces';
|
|
2
|
+
import type { TBracketMatchStatus } from '../../types';
|
|
3
3
|
import type { IBracketMatch } from './bracket-match.interface';
|
|
4
4
|
/**
|
|
5
5
|
* Props for `<OrigamBracketMatch>` — a single match card rendered
|
|
6
6
|
* inside `<OrigamBracket>`. Exported so consumers can render a match
|
|
7
|
-
* card outside the full bracket (e.g. on a match-details page).
|
|
7
|
+
* card outside the full bracket (e.g. on a match-details page). Carries
|
|
8
|
+
* the full cross-cutting surface (color, bgColor, rounded, elevation,
|
|
9
|
+
* border, density, dimension, padding, margin) so a standalone card
|
|
10
|
+
* behaves like any other origam component.
|
|
8
11
|
*/
|
|
9
|
-
export interface IBracketMatchProps extends ICommonsComponentProps, ITagProps {
|
|
12
|
+
export interface IBracketMatchProps extends ICommonsComponentProps, ITagProps, IColorProps, IBgColorProps, IHoverProps, IActiveProps, IRoundedProps, IElevationProps, IBorderProps, IDensityProps, IDimensionProps, IPaddingProps, IMarginProps {
|
|
10
13
|
/** The match payload to render. */
|
|
11
14
|
match: IBracketMatch;
|
|
12
15
|
/**
|
|
@@ -14,6 +17,12 @@ export interface IBracketMatchProps extends ICommonsComponentProps, ITagProps {
|
|
|
14
17
|
* to force a status (e.g. preview a "live" badge from a story).
|
|
15
18
|
*/
|
|
16
19
|
status?: TBracketMatchStatus;
|
|
20
|
+
/**
|
|
21
|
+
* Destination of the "Watch live" link, shown in the meta header only
|
|
22
|
+
* when the match is `live`. A URL (rendered as an `<a>` opening in a
|
|
23
|
+
* new tab). Omit to hide the link.
|
|
24
|
+
*/
|
|
25
|
+
to?: string;
|
|
17
26
|
/**
|
|
18
27
|
* Hoists the match into the "final" visual treatment — bigger
|
|
19
28
|
* card, shadow, and rounded corners.
|
|
@@ -40,6 +49,4 @@ export interface IBracketMatchProps extends ICommonsComponentProps, ITagProps {
|
|
|
40
49
|
* @default true
|
|
41
50
|
*/
|
|
42
51
|
interactive?: boolean;
|
|
43
|
-
/** Intent color for the winner highlight. */
|
|
44
|
-
color?: TIntent;
|
|
45
52
|
}
|
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
import type { TBracketMatchStatus } from '../../types';
|
|
2
2
|
import type { IBracketCompetitor } from './bracket-competitor.interface';
|
|
3
|
+
/**
|
|
4
|
+
* Head-start carried into a match by one competitor — the classic
|
|
5
|
+
* double-elimination Grand Final advantage, where the Winner Bracket
|
|
6
|
+
* champion starts the (single) Grand Final already up by one round /
|
|
7
|
+
* set.
|
|
8
|
+
*/
|
|
9
|
+
export interface IBracketMatchAdvantage {
|
|
10
|
+
/** Id of the competitor that starts ahead. */
|
|
11
|
+
competitorId: string | number;
|
|
12
|
+
/**
|
|
13
|
+
* Size of the head start, in rounds / sets.
|
|
14
|
+
*
|
|
15
|
+
* @default 1
|
|
16
|
+
*/
|
|
17
|
+
rounds?: number;
|
|
18
|
+
}
|
|
3
19
|
/**
|
|
4
20
|
* A single match between two competitors.
|
|
5
21
|
*
|
|
@@ -44,6 +60,12 @@ export interface IBracketMatch {
|
|
|
44
60
|
* mapping is used.
|
|
45
61
|
*/
|
|
46
62
|
nextMatchId?: string | number;
|
|
63
|
+
/**
|
|
64
|
+
* Optional head-start for one competitor — the Winner Bracket
|
|
65
|
+
* champion's one-round advantage in a double-elimination Grand
|
|
66
|
+
* Final. Rendered as a `+N` badge on the favoured competitor row.
|
|
67
|
+
*/
|
|
68
|
+
advantage?: IBracketMatchAdvantage;
|
|
47
69
|
/** ISO date string — informative only, displayed when present. */
|
|
48
70
|
scheduledAt?: string;
|
|
49
71
|
/** Free-form payload — never read by the component. */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ICommonsComponentProps, IDirectionProps, ITagProps } from '../../interfaces';
|
|
1
|
+
import type { ICommonsComponentProps, IDirectionProps, ITagProps, ITypographyProps } from '../../interfaces';
|
|
2
2
|
import type { TIntent } from '../../types';
|
|
3
3
|
import type { IBracketRound } from './bracket-round.interface';
|
|
4
4
|
/**
|
|
@@ -6,7 +6,7 @@ import type { IBracketRound } from './bracket-round.interface';
|
|
|
6
6
|
* horizontal mode, row in vertical mode). Exported so consumers can
|
|
7
7
|
* render a round standalone (e.g. inside a custom layout).
|
|
8
8
|
*/
|
|
9
|
-
export interface IBracketRoundProps extends ICommonsComponentProps, ITagProps, IDirectionProps {
|
|
9
|
+
export interface IBracketRoundProps extends ICommonsComponentProps, ITagProps, IDirectionProps, ITypographyProps {
|
|
10
10
|
/** The round payload to render. */
|
|
11
11
|
round: IBracketRound;
|
|
12
12
|
/** Index of the round inside its bracket — drives the vertical offset. */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { IBgColorProps, IColorProps, ICommonsComponentProps, IDensityProps, IDimensionProps, IElevationProps, IMarginProps, IPaddingProps, IRoundedProps, ITagProps } from '../../interfaces';
|
|
1
|
+
import type { IBgColorProps, IBorderProps, IColorProps, ICommonsComponentProps, IDensityProps, IDimensionProps, IElevationProps, IMarginProps, IPaddingProps, IRoundedProps, ITagProps, ITypographyProps } from '../../interfaces';
|
|
2
2
|
import type { TBracketVariant } from '../../types';
|
|
3
3
|
import type { IBracketRound } from './bracket-round.interface';
|
|
4
4
|
/**
|
|
@@ -11,7 +11,7 @@ import type { IBracketRound } from './bracket-round.interface';
|
|
|
11
11
|
* data and re-render. No internal state is held about scores or
|
|
12
12
|
* winners — the data passed in is the source of truth.
|
|
13
13
|
*/
|
|
14
|
-
export interface IBracketProps extends ICommonsComponentProps, ITagProps, IDensityProps, IRoundedProps, IColorProps, IBgColorProps, IDimensionProps, IElevationProps, IMarginProps, IPaddingProps {
|
|
14
|
+
export interface IBracketProps extends ICommonsComponentProps, ITagProps, IDensityProps, IRoundedProps, IColorProps, IBgColorProps, IBorderProps, IDimensionProps, IElevationProps, IMarginProps, IPaddingProps, ITypographyProps {
|
|
15
15
|
/**
|
|
16
16
|
* Required. Pre-ordered list of rounds. For single-elimination,
|
|
17
17
|
* the rounds are laid out from earliest (e.g. round-of-16) to
|
|
@@ -61,4 +61,19 @@ export interface IBracketProps extends ICommonsComponentProps, ITagProps, IDensi
|
|
|
61
61
|
* @default true
|
|
62
62
|
*/
|
|
63
63
|
interactive?: boolean;
|
|
64
|
+
/**
|
|
65
|
+
* Heading shown above the winner-bracket tree in a
|
|
66
|
+
* double-elimination layout. Pre-translate before passing — the
|
|
67
|
+
* component never calls `useT`.
|
|
68
|
+
*
|
|
69
|
+
* @default 'Winners bracket'
|
|
70
|
+
*/
|
|
71
|
+
winnersLabel?: string;
|
|
72
|
+
/**
|
|
73
|
+
* Heading shown above the loser-bracket tree in a
|
|
74
|
+
* double-elimination layout.
|
|
75
|
+
*
|
|
76
|
+
* @default 'Losers bracket'
|
|
77
|
+
*/
|
|
78
|
+
losersLabel?: string;
|
|
64
79
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { IColorProps, ICommonsComponentProps, IDensityProps, IMarginProps, IPaddingProps, ISizeProps, ITagProps } from '../../interfaces';
|
|
1
|
+
import type { IBgColorProps, IColorProps, ICommonsComponentProps, IDensityProps, IMarginProps, IPaddingProps, ISizeProps, ITagProps } from '../../interfaces';
|
|
2
2
|
import type { TIcon } from '../../types';
|
|
3
|
-
export interface IBreadcrumbDividerProps extends ICommonsComponentProps, ITagProps, IPaddingProps, IMarginProps, IDensityProps, IColorProps, ISizeProps {
|
|
3
|
+
export interface IBreadcrumbDividerProps extends ICommonsComponentProps, ITagProps, IPaddingProps, IMarginProps, IDensityProps, IColorProps, IBgColorProps, ISizeProps {
|
|
4
4
|
divider: string | TIcon;
|
|
5
5
|
}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import type { IBorderProps, IBgColorProps, IColorProps, ICommonsComponentProps, IDensityProps, IElevationProps, IMarginProps, IPaddingProps, IRoundedProps, ITagProps } from '../../interfaces';
|
|
1
|
+
import type { IActiveProps, IBorderProps, IBgColorProps, IColorProps, ICommonsComponentProps, IDensityProps, IElevationProps, IHoverProps, IMarginProps, IPaddingProps, IRoundedProps, ITagProps } from '../../interfaces';
|
|
2
2
|
import type { TBreadcrumbItem, TIcon } from '../../types';
|
|
3
|
-
export interface IBreadcrumbProps extends IColorProps, IBgColorProps, ITagProps, ICommonsComponentProps, IDensityProps, IRoundedProps, IPaddingProps, IMarginProps, IBorderProps, IElevationProps {
|
|
4
|
-
activeClass?: string;
|
|
3
|
+
export interface IBreadcrumbProps extends IColorProps, IBgColorProps, ITagProps, ICommonsComponentProps, IDensityProps, IRoundedProps, IPaddingProps, IMarginProps, IBorderProps, IElevationProps, IHoverProps, IActiveProps {
|
|
5
4
|
disabled?: boolean;
|
|
6
5
|
divider?: string | TIcon;
|
|
7
6
|
items?: Array<TBreadcrumbItem>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { IBorderProps, IBtnProps, IBgColorProps, IColorProps, ICommonsComponentProps, IDensityProps, IElevationProps, IMarginProps, IPaddingProps, IRoundedProps, ITagProps } from '../../interfaces';
|
|
2
|
-
export interface IBtnGroupProps extends ITagProps, ICommonsComponentProps, IRoundedProps, IBorderProps, IDensityProps, IElevationProps, IColorProps, IBgColorProps, IMarginProps, IPaddingProps {
|
|
1
|
+
import type { IActiveProps, IBorderProps, IBtnProps, IBgColorProps, IColorProps, ICommonsComponentProps, IDensityProps, IElevationProps, IHoverProps, IMarginProps, IPaddingProps, IRoundedProps, ITagProps } from '../../interfaces';
|
|
2
|
+
export interface IBtnGroupProps extends ITagProps, ICommonsComponentProps, IRoundedProps, IBorderProps, IDensityProps, IElevationProps, IColorProps, IBgColorProps, IMarginProps, IPaddingProps, IHoverProps, IActiveProps {
|
|
3
3
|
divided?: boolean;
|
|
4
4
|
items?: Array<IBtnProps>;
|
|
5
5
|
}
|
|
@@ -1,14 +1,22 @@
|
|
|
1
|
-
import type { IAdjacentEmits, IAdjacentProps, IBorderProps, IBgColorProps, IColorProps, ICommonsComponentProps, IDensityProps, IDimensionProps, IElevationProps, IGroupEmits, IGroupItemProps, IHoverProps, ILinkProps, ILoaderProps, ILocationProps, IMarginProps, IPaddingProps, IPositionProps, IRippleProps, IRoundedProps, ISizeProps,
|
|
1
|
+
import type { IActiveState, IAdjacentEmits, IAdjacentProps, IBorderProps, IBgColorProps, IColorProps, ICommonsComponentProps, IDensityProps, IDimensionProps, IElevationProps, IGroupEmits, IGroupItemProps, IHoverProps, ILinkProps, ILoaderProps, ILocationProps, IMarginProps, IPaddingProps, IPositionProps, IRippleProps, IRoundedProps, ISizeProps, ITagProps, ITypographyProps, IVariantProps } from '../../interfaces';
|
|
2
2
|
import type { TIcon } from '../../types';
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
import type { TStatus, TStatusPosition } from '../../types';
|
|
4
|
+
/** Btn needs `status` / `statusIconPosition` from IStatusProps but its own
|
|
5
|
+
* `icon` prop accepts `boolean | TIcon` (boolean = icon-only mode) which is
|
|
6
|
+
* wider than `IIconProps.icon?: TIcon`. Pulling the two status props in
|
|
7
|
+
* directly avoids the TS2430 incompatible-extends error. */
|
|
8
|
+
export interface IBtnProps extends ICommonsComponentProps, IColorProps, IBgColorProps, IBorderProps, IDensityProps, IDimensionProps, IElevationProps, IRoundedProps, ITagProps, ISizeProps, ILinkProps, IRippleProps, ILoaderProps, IPositionProps, ILocationProps, IGroupItemProps, IPaddingProps, IMarginProps, IAdjacentProps, IHoverProps, IVariantProps, ITypographyProps {
|
|
9
|
+
active?: boolean | IActiveState;
|
|
5
10
|
/** @deprecated Use `variant="flat"` instead. Kept for backward compat. */
|
|
6
11
|
flat?: boolean;
|
|
12
|
+
/** Pass `true` to activate icon-only mode; pass a `TIcon` value to set the icon. */
|
|
7
13
|
icon?: boolean | TIcon;
|
|
8
14
|
block?: boolean;
|
|
9
15
|
slim?: boolean;
|
|
10
16
|
stacked?: boolean;
|
|
11
17
|
text?: string;
|
|
18
|
+
status?: TStatus;
|
|
19
|
+
statusIconPosition?: TStatusPosition;
|
|
12
20
|
}
|
|
13
21
|
/** Emits fired by `<OrigamBtn>` — clicks on prepend/append slots and
|
|
14
22
|
* group-membership lifecycle. */
|
|
@@ -1,11 +1,16 @@
|
|
|
1
|
-
import type { ICommonsComponentProps, IEvent } from '../../interfaces';
|
|
1
|
+
import type { IBgColorProps, IBorderProps, IColorProps, ICommonsComponentProps, IDensityProps, IDimensionProps, IElevationProps, IEvent, IMarginProps, IPaddingProps, IRoundedProps } from '../../interfaces';
|
|
2
2
|
import type { TCalendarNavigate, TCalendarTimeFormat, TCalendarView, TIntent } from '../../types';
|
|
3
3
|
/**
|
|
4
4
|
* Props for `<OrigamCalendar>`. Two-way bindings on `view` and
|
|
5
5
|
* `currentDate` so the parent can sync with router state or persist
|
|
6
6
|
* across page reloads without owning a watcher.
|
|
7
|
+
*
|
|
8
|
+
* The full cross-cutting surface (color, bgColor, rounded, elevation,
|
|
9
|
+
* border, density, dimension, padding, margin) is inherited from the
|
|
10
|
+
* Commons interfaces and consumed via the standard composables, so the
|
|
11
|
+
* calendar paints / sizes / spaces like any other origam component.
|
|
7
12
|
*/
|
|
8
|
-
export interface
|
|
13
|
+
export interface ICalendarComponentProps extends ICommonsComponentProps, IColorProps, IBgColorProps, IRoundedProps, IElevationProps, IBorderProps, IDensityProps, IDimensionProps, IPaddingProps, IMarginProps {
|
|
9
14
|
/** Active view mode. v-model:view. */
|
|
10
15
|
view?: TCalendarView;
|
|
11
16
|
/** Anchor date. v-model:currentDate. */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { IAdjacentEmits, IAdjacentProps, IBorderProps, ICommonsComponentProps, IDensityProps, IMarginProps, IPaddingProps, IRoundedProps, ITagProps } from '../../interfaces';
|
|
2
|
-
export interface ICardHeaderProps extends ITagProps, ICommonsComponentProps, IBorderProps, IRoundedProps, IPaddingProps, IMarginProps, IDensityProps, IAdjacentProps {
|
|
1
|
+
import type { IAdjacentEmits, IAdjacentProps, IBorderProps, ICommonsComponentProps, IDensityProps, IMarginProps, IPaddingProps, IRoundedProps, ITagProps, ITypographyProps } from '../../interfaces';
|
|
2
|
+
export interface ICardHeaderProps extends ITagProps, ICommonsComponentProps, IBorderProps, IRoundedProps, IPaddingProps, IMarginProps, IDensityProps, IAdjacentProps, ITypographyProps {
|
|
3
3
|
subtitle?: string | number;
|
|
4
4
|
title?: string | number;
|
|
5
5
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { IBorderProps, ICommonsComponentProps, IMarginProps, IPaddingProps, IRoundedProps, ITagProps } from '../../interfaces';
|
|
2
|
-
export interface ICardTextProps extends ICommonsComponentProps, ITagProps, IBorderProps, IRoundedProps, IPaddingProps, IMarginProps {
|
|
1
|
+
import type { IBorderProps, ICommonsComponentProps, IDensityProps, IMarginProps, IPaddingProps, IRoundedProps, ITagProps, ITypographyProps } from '../../interfaces';
|
|
2
|
+
export interface ICardTextProps extends ICommonsComponentProps, ITagProps, IBorderProps, IRoundedProps, IPaddingProps, IMarginProps, IDensityProps, ITypographyProps {
|
|
3
3
|
text?: string | number;
|
|
4
4
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { IColorProps, ICommonsComponentEmits, ICommonsComponentProps, IDimensionProps, ITagProps, IWindowProps } from '../../interfaces';
|
|
1
|
+
import type { IActiveProps, IBgColorProps, IColorProps, ICommonsComponentEmits, ICommonsComponentProps, IDimensionProps, IHoverProps, ITagProps, IWindowProps } from '../../interfaces';
|
|
2
2
|
import type { TIcon, TInline } from '../../types';
|
|
3
|
-
export interface ICarouselProps extends IWindowProps, IColorProps, ICommonsComponentProps, ITagProps, IDimensionProps {
|
|
3
|
+
export interface ICarouselProps extends IWindowProps, IColorProps, IBgColorProps, ICommonsComponentProps, ITagProps, IDimensionProps, IHoverProps, IActiveProps {
|
|
4
4
|
cycle?: boolean;
|
|
5
5
|
delimiterIcon?: TIcon;
|
|
6
6
|
hideDelimiters?: boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { IBgColorProps, IChartPoint, IChartSeries, ICommonsComponentProps, IDimensionProps, IElevationProps, IMarginProps, IPaddingProps, IRoundedProps } from '../../interfaces';
|
|
1
|
+
import type { IBgColorProps, IChartPoint, IChartSeries, ICommonsComponentProps, IDimensionProps, IElevationProps, IMarginProps, IPaddingProps, IRoundedProps, ITypographyProps } from '../../interfaces';
|
|
2
2
|
import type { TChartLegendPosition, TIntent } from '../../types';
|
|
3
3
|
/**
|
|
4
4
|
* Props shared across every chart type. Per-type components
|
|
@@ -11,7 +11,7 @@ import type { TChartLegendPosition, TIntent } from '../../types';
|
|
|
11
11
|
* stays available for advanced consumers — it uses `IChartProps`
|
|
12
12
|
* which is `IChartBaseProps + type + all type-specific options`.
|
|
13
13
|
*/
|
|
14
|
-
export interface IChartBaseProps extends ICommonsComponentProps, IDimensionProps, IMarginProps, IPaddingProps, IRoundedProps, IElevationProps, IBgColorProps {
|
|
14
|
+
export interface IChartBaseProps extends ICommonsComponentProps, IDimensionProps, IMarginProps, IPaddingProps, IRoundedProps, IElevationProps, IBgColorProps, Pick<ITypographyProps, 'fontSize' | 'fontWeight'> {
|
|
15
15
|
/** Data series — one or more. Empty array renders the `#empty` slot. */
|
|
16
16
|
series: Array<IChartSeries>;
|
|
17
17
|
/**
|
|
@@ -68,12 +68,13 @@ export interface IChartBaseEmits {
|
|
|
68
68
|
* Identical to `IChartSlots` from the universal `<OrigamChart>`.
|
|
69
69
|
*/
|
|
70
70
|
export interface IChartBaseSlots {
|
|
71
|
-
/**
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
71
|
+
/**
|
|
72
|
+
* Replace the default tooltip body.
|
|
73
|
+
* Sub-chart interfaces extend this with a narrower binding signature;
|
|
74
|
+
* the parameter is typed `any` here so those overrides satisfy the
|
|
75
|
+
* TypeScript function-parameter assignability check (TS2430).
|
|
76
|
+
*/
|
|
77
|
+
tooltip?: (bindings: any) => any;
|
|
77
78
|
/** Replace one legend entry. */
|
|
78
79
|
'legend-item'?: (bindings: {
|
|
79
80
|
series: IChartSeries;
|
|
@@ -39,7 +39,7 @@ export interface IChartWordCloudWord extends IChartWordCloudDatum {
|
|
|
39
39
|
* `{ text, value, color? }` object or a plain number (ignored — use
|
|
40
40
|
* object form for word clouds).
|
|
41
41
|
*/
|
|
42
|
-
export interface IChartWordCloudProps extends IChartBaseProps {
|
|
42
|
+
export interface IChartWordCloudProps extends Omit<IChartBaseProps, 'fontWeight'> {
|
|
43
43
|
/**
|
|
44
44
|
* Minimum font size in px applied to the word with the lowest value.
|
|
45
45
|
* Default `12`.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { IBgColorProps, IChartAnnotation, IChartPlotBand, IChartPlotLine, IChartPoint, IChartSecondaryYAxis, IChartSeries, ICommonsComponentProps, IDimensionProps, IElevationProps, IMarginProps, IPaddingProps, IRoundedProps } from '../../interfaces';
|
|
1
|
+
import type { IBgColorProps, IChartAnnotation, IChartDrilldownProps, IChartPlotBand, IChartPlotLine, IChartPoint, IChartSecondaryYAxis, IChartSeries, ICommonsComponentProps, IDimensionProps, IElevationProps, IMarginProps, IPaddingProps, IRoundedProps } from '../../interfaces';
|
|
2
2
|
import type { TChartLegendPosition, TChartSmoothing, TChartStacking, TChartType, TIntent } from '../../types';
|
|
3
3
|
/**
|
|
4
4
|
* Props accepted by `<OrigamChart>`. Single component for eight
|
|
@@ -121,6 +121,17 @@ export interface IChartProps extends ICommonsComponentProps, IDimensionProps, IM
|
|
|
121
121
|
* coordinates. Four kinds: `'arrow'`, `'label'`, `'circle'`, `'bracket'`.
|
|
122
122
|
*/
|
|
123
123
|
annotations?: Array<IChartAnnotation>;
|
|
124
|
+
/**
|
|
125
|
+
* Drilldown configuration forwarded to `<OrigamChartCartesian>` and
|
|
126
|
+
* `<OrigamChartPolar>`. Ignored by other families (radar, gauge, …).
|
|
127
|
+
*/
|
|
128
|
+
drilldown?: IChartDrilldownProps;
|
|
129
|
+
/**
|
|
130
|
+
* Secondary (right-hand) Y axis configuration. Forwarded to
|
|
131
|
+
* `<OrigamChartCartesian>` only — ignored for other families.
|
|
132
|
+
* When absent the engine ignores `series.yAxis === 1` assignments.
|
|
133
|
+
*/
|
|
134
|
+
secondaryYAxis?: IChartSecondaryYAxis;
|
|
124
135
|
}
|
|
125
136
|
/**
|
|
126
137
|
* Emits surfaced by `<OrigamChart>`. All payloads are plain
|
|
@@ -11,9 +11,9 @@ export interface ICheckboxBtnSlots extends ICommonsComponentSlots {
|
|
|
11
11
|
label?: () => any;
|
|
12
12
|
input?: (data: {
|
|
13
13
|
props: any;
|
|
14
|
-
icon
|
|
15
|
-
textColorStyles
|
|
16
|
-
backgroundColorStyles
|
|
14
|
+
icon?: TIcon;
|
|
15
|
+
textColorStyles?: TColor;
|
|
16
|
+
backgroundColorStyles?: TColor;
|
|
17
17
|
model: any;
|
|
18
18
|
}) => any;
|
|
19
19
|
}
|
|
@@ -5,19 +5,20 @@ export interface ICheckboxProps extends ICommonsComponentProps, IInputProps, ICh
|
|
|
5
5
|
export interface ICheckboxEmits extends ICommonsComponentEmits, IFocusEmits, ISelectionControlEmits {
|
|
6
6
|
}
|
|
7
7
|
export interface ICheckboxSlots {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
8
|
+
/** Slot data is provided when called from OrigamInput; absent when re-forwarded from OrigamCheckboxBtn. */
|
|
9
|
+
default?: (data?: {
|
|
10
|
+
id?: string;
|
|
11
|
+
messagesId?: string;
|
|
12
|
+
isDisabled?: boolean;
|
|
13
|
+
isReadonly?: boolean;
|
|
14
|
+
isValid?: boolean | undefined;
|
|
14
15
|
}) => any;
|
|
15
16
|
label?: () => any;
|
|
16
17
|
input?: (data: {
|
|
17
18
|
props: any;
|
|
18
|
-
icon
|
|
19
|
-
textColorStyles
|
|
20
|
-
backgroundColorStyles
|
|
19
|
+
icon?: TIcon;
|
|
20
|
+
textColorStyles?: TColor;
|
|
21
|
+
backgroundColorStyles?: TColor;
|
|
21
22
|
model: any;
|
|
22
23
|
}) => any;
|
|
23
24
|
}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
import type { IBorderProps, IBgColorProps, IColorProps, ICommonsComponentEmits, ICommonsComponentProps, IGroupProps, IMarginProps, IPaddingProps, IRoundedProps, ISlideGroupProps, ITagProps } from '../../interfaces';
|
|
1
|
+
import type { IBorderProps, IBgColorProps, IColorProps, ICommonsComponentEmits, ICommonsComponentProps, IGroupProps, IMarginProps, IPaddingProps, IRoundedProps, ISlideGroupProps, ITagProps, IActiveState, IHoverState } from '../../interfaces';
|
|
2
2
|
export interface IChipGroupProps extends ICommonsComponentProps, ITagProps, IGroupProps, IColorProps, IBgColorProps, IMarginProps, IPaddingProps, IBorderProps, IRoundedProps, ISlideGroupProps {
|
|
3
3
|
column?: boolean;
|
|
4
4
|
filter?: boolean;
|
|
5
5
|
valueComparator?: (a: any, b: any) => boolean;
|
|
6
|
+
active?: IActiveState;
|
|
7
|
+
hover?: IHoverState;
|
|
6
8
|
}
|
|
7
9
|
/** Emits fired by `<OrigamChipGroup>` — v-model on the active chip set. */
|
|
8
10
|
export interface IChipGroupEmits extends ICommonsComponentEmits {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { IActiveProps, IAdjacentEmits, IAdjacentProps, IBorderProps, IBgColorProps, IClickCloseEmits, IClickEmits, IColorProps, ICommonsComponentEmits, ICommonsComponentProps, IDensityProps, IElevationProps, IGroupEmits, IGroupItemProps, IHoverProps, ILinkProps, IMarginProps, IPaddingProps, IRippleProps, IRoundedProps, ISizeProps, ITagProps } from '../../interfaces';
|
|
1
|
+
import type { IActiveProps, IAdjacentEmits, IAdjacentProps, IBorderProps, IBgColorProps, IClickCloseEmits, IClickEmits, IColorProps, ICommonsComponentEmits, ICommonsComponentProps, IDensityProps, IElevationProps, IGroupEmits, IGroupItemProps, IHoverProps, ILinkProps, IMarginProps, IPaddingProps, IRippleProps, IRoundedProps, ISizeProps, ITagProps, ITypographyProps } from '../../interfaces';
|
|
2
2
|
import type { TIcon } from '../../types';
|
|
3
|
-
export interface IChipProps extends ICommonsComponentProps, IAdjacentProps, ITagProps, IColorProps, IBgColorProps, IRippleProps, IBorderProps, IRoundedProps, IPaddingProps, IMarginProps, IDensityProps, IGroupItemProps, ILinkProps, ISizeProps, IElevationProps, IActiveProps, IHoverProps {
|
|
3
|
+
export interface IChipProps extends ICommonsComponentProps, IAdjacentProps, ITagProps, IColorProps, IBgColorProps, IRippleProps, IBorderProps, IRoundedProps, IPaddingProps, IMarginProps, IDensityProps, IGroupItemProps, ILinkProps, ISizeProps, IElevationProps, IActiveProps, IHoverProps, ITypographyProps {
|
|
4
4
|
closable?: boolean;
|
|
5
5
|
closeIcon?: TIcon;
|
|
6
6
|
closeLabel?: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { IBgColorProps, IBorderProps, IColorProps, ICommonsComponentProps, IMarginProps, IPaddingProps, IRoundedProps, ITagProps } from '../../interfaces';
|
|
1
|
+
import type { IBgColorProps, IBorderProps, IColorProps, ICommonsComponentProps, IMarginProps, IPaddingProps, IRoundedProps, ITagProps, ITypographyProps } from '../../interfaces';
|
|
2
2
|
/**
|
|
3
3
|
* Props for `<OrigamClipboard>` — copy-to-clipboard wrapper.
|
|
4
4
|
*
|
|
@@ -12,7 +12,7 @@ import type { IBgColorProps, IBorderProps, IColorProps, ICommonsComponentProps,
|
|
|
12
12
|
* inline pill, animation, …) pass a `#default` scoped slot exposing
|
|
13
13
|
* `{ copy, copied, error }` and render whatever they want.
|
|
14
14
|
*/
|
|
15
|
-
export interface IClipboardProps extends ICommonsComponentProps, ITagProps, IColorProps, IBgColorProps, IBorderProps, IRoundedProps, IMarginProps, IPaddingProps {
|
|
15
|
+
export interface IClipboardProps extends ICommonsComponentProps, ITagProps, IColorProps, IBgColorProps, IBorderProps, IRoundedProps, IMarginProps, IPaddingProps, ITypographyProps {
|
|
16
16
|
/**
|
|
17
17
|
* Text payload written to the clipboard on `copy()`. Required.
|
|
18
18
|
* Re-read each time the trigger fires, so a parent that mutates
|