origam 2.14.1 → 2.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +233 -0
- package/dist/src/components/Alert/OrigamAlert.vue +14 -16
- package/dist/src/components/App/OrigamApp.vue +1 -0
- package/dist/src/components/App/OrigamAppBar.vue +6 -5
- package/dist/src/components/Audio/OrigamAudio.vue +7 -6
- package/dist/src/components/Avatar/OrigamAvatar.vue +6 -5
- package/dist/src/components/Avatar/OrigamAvatarGroup.vue +1 -0
- package/dist/src/components/Badge/OrigamBadge.vue +87 -58
- package/dist/src/components/Blockquote/OrigamBlockquote.vue +9 -8
- package/dist/src/components/BottomNav/OrigamBottomNav.vue +11 -8
- package/dist/src/components/Bracket/OrigamBracket.vue +13 -16
- package/dist/src/components/Bracket/OrigamBracketCompetitor.vue +6 -6
- package/dist/src/components/Bracket/OrigamBracketMatch.vue +29 -9
- package/dist/src/components/Bracket/OrigamBracketRound.vue +7 -6
- package/dist/src/components/Breadcrumb/OrigamBreadcrumb.vue +12 -8
- package/dist/src/components/Breadcrumb/OrigamBreadcrumbDivider.vue +1 -0
- package/dist/src/components/Breadcrumb/OrigamBreadcrumbItem.vue +1 -0
- package/dist/src/components/Btn/OrigamBtn.vue +8 -7
- package/dist/src/components/Btn/OrigamBtnGroup.vue +1 -0
- package/dist/src/components/Btn/OrigamBtnToggle.vue +1 -0
- package/dist/src/components/Calendar/OrigamCalendar.vue +26 -39
- package/dist/src/components/Card/OrigamCard.vue +5 -4
- package/dist/src/components/Card/OrigamCardHeader.vue +22 -5
- package/dist/src/components/Card/OrigamCardText.vue +28 -6
- package/dist/src/components/Carousel/OrigamCarousel.vue +1 -0
- package/dist/src/components/Carousel/OrigamCarouselItem.vue +1 -0
- package/dist/src/components/Chart/OrigamChart.vue +54 -2
- package/dist/src/components/Chart/OrigamChartBoxPlot.vue +4 -3
- package/dist/src/components/Chart/OrigamChartBullet.vue +10 -8
- package/dist/src/components/Chart/OrigamChartCandlestick.vue +11 -10
- package/dist/src/components/Chart/OrigamChartCartesian.vue +6 -5
- package/dist/src/components/Chart/OrigamChartGauge.vue +4 -3
- package/dist/src/components/Chart/OrigamChartHeatmap.vue +15 -4
- package/dist/src/components/Chart/OrigamChartHoneycomb.vue +4 -3
- package/dist/src/components/Chart/OrigamChartLegend.vue +2 -1
- package/dist/src/components/Chart/OrigamChartMap.vue +7 -6
- package/dist/src/components/Chart/OrigamChartPareto.vue +13 -13
- package/dist/src/components/Chart/OrigamChartPictorial.vue +20 -19
- package/dist/src/components/Chart/OrigamChartPolar.vue +5 -4
- package/dist/src/components/Chart/OrigamChartPolarBar.vue +4 -3
- package/dist/src/components/Chart/OrigamChartPyramid.vue +4 -3
- package/dist/src/components/Chart/OrigamChartRadar.vue +4 -3
- package/dist/src/components/Chart/OrigamChartSankey.vue +4 -3
- package/dist/src/components/Chart/OrigamChartSparkline.vue +4 -3
- package/dist/src/components/Chart/OrigamChartStreamgraph.vue +5 -4
- package/dist/src/components/Chart/OrigamChartSunburst.vue +4 -3
- package/dist/src/components/Chart/OrigamChartTooltip.vue +1 -0
- package/dist/src/components/Chart/OrigamChartTreemap.vue +5 -4
- package/dist/src/components/Chart/OrigamChartVariwide.vue +11 -11
- package/dist/src/components/Chart/OrigamChartWordCloud.vue +3 -2
- package/dist/src/components/Checkbox/OrigamCheckbox.vue +5 -5
- package/dist/src/components/Chip/OrigamChip.vue +19 -7
- package/dist/src/components/Chip/OrigamChipGroup.vue +10 -7
- package/dist/src/components/ClientOnly/OrigamClientOnly.vue +1 -0
- package/dist/src/components/Clipboard/OrigamClipboard.vue +6 -5
- package/dist/src/components/Code/OrigamCode.vue +6 -5
- package/dist/src/components/ColorPicker/OrigamColorPicker.vue +7 -6
- package/dist/src/components/ColorPicker/OrigamColorPickerCanvas.vue +2 -2
- package/dist/src/components/ColorPickerField/OrigamColorPickerField.vue +6 -5
- package/dist/src/components/CommandPalette/OrigamCommandPalette.vue +5 -5
- package/dist/src/components/ContextualMenu/OrigamContextualMenu.vue +5 -5
- package/dist/src/components/Counter/OrigamCounter.vue +43 -2
- package/dist/src/components/DataList/OrigamDataList.vue +7 -6
- package/dist/src/components/DataList/OrigamDataText.vue +1 -0
- package/dist/src/components/DataList/OrigamDataTitle.vue +1 -0
- package/dist/src/components/DataTable/OrigamDataTable.vue +8 -10
- package/dist/src/components/DataTable/OrigamDataTableColumnCell.vue +1 -0
- package/dist/src/components/DataTable/OrigamDataTableFooter.vue +1 -0
- package/dist/src/components/DataTable/OrigamDataTableGroupHeaderRow.vue +1 -0
- package/dist/src/components/DataTable/OrigamDataTableHeaderCell.vue +1 -0
- package/dist/src/components/DataTable/OrigamDataTableHeaders.vue +3 -2
- package/dist/src/components/DataTable/OrigamDataTableHeadersCellMobile.vue +5 -0
- package/dist/src/components/DataTable/OrigamDataTableRow.vue +4 -3
- package/dist/src/components/DataTable/OrigamDataTableRows.vue +4 -2
- package/dist/src/components/DatePicker/OrigamDatePicker.vue +7 -6
- package/dist/src/components/DatePicker/OrigamDatePickerHeader.vue +1 -0
- package/dist/src/components/DatePicker/OrigamDatePickerMonth.vue +1 -0
- package/dist/src/components/DatePicker/OrigamDatePickerMonths.vue +1 -0
- package/dist/src/components/DatePicker/OrigamDatePickerYears.vue +1 -0
- package/dist/src/components/DatePickerField/OrigamDatePickerField.vue +6 -5
- package/dist/src/components/Dialog/OrigamDialog.vue +1 -0
- package/dist/src/components/Dialog/OrigamDialogConfirmation.vue +2 -1
- package/dist/src/components/Drawer/OrigamDrawer.vue +1 -0
- package/dist/src/components/EmptyState/OrigamEmptyState.vue +9 -8
- package/dist/src/components/ExpansionPanel/OrigamExpansionPanel.vue +9 -8
- package/dist/src/components/ExpansionPanel/OrigamExpansionPanelContent.vue +3 -2
- package/dist/src/components/ExpansionPanel/OrigamExpansionPanelHeader.vue +6 -5
- package/dist/src/components/ExpansionPanel/OrigamExpansionPanels.vue +13 -8
- package/dist/src/components/Field/OrigamField.vue +7 -7
- package/dist/src/components/FileField/OrigamFileField.vue +12 -12
- package/dist/src/components/FileField/OrigamFileFieldDragNDropItem.vue +5 -5
- package/dist/src/components/FileField/OrigamFileFieldListItem.vue +5 -5
- package/dist/src/components/Form/OrigamForm.vue +6 -6
- package/dist/src/components/Grid/OrigamGrid.vue +9 -8
- package/dist/src/components/Grid/OrigamGridItem.vue +3 -2
- package/dist/src/components/Grids/OrigamCol.vue +1 -0
- package/dist/src/components/Grids/OrigamContainer.vue +1 -0
- package/dist/src/components/Grids/OrigamRow.vue +1 -0
- package/dist/src/components/Grids/OrigamSpacer.vue +1 -0
- package/dist/src/components/Icon/OrigamClassIcon.vue +28 -3
- package/dist/src/components/Icon/OrigamComponentIcon.vue +29 -3
- package/dist/src/components/Icon/OrigamIcon.vue +1 -1
- package/dist/src/components/Icon/OrigamLigatureIcon.vue +28 -3
- package/dist/src/components/Icon/OrigamSvgIcon.vue +28 -3
- package/dist/src/components/Img/OrigamImg.vue +1 -0
- package/dist/src/components/InfiniteScroll/OrigamInfiniteScroll.vue +6 -5
- package/dist/src/components/InlineEdit/OrigamInlineEdit.vue +6 -5
- package/dist/src/components/Input/OrigamInput.vue +25 -5
- package/dist/src/components/ItemGroup/OrigamItem.vue +5 -4
- package/dist/src/components/ItemGroup/OrigamItemGroup.vue +7 -3
- package/dist/src/components/Kbd/OrigamKbd.vue +9 -7
- package/dist/src/components/Label/OrigamLabel.vue +5 -5
- package/dist/src/components/Layout/OrigamLayout.vue +1 -0
- package/dist/src/components/Lazy/OrigamLazy.vue +1 -0
- package/dist/src/components/List/OrigamList.vue +10 -7
- package/dist/src/components/List/OrigamListChildren.vue +1 -0
- package/dist/src/components/List/OrigamListGroup.vue +8 -4
- package/dist/src/components/List/OrigamListGroupActivator.vue +1 -0
- package/dist/src/components/List/OrigamListItem.vue +6 -5
- package/dist/src/components/List/OrigamListSubheader.vue +6 -5
- package/dist/src/components/Loader/OrigamLoader.vue +1 -0
- package/dist/src/components/Main/OrigamMain.vue +1 -0
- package/dist/src/components/Masonry/OrigamMasonry.vue +9 -5
- package/dist/src/components/Media/OrigamMediaController.vue +0 -5
- package/dist/src/components/Media/OrigamMediaScrubber.vue +18 -14
- package/dist/src/components/Menu/OrigamMenu.vue +26 -12
- package/dist/src/components/Messages/OrigamMessages.vue +5 -5
- package/dist/src/components/NumberField/OrigamNumberField.vue +5 -5
- package/dist/src/components/NumberFormat/OrigamNumberFormat.vue +8 -7
- package/dist/src/components/OtpInputField/OrigamOtpInputField.vue +5 -5
- package/dist/src/components/Overlay/OrigamOverlay.vue +1 -0
- package/dist/src/components/Pagination/OrigamPagination.vue +34 -6
- package/dist/src/components/Parallax/OrigamParallax.vue +36 -8
- package/dist/src/components/Parallax/OrigamParallaxElement.vue +5 -4
- package/dist/src/components/Parallax/OrigamParallaxLayer.vue +1 -0
- package/dist/src/components/PasswordField/OrigamPasswordField.vue +5 -5
- package/dist/src/components/Picker/OrigamPicker.vue +7 -6
- package/dist/src/components/Picker/OrigamPickerTitle.vue +6 -5
- package/dist/src/components/Progress/OrigamProgress.vue +1 -0
- package/dist/src/components/Progress/OrigamProgressCircular.vue +1 -0
- package/dist/src/components/Progress/OrigamProgressLinear.vue +1 -0
- package/dist/src/components/QrCode/OrigamQrCode.vue +1 -1
- package/dist/src/components/Radio/OrigamRadio.vue +6 -5
- package/dist/src/components/Radio/OrigamRadioBtn.vue +1 -0
- package/dist/src/components/Radio/OrigamRadioGroup.vue +16 -12
- package/dist/src/components/RatingField/OrigamRatingField.vue +6 -5
- package/dist/src/components/RatingField/OrigamRatingFieldItem.vue +1 -0
- package/dist/src/components/Responsive/OrigamResponsive.vue +1 -0
- package/dist/src/components/Select/OrigamSelect.vue +6 -5
- package/dist/src/components/SelectionControl/OrigamSelectionControl.vue +4 -2
- package/dist/src/components/SelectionControl/OrigamSelectionControlGroup.vue +17 -15
- package/dist/src/components/Sheet/OrigamSheet.vue +3 -2
- package/dist/src/components/Skeleton/OrigamSkeleton.vue +2 -1
- package/dist/src/components/Slide/OrigamSlideGroup.vue +2 -1
- package/dist/src/components/SliderField/OrigamSliderField.vue +6 -5
- package/dist/src/components/SliderField/OrigamSliderFieldTrack.vue +2 -4
- package/dist/src/components/Snackbar/OrigamSnackbar.vue +2 -0
- package/dist/src/components/Snackbar/OrigamSnackbarGroup.vue +11 -7
- package/dist/src/components/Snackbar/OrigamSnackbarItem.vue +18 -11
- package/dist/src/components/Stepper/OrigamStepper.vue +4 -3
- package/dist/src/components/Stepper/OrigamStepperItem.vue +10 -10
- package/dist/src/components/Switch/OrigamSwitch.vue +12 -54
- package/dist/src/components/SystemBar/OrigamSystemBar.vue +6 -5
- package/dist/src/components/Table/OrigamTable.vue +6 -5
- package/dist/src/components/Tabs/OrigamTab.vue +43 -15
- package/dist/src/components/Tabs/OrigamTabPanel.vue +1 -0
- package/dist/src/components/Tabs/OrigamTabPanels.vue +7 -3
- package/dist/src/components/Tabs/OrigamTabs.vue +10 -6
- package/dist/src/components/TextField/OrigamTextField.vue +5 -5
- package/dist/src/components/TextMask/OrigamTextMask.vue +8 -7
- package/dist/src/components/TextareaField/OrigamTextareaField.vue +8 -6
- package/dist/src/components/ThemeProvider/OrigamThemeProvider.vue +3 -2
- package/dist/src/components/Timeline/OrigamTimeline.vue +9 -6
- package/dist/src/components/Timeline/OrigamTimelineItem.vue +13 -11
- package/dist/src/components/Title/OrigamTitle.vue +6 -5
- package/dist/src/components/Toolbar/OrigamToolbar.vue +6 -5
- package/dist/src/components/Tooltip/OrigamTooltip.vue +6 -5
- package/dist/src/components/Transition/OrigamExpandX.vue +1 -0
- package/dist/src/components/Transition/OrigamExpandY.vue +1 -0
- package/dist/src/components/Transition/OrigamFade.vue +1 -0
- package/dist/src/components/Transition/OrigamReverseTranslatePicker.vue +1 -0
- package/dist/src/components/Transition/OrigamScaleRotate.vue +1 -0
- package/dist/src/components/Transition/OrigamSlideX.vue +1 -0
- package/dist/src/components/Transition/OrigamSlideY.vue +1 -0
- package/dist/src/components/Transition/OrigamSnack.vue +1 -0
- package/dist/src/components/Transition/OrigamTransition.vue +1 -0
- package/dist/src/components/Transition/OrigamTranslateBottom.vue +1 -0
- package/dist/src/components/Transition/OrigamTranslatePicker.vue +1 -0
- package/dist/src/components/Transition/OrigamTranslateScale.vue +1 -0
- package/dist/src/components/Transition/OrigamWindowXReverseTranslate.vue +1 -0
- package/dist/src/components/Transition/OrigamWindowXTranslate.vue +1 -0
- package/dist/src/components/Transition/OrigamWindowYReverseTranslate.vue +1 -0
- package/dist/src/components/Transition/OrigamWindowYTranslate.vue +1 -0
- package/dist/src/components/Treeview/OrigamTreeview.vue +8 -8
- package/dist/src/components/Treeview/OrigamTreeviewNode.vue +5 -4
- package/dist/src/components/Video/OrigamVideo.vue +10 -56
- package/dist/src/components/VirtualScroll/OrigamVirtualScroll.vue +1 -0
- package/dist/src/components/VirtualScroll/OrigamVirtualScrollItem.vue +1 -0
- package/dist/src/components/Watermark/OrigamWatermark.vue +1 -0
- package/dist/src/components/Window/OrigamWindow.vue +1 -0
- package/dist/src/components/Window/OrigamWindowItem.vue +1 -0
- package/dist/src/composables/Calendar/calendar.composable.cjs +11 -10
- package/dist/src/composables/Calendar/calendar.composable.d.ts +2 -26
- package/dist/src/composables/Calendar/calendar.composable.js +11 -10
- package/dist/src/composables/CommandPalette/command.composable.d.ts +2 -24
- package/dist/src/composables/Commons/border.composable.cjs +18 -0
- package/dist/src/composables/Commons/border.composable.d.ts +12 -8
- package/dist/src/composables/Commons/border.composable.js +16 -1
- package/dist/src/composables/Commons/defaults.composable.cjs +1 -0
- package/dist/src/composables/Commons/defaults.composable.d.ts +11 -0
- package/dist/src/composables/Commons/defaults.composable.js +1 -1
- package/dist/src/composables/Commons/loader.composable.cjs +2 -1
- package/dist/src/composables/Commons/loader.composable.d.ts +3 -24
- package/dist/src/composables/Commons/loader.composable.js +2 -1
- package/dist/src/composables/Commons/margin.composable.cjs +26 -12
- package/dist/src/composables/Commons/margin.composable.d.ts +37 -0
- package/dist/src/composables/Commons/margin.composable.js +22 -25
- package/dist/src/composables/Commons/nested.composable.cjs +3 -3
- package/dist/src/composables/Commons/nested.composable.d.ts +3 -2
- package/dist/src/composables/Commons/nested.composable.js +4 -4
- package/dist/src/composables/Commons/padding.composable.cjs +26 -12
- package/dist/src/composables/Commons/padding.composable.d.ts +26 -0
- package/dist/src/composables/Commons/padding.composable.js +22 -25
- package/dist/src/composables/Commons/props.composable.d.ts +45 -0
- package/dist/src/composables/Commons/rounded.composable.cjs +18 -23
- package/dist/src/composables/Commons/rounded.composable.d.ts +29 -11
- package/dist/src/composables/Commons/rounded.composable.js +27 -31
- package/dist/src/composables/Commons/stateEffect.composable.cjs +59 -1
- package/dist/src/composables/Commons/stateEffect.composable.d.ts +2 -6
- package/dist/src/composables/Commons/stateEffect.composable.js +71 -7
- package/dist/src/composables/Commons/theme-props-resolver.composable.cjs +82 -0
- package/dist/src/composables/Commons/theme-props-resolver.composable.d.ts +38 -0
- package/dist/src/composables/Commons/theme-props-resolver.composable.js +75 -0
- package/dist/src/composables/CssSupport/cssSupport.composable.d.ts +5 -43
- package/dist/src/composables/Mask/mask.composable.d.ts +3 -23
- package/dist/src/composables/Masonry/masonry.composable.d.ts +4 -58
- package/dist/src/composables/Parallax/parallax.composable.d.ts +2 -20
- package/dist/src/composables/PasswordField/passwordStrength.composable.cjs +3 -2
- package/dist/src/composables/PasswordField/passwordStrength.composable.js +6 -5
- package/dist/src/composables/Sheet/sheetSwipe.composable.cjs +4 -5
- package/dist/src/composables/Sheet/sheetSwipe.composable.d.ts +1 -1
- package/dist/src/composables/Sheet/sheetSwipe.composable.js +2 -3
- package/dist/src/composables/Snackbar/snackbar-group.composable.cjs +8 -3
- package/dist/src/composables/Snackbar/snackbar-group.composable.d.ts +3 -22
- package/dist/src/composables/Snackbar/snackbar-group.composable.js +8 -3
- package/dist/src/composables/Theme/theme.composable.d.ts +1 -1
- package/dist/src/composables/Transition/transition.composable.cjs +2 -2
- package/dist/src/composables/Transition/transition.composable.d.ts +3 -3
- package/dist/src/composables/Transition/transition.composable.js +2 -2
- package/dist/src/composables/index.cjs +12 -0
- package/dist/src/composables/index.d.ts +1 -0
- package/dist/src/composables/index.js +1 -0
- package/dist/src/consts/Blockquote/blockquote.const.cjs +3 -2
- package/dist/src/consts/Blockquote/blockquote.const.js +3 -14
- package/dist/src/consts/Bracket/bracket.const.cjs +3 -2
- package/dist/src/consts/Bracket/bracket.const.js +3 -11
- package/dist/src/consts/Chart/{world-geographic.const.cjs → chart-map.const.cjs} +75 -1
- package/dist/src/consts/Chart/{world-geographic.const.d.ts → chart-map.const.d.ts} +24 -0
- package/dist/src/consts/Chart/{world-geographic.const.js → chart-map.const.js} +74 -0
- package/dist/src/consts/ColorPicker/color-picker.const.cjs +7 -7
- package/dist/src/consts/ColorPicker/color-picker.const.js +1 -1
- package/dist/src/consts/Commons/border.const.cjs +8 -1
- package/dist/src/consts/Commons/border.const.d.ts +17 -0
- package/dist/src/consts/Commons/border.const.js +5 -1
- package/dist/src/consts/Commons/color.const.cjs +3 -2
- package/dist/src/consts/Commons/color.const.js +5 -19
- package/dist/src/consts/Commons/spacing.const.cjs +78 -0
- package/dist/src/consts/Commons/spacing.const.d.ts +102 -0
- package/dist/src/consts/Commons/spacing.const.js +56 -0
- package/dist/src/consts/DataTable/{select.const.cjs → data-table.const.cjs} +15 -2
- package/dist/src/consts/DataTable/data-table.const.d.ts +53 -0
- package/dist/src/consts/DataTable/{select.const.js → data-table.const.js} +7 -0
- package/dist/src/consts/EmptyState/empty-state.const.cjs +6 -6
- package/dist/src/consts/EmptyState/empty-state.const.js +7 -13
- package/dist/src/consts/Media/media.const.cjs +3 -2
- package/dist/src/consts/Media/media.const.d.ts +17 -0
- package/dist/src/consts/Media/media.const.js +1 -0
- package/dist/src/consts/PasswordField/password-field.const.cjs +18 -1
- package/dist/src/consts/PasswordField/password-field.const.d.ts +18 -0
- package/dist/src/consts/PasswordField/password-field.const.js +22 -0
- package/dist/src/consts/QrCode/qr-code.const.cjs +2 -1
- package/dist/src/consts/QrCode/qr-code.const.js +2 -1
- package/dist/src/consts/Sheet/{sheet-snap-points.const.cjs → sheet.const.cjs} +3 -2
- package/dist/src/consts/Sheet/{sheet-snap-points.const.d.ts → sheet.const.d.ts} +11 -0
- package/dist/src/consts/Sheet/{sheet-snap-points.const.js → sheet.const.js} +1 -0
- package/dist/src/consts/TextField/text-field.const.cjs +61 -2
- package/dist/src/consts/TextField/text-field.const.d.ts +20 -0
- package/dist/src/consts/TextField/text-field.const.js +60 -0
- package/dist/src/consts/index.cjs +36 -113
- package/dist/src/consts/index.d.ts +8 -15
- package/dist/src/consts/index.js +8 -15
- package/dist/src/enums/Audio/audio.enum.cjs +26 -0
- package/dist/src/enums/Audio/audio.enum.d.ts +56 -0
- package/dist/src/enums/Audio/audio.enum.js +15 -0
- package/dist/src/enums/Blockquote/{blockquote-variant.enum.cjs → blockquote.enum.cjs} +9 -1
- package/dist/src/enums/Blockquote/{blockquote-variant.enum.d.ts → blockquote.enum.d.ts} +7 -0
- package/dist/src/enums/Blockquote/{blockquote-variant.enum.js → blockquote.enum.js} +8 -0
- package/dist/src/enums/BottomNav/bottom-nav.enum.cjs +13 -0
- package/dist/src/enums/BottomNav/{bottom-nav-position.enum.d.ts → bottom-nav.enum.d.ts} +5 -0
- package/dist/src/enums/BottomNav/bottom-nav.enum.js +7 -0
- package/dist/src/enums/Bracket/bracket-round.enum.cjs +12 -0
- package/dist/src/enums/Bracket/bracket-round.enum.d.ts +10 -0
- package/dist/src/enums/Bracket/bracket-round.enum.js +6 -0
- package/dist/src/enums/Calendar/calendar.enum.cjs +24 -0
- package/dist/src/enums/Calendar/calendar.enum.d.ts +28 -0
- package/dist/src/enums/Calendar/calendar.enum.js +18 -0
- package/dist/src/enums/Chart/chart-honeycomb.enum.cjs +16 -0
- package/dist/src/enums/Chart/{chart-honeycomb-orientation.enum.d.ts → chart-honeycomb.enum.d.ts} +4 -0
- package/dist/src/enums/Chart/{chart-honeycomb-orientation.enum.js → chart-honeycomb.enum.js} +5 -0
- package/dist/src/enums/Chart/chart-sunburst.enum.cjs +12 -0
- package/dist/src/enums/Chart/chart-sunburst.enum.d.ts +12 -0
- package/dist/src/enums/Chart/chart-sunburst.enum.js +6 -0
- package/dist/src/enums/Chart/chart.enum.cjs +13 -2
- package/dist/src/enums/Chart/chart.enum.d.ts +35 -0
- package/dist/src/enums/Chart/chart.enum.js +11 -0
- package/dist/src/enums/Code/{code-lang.enum.cjs → code.enum.cjs} +7 -0
- package/dist/src/enums/Code/{code-lang.enum.d.ts → code.enum.d.ts} +14 -0
- package/dist/src/enums/Code/{code-lang.enum.js → code.enum.js} +1 -0
- package/dist/src/enums/Commons/align.enum.cjs +8 -2
- package/dist/src/enums/Commons/align.enum.d.ts +14 -0
- package/dist/src/enums/Commons/align.enum.js +6 -0
- package/dist/src/enums/Commons/border.enum.cjs +7 -2
- package/dist/src/enums/Commons/border.enum.d.ts +9 -0
- package/dist/src/enums/Commons/border.enum.js +5 -0
- package/dist/src/enums/Commons/color.enum.cjs +13 -0
- package/dist/src/enums/Commons/color.enum.d.ts +17 -0
- package/dist/src/enums/Commons/color.enum.js +7 -0
- package/dist/src/enums/Commons/controls.enum.cjs +12 -0
- package/dist/src/enums/Commons/controls.enum.d.ts +18 -0
- package/dist/src/enums/Commons/controls.enum.js +6 -0
- package/dist/src/enums/Commons/font-family.enum.cjs +12 -0
- package/dist/src/enums/Commons/font-family.enum.d.ts +10 -0
- package/dist/src/enums/Commons/font-family.enum.js +6 -0
- package/dist/src/enums/Commons/font-size.enum.cjs +18 -0
- package/dist/src/enums/Commons/font-size.enum.d.ts +21 -0
- package/dist/src/enums/Commons/font-size.enum.js +12 -0
- package/dist/src/enums/Commons/font-weight.enum.cjs +15 -0
- package/dist/src/enums/Commons/font-weight.enum.d.ts +12 -0
- package/dist/src/enums/Commons/font-weight.enum.js +9 -0
- package/dist/src/enums/Commons/intent.enum.cjs +17 -0
- package/dist/src/enums/Commons/intent.enum.d.ts +22 -0
- package/dist/src/enums/Commons/intent.enum.js +11 -0
- package/dist/src/enums/Commons/letter-spacing.enum.cjs +14 -0
- package/dist/src/enums/Commons/letter-spacing.enum.d.ts +12 -0
- package/dist/src/enums/Commons/letter-spacing.enum.js +8 -0
- package/dist/src/enums/Commons/line-height.enum.cjs +15 -0
- package/dist/src/enums/Commons/line-height.enum.d.ts +12 -0
- package/dist/src/enums/Commons/line-height.enum.js +9 -0
- package/dist/src/enums/Commons/loader.enum.cjs +12 -0
- package/dist/src/enums/Commons/loader.enum.d.ts +14 -0
- package/dist/src/enums/Commons/loader.enum.js +6 -0
- package/dist/src/enums/Commons/theme.enum.cjs +12 -0
- package/dist/src/enums/Commons/theme.enum.d.ts +19 -0
- package/dist/src/enums/Commons/theme.enum.js +6 -0
- package/dist/src/enums/DataList/data-list.enum.cjs +11 -0
- package/dist/src/enums/DataList/data-list.enum.d.ts +15 -0
- package/dist/src/enums/DataList/data-list.enum.js +5 -0
- package/dist/src/enums/FileField/file-field.enum.cjs +12 -0
- package/dist/src/enums/FileField/file-field.enum.d.ts +9 -0
- package/dist/src/enums/FileField/file-field.enum.js +6 -0
- package/dist/src/enums/Grid/grid.enum.cjs +13 -0
- package/dist/src/enums/Grid/grid.enum.d.ts +15 -0
- package/dist/src/enums/Grid/grid.enum.js +7 -0
- package/dist/src/enums/Kbd/kbd.enum.cjs +12 -0
- package/dist/src/enums/Kbd/kbd.enum.d.ts +10 -0
- package/dist/src/enums/Kbd/kbd.enum.js +6 -0
- package/dist/src/enums/Masonry/masonry.enum.cjs +11 -0
- package/dist/src/enums/Masonry/masonry.enum.d.ts +10 -0
- package/dist/src/enums/Masonry/masonry.enum.js +5 -0
- package/dist/src/enums/NumberFormat/number-format.enum.cjs +55 -0
- package/dist/src/enums/NumberFormat/number-format.enum.d.ts +78 -0
- package/dist/src/enums/NumberFormat/number-format.enum.js +49 -0
- package/dist/src/enums/Parallax/parallax.enum.cjs +13 -1
- package/dist/src/enums/Parallax/parallax.enum.d.ts +10 -0
- package/dist/src/enums/Parallax/parallax.enum.js +12 -0
- package/dist/src/enums/PasswordField/password-field.enum.cjs +13 -0
- package/dist/src/enums/PasswordField/password-field.enum.d.ts +12 -0
- package/dist/src/enums/PasswordField/password-field.enum.js +7 -0
- package/dist/src/enums/QrCode/qr-code.enum.cjs +13 -0
- package/dist/src/enums/QrCode/qr-code.enum.d.ts +11 -0
- package/dist/src/enums/QrCode/qr-code.enum.js +7 -0
- package/dist/src/enums/{Textarea/textarea-toolbar-command.enum.cjs → RichToolbar/rich-toolbar.enum.cjs} +8 -2
- package/dist/src/enums/{Textarea/textarea-toolbar-command.enum.d.ts → RichToolbar/rich-toolbar.enum.d.ts} +10 -0
- package/dist/src/enums/{Textarea/textarea-toolbar-command.enum.js → RichToolbar/rich-toolbar.enum.js} +6 -0
- package/dist/src/enums/Sheet/sheet.enum.cjs +13 -0
- package/dist/src/enums/Sheet/sheet.enum.d.ts +14 -0
- package/dist/src/enums/Sheet/sheet.enum.js +7 -0
- package/dist/src/enums/Skeleton/skeleton.enum.cjs +14 -0
- package/dist/src/enums/Skeleton/skeleton.enum.d.ts +11 -0
- package/dist/src/enums/Skeleton/skeleton.enum.js +8 -0
- package/dist/src/enums/Snackbar/snackbar-group.enum.cjs +22 -0
- package/dist/src/enums/Snackbar/snackbar-group.enum.d.ts +22 -0
- package/dist/src/enums/Snackbar/snackbar-group.enum.js +16 -0
- package/dist/src/enums/Stepper/stepper.enum.cjs +13 -0
- package/dist/src/enums/Stepper/stepper.enum.d.ts +11 -0
- package/dist/src/enums/Stepper/stepper.enum.js +7 -0
- package/dist/src/enums/TextField/text-field.enum.cjs +30 -1
- package/dist/src/enums/TextField/text-field.enum.d.ts +48 -0
- package/dist/src/enums/TextField/text-field.enum.js +29 -0
- package/dist/src/enums/TextMask/text-mask.enum.cjs +13 -0
- package/dist/src/enums/TextMask/text-mask.enum.d.ts +11 -0
- package/dist/src/enums/TextMask/text-mask.enum.js +7 -0
- package/dist/src/enums/TextareaField/textarea-field.enum.cjs +16 -0
- package/dist/src/enums/{Textarea/textarea-output.enum.d.ts → TextareaField/textarea-field.enum.d.ts} +13 -0
- package/dist/src/enums/{Textarea/textarea-output.enum.js → TextareaField/textarea-field.enum.js} +5 -0
- package/dist/src/enums/Timeline/timeline.enum.cjs +12 -0
- package/dist/src/enums/Timeline/timeline.enum.d.ts +10 -0
- package/dist/src/enums/Timeline/timeline.enum.js +6 -0
- package/dist/src/enums/Treeview/treeview.enum.cjs +17 -0
- package/dist/src/enums/Treeview/treeview.enum.d.ts +18 -0
- package/dist/src/enums/Treeview/treeview.enum.js +11 -0
- package/dist/src/enums/Video/video.enum.cjs +13 -0
- package/dist/src/enums/Video/video.enum.d.ts +12 -0
- package/dist/src/enums/Video/video.enum.js +7 -0
- package/dist/src/enums/index.cjs +375 -199
- package/dist/src/enums/index.d.ts +52 -36
- package/dist/src/enums/index.js +52 -36
- package/dist/src/interfaces/Alert/alert.interface.d.ts +10 -1
- package/dist/src/interfaces/App/app-bar.interface.d.ts +8 -0
- package/dist/src/interfaces/App/app.interface.d.ts +4 -0
- package/dist/src/interfaces/Audio/audio-player.interface.d.ts +11 -0
- package/dist/src/interfaces/Avatar/avatar-group.interface.d.ts +15 -0
- package/dist/src/interfaces/Avatar/avatar.interface.d.ts +9 -0
- package/dist/src/interfaces/Badge/badge.interface.d.ts +23 -2
- package/dist/src/interfaces/BottomNav/bottom-nav.interface.d.ts +13 -0
- package/dist/src/interfaces/Bracket/bracket-competitor-component.interface.d.ts +6 -1
- package/dist/src/interfaces/Bracket/bracket-match-component.interface.d.ts +22 -1
- package/dist/src/interfaces/Bracket/bracket-round-component.interface.d.ts +27 -0
- package/dist/src/interfaces/Bracket/bracket-surface.interface.d.ts +56 -0
- package/dist/src/interfaces/Bracket/bracket.interface.d.ts +31 -1
- package/dist/src/interfaces/Breadcrumb/breadcrumb-divider.interface.d.ts +4 -0
- package/dist/src/interfaces/Breadcrumb/breadcrumb-item.interface.d.ts +6 -1
- package/dist/src/interfaces/Breadcrumb/breadcrumb.interface.d.ts +22 -0
- package/dist/src/interfaces/Btn/btn-group.interface.d.ts +10 -0
- package/dist/src/interfaces/Btn/btn-toggle.interface.d.ts +15 -1
- package/dist/src/interfaces/Btn/btn.interface.d.ts +10 -1
- package/dist/src/interfaces/Calendar/calendar-drag.interface.d.ts +17 -0
- package/dist/src/interfaces/Calendar/calendar.interface.d.ts +25 -0
- package/dist/src/interfaces/Calendar/rrule.interface.d.ts +26 -0
- package/dist/src/interfaces/Card/card-header.interface.d.ts +13 -1
- package/dist/src/interfaces/Card/card-text.interface.d.ts +4 -0
- package/dist/src/interfaces/Card/card.interface.d.ts +17 -0
- package/dist/src/interfaces/Carousel/carousel-item.interface.d.ts +9 -0
- package/dist/src/interfaces/Carousel/carousel.interface.d.ts +42 -1
- package/dist/src/interfaces/Chart/chart-bullet.interface.d.ts +8 -2
- package/dist/src/interfaces/Chart/chart-gauge.interface.d.ts +13 -2
- package/dist/src/interfaces/Chart/chart-heatmap.interface.d.ts +9 -2
- package/dist/src/interfaces/Chart/chart-map.interface.d.ts +10 -3
- package/dist/src/interfaces/Chart/chart-pictorial.interface.d.ts +10 -2
- package/dist/src/interfaces/Chart/chart-radar.interface.d.ts +12 -1
- package/dist/src/interfaces/Chart/chart-range-selector.interface.d.ts +26 -0
- package/dist/src/interfaces/Chart/chart-sunburst.interface.d.ts +2 -8
- package/dist/src/interfaces/Chart/chart-treemap.interface.d.ts +13 -0
- package/dist/src/interfaces/Chart/chart-word-cloud.interface.d.ts +1 -1
- package/dist/src/interfaces/Chip/chip-group.interface.d.ts +8 -1
- package/dist/src/interfaces/Chip/chip.interface.d.ts +21 -1
- package/dist/src/interfaces/ClientOnly/client-only.interface.d.ts +6 -0
- package/dist/src/interfaces/Code/code.interface.d.ts +18 -0
- package/dist/src/interfaces/ColorPicker/color-picker.interface.d.ts +5 -1
- package/dist/src/interfaces/ColorPickerField/color-picker-field.interface.d.ts +9 -1
- package/dist/src/interfaces/CommandPalette/command-palette-rendered-group.interface.d.ts +11 -0
- package/dist/src/interfaces/CommandPalette/command.interface.d.ts +47 -0
- package/dist/src/interfaces/Commons/border.interface.d.ts +16 -0
- package/dist/src/interfaces/Commons/lazy.interface.d.ts +4 -0
- package/dist/src/interfaces/Commons/loader.interface.d.ts +28 -1
- package/dist/src/interfaces/Commons/margin.interface.d.ts +30 -0
- package/dist/src/interfaces/Commons/padding.interface.d.ts +29 -0
- package/dist/src/interfaces/Commons/rounded.interface.d.ts +24 -0
- package/dist/src/interfaces/Counter/counter.interface.d.ts +10 -0
- package/dist/src/interfaces/CssSupport/css-support.interface.d.ts +43 -0
- package/dist/src/interfaces/DataList/data-list.interface.d.ts +61 -15
- package/dist/src/interfaces/DataList/data-text.interface.d.ts +5 -1
- package/dist/src/interfaces/DataList/data-title.interface.d.ts +7 -1
- package/dist/src/interfaces/DataTable/column.interface.d.ts +6 -0
- package/dist/src/interfaces/DataTable/data-table.interface.d.ts +41 -4
- package/dist/src/interfaces/DataTable/footer.interface.d.ts +6 -1
- package/dist/src/interfaces/DataTable/group.interface.d.ts +25 -0
- package/dist/src/interfaces/DataTable/headers.interface.d.ts +62 -1
- package/dist/src/interfaces/DataTable/items.interface.d.ts +11 -5
- package/dist/src/interfaces/DataTable/row.interface.d.ts +31 -1
- package/dist/src/interfaces/DatePicker/date-picker-header.interface.d.ts +7 -1
- package/dist/src/interfaces/DatePicker/date-picker-month.interface.d.ts +14 -1
- package/dist/src/interfaces/DatePicker/date-picker-months.interface.d.ts +27 -0
- package/dist/src/interfaces/DatePicker/date-picker-years.interface.d.ts +32 -0
- package/dist/src/interfaces/DatePicker/date-picker.interface.d.ts +18 -1
- package/dist/src/interfaces/DatePickerField/date-picker-field.interface.d.ts +17 -1
- package/dist/src/interfaces/Dialog/dialog-confirmation.interface.d.ts +10 -2
- package/dist/src/interfaces/Dialog/dialog.interface.d.ts +27 -0
- package/dist/src/interfaces/Drawer/drawer.interface.d.ts +7 -1
- package/dist/src/interfaces/ExpensionPanel/expansion-panel-content.interface.d.ts +5 -0
- package/dist/src/interfaces/ExpensionPanel/expansion-panel-header.interface.d.ts +19 -0
- package/dist/src/interfaces/ExpensionPanel/expansion-panel.interface.d.ts +15 -1
- package/dist/src/interfaces/ExpensionPanel/expansion-panels.interface.d.ts +35 -1
- package/dist/src/interfaces/Form/form.interface.d.ts +9 -2
- package/dist/src/interfaces/Icon/icon.interface.d.ts +16 -1
- package/dist/src/interfaces/Img/img.interface.d.ts +6 -0
- package/dist/src/interfaces/InfiniteScroll/infinite-scroll.interface.d.ts +19 -1
- package/dist/src/interfaces/ItemGroup/item-group.interface.d.ts +21 -1
- package/dist/src/interfaces/Kbd/kbd.interface.d.ts +5 -0
- package/dist/src/interfaces/List/list-children.interface.d.ts +28 -0
- package/dist/src/interfaces/List/list-group.interface.d.ts +19 -0
- package/dist/src/interfaces/List/list-item.interface.d.ts +17 -1
- package/dist/src/interfaces/List/list-subheader.interface.d.ts +6 -0
- package/dist/src/interfaces/List/list.interface.d.ts +21 -1
- package/dist/src/interfaces/Mask/mask-options.interface.d.ts +23 -2
- package/dist/src/interfaces/Masonry/masonry.interface.d.ts +55 -0
- package/dist/src/interfaces/Media/media-config-menu-item.interface.d.ts +21 -0
- package/dist/src/interfaces/Media/media-controller.interface.d.ts +8 -0
- package/dist/src/interfaces/Media/media-scrubber.interface.d.ts +25 -3
- package/dist/src/interfaces/Menu/menu.interface.d.ts +20 -2
- package/dist/src/interfaces/Overlay/overlay.interface.d.ts +12 -0
- package/dist/src/interfaces/Pagination/pagination.interface.d.ts +32 -0
- package/dist/src/interfaces/Parallax/parallax-element.interface.d.ts +4 -0
- package/dist/src/interfaces/Parallax/parallax-layer.interface.d.ts +4 -0
- package/dist/src/interfaces/Parallax/parallax.interface.d.ts +29 -0
- package/dist/src/interfaces/Picker/picker-title.interface.d.ts +5 -0
- package/dist/src/interfaces/Picker/picker.interface.d.ts +7 -0
- package/dist/src/interfaces/Progress/progress-circular.interface.d.ts +6 -0
- package/dist/src/interfaces/Progress/progress-linear.interface.d.ts +7 -0
- package/dist/src/interfaces/Progress/progress.interface.d.ts +4 -0
- package/dist/src/interfaces/QrCode/qr-code.interface.d.ts +15 -1
- package/dist/src/interfaces/Radio/radio-btn.interface.d.ts +14 -0
- package/dist/src/interfaces/Radio/radio-group.interface.d.ts +28 -1
- package/dist/src/interfaces/Radio/radio.interface.d.ts +35 -1
- package/dist/src/interfaces/RatingField/rating-field-item.interface.d.ts +9 -0
- package/dist/src/interfaces/RatingField/rating-field.interface.d.ts +27 -1
- package/dist/src/interfaces/Responsive/responsive.interface.d.ts +5 -0
- package/dist/src/interfaces/Select/select.interface.d.ts +27 -1
- package/dist/src/interfaces/Sheet/sheet-emits.interface.d.ts +11 -1
- package/dist/src/interfaces/Slide/slide-group.interface.d.ts +9 -1
- package/dist/src/interfaces/SliderField/slider-field-track.interface.d.ts +16 -0
- package/dist/src/interfaces/SliderField/slider-field.interface.d.ts +27 -1
- package/dist/src/interfaces/Snackbar/snackbar-group.interface.d.ts +62 -2
- package/dist/src/interfaces/Snackbar/snackbar-item.interface.d.ts +14 -0
- package/dist/src/interfaces/Snackbar/snackbar.interface.d.ts +17 -1
- package/dist/src/interfaces/Stepper/stepper.interface.d.ts +13 -0
- package/dist/src/interfaces/Switch/switch.interface.d.ts +10 -1
- package/dist/src/interfaces/Table/table.interface.d.ts +8 -0
- package/dist/src/interfaces/Tabs/tab-panel.interface.d.ts +4 -0
- package/dist/src/interfaces/Tabs/tab-panels.interface.d.ts +13 -1
- package/dist/src/interfaces/Tabs/tab.interface.d.ts +33 -6
- package/dist/src/interfaces/Tabs/tabs.interface.d.ts +12 -1
- package/dist/src/interfaces/Theme/origam-theme.interface.d.ts +16 -1
- package/dist/src/interfaces/ThemeProvider/theme-provider.interface.d.ts +31 -0
- package/dist/src/interfaces/Timeline/timeline.interface.d.ts +16 -4
- package/dist/src/interfaces/Title/title.interface.d.ts +5 -0
- package/dist/src/interfaces/Toolbar/toolbar.interface.d.ts +15 -0
- package/dist/src/interfaces/Tooltip/tooltip.interface.d.ts +12 -0
- package/dist/src/interfaces/Transition/transition.interface.d.ts +6 -0
- package/dist/src/interfaces/Treeview/treeview.interface.d.ts +8 -0
- package/dist/src/interfaces/Video/video.interface.d.ts +2 -2
- package/dist/src/interfaces/VirtualScroll/virtual-scroll-item.interface.d.ts +11 -0
- package/dist/src/interfaces/VirtualScroll/virtual-scroll.interface.d.ts +39 -0
- package/dist/src/interfaces/Watermark/watermark.interface.d.ts +19 -0
- package/dist/src/interfaces/Window/window-item.interface.d.ts +4 -0
- package/dist/src/interfaces/Window/window.interface.d.ts +31 -1
- package/dist/src/interfaces/index.cjs +55 -0
- package/dist/src/interfaces/index.d.ts +5 -0
- package/dist/src/interfaces/index.js +5 -0
- package/dist/src/origam.cjs +2 -0
- package/dist/src/origam.js +14 -1
- package/dist/src/types/Audio/audio.type.d.ts +37 -0
- package/dist/src/types/Blockquote/blockquote.type.d.ts +43 -0
- package/dist/src/types/BottomNav/bottom-nav.type.d.ts +5 -0
- package/dist/src/types/Bracket/bracket-competitor.type.d.ts +2 -0
- package/dist/src/types/Bracket/bracket-match.type.d.ts +4 -0
- package/dist/src/types/Bracket/{bracket-round-side.type.d.ts → bracket-round.type.d.ts} +4 -1
- package/dist/src/types/Bracket/bracket.type.d.ts +104 -0
- package/dist/src/types/Calendar/calendar.type.d.ts +26 -0
- package/dist/src/types/Chart/chart-axis.type.d.ts +2 -0
- package/dist/src/types/Chart/chart-box-plot.type.d.ts +2 -0
- package/dist/src/types/Chart/chart-bullet.type.d.ts +2 -0
- package/dist/src/types/Chart/chart-candlestick.type.d.ts +2 -0
- package/dist/src/types/Chart/{chart-cartesian-kind.type.d.ts → chart-cartesian.type.d.ts} +4 -1
- package/dist/src/types/Chart/chart-gauge.type.d.ts +2 -0
- package/dist/src/types/Chart/chart-heatmap.type.d.ts +2 -0
- package/dist/src/types/Chart/chart-honeycomb.type.d.ts +5 -0
- package/dist/src/types/Chart/chart-legend.type.d.ts +12 -0
- package/dist/src/types/Chart/{chart-map-mode.type.d.ts → chart-map.type.d.ts} +3 -1
- package/dist/src/types/Chart/chart-pareto.type.d.ts +2 -0
- package/dist/src/types/Chart/chart-pictorial.type.d.ts +4 -0
- package/dist/src/types/Chart/chart-polar-bar.type.d.ts +2 -0
- package/dist/src/types/Chart/{chart-polar-kind.type.d.ts → chart-polar.type.d.ts} +4 -1
- package/dist/src/types/Chart/{chart-pyramid-kind.type.d.ts → chart-pyramid.type.d.ts} +2 -0
- package/dist/src/types/Chart/chart-radar.type.d.ts +2 -0
- package/dist/src/types/Chart/chart-range-selector.type.d.ts +2 -0
- package/dist/src/types/Chart/chart-sankey.type.d.ts +21 -0
- package/dist/src/types/Chart/{chart-sparkline-kind.type.d.ts → chart-sparkline.type.d.ts} +2 -0
- package/dist/src/types/Chart/chart-streamgraph.type.d.ts +4 -0
- package/dist/src/types/Chart/chart-sunburst.type.d.ts +10 -0
- package/dist/src/types/Chart/chart-tooltip.type.d.ts +2 -0
- package/dist/src/types/Chart/{chart-treemap-algorithm.type.d.ts → chart-treemap.type.d.ts} +4 -1
- package/dist/src/types/Chart/chart-variwide.type.d.ts +2 -0
- package/dist/src/types/Chart/chart-word-cloud.type.d.ts +21 -0
- package/dist/src/types/Chart/chart.type.d.ts +56 -0
- package/dist/src/types/ClientOnly/client-only.type.d.ts +2 -0
- package/dist/src/types/Clipboard/clipboard.type.d.ts +2 -0
- package/dist/src/types/Code/code.type.d.ts +24 -0
- package/dist/src/types/ColorPickerField/color-picker-field.type.d.ts +2 -0
- package/dist/src/types/CommandPalette/{command-palette-hotkey.type.d.ts → command-palette.type.d.ts} +2 -0
- package/dist/src/types/Commons/align.type.d.ts +6 -1
- package/dist/src/types/Commons/border.type.d.ts +11 -1
- package/dist/src/types/Commons/color.type.d.ts +2 -1
- package/dist/src/types/Commons/controls.type.d.ts +2 -0
- package/dist/src/types/Commons/css-support.type.d.ts +26 -0
- package/dist/src/types/Commons/font-family.type.d.ts +2 -1
- package/dist/src/types/Commons/font-size.type.d.ts +2 -1
- package/dist/src/types/Commons/font-weight.type.d.ts +2 -1
- package/dist/src/types/Commons/intent.type.d.ts +2 -1
- package/dist/src/types/Commons/letter-spacing.type.d.ts +2 -1
- package/dist/src/types/Commons/line-height.type.d.ts +2 -1
- package/dist/src/types/Commons/loader.type.d.ts +5 -4
- package/dist/src/types/Commons/rounded.type.d.ts +12 -0
- package/dist/src/types/Commons/state-effect.type.d.ts +30 -0
- package/dist/src/types/ConfirmWrapper/confirm-wrapper.type.d.ts +2 -0
- package/dist/src/types/DataList/data-list.type.d.ts +16 -0
- package/dist/src/types/DefaultsProvider/defaults-provider.type.d.ts +2 -0
- package/dist/src/types/EmptyState/empty-state.type.d.ts +46 -0
- package/dist/src/types/FileField/file-field-drag-n-drop-item.type.d.ts +2 -0
- package/dist/src/types/FileField/file-field-list-item.type.d.ts +2 -0
- package/dist/src/types/FileField/file-field.type.d.ts +2 -1
- package/dist/src/types/Grid/grid-item.type.d.ts +9 -0
- package/dist/src/types/Grid/grid.type.d.ts +50 -0
- package/dist/src/types/InlineEdit/inline-edit.type.d.ts +13 -0
- package/dist/src/types/ItemGroup/item-group.type.d.ts +2 -0
- package/dist/src/types/ItemGroup/item.type.d.ts +2 -0
- package/dist/src/types/Kbd/kbd.type.d.ts +2 -1
- package/dist/src/types/Masonry/{masonry-align.type.d.ts → masonry.type.d.ts} +4 -1
- package/dist/src/types/Media/index.cjs +30 -8
- package/dist/src/types/Media/index.d.ts +3 -1
- package/dist/src/types/Media/index.js +3 -1
- package/dist/src/types/Media/media-controller.type.d.ts +2 -0
- package/dist/src/types/Media/media-scrubber.type.d.ts +12 -0
- package/dist/src/types/Media/media-volume-control.type.cjs +1 -0
- package/dist/src/types/Media/media-volume-control.type.d.ts +2 -0
- package/dist/src/types/Media/media-volume-control.type.js +0 -0
- package/dist/src/types/Media/quality-option.type.d.ts +16 -5
- package/dist/src/types/NumberFormat/number-format.type.cjs +1 -0
- package/dist/src/types/NumberFormat/{number-format-format.type.d.ts → number-format.type.d.ts} +10 -7
- package/dist/src/types/NumberFormat/number-format.type.js +0 -0
- package/dist/src/types/Parallax/parallax-layer.type.cjs +1 -0
- package/dist/src/types/Parallax/parallax-layer.type.d.ts +2 -0
- package/dist/src/types/Parallax/parallax-layer.type.js +0 -0
- package/dist/src/types/Parallax/parallax.type.d.ts +3 -0
- package/dist/src/types/PasswordField/password-field.type.d.ts +16 -0
- package/dist/src/types/QrCode/qr-code.type.cjs +1 -0
- package/dist/src/types/QrCode/{qr-code-error-correction.type.d.ts → qr-code.type.d.ts} +4 -1
- package/dist/src/types/QrCode/qr-code.type.js +0 -0
- package/dist/src/types/RichToolbar/rich-toolbar.type.cjs +1 -0
- package/dist/src/types/RichToolbar/rich-toolbar.type.d.ts +5 -0
- package/dist/src/types/RichToolbar/rich-toolbar.type.js +0 -0
- package/dist/src/types/Section/section.type.cjs +1 -0
- package/dist/src/types/Section/section.type.d.ts +2 -0
- package/dist/src/types/Section/section.type.js +0 -0
- package/dist/src/types/Sheet/sheet.type.d.ts +23 -0
- package/dist/src/types/Skeleton/skeleton.type.d.ts +2 -1
- package/dist/src/types/SliderField/slider-field.type.d.ts +10 -0
- package/dist/src/types/Snackbar/snackbar-group.type.d.ts +21 -0
- package/dist/src/types/Snackbar/snackbar-item.type.cjs +1 -0
- package/dist/src/types/Snackbar/snackbar-item.type.d.ts +2 -0
- package/dist/src/types/Snackbar/snackbar-item.type.js +0 -0
- package/dist/src/types/Stepper/stepper.type.d.ts +9 -2
- package/dist/src/types/Tabs/tab.type.d.ts +2 -0
- package/dist/src/types/TextField/text-field.type.d.ts +41 -1
- package/dist/src/types/TextMask/text-mask.type.d.ts +17 -0
- package/dist/src/types/TextareaField/textarea-field.type.d.ts +3 -0
- package/dist/src/types/Theme/theme.type.d.ts +3 -2
- package/dist/src/types/ThemeProvider/theme-provider.type.cjs +1 -0
- package/dist/src/types/ThemeProvider/theme-provider.type.d.ts +2 -0
- package/dist/src/types/ThemeProvider/theme-provider.type.js +0 -0
- package/dist/src/types/Timeline/timeline.type.d.ts +9 -2
- package/dist/src/types/Transition/reverse-translate-picker.type.cjs +1 -0
- package/dist/src/types/Transition/reverse-translate-picker.type.d.ts +2 -0
- package/dist/src/types/Transition/reverse-translate-picker.type.js +0 -0
- package/dist/src/types/Transition/translate-picker.type.cjs +1 -0
- package/dist/src/types/Transition/translate-picker.type.d.ts +2 -0
- package/dist/src/types/Transition/translate-picker.type.js +0 -0
- package/dist/src/types/Treeview/treeview.type.d.ts +3 -2
- package/dist/src/types/Video/video.type.cjs +1 -0
- package/dist/src/types/Video/video.type.d.ts +36 -0
- package/dist/src/types/Video/video.type.js +0 -0
- package/dist/src/types/Watermark/watermark.type.cjs +1 -0
- package/dist/src/types/Watermark/watermark.type.d.ts +2 -0
- package/dist/src/types/Watermark/watermark.type.js +0 -0
- package/dist/src/types/index.cjs +369 -336
- package/dist/src/types/index.d.ts +64 -61
- package/dist/src/types/index.js +64 -61
- package/dist/src/types/tokens.type.d.ts +0 -2
- package/dist/src/utils/Bracket/bracket-surface.util.cjs +26 -0
- package/dist/src/utils/Bracket/bracket-surface.util.d.ts +3 -24
- package/dist/src/utils/Bracket/bracket-surface.util.js +16 -0
- package/dist/src/utils/Calendar/rrule.util.d.ts +2 -10
- package/dist/src/utils/Chart/path.util.d.ts +2 -2
- package/dist/src/utils/CommandPalette/fuzzy-match.util.d.ts +2 -10
- package/dist/src/utils/Commons/border.util.d.ts +14 -8
- package/dist/src/utils/Commons/color.util.cjs +2 -1
- package/dist/src/utils/Commons/color.util.js +2 -1
- package/dist/src/utils/Commons/nested.util.cjs +10 -9
- package/dist/src/utils/Commons/nested.util.js +10 -9
- package/dist/src/utils/Commons/spacing.util.cjs +34 -0
- package/dist/src/utils/Commons/spacing.util.d.ts +55 -0
- package/dist/src/utils/Commons/spacing.util.js +27 -0
- package/dist/src/utils/Mask/apply-mask.util.cjs +8 -7
- package/dist/src/utils/Mask/apply-mask.util.js +8 -7
- package/dist/src/utils/Parallax/parallax-element.util.cjs +4 -3
- package/dist/src/utils/Parallax/parallax-element.util.js +4 -3
- package/dist/src/utils/index.cjs +11 -0
- package/dist/src/utils/index.d.ts +1 -0
- package/dist/src/utils/index.js +1 -0
- package/package.json +5 -3
- package/dist/src/consts/Chart/country-centroids.const.cjs +0 -43
- package/dist/src/consts/Chart/country-centroids.const.d.ts +0 -10
- package/dist/src/consts/Chart/country-centroids.const.js +0 -37
- package/dist/src/consts/Chart/world-map.const.cjs +0 -43
- package/dist/src/consts/Chart/world-map.const.d.ts +0 -14
- package/dist/src/consts/Chart/world-map.const.js +0 -37
- package/dist/src/consts/DataTable/expand.const.cjs +0 -7
- package/dist/src/consts/DataTable/expand.const.d.ts +0 -9
- package/dist/src/consts/DataTable/expand.const.js +0 -1
- package/dist/src/consts/DataTable/group.const.cjs +0 -7
- package/dist/src/consts/DataTable/group.const.d.ts +0 -10
- package/dist/src/consts/DataTable/group.const.js +0 -1
- package/dist/src/consts/DataTable/headers.const.cjs +0 -15
- package/dist/src/consts/DataTable/headers.const.d.ts +0 -15
- package/dist/src/consts/DataTable/headers.const.js +0 -3
- package/dist/src/consts/DataTable/pagination.const.cjs +0 -7
- package/dist/src/consts/DataTable/pagination.const.d.ts +0 -13
- package/dist/src/consts/DataTable/pagination.const.js +0 -1
- package/dist/src/consts/DataTable/select.const.d.ts +0 -8
- package/dist/src/consts/DataTable/sort.const.cjs +0 -7
- package/dist/src/consts/DataTable/sort.const.d.ts +0 -7
- package/dist/src/consts/DataTable/sort.const.js +0 -1
- package/dist/src/consts/Mask/built-in-patterns.const.cjs +0 -66
- package/dist/src/consts/Mask/built-in-patterns.const.d.ts +0 -20
- package/dist/src/consts/Mask/built-in-patterns.const.js +0 -60
- package/dist/src/consts/PasswordField/password-requirements.const.cjs +0 -23
- package/dist/src/consts/PasswordField/password-requirements.const.d.ts +0 -18
- package/dist/src/consts/PasswordField/password-requirements.const.js +0 -22
- package/dist/src/consts/Sheet/sheet-swipe.const.cjs +0 -7
- package/dist/src/consts/Sheet/sheet-swipe.const.d.ts +0 -11
- package/dist/src/consts/Sheet/sheet-swipe.const.js +0 -1
- package/dist/src/enums/Audio/audio-loop-mode.enum.cjs +0 -12
- package/dist/src/enums/Audio/audio-loop-mode.enum.d.ts +0 -17
- package/dist/src/enums/Audio/audio-loop-mode.enum.js +0 -6
- package/dist/src/enums/Audio/audio-variant.enum.cjs +0 -13
- package/dist/src/enums/Audio/audio-variant.enum.d.ts +0 -26
- package/dist/src/enums/Audio/audio-variant.enum.js +0 -7
- package/dist/src/enums/Audio/cover-position.enum.cjs +0 -11
- package/dist/src/enums/Audio/cover-position.enum.d.ts +0 -9
- package/dist/src/enums/Audio/cover-position.enum.js +0 -5
- package/dist/src/enums/Blockquote/blockquote-lang.enum.cjs +0 -14
- package/dist/src/enums/Blockquote/blockquote-lang.enum.d.ts +0 -7
- package/dist/src/enums/Blockquote/blockquote-lang.enum.js +0 -8
- package/dist/src/enums/BottomNav/bottom-nav-position.enum.cjs +0 -12
- package/dist/src/enums/BottomNav/bottom-nav-position.enum.js +0 -6
- package/dist/src/enums/Chart/chart-bullet-orientation.enum.cjs +0 -11
- package/dist/src/enums/Chart/chart-bullet-orientation.enum.d.ts +0 -4
- package/dist/src/enums/Chart/chart-bullet-orientation.enum.js +0 -5
- package/dist/src/enums/Chart/chart-honeycomb-color-mode.enum.cjs +0 -11
- package/dist/src/enums/Chart/chart-honeycomb-color-mode.enum.d.ts +0 -4
- package/dist/src/enums/Chart/chart-honeycomb-color-mode.enum.js +0 -5
- package/dist/src/enums/Chart/chart-honeycomb-orientation.enum.cjs +0 -11
- package/dist/src/enums/Chart/chart-pictorial-direction.enum.cjs +0 -11
- package/dist/src/enums/Chart/chart-pictorial-direction.enum.d.ts +0 -4
- package/dist/src/enums/Chart/chart-pictorial-direction.enum.js +0 -5
- package/dist/src/enums/Chart/chart-stacking.enum.cjs +0 -11
- package/dist/src/enums/Chart/chart-stacking.enum.d.ts +0 -14
- package/dist/src/enums/Chart/chart-stacking.enum.js +0 -5
- package/dist/src/enums/Code/code-theme.enum.cjs +0 -12
- package/dist/src/enums/Code/code-theme.enum.d.ts +0 -12
- package/dist/src/enums/Code/code-theme.enum.js +0 -6
- package/dist/src/enums/Mask/mask.enum.cjs +0 -28
- package/dist/src/enums/Mask/mask.enum.d.ts +0 -36
- package/dist/src/enums/Mask/mask.enum.js +0 -22
- package/dist/src/enums/Parallax/parallax-direction.enum.cjs +0 -12
- package/dist/src/enums/Parallax/parallax-direction.enum.d.ts +0 -5
- package/dist/src/enums/Parallax/parallax-direction.enum.js +0 -6
- package/dist/src/enums/Parallax/parallax-easing.enum.cjs +0 -12
- package/dist/src/enums/Parallax/parallax-easing.enum.d.ts +0 -5
- package/dist/src/enums/Parallax/parallax-easing.enum.js +0 -6
- package/dist/src/enums/Textarea/textarea-mode.enum.cjs +0 -11
- package/dist/src/enums/Textarea/textarea-mode.enum.d.ts +0 -13
- package/dist/src/enums/Textarea/textarea-mode.enum.js +0 -5
- package/dist/src/enums/Textarea/textarea-output.enum.cjs +0 -11
- package/dist/src/enums/Textarea/textarea-toolbar-position.enum.cjs +0 -12
- package/dist/src/enums/Textarea/textarea-toolbar-position.enum.d.ts +0 -10
- package/dist/src/enums/Textarea/textarea-toolbar-position.enum.js +0 -6
- package/dist/src/types/Audio/audio-controls.type.d.ts +0 -12
- package/dist/src/types/Audio/audio-loop-mode.type.d.ts +0 -5
- package/dist/src/types/Audio/audio-variant.type.d.ts +0 -7
- package/dist/src/types/Audio/cover-position.type.d.ts +0 -6
- package/dist/src/types/Blockquote/blockquote-align.type.d.ts +0 -5
- package/dist/src/types/Blockquote/blockquote-lang.type.d.ts +0 -18
- package/dist/src/types/Blockquote/blockquote-variant.type.d.ts +0 -17
- package/dist/src/types/Bracket/bracket-direction.type.d.ts +0 -13
- package/dist/src/types/Bracket/bracket-match-status.type.d.ts +0 -2
- package/dist/src/types/Bracket/bracket-variant.type.d.ts +0 -2
- package/dist/src/types/Calendar/calendar-time-format.type.d.ts +0 -13
- package/dist/src/types/Calendar/calendar-view.type.d.ts +0 -10
- package/dist/src/types/Chart/chart-bullet-orientation.type.d.ts +0 -1
- package/dist/src/types/Chart/chart-honeycomb-color-mode.type.d.ts +0 -2
- package/dist/src/types/Chart/chart-honeycomb-orientation.type.d.ts +0 -2
- package/dist/src/types/Chart/chart-item.type.d.ts +0 -9
- package/dist/src/types/Chart/chart-legend-position.type.d.ts +0 -6
- package/dist/src/types/Chart/chart-pictorial-direction.type.d.ts +0 -1
- package/dist/src/types/Chart/chart-pictorial-mode.type.d.ts +0 -1
- package/dist/src/types/Chart/chart-smoothing.type.d.ts +0 -17
- package/dist/src/types/Chart/chart-stacking.type.d.ts +0 -9
- package/dist/src/types/Chart/chart-streamgraph-offset.type.d.ts +0 -1
- package/dist/src/types/Chart/chart-type.type.d.ts +0 -7
- package/dist/src/types/Chart/chart-word-cloud-rotation.type.d.ts +0 -8
- package/dist/src/types/Code/code-lang.type.d.ts +0 -2
- package/dist/src/types/Code/code-theme.type.d.ts +0 -2
- package/dist/src/types/EmptyState/empty-state-align.type.d.ts +0 -10
- package/dist/src/types/EmptyState/empty-state-preset.type.d.ts +0 -14
- package/dist/src/types/EmptyState/empty-state-size.type.d.ts +0 -9
- package/dist/src/types/Grid/grid-align.type.d.ts +0 -28
- package/dist/src/types/Grid/grid-flow.type.d.ts +0 -10
- package/dist/src/types/InlineEdit/inline-edit-input-type.type.d.ts +0 -7
- package/dist/src/types/Mask/built-in-pattern.type.d.ts +0 -7
- package/dist/src/types/Mask/mask.type.d.ts +0 -19
- package/dist/src/types/Mask/pattern-validator.type.d.ts +0 -16
- package/dist/src/types/Media/media-scrubber-orientation.type.d.ts +0 -6
- package/dist/src/types/Parallax/parallax-direction.type.d.ts +0 -2
- package/dist/src/types/Parallax/parallax-easing.type.d.ts +0 -2
- package/dist/src/types/PasswordField/password-strength.type.d.ts +0 -15
- package/dist/src/types/Sheet/sheet-snap-point.type.d.ts +0 -22
- package/dist/src/types/SliderField/slider-field-variant.type.d.ts +0 -10
- package/dist/src/types/Snackbar/snackbar-group-direction.type.d.ts +0 -11
- package/dist/src/types/Snackbar/snackbar-group-location.type.d.ts +0 -9
- package/dist/src/types/Tabs/tab-variant.type.d.ts +0 -2
- package/dist/src/types/TextMask/text-mask-animation.type.d.ts +0 -16
- package/dist/src/types/Textarea/textarea-mode.type.d.ts +0 -2
- package/dist/src/types/Textarea/textarea-output.type.d.ts +0 -2
- package/dist/src/types/Textarea/textarea-toolbar-command.type.d.ts +0 -2
- package/dist/src/types/Textarea/textarea-toolbar-position.type.d.ts +0 -2
- package/dist/src/types/Video/video-controls.type.d.ts +0 -17
- package/dist/src/types/Video/video-track-kind.type.d.ts +0 -11
- /package/dist/src/consts/Chart/{pictorial-icons.const.cjs → chart-pictorial.const.cjs} +0 -0
- /package/dist/src/consts/Chart/{pictorial-icons.const.d.ts → chart-pictorial.const.d.ts} +0 -0
- /package/dist/src/consts/Chart/{pictorial-icons.const.js → chart-pictorial.const.js} +0 -0
- /package/dist/src/consts/{Icon → Commons}/mdi.const.cjs +0 -0
- /package/dist/src/consts/{Icon → Commons}/mdi.const.d.ts +0 -0
- /package/dist/src/consts/{Icon → Commons}/mdi.const.js +0 -0
- /package/dist/src/consts/Parallax/{parallax-container.const.cjs → parallax.const.cjs} +0 -0
- /package/dist/src/consts/Parallax/{parallax-container.const.d.ts → parallax.const.d.ts} +0 -0
- /package/dist/src/consts/Parallax/{parallax-container.const.js → parallax.const.js} +0 -0
- /package/dist/src/consts/{Textarea/textarea.const.cjs → TextareaField/textarea-field.const.cjs} +0 -0
- /package/dist/src/consts/{Textarea/textarea.const.d.ts → TextareaField/textarea-field.const.d.ts} +0 -0
- /package/dist/src/consts/{Textarea/textarea.const.js → TextareaField/textarea-field.const.js} +0 -0
- /package/dist/src/enums/Bracket/{bracket-match-status.enum.cjs → bracket-match.enum.cjs} +0 -0
- /package/dist/src/enums/Bracket/{bracket-match-status.enum.d.ts → bracket-match.enum.d.ts} +0 -0
- /package/dist/src/enums/Bracket/{bracket-match-status.enum.js → bracket-match.enum.js} +0 -0
- /package/dist/src/enums/Bracket/{bracket-variant.enum.cjs → bracket.enum.cjs} +0 -0
- /package/dist/src/enums/Bracket/{bracket-variant.enum.d.ts → bracket.enum.d.ts} +0 -0
- /package/dist/src/enums/Bracket/{bracket-variant.enum.js → bracket.enum.js} +0 -0
- /package/dist/src/enums/Chart/{chart-cartesian-kind.enum.cjs → chart-cartesian.enum.cjs} +0 -0
- /package/dist/src/enums/Chart/{chart-cartesian-kind.enum.d.ts → chart-cartesian.enum.d.ts} +0 -0
- /package/dist/src/enums/Chart/{chart-cartesian-kind.enum.js → chart-cartesian.enum.js} +0 -0
- /package/dist/src/enums/Chart/{chart-map-mode.enum.cjs → chart-map.enum.cjs} +0 -0
- /package/dist/src/enums/Chart/{chart-map-mode.enum.d.ts → chart-map.enum.d.ts} +0 -0
- /package/dist/src/enums/Chart/{chart-map-mode.enum.js → chart-map.enum.js} +0 -0
- /package/dist/src/enums/Chart/{chart-pictorial-mode.enum.cjs → chart-pictorial.enum.cjs} +0 -0
- /package/dist/src/enums/Chart/{chart-pictorial-mode.enum.d.ts → chart-pictorial.enum.d.ts} +0 -0
- /package/dist/src/enums/Chart/{chart-pictorial-mode.enum.js → chart-pictorial.enum.js} +0 -0
- /package/dist/src/enums/Chart/{chart-polar-kind.enum.cjs → chart-polar.enum.cjs} +0 -0
- /package/dist/src/enums/Chart/{chart-polar-kind.enum.d.ts → chart-polar.enum.d.ts} +0 -0
- /package/dist/src/enums/Chart/{chart-polar-kind.enum.js → chart-polar.enum.js} +0 -0
- /package/dist/src/enums/Chart/{chart-pyramid-kind.enum.cjs → chart-pyramid.enum.cjs} +0 -0
- /package/dist/src/enums/Chart/{chart-pyramid-kind.enum.d.ts → chart-pyramid.enum.d.ts} +0 -0
- /package/dist/src/enums/Chart/{chart-pyramid-kind.enum.js → chart-pyramid.enum.js} +0 -0
- /package/dist/src/enums/Chart/{chart-sparkline-kind.enum.cjs → chart-sparkline.enum.cjs} +0 -0
- /package/dist/src/enums/Chart/{chart-sparkline-kind.enum.d.ts → chart-sparkline.enum.d.ts} +0 -0
- /package/dist/src/enums/Chart/{chart-sparkline-kind.enum.js → chart-sparkline.enum.js} +0 -0
- /package/dist/src/enums/Chart/{chart-streamgraph-offset.enum.cjs → chart-streamgraph.enum.cjs} +0 -0
- /package/dist/src/enums/Chart/{chart-streamgraph-offset.enum.d.ts → chart-streamgraph.enum.d.ts} +0 -0
- /package/dist/src/enums/Chart/{chart-streamgraph-offset.enum.js → chart-streamgraph.enum.js} +0 -0
- /package/dist/src/enums/Chart/{chart-treemap-algorithm.enum.cjs → chart-treemap.enum.cjs} +0 -0
- /package/dist/src/enums/Chart/{chart-treemap-algorithm.enum.d.ts → chart-treemap.enum.d.ts} +0 -0
- /package/dist/src/enums/Chart/{chart-treemap-algorithm.enum.js → chart-treemap.enum.js} +0 -0
- /package/dist/src/enums/Chart/{chart-word-cloud-rotation.enum.cjs → chart-word-cloud.enum.cjs} +0 -0
- /package/dist/src/enums/Chart/{chart-word-cloud-rotation.enum.d.ts → chart-word-cloud.enum.d.ts} +0 -0
- /package/dist/src/enums/Chart/{chart-word-cloud-rotation.enum.js → chart-word-cloud.enum.js} +0 -0
- /package/dist/src/enums/{Icon → Commons}/mdi.enum.cjs +0 -0
- /package/dist/src/enums/{Icon → Commons}/mdi.enum.d.ts +0 -0
- /package/dist/src/enums/{Icon → Commons}/mdi.enum.js +0 -0
- /package/dist/src/enums/EmptyState/{empty-state-preset.enum.cjs → empty-state.enum.cjs} +0 -0
- /package/dist/src/enums/EmptyState/{empty-state-preset.enum.d.ts → empty-state.enum.d.ts} +0 -0
- /package/dist/src/enums/EmptyState/{empty-state-preset.enum.js → empty-state.enum.js} +0 -0
- /package/dist/src/enums/InlineEdit/{inline-edit-action.enum.cjs → inline-edit.enum.cjs} +0 -0
- /package/dist/src/enums/InlineEdit/{inline-edit-action.enum.d.ts → inline-edit.enum.d.ts} +0 -0
- /package/dist/src/enums/InlineEdit/{inline-edit-action.enum.js → inline-edit.enum.js} +0 -0
- /package/dist/src/enums/SliderField/{slider-field-variant.enum.cjs → slider-field.enum.cjs} +0 -0
- /package/dist/src/enums/SliderField/{slider-field-variant.enum.d.ts → slider-field.enum.d.ts} +0 -0
- /package/dist/src/enums/SliderField/{slider-field-variant.enum.js → slider-field.enum.js} +0 -0
- /package/dist/src/enums/Tabs/{tab-variant.enum.cjs → tab.enum.cjs} +0 -0
- /package/dist/src/enums/Tabs/{tab-variant.enum.d.ts → tab.enum.d.ts} +0 -0
- /package/dist/src/enums/Tabs/{tab-variant.enum.js → tab.enum.js} +0 -0
- /package/dist/src/{types/Audio/audio-controls.type.cjs → interfaces/Bracket/bracket-surface.interface.cjs} +0 -0
- /package/dist/src/{types/Audio/audio-controls.type.js → interfaces/Bracket/bracket-surface.interface.js} +0 -0
- /package/dist/src/{types/Audio/audio-loop-mode.type.cjs → interfaces/Calendar/calendar-drag.interface.cjs} +0 -0
- /package/dist/src/{types/Audio/audio-loop-mode.type.js → interfaces/Calendar/calendar-drag.interface.js} +0 -0
- /package/dist/src/{types/Audio/audio-variant.type.cjs → interfaces/Calendar/rrule.interface.cjs} +0 -0
- /package/dist/src/{types/Audio/audio-variant.type.js → interfaces/Calendar/rrule.interface.js} +0 -0
- /package/dist/src/{types/Audio/cover-position.type.cjs → interfaces/ClientOnly/client-only.interface.cjs} +0 -0
- /package/dist/src/{types/Audio/cover-position.type.js → interfaces/ClientOnly/client-only.interface.js} +0 -0
- /package/dist/src/{types/Blockquote/blockquote-align.type.cjs → interfaces/CommandPalette/command-palette-rendered-group.interface.cjs} +0 -0
- /package/dist/src/{types/Blockquote/blockquote-align.type.js → interfaces/CommandPalette/command-palette-rendered-group.interface.js} +0 -0
- /package/dist/src/{types/Blockquote/blockquote-lang.type.cjs → interfaces/CssSupport/css-support.interface.cjs} +0 -0
- /package/dist/src/{types/Blockquote/blockquote-lang.type.js → interfaces/CssSupport/css-support.interface.js} +0 -0
- /package/dist/src/{types/Blockquote/blockquote-variant.type.cjs → interfaces/Media/media-config-menu-item.interface.cjs} +0 -0
- /package/dist/src/{types/Blockquote/blockquote-variant.type.js → interfaces/Media/media-config-menu-item.interface.js} +0 -0
- /package/dist/src/{types/Bracket/bracket-direction.type.cjs → interfaces/ThemeProvider/theme-provider.interface.cjs} +0 -0
- /package/dist/src/{types/Bracket/bracket-direction.type.js → interfaces/ThemeProvider/theme-provider.interface.js} +0 -0
- /package/dist/src/types/{Bracket/bracket-match-status.type.cjs → Audio/audio.type.cjs} +0 -0
- /package/dist/src/types/{Bracket/bracket-match-status.type.js → Audio/audio.type.js} +0 -0
- /package/dist/src/types/{Bracket/bracket-round-side.type.cjs → Blockquote/blockquote.type.cjs} +0 -0
- /package/dist/src/types/{Bracket/bracket-round-side.type.js → Blockquote/blockquote.type.js} +0 -0
- /package/dist/src/types/Bracket/{bracket-variant.type.cjs → bracket-competitor.type.cjs} +0 -0
- /package/dist/src/types/Bracket/{bracket-variant.type.js → bracket-competitor.type.js} +0 -0
- /package/dist/src/types/{Calendar/calendar-time-format.type.cjs → Bracket/bracket-match.type.cjs} +0 -0
- /package/dist/src/types/{Calendar/calendar-time-format.type.js → Bracket/bracket-match.type.js} +0 -0
- /package/dist/src/types/{Calendar/calendar-view.type.cjs → Bracket/bracket-round.type.cjs} +0 -0
- /package/dist/src/types/{Calendar/calendar-view.type.js → Bracket/bracket-round.type.js} +0 -0
- /package/dist/src/types/{Chart/chart-bullet-orientation.type.cjs → Bracket/bracket.type.cjs} +0 -0
- /package/dist/src/types/{Chart/chart-bullet-orientation.type.js → Bracket/bracket.type.js} +0 -0
- /package/dist/src/types/{Chart/chart-cartesian-kind.type.cjs → Calendar/calendar.type.cjs} +0 -0
- /package/dist/src/types/{Chart/chart-cartesian-kind.type.js → Calendar/calendar.type.js} +0 -0
- /package/dist/src/types/Chart/{chart-honeycomb-color-mode.type.cjs → chart-axis.type.cjs} +0 -0
- /package/dist/src/types/Chart/{chart-honeycomb-color-mode.type.js → chart-axis.type.js} +0 -0
- /package/dist/src/types/Chart/{chart-honeycomb-orientation.type.cjs → chart-box-plot.type.cjs} +0 -0
- /package/dist/src/types/Chart/{chart-honeycomb-orientation.type.js → chart-box-plot.type.js} +0 -0
- /package/dist/src/types/Chart/{chart-item.type.cjs → chart-bullet.type.cjs} +0 -0
- /package/dist/src/types/Chart/{chart-item.type.js → chart-bullet.type.js} +0 -0
- /package/dist/src/types/Chart/{chart-legend-position.type.cjs → chart-candlestick.type.cjs} +0 -0
- /package/dist/src/types/Chart/{chart-legend-position.type.js → chart-candlestick.type.js} +0 -0
- /package/dist/src/types/Chart/{chart-map-mode.type.cjs → chart-cartesian.type.cjs} +0 -0
- /package/dist/src/types/Chart/{chart-map-mode.type.js → chart-cartesian.type.js} +0 -0
- /package/dist/src/types/Chart/{chart-pictorial-direction.type.cjs → chart-gauge.type.cjs} +0 -0
- /package/dist/src/types/Chart/{chart-pictorial-direction.type.js → chart-gauge.type.js} +0 -0
- /package/dist/src/types/Chart/{chart-pictorial-mode.type.cjs → chart-heatmap.type.cjs} +0 -0
- /package/dist/src/types/Chart/{chart-pictorial-mode.type.js → chart-heatmap.type.js} +0 -0
- /package/dist/src/types/Chart/{chart-polar-kind.type.cjs → chart-honeycomb.type.cjs} +0 -0
- /package/dist/src/types/Chart/{chart-polar-kind.type.js → chart-honeycomb.type.js} +0 -0
- /package/dist/src/types/Chart/{chart-pyramid-kind.type.cjs → chart-legend.type.cjs} +0 -0
- /package/dist/src/types/Chart/{chart-pyramid-kind.type.js → chart-legend.type.js} +0 -0
- /package/dist/src/types/Chart/{chart-smoothing.type.cjs → chart-map.type.cjs} +0 -0
- /package/dist/src/types/Chart/{chart-smoothing.type.js → chart-map.type.js} +0 -0
- /package/dist/src/types/Chart/{chart-sparkline-kind.type.cjs → chart-pareto.type.cjs} +0 -0
- /package/dist/src/types/Chart/{chart-sparkline-kind.type.js → chart-pareto.type.js} +0 -0
- /package/dist/src/types/Chart/{chart-stacking.type.cjs → chart-pictorial.type.cjs} +0 -0
- /package/dist/src/types/Chart/{chart-stacking.type.js → chart-pictorial.type.js} +0 -0
- /package/dist/src/types/Chart/{chart-streamgraph-offset.type.cjs → chart-polar-bar.type.cjs} +0 -0
- /package/dist/src/types/Chart/{chart-streamgraph-offset.type.js → chart-polar-bar.type.js} +0 -0
- /package/dist/src/types/Chart/{chart-treemap-algorithm.type.cjs → chart-polar.type.cjs} +0 -0
- /package/dist/src/types/Chart/{chart-treemap-algorithm.type.js → chart-polar.type.js} +0 -0
- /package/dist/src/types/Chart/{chart-type.type.cjs → chart-pyramid.type.cjs} +0 -0
- /package/dist/src/types/Chart/{chart-type.type.js → chart-pyramid.type.js} +0 -0
- /package/dist/src/types/Chart/{chart-word-cloud-rotation.type.cjs → chart-radar.type.cjs} +0 -0
- /package/dist/src/types/Chart/{chart-word-cloud-rotation.type.js → chart-radar.type.js} +0 -0
- /package/dist/src/types/{Code/code-lang.type.cjs → Chart/chart-range-selector.type.cjs} +0 -0
- /package/dist/src/types/{Code/code-lang.type.js → Chart/chart-range-selector.type.js} +0 -0
- /package/dist/src/types/{Code/code-theme.type.cjs → Chart/chart-sankey.type.cjs} +0 -0
- /package/dist/src/types/{Code/code-theme.type.js → Chart/chart-sankey.type.js} +0 -0
- /package/dist/src/types/{CommandPalette/command-palette-hotkey.type.cjs → Chart/chart-sparkline.type.cjs} +0 -0
- /package/dist/src/types/{CommandPalette/command-palette-hotkey.type.js → Chart/chart-sparkline.type.js} +0 -0
- /package/dist/src/types/{EmptyState/empty-state-align.type.cjs → Chart/chart-streamgraph.type.cjs} +0 -0
- /package/dist/src/types/{EmptyState/empty-state-align.type.js → Chart/chart-streamgraph.type.js} +0 -0
- /package/dist/src/types/{EmptyState/empty-state-preset.type.cjs → Chart/chart-sunburst.type.cjs} +0 -0
- /package/dist/src/types/{EmptyState/empty-state-preset.type.js → Chart/chart-sunburst.type.js} +0 -0
- /package/dist/src/types/{EmptyState/empty-state-size.type.cjs → Chart/chart-tooltip.type.cjs} +0 -0
- /package/dist/src/types/{EmptyState/empty-state-size.type.js → Chart/chart-tooltip.type.js} +0 -0
- /package/dist/src/types/{Grid/grid-align.type.cjs → Chart/chart-treemap.type.cjs} +0 -0
- /package/dist/src/types/{Grid/grid-align.type.js → Chart/chart-treemap.type.js} +0 -0
- /package/dist/src/types/{Grid/grid-flow.type.cjs → Chart/chart-variwide.type.cjs} +0 -0
- /package/dist/src/types/{Grid/grid-flow.type.js → Chart/chart-variwide.type.js} +0 -0
- /package/dist/src/types/{InlineEdit/inline-edit-input-type.type.cjs → Chart/chart-word-cloud.type.cjs} +0 -0
- /package/dist/src/types/{InlineEdit/inline-edit-input-type.type.js → Chart/chart-word-cloud.type.js} +0 -0
- /package/dist/src/types/{Mask/built-in-pattern.type.cjs → Chart/chart.type.cjs} +0 -0
- /package/dist/src/types/{Mask/built-in-pattern.type.js → Chart/chart.type.js} +0 -0
- /package/dist/src/types/{Mask/mask.type.cjs → ClientOnly/client-only.type.cjs} +0 -0
- /package/dist/src/types/{Mask/mask.type.js → ClientOnly/client-only.type.js} +0 -0
- /package/dist/src/types/{Mask/pattern-validator.type.cjs → Clipboard/clipboard.type.cjs} +0 -0
- /package/dist/src/types/{Mask/pattern-validator.type.js → Clipboard/clipboard.type.js} +0 -0
- /package/dist/src/types/{Masonry/masonry-align.type.cjs → Code/code.type.cjs} +0 -0
- /package/dist/src/types/{Masonry/masonry-align.type.js → Code/code.type.js} +0 -0
- /package/dist/src/types/{Media/media-scrubber-orientation.type.cjs → ColorPickerField/color-picker-field.type.cjs} +0 -0
- /package/dist/src/types/{Media/media-scrubber-orientation.type.js → ColorPickerField/color-picker-field.type.js} +0 -0
- /package/dist/src/types/{NumberFormat/number-format-format.type.cjs → CommandPalette/command-palette.type.cjs} +0 -0
- /package/dist/src/types/{NumberFormat/number-format-format.type.js → CommandPalette/command-palette.type.js} +0 -0
- /package/dist/src/types/{Parallax/parallax-direction.type.cjs → Commons/controls.type.cjs} +0 -0
- /package/dist/src/types/{Parallax/parallax-direction.type.js → Commons/controls.type.js} +0 -0
- /package/dist/src/types/{Parallax/parallax-easing.type.cjs → Commons/css-support.type.cjs} +0 -0
- /package/dist/src/types/{Parallax/parallax-easing.type.js → Commons/css-support.type.js} +0 -0
- /package/dist/src/types/{PasswordField/password-strength.type.cjs → Commons/state-effect.type.cjs} +0 -0
- /package/dist/src/types/{PasswordField/password-strength.type.js → Commons/state-effect.type.js} +0 -0
- /package/dist/src/types/{QrCode/qr-code-error-correction.type.cjs → ConfirmWrapper/confirm-wrapper.type.cjs} +0 -0
- /package/dist/src/types/{QrCode/qr-code-error-correction.type.js → ConfirmWrapper/confirm-wrapper.type.js} +0 -0
- /package/dist/src/types/{Sheet/sheet-snap-point.type.cjs → DefaultsProvider/defaults-provider.type.cjs} +0 -0
- /package/dist/src/types/{Sheet/sheet-snap-point.type.js → DefaultsProvider/defaults-provider.type.js} +0 -0
- /package/dist/src/types/{SliderField/slider-field-variant.type.cjs → EmptyState/empty-state.type.cjs} +0 -0
- /package/dist/src/types/{SliderField/slider-field-variant.type.js → EmptyState/empty-state.type.js} +0 -0
- /package/dist/src/types/{Snackbar/snackbar-group-direction.type.cjs → FileField/file-field-drag-n-drop-item.type.cjs} +0 -0
- /package/dist/src/types/{Snackbar/snackbar-group-direction.type.js → FileField/file-field-drag-n-drop-item.type.js} +0 -0
- /package/dist/src/types/{Snackbar/snackbar-group-location.type.cjs → FileField/file-field-list-item.type.cjs} +0 -0
- /package/dist/src/types/{Snackbar/snackbar-group-location.type.js → FileField/file-field-list-item.type.js} +0 -0
- /package/dist/src/types/{Tabs/tab-variant.type.cjs → Grid/grid-item.type.cjs} +0 -0
- /package/dist/src/types/{Tabs/tab-variant.type.js → Grid/grid-item.type.js} +0 -0
- /package/dist/src/types/{TextMask/text-mask-animation.type.cjs → Grid/grid.type.cjs} +0 -0
- /package/dist/src/types/{TextMask/text-mask-animation.type.js → Grid/grid.type.js} +0 -0
- /package/dist/src/types/{Textarea/textarea-mode.type.cjs → InlineEdit/inline-edit.type.cjs} +0 -0
- /package/dist/src/types/{Textarea/textarea-mode.type.js → InlineEdit/inline-edit.type.js} +0 -0
- /package/dist/src/types/{Textarea/textarea-output.type.cjs → ItemGroup/item-group.type.cjs} +0 -0
- /package/dist/src/types/{Textarea/textarea-output.type.js → ItemGroup/item-group.type.js} +0 -0
- /package/dist/src/types/{Textarea/textarea-toolbar-command.type.cjs → ItemGroup/item.type.cjs} +0 -0
- /package/dist/src/types/{Textarea/textarea-toolbar-command.type.js → ItemGroup/item.type.js} +0 -0
- /package/dist/src/types/{Textarea/textarea-toolbar-position.type.cjs → Masonry/masonry.type.cjs} +0 -0
- /package/dist/src/types/{Textarea/textarea-toolbar-position.type.js → Masonry/masonry.type.js} +0 -0
- /package/dist/src/types/{Video/video-controls.type.cjs → Media/media-controller.type.cjs} +0 -0
- /package/dist/src/types/{Video/video-controls.type.js → Media/media-controller.type.js} +0 -0
- /package/dist/src/types/{Video/video-track-kind.type.cjs → Media/media-scrubber.type.cjs} +0 -0
- /package/dist/src/types/{Video/video-track-kind.type.js → Media/media-scrubber.type.js} +0 -0
|
@@ -6,13 +6,12 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
Object.defineProperty(exports, "DEFAULT_SHEET_SNAP_POINTS", {
|
|
7
7
|
enumerable: true,
|
|
8
8
|
get: function () {
|
|
9
|
-
return
|
|
9
|
+
return _sheet.DEFAULT_SHEET_SNAP_POINTS;
|
|
10
10
|
}
|
|
11
11
|
});
|
|
12
12
|
exports.useSheetSwipe = useSheetSwipe;
|
|
13
13
|
var _vue = require("vue");
|
|
14
|
-
var
|
|
15
|
-
var _sheetSwipe = require("../../consts/Sheet/sheet-swipe.const.cjs");
|
|
14
|
+
var _sheet = require("../../consts/Sheet/sheet.const.cjs");
|
|
16
15
|
function resolveHeightPx(height) {
|
|
17
16
|
if (typeof height === "number") return height;
|
|
18
17
|
if (typeof window === "undefined") return 0;
|
|
@@ -54,7 +53,7 @@ function useSheetSwipe(options) {
|
|
|
54
53
|
persistent
|
|
55
54
|
} = options;
|
|
56
55
|
const sortedSnaps = (0, _vue.computed)(() => {
|
|
57
|
-
const src = snapPoints?.value ??
|
|
56
|
+
const src = snapPoints?.value ?? _sheet.DEFAULT_SHEET_SNAP_POINTS;
|
|
58
57
|
return [...src].sort((a, b) => resolveHeightPx(a.height) - resolveHeightPx(b.height));
|
|
59
58
|
});
|
|
60
59
|
const currentSnap = (0, _vue.ref)(defaultSnap?.value ?? "half");
|
|
@@ -78,7 +77,7 @@ function useSheetSwipe(options) {
|
|
|
78
77
|
const goingUp = velocity > 0;
|
|
79
78
|
const goingDown = velocity < 0;
|
|
80
79
|
const speed = Math.abs(velocity);
|
|
81
|
-
if (speed >=
|
|
80
|
+
if (speed >= _sheet.SHEET_FAST_FLICK_THRESHOLD) {
|
|
82
81
|
const nextIdx = goingUp ? Math.min(snaps.length - 1, currentIdx + 1) : goingDown ? Math.max(0, currentIdx - 1) : currentIdx;
|
|
83
82
|
const candidate = snaps[nextIdx];
|
|
84
83
|
return enforcePersistent(candidate.id, snaps);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ISheetSwipeOptions, ISheetSwipeReturn } from '../../interfaces';
|
|
2
|
-
export { DEFAULT_SHEET_SNAP_POINTS } from '../../consts/Sheet/sheet
|
|
2
|
+
export { DEFAULT_SHEET_SNAP_POINTS } from '../../consts/Sheet/sheet.const';
|
|
3
3
|
/**
|
|
4
4
|
* Bottom-sheet swipe gesture composable.
|
|
5
5
|
*
|
|
@@ -6,9 +6,8 @@ import {
|
|
|
6
6
|
shallowRef,
|
|
7
7
|
watch
|
|
8
8
|
} from "vue";
|
|
9
|
-
import { DEFAULT_SHEET_SNAP_POINTS } from "../../consts/Sheet/sheet
|
|
10
|
-
|
|
11
|
-
export { DEFAULT_SHEET_SNAP_POINTS } from "../../consts/Sheet/sheet-snap-points.const.js";
|
|
9
|
+
import { DEFAULT_SHEET_SNAP_POINTS, SHEET_FAST_FLICK_THRESHOLD as FAST_FLICK_THRESHOLD } from "../../consts/Sheet/sheet.const.js";
|
|
10
|
+
export { DEFAULT_SHEET_SNAP_POINTS } from "../../consts/Sheet/sheet.const.js";
|
|
12
11
|
function resolveHeightPx(height) {
|
|
13
12
|
if (typeof height === "number") return height;
|
|
14
13
|
if (typeof window === "undefined") return 0;
|
|
@@ -17,7 +17,8 @@ const getStore = id => {
|
|
|
17
17
|
timers: /* @__PURE__ */new Map(),
|
|
18
18
|
counter: {
|
|
19
19
|
current: 0
|
|
20
|
-
}
|
|
20
|
+
},
|
|
21
|
+
defaultDuration: (0, _vue.ref)(_consts.SNACKBAR_GROUP_DEFAULT_DURATION)
|
|
21
22
|
};
|
|
22
23
|
STORES.set(id, store);
|
|
23
24
|
}
|
|
@@ -54,7 +55,7 @@ function useSnackbarGroup(options = {}) {
|
|
|
54
55
|
};
|
|
55
56
|
const notify = opts => {
|
|
56
57
|
const itemId = generateId(state);
|
|
57
|
-
const duration = opts.duration ?? options.defaultDuration ??
|
|
58
|
+
const duration = opts.duration ?? options.defaultDuration ?? state.defaultDuration.value;
|
|
58
59
|
const item = {
|
|
59
60
|
...opts,
|
|
60
61
|
id: itemId,
|
|
@@ -84,9 +85,13 @@ function useSnackbarGroup(options = {}) {
|
|
|
84
85
|
}
|
|
85
86
|
function useSnackbarGroupInternal(id = _consts.SNACKBAR_GROUP_DEFAULT_ID) {
|
|
86
87
|
const state = getStore(id);
|
|
88
|
+
const registerDefaultDuration = duration => {
|
|
89
|
+
state.defaultDuration.value = duration;
|
|
90
|
+
};
|
|
87
91
|
return {
|
|
88
92
|
rawItems: state.items,
|
|
89
|
-
itemCount: (0, _vue.computed)(() => state.items.value.length)
|
|
93
|
+
itemCount: (0, _vue.computed)(() => state.items.value.length),
|
|
94
|
+
registerDefaultDuration
|
|
90
95
|
};
|
|
91
96
|
}
|
|
92
97
|
function resetSnackbarGroupForTesting() {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { type Ref } from 'vue';
|
|
2
|
-
import type { ISnackbarGroupItem,
|
|
2
|
+
import type { ISnackbarGroupItem, IUseSnackbarGroupOptions, IUseSnackbarGroupReturn } from '../../interfaces';
|
|
3
|
+
export type { IUseSnackbarGroupOptions, IUseSnackbarGroupReturn } from '../../interfaces';
|
|
3
4
|
/*********************************************************
|
|
4
5
|
* useSnackbarGroup
|
|
5
6
|
*
|
|
@@ -10,27 +11,6 @@ import type { ISnackbarGroupItem, ISnackbarGroupItemOptions } from '../../interf
|
|
|
10
11
|
* `<OrigamSnackbarGroup id="…">` instance, so direct
|
|
11
12
|
* mutation outside of `notify` / `dismiss` is discouraged.
|
|
12
13
|
********************************************************/
|
|
13
|
-
export interface IUseSnackbarGroupOptions {
|
|
14
|
-
id?: string;
|
|
15
|
-
/**
|
|
16
|
-
* Maximum number of items kept in the stack. When `notify` would
|
|
17
|
-
* push past this number, the oldest item is evicted FIFO. When
|
|
18
|
-
* undefined, the stack is unbounded (the rendering component
|
|
19
|
-
* still caps the visible count via its `max` prop).
|
|
20
|
-
*/
|
|
21
|
-
max?: number;
|
|
22
|
-
/**
|
|
23
|
-
* Fallback `duration` applied to items that omit their own.
|
|
24
|
-
* Defaults to `SNACKBAR_GROUP_DEFAULT_DURATION` (5 000 ms).
|
|
25
|
-
*/
|
|
26
|
-
defaultDuration?: number;
|
|
27
|
-
}
|
|
28
|
-
export interface IUseSnackbarGroupReturn {
|
|
29
|
-
items: Readonly<Ref<ReadonlyArray<ISnackbarGroupItem>>>;
|
|
30
|
-
notify: (opts: ISnackbarGroupItemOptions) => string;
|
|
31
|
-
dismiss: (itemId: string) => void;
|
|
32
|
-
dismissAll: () => void;
|
|
33
|
-
}
|
|
34
14
|
export declare function useSnackbarGroup(options?: IUseSnackbarGroupOptions): IUseSnackbarGroupReturn;
|
|
35
15
|
/*********************************************************
|
|
36
16
|
* Internal helper for the host component
|
|
@@ -46,6 +26,7 @@ export declare function useSnackbarGroup(options?: IUseSnackbarGroupOptions): IU
|
|
|
46
26
|
export declare function useSnackbarGroupInternal(id?: string): {
|
|
47
27
|
rawItems: Ref<ISnackbarGroupItem[], ISnackbarGroupItem[]>;
|
|
48
28
|
itemCount: import("vue").ComputedRef<number>;
|
|
29
|
+
registerDefaultDuration: (duration: number) => void;
|
|
49
30
|
};
|
|
50
31
|
/*********************************************************
|
|
51
32
|
* Test helper
|
|
@@ -7,7 +7,8 @@ const getStore = (id) => {
|
|
|
7
7
|
store = {
|
|
8
8
|
items: ref([]),
|
|
9
9
|
timers: /* @__PURE__ */ new Map(),
|
|
10
|
-
counter: { current: 0 }
|
|
10
|
+
counter: { current: 0 },
|
|
11
|
+
defaultDuration: ref(SNACKBAR_GROUP_DEFAULT_DURATION)
|
|
11
12
|
};
|
|
12
13
|
STORES.set(id, store);
|
|
13
14
|
}
|
|
@@ -44,7 +45,7 @@ export function useSnackbarGroup(options = {}) {
|
|
|
44
45
|
};
|
|
45
46
|
const notify = (opts) => {
|
|
46
47
|
const itemId = generateId(state);
|
|
47
|
-
const duration = opts.duration ?? options.defaultDuration ??
|
|
48
|
+
const duration = opts.duration ?? options.defaultDuration ?? state.defaultDuration.value;
|
|
48
49
|
const item = {
|
|
49
50
|
...opts,
|
|
50
51
|
id: itemId,
|
|
@@ -74,9 +75,13 @@ export function useSnackbarGroup(options = {}) {
|
|
|
74
75
|
}
|
|
75
76
|
export function useSnackbarGroupInternal(id = SNACKBAR_GROUP_DEFAULT_ID) {
|
|
76
77
|
const state = getStore(id);
|
|
78
|
+
const registerDefaultDuration = (duration) => {
|
|
79
|
+
state.defaultDuration.value = duration;
|
|
80
|
+
};
|
|
77
81
|
return {
|
|
78
82
|
rawItems: state.items,
|
|
79
|
-
itemCount: computed(() => state.items.value.length)
|
|
83
|
+
itemCount: computed(() => state.items.value.length),
|
|
84
|
+
registerDefaultDuration
|
|
80
85
|
};
|
|
81
86
|
}
|
|
82
87
|
export function resetSnackbarGroupForTesting() {
|
|
@@ -34,7 +34,7 @@ export declare function useTheme(): {
|
|
|
34
34
|
resolved: Readonly<Ref<TThemeResolved, TThemeResolved>>;
|
|
35
35
|
setTheme: (next: TTheme) => void;
|
|
36
36
|
toggle: () => void;
|
|
37
|
-
mode: Readonly<Ref<
|
|
37
|
+
mode: Readonly<Ref<"auto" | "light" | "dark", "auto" | "light" | "dark">>;
|
|
38
38
|
resolvedMode: Readonly<Ref<TModeResolved, TModeResolved>>;
|
|
39
39
|
setMode: (next: TMode) => void;
|
|
40
40
|
toggleMode: () => void;
|
|
@@ -26,7 +26,7 @@ function useCssTransition(props) {
|
|
|
26
26
|
name,
|
|
27
27
|
isDisabled
|
|
28
28
|
} = useTransition(props);
|
|
29
|
-
const tag =
|
|
29
|
+
const tag = (0, _vue.computed)(() => props.group ? _vue.TransitionGroup : _vue.Transition);
|
|
30
30
|
const handleBeforeEnter = el => {
|
|
31
31
|
if (props.origin) {
|
|
32
32
|
el.style.transformOrigin = props.origin;
|
|
@@ -100,7 +100,7 @@ function useWindowTransition(props) {
|
|
|
100
100
|
name,
|
|
101
101
|
isDisabled
|
|
102
102
|
} = useTransition(props);
|
|
103
|
-
const tag =
|
|
103
|
+
const tag = (0, _vue.computed)(() => props.group ? _vue.TransitionGroup : _vue.Transition);
|
|
104
104
|
const window = (0, _vue.inject)(_consts.ORIGAM_WINDOW_KEY);
|
|
105
105
|
const isTransitioning = (0, _vue.shallowRef)(false);
|
|
106
106
|
const handleAfterTransition = () => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ITransitionProps } from '../../interfaces';
|
|
2
|
-
import { Component
|
|
2
|
+
import { Component } from 'vue';
|
|
3
3
|
/*********************************************************
|
|
4
4
|
* useTransition
|
|
5
5
|
********************************************************/
|
|
@@ -11,7 +11,7 @@ export declare function useTransition(props: ITransitionProps): {
|
|
|
11
11
|
* useCssTransition
|
|
12
12
|
********************************************************/
|
|
13
13
|
export declare function useCssTransition(props: ITransitionProps): {
|
|
14
|
-
tag:
|
|
14
|
+
tag: import("vue").ComputedRef<Component>;
|
|
15
15
|
name: import("vue").ComputedRef<string | undefined>;
|
|
16
16
|
isDisabled: import("vue").ComputedRef<boolean | undefined>;
|
|
17
17
|
transitionProps: import("vue").ComputedRef<{
|
|
@@ -22,7 +22,7 @@ export declare function useCssTransition(props: ITransitionProps): {
|
|
|
22
22
|
* useWindowTransition
|
|
23
23
|
********************************************************/
|
|
24
24
|
export declare function useWindowTransition(props: ITransitionProps): {
|
|
25
|
-
tag:
|
|
25
|
+
tag: import("vue").ComputedRef<Component>;
|
|
26
26
|
name: import("vue").ComputedRef<string | undefined>;
|
|
27
27
|
isDisabled: import("vue").ComputedRef<boolean | undefined>;
|
|
28
28
|
transitionProps: import("vue").ComputedRef<{
|
|
@@ -12,7 +12,7 @@ export function useTransition(props) {
|
|
|
12
12
|
}
|
|
13
13
|
export function useCssTransition(props) {
|
|
14
14
|
const { name, isDisabled } = useTransition(props);
|
|
15
|
-
const tag = props.group ?
|
|
15
|
+
const tag = computed(() => props.group ? TransitionGroup : Transition);
|
|
16
16
|
const handleBeforeEnter = (el) => {
|
|
17
17
|
if (props.origin) {
|
|
18
18
|
el.style.transformOrigin = props.origin;
|
|
@@ -67,7 +67,7 @@ export function useCssTransition(props) {
|
|
|
67
67
|
}
|
|
68
68
|
export function useWindowTransition(props) {
|
|
69
69
|
const { name, isDisabled } = useTransition(props);
|
|
70
|
-
const tag = props.group ?
|
|
70
|
+
const tag = computed(() => props.group ? TransitionGroup : Transition);
|
|
71
71
|
const window = inject(ORIGAM_WINDOW_KEY);
|
|
72
72
|
const isTransitioning = shallowRef(false);
|
|
73
73
|
const handleAfterTransition = () => {
|
|
@@ -60,6 +60,18 @@ Object.keys(_defaults).forEach(function (key) {
|
|
|
60
60
|
}
|
|
61
61
|
});
|
|
62
62
|
});
|
|
63
|
+
var _themePropsResolver = require("./Commons/theme-props-resolver.composable.cjs");
|
|
64
|
+
Object.keys(_themePropsResolver).forEach(function (key) {
|
|
65
|
+
if (key === "default" || key === "__esModule") return;
|
|
66
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
67
|
+
if (key in exports && exports[key] === _themePropsResolver[key]) return;
|
|
68
|
+
Object.defineProperty(exports, key, {
|
|
69
|
+
enumerable: true,
|
|
70
|
+
get: function () {
|
|
71
|
+
return _themePropsResolver[key];
|
|
72
|
+
}
|
|
73
|
+
});
|
|
74
|
+
});
|
|
63
75
|
var _datePickerCalendar = require("./Commons/date-picker-calendar.composable.cjs");
|
|
64
76
|
Object.keys(_datePickerCalendar).forEach(function (key) {
|
|
65
77
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -2,6 +2,7 @@ export * from './Commons/active.composable';
|
|
|
2
2
|
export * from './Commons/border.composable';
|
|
3
3
|
export * from './Commons/color.composable';
|
|
4
4
|
export * from './Commons/defaults.composable';
|
|
5
|
+
export * from './Commons/theme-props-resolver.composable';
|
|
5
6
|
export * from './Commons/date-picker-calendar.composable';
|
|
6
7
|
export * from './Commons/date.composable';
|
|
7
8
|
export * from './Commons/density.composable';
|
|
@@ -2,6 +2,7 @@ export * from "./Commons/active.composable.js";
|
|
|
2
2
|
export * from "./Commons/border.composable.js";
|
|
3
3
|
export * from "./Commons/color.composable.js";
|
|
4
4
|
export * from "./Commons/defaults.composable.js";
|
|
5
|
+
export * from "./Commons/theme-props-resolver.composable.js";
|
|
5
6
|
export * from "./Commons/date-picker-calendar.composable.js";
|
|
6
7
|
export * from "./Commons/date.composable.js";
|
|
7
8
|
export * from "./Commons/density.composable.js";
|
|
@@ -4,8 +4,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.QUOTE_MARKS_BY_LANG = exports.BLOCKQUOTE_VARIANTS = exports.BLOCKQUOTE_LANGS = exports.BLOCKQUOTE_DEFAULTS = exports.BLOCKQUOTE_ALIGNS = void 0;
|
|
7
|
-
|
|
8
|
-
const
|
|
7
|
+
var _enums = require("../../enums/index.cjs");
|
|
8
|
+
const BLOCKQUOTE_VARIANTS = exports.BLOCKQUOTE_VARIANTS = Object.values(_enums.BLOCKQUOTE_VARIANT);
|
|
9
|
+
const BLOCKQUOTE_LANGS = exports.BLOCKQUOTE_LANGS = Object.values(_enums.BLOCKQUOTE_LANG);
|
|
9
10
|
const BLOCKQUOTE_ALIGNS = exports.BLOCKQUOTE_ALIGNS = ["left", "center", "right"];
|
|
10
11
|
const QUOTE_MARKS_BY_LANG = exports.QUOTE_MARKS_BY_LANG = {
|
|
11
12
|
fr: {
|
|
@@ -1,17 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
"quoted",
|
|
5
|
-
"minimal",
|
|
6
|
-
"pull"
|
|
7
|
-
];
|
|
8
|
-
export const BLOCKQUOTE_LANGS = [
|
|
9
|
-
"auto",
|
|
10
|
-
"fr",
|
|
11
|
-
"en",
|
|
12
|
-
"es",
|
|
13
|
-
"de"
|
|
14
|
-
];
|
|
1
|
+
import { BLOCKQUOTE_LANG, BLOCKQUOTE_VARIANT } from "../../enums/index.js";
|
|
2
|
+
export const BLOCKQUOTE_VARIANTS = Object.values(BLOCKQUOTE_VARIANT);
|
|
3
|
+
export const BLOCKQUOTE_LANGS = Object.values(BLOCKQUOTE_LANG);
|
|
15
4
|
export const BLOCKQUOTE_ALIGNS = [
|
|
16
5
|
"left",
|
|
17
6
|
"center",
|
|
@@ -4,8 +4,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.BRACKET_VARIANTS = exports.BRACKET_MATCH_STATUSES = exports.BRACKET_DEFAULT_WINNERS_LABEL = exports.BRACKET_DEFAULT_ROUND_GAP = exports.BRACKET_DEFAULT_MATCH_WIDTH = exports.BRACKET_DEFAULT_MATCH_HEIGHT = exports.BRACKET_DEFAULT_MATCH_GAP = exports.BRACKET_DEFAULT_LOSERS_LABEL = void 0;
|
|
7
|
-
|
|
8
|
-
const
|
|
7
|
+
var _enums = require("../../enums/index.cjs");
|
|
8
|
+
const BRACKET_VARIANTS = exports.BRACKET_VARIANTS = Object.values(_enums.BRACKET_VARIANT);
|
|
9
|
+
const BRACKET_MATCH_STATUSES = exports.BRACKET_MATCH_STATUSES = Object.values(_enums.BRACKET_MATCH_STATUS);
|
|
9
10
|
const BRACKET_DEFAULT_MATCH_WIDTH = exports.BRACKET_DEFAULT_MATCH_WIDTH = 240;
|
|
10
11
|
const BRACKET_DEFAULT_MATCH_HEIGHT = exports.BRACKET_DEFAULT_MATCH_HEIGHT = 72;
|
|
11
12
|
const BRACKET_DEFAULT_MATCH_GAP = exports.BRACKET_DEFAULT_MATCH_GAP = 24;
|
|
@@ -1,14 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
"round-robin"
|
|
5
|
-
];
|
|
6
|
-
export const BRACKET_MATCH_STATUSES = [
|
|
7
|
-
"pending",
|
|
8
|
-
"live",
|
|
9
|
-
"completed",
|
|
10
|
-
"forfeited"
|
|
11
|
-
];
|
|
1
|
+
import { BRACKET_MATCH_STATUS, BRACKET_VARIANT } from "../../enums/index.js";
|
|
2
|
+
export const BRACKET_VARIANTS = Object.values(BRACKET_VARIANT);
|
|
3
|
+
export const BRACKET_MATCH_STATUSES = Object.values(BRACKET_MATCH_STATUS);
|
|
12
4
|
export const BRACKET_DEFAULT_MATCH_WIDTH = 240;
|
|
13
5
|
export const BRACKET_DEFAULT_MATCH_HEIGHT = 72;
|
|
14
6
|
export const BRACKET_DEFAULT_MATCH_GAP = 24;
|
|
@@ -3,7 +3,44 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.WORLD_GEOGRAPHIC_DATA = void 0;
|
|
6
|
+
exports.WORLD_MAP_PATHS = exports.WORLD_GEOGRAPHIC_DATA = exports.COUNTRY_CENTROIDS = void 0;
|
|
7
|
+
const COUNTRY_CENTROIDS = exports.COUNTRY_CENTROIDS = {
|
|
8
|
+
US: [122, 130],
|
|
9
|
+
CA: [120, 66],
|
|
10
|
+
MX: [124, 178],
|
|
11
|
+
BR: [258, 252],
|
|
12
|
+
AR: [245, 345],
|
|
13
|
+
CL: [222, 348],
|
|
14
|
+
PE: [218, 260],
|
|
15
|
+
CO: [212, 220],
|
|
16
|
+
GB: [452, 96],
|
|
17
|
+
FR: [470, 124],
|
|
18
|
+
DE: [504, 112],
|
|
19
|
+
IT: [500, 152],
|
|
20
|
+
ES: [468, 152],
|
|
21
|
+
PT: [440, 152],
|
|
22
|
+
NL: [498, 100],
|
|
23
|
+
BE: [484, 108],
|
|
24
|
+
PL: [538, 110],
|
|
25
|
+
SE: [522, 74],
|
|
26
|
+
NO: [508, 60],
|
|
27
|
+
FI: [544, 62],
|
|
28
|
+
GR: [530, 158],
|
|
29
|
+
TR: [575, 154],
|
|
30
|
+
RU: [730, 68],
|
|
31
|
+
CN: [775, 135],
|
|
32
|
+
JP: [852, 130],
|
|
33
|
+
KR: [835, 150],
|
|
34
|
+
IN: [708, 204],
|
|
35
|
+
TH: [764, 208],
|
|
36
|
+
SG: [778, 230],
|
|
37
|
+
ID: [812, 250],
|
|
38
|
+
ZA: [548, 352],
|
|
39
|
+
EG: [572, 194],
|
|
40
|
+
NG: [504, 262],
|
|
41
|
+
AU: [845, 330],
|
|
42
|
+
NZ: [932, 362]
|
|
43
|
+
};
|
|
7
44
|
const WORLD_GEOGRAPHIC_DATA = exports.WORLD_GEOGRAPHIC_DATA = {
|
|
8
45
|
// ─── North America ────────────────────────────────────────────────────────
|
|
9
46
|
US: [[
|
|
@@ -149,4 +186,41 @@ const WORLD_GEOGRAPHIC_DATA = exports.WORLD_GEOGRAPHIC_DATA = {
|
|
|
149
186
|
[173, -34.5], [178.5, -37.7], [178.5, -39.5], [175, -41.3], [173, -41], [172.5, -40], [173, -34.5]], [
|
|
150
187
|
// South Island
|
|
151
188
|
[172.5, -40.5], [174.5, -41.3], [173, -43.5], [171, -44.5], [169.5, -46.5], [168.5, -46], [167.5, -46.5], [168, -46], [169, -45], [170.5, -43.5], [171.5, -42.5], [172.5, -40.5]]]
|
|
189
|
+
};
|
|
190
|
+
const WORLD_MAP_PATHS = exports.WORLD_MAP_PATHS = {
|
|
191
|
+
US: "M 55,118 L 58,110 L 70,108 L 82,104 L 95,102 L 115,100 L 140,98 L 165,100 L 180,105 L 185,112 L 190,120 L 188,135 L 178,148 L 168,155 L 155,158 L 140,158 L 120,160 L 100,158 L 80,155 L 65,148 L 58,138 L 55,128 Z",
|
|
192
|
+
CA: "M 55,70 L 58,60 L 75,50 L 100,42 L 140,38 L 175,40 L 195,48 L 200,58 L 195,70 L 185,78 L 170,82 L 140,84 L 110,85 L 80,82 L 65,78 Z M 45,80 L 50,88 L 55,95 L 55,118 L 48,112 L 40,100 L 38,88 Z",
|
|
193
|
+
MX: "M 90,162 L 115,160 L 140,158 L 155,162 L 158,170 L 152,182 L 140,190 L 128,195 L 115,195 L 102,188 L 92,178 Z",
|
|
194
|
+
BR: "M 235,210 L 255,200 L 275,198 L 290,205 L 295,220 L 292,240 L 285,260 L 275,280 L 260,295 L 245,300 L 232,295 L 225,278 L 220,258 L 222,238 L 228,222 Z",
|
|
195
|
+
AR: "M 235,302 L 248,298 L 260,300 L 268,312 L 265,332 L 255,355 L 242,375 L 232,388 L 225,375 L 222,352 L 225,330 L 230,315 Z",
|
|
196
|
+
CL: "M 225,305 L 232,308 L 230,328 L 226,350 L 222,374 L 218,390 L 212,390 L 210,370 L 213,345 L 218,320 Z",
|
|
197
|
+
PE: "M 205,245 L 218,238 L 232,242 L 238,255 L 235,272 L 225,280 L 212,278 L 204,265 Z",
|
|
198
|
+
CO: "M 198,208 L 215,202 L 228,208 L 232,220 L 225,232 L 210,238 L 198,232 L 192,220 Z",
|
|
199
|
+
GB: "M 448,90 L 455,85 L 462,88 L 465,97 L 460,107 L 452,112 L 445,108 L 442,100 Z M 456,72 L 462,68 L 468,72 L 466,82 L 460,86 L 454,83 Z",
|
|
200
|
+
FR: "M 458,112 L 472,108 L 485,110 L 490,120 L 486,132 L 472,140 L 458,138 L 450,128 L 452,118 Z",
|
|
201
|
+
DE: "M 490,100 L 505,96 L 518,98 L 522,108 L 518,120 L 506,126 L 490,122 L 484,112 Z",
|
|
202
|
+
IT: "M 492,132 L 504,128 L 512,132 L 516,145 L 510,162 L 498,175 L 490,172 L 488,158 L 490,145 Z",
|
|
203
|
+
ES: "M 448,140 L 470,136 L 490,140 L 495,152 L 488,164 L 468,168 L 448,162 L 440,150 Z",
|
|
204
|
+
PT: "M 436,140 L 448,140 L 448,162 L 440,165 L 432,160 L 430,150 Z",
|
|
205
|
+
NL: "M 490,96 L 498,92 L 506,95 L 508,102 L 500,106 L 490,104 Z",
|
|
206
|
+
BE: "M 478,104 L 490,100 L 492,110 L 484,114 L 474,112 Z",
|
|
207
|
+
PL: "M 520,98 L 545,92 L 558,96 L 560,110 L 550,120 L 530,124 L 518,118 L 516,108 Z",
|
|
208
|
+
SE: "M 512,60 L 524,52 L 534,58 L 535,75 L 528,90 L 518,96 L 510,88 L 508,72 Z",
|
|
209
|
+
NO: "M 490,52 L 510,44 L 525,48 L 526,60 L 515,68 L 498,72 L 488,64 Z",
|
|
210
|
+
FI: "M 530,52 L 548,44 L 560,50 L 562,65 L 552,76 L 536,78 L 524,70 L 524,58 Z",
|
|
211
|
+
GR: "M 520,150 L 534,146 L 542,152 L 540,164 L 528,170 L 518,165 L 516,155 Z",
|
|
212
|
+
TR: "M 545,145 L 575,138 L 600,140 L 610,150 L 604,162 L 578,168 L 548,165 L 540,155 Z",
|
|
213
|
+
RU: "M 555,50 L 650,38 L 760,35 L 850,40 L 900,55 L 905,75 L 880,90 L 820,95 L 750,98 L 680,95 L 610,88 L 560,80 L 545,65 Z",
|
|
214
|
+
CN: "M 720,110 L 775,100 L 820,105 L 840,120 L 835,140 L 815,160 L 782,170 L 748,165 L 720,150 L 705,135 L 710,120 Z",
|
|
215
|
+
JP: "M 845,120 L 858,112 L 868,118 L 865,135 L 850,145 L 838,140 L 836,128 Z",
|
|
216
|
+
KR: "M 825,142 L 840,138 L 848,144 L 845,155 L 832,160 L 822,155 Z",
|
|
217
|
+
IN: "M 680,170 L 718,162 L 742,170 L 748,192 L 738,220 L 718,238 L 700,240 L 682,228 L 670,205 L 670,185 Z",
|
|
218
|
+
TH: "M 755,195 L 772,190 L 782,198 L 778,215 L 762,225 L 750,220 L 748,208 Z",
|
|
219
|
+
SG: "M 775,228 L 782,225 L 785,230 L 780,235 L 773,233 Z",
|
|
220
|
+
ID: "M 782,240 L 820,235 L 850,240 L 855,252 L 832,262 L 800,260 L 775,255 L 770,248 Z",
|
|
221
|
+
ZA: "M 525,340 L 550,330 L 572,335 L 578,350 L 565,368 L 542,375 L 522,368 L 515,352 Z",
|
|
222
|
+
EG: "M 558,178 L 582,172 L 598,178 L 600,195 L 585,208 L 560,210 L 545,200 L 548,185 Z",
|
|
223
|
+
NG: "M 488,248 L 510,242 L 528,248 L 530,265 L 515,278 L 490,278 L 478,265 L 480,252 Z",
|
|
224
|
+
AU: "M 790,295 L 840,282 L 885,288 L 910,308 L 915,338 L 898,362 L 865,375 L 830,372 L 795,355 L 775,330 L 778,308 Z",
|
|
225
|
+
NZ: "M 925,358 L 935,348 L 944,355 L 942,370 L 930,378 L 920,372 Z"
|
|
152
226
|
};
|
|
@@ -1,3 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* COUNTRY_CENTROIDS
|
|
3
|
+
*
|
|
4
|
+
* Visual centroid [x, y] for each country in `WORLD_MAP_PATHS`,
|
|
5
|
+
* on the same 1000 × 500 Mercator canvas.
|
|
6
|
+
*
|
|
7
|
+
* Used as endpoints for flight-routes Bezier curves.
|
|
8
|
+
* Values approximate the geographic centre of each country shape.
|
|
9
|
+
*/
|
|
10
|
+
export declare const COUNTRY_CENTROIDS: Record<string, [number, number]>;
|
|
1
11
|
/**
|
|
2
12
|
* WORLD_GEOGRAPHIC_DATA
|
|
3
13
|
*
|
|
@@ -20,3 +30,17 @@
|
|
|
20
30
|
* Reference: standard geographic atlases and WGS-84 boundaries.
|
|
21
31
|
*/
|
|
22
32
|
export declare const WORLD_GEOGRAPHIC_DATA: Record<string, Array<Array<[number, number]>>>;
|
|
33
|
+
/**
|
|
34
|
+
* WORLD_MAP_PATHS
|
|
35
|
+
*
|
|
36
|
+
* Simplified Mercator-projected SVG path strings on a 1000 × 500 canvas.
|
|
37
|
+
* ISO-3166-1 alpha-2 keys, values are SVG `d` attribute strings.
|
|
38
|
+
*
|
|
39
|
+
* Shapes are recognisable approximations — not GIS-accurate.
|
|
40
|
+
* Coverage: 31 countries across 6 regions.
|
|
41
|
+
*
|
|
42
|
+
* Omitted from this set (hard to approximate clearly at this scale):
|
|
43
|
+
* - Central African countries (too small / overlapping)
|
|
44
|
+
* - Small island nations (SG, NZ rendered as simplified polygons)
|
|
45
|
+
*/
|
|
46
|
+
export declare const WORLD_MAP_PATHS: Record<string, string>;
|
|
@@ -1,3 +1,40 @@
|
|
|
1
|
+
export const COUNTRY_CENTROIDS = {
|
|
2
|
+
US: [122, 130],
|
|
3
|
+
CA: [120, 66],
|
|
4
|
+
MX: [124, 178],
|
|
5
|
+
BR: [258, 252],
|
|
6
|
+
AR: [245, 345],
|
|
7
|
+
CL: [222, 348],
|
|
8
|
+
PE: [218, 260],
|
|
9
|
+
CO: [212, 220],
|
|
10
|
+
GB: [452, 96],
|
|
11
|
+
FR: [470, 124],
|
|
12
|
+
DE: [504, 112],
|
|
13
|
+
IT: [500, 152],
|
|
14
|
+
ES: [468, 152],
|
|
15
|
+
PT: [440, 152],
|
|
16
|
+
NL: [498, 100],
|
|
17
|
+
BE: [484, 108],
|
|
18
|
+
PL: [538, 110],
|
|
19
|
+
SE: [522, 74],
|
|
20
|
+
NO: [508, 60],
|
|
21
|
+
FI: [544, 62],
|
|
22
|
+
GR: [530, 158],
|
|
23
|
+
TR: [575, 154],
|
|
24
|
+
RU: [730, 68],
|
|
25
|
+
CN: [775, 135],
|
|
26
|
+
JP: [852, 130],
|
|
27
|
+
KR: [835, 150],
|
|
28
|
+
IN: [708, 204],
|
|
29
|
+
TH: [764, 208],
|
|
30
|
+
SG: [778, 230],
|
|
31
|
+
ID: [812, 250],
|
|
32
|
+
ZA: [548, 352],
|
|
33
|
+
EG: [572, 194],
|
|
34
|
+
NG: [504, 262],
|
|
35
|
+
AU: [845, 330],
|
|
36
|
+
NZ: [932, 362]
|
|
37
|
+
};
|
|
1
38
|
export const WORLD_GEOGRAPHIC_DATA = {
|
|
2
39
|
// ─── North America ────────────────────────────────────────────────────────
|
|
3
40
|
US: [
|
|
@@ -1720,3 +1757,40 @@ export const WORLD_GEOGRAPHIC_DATA = {
|
|
|
1720
1757
|
]
|
|
1721
1758
|
]
|
|
1722
1759
|
};
|
|
1760
|
+
export const WORLD_MAP_PATHS = {
|
|
1761
|
+
US: "M 55,118 L 58,110 L 70,108 L 82,104 L 95,102 L 115,100 L 140,98 L 165,100 L 180,105 L 185,112 L 190,120 L 188,135 L 178,148 L 168,155 L 155,158 L 140,158 L 120,160 L 100,158 L 80,155 L 65,148 L 58,138 L 55,128 Z",
|
|
1762
|
+
CA: "M 55,70 L 58,60 L 75,50 L 100,42 L 140,38 L 175,40 L 195,48 L 200,58 L 195,70 L 185,78 L 170,82 L 140,84 L 110,85 L 80,82 L 65,78 Z M 45,80 L 50,88 L 55,95 L 55,118 L 48,112 L 40,100 L 38,88 Z",
|
|
1763
|
+
MX: "M 90,162 L 115,160 L 140,158 L 155,162 L 158,170 L 152,182 L 140,190 L 128,195 L 115,195 L 102,188 L 92,178 Z",
|
|
1764
|
+
BR: "M 235,210 L 255,200 L 275,198 L 290,205 L 295,220 L 292,240 L 285,260 L 275,280 L 260,295 L 245,300 L 232,295 L 225,278 L 220,258 L 222,238 L 228,222 Z",
|
|
1765
|
+
AR: "M 235,302 L 248,298 L 260,300 L 268,312 L 265,332 L 255,355 L 242,375 L 232,388 L 225,375 L 222,352 L 225,330 L 230,315 Z",
|
|
1766
|
+
CL: "M 225,305 L 232,308 L 230,328 L 226,350 L 222,374 L 218,390 L 212,390 L 210,370 L 213,345 L 218,320 Z",
|
|
1767
|
+
PE: "M 205,245 L 218,238 L 232,242 L 238,255 L 235,272 L 225,280 L 212,278 L 204,265 Z",
|
|
1768
|
+
CO: "M 198,208 L 215,202 L 228,208 L 232,220 L 225,232 L 210,238 L 198,232 L 192,220 Z",
|
|
1769
|
+
GB: "M 448,90 L 455,85 L 462,88 L 465,97 L 460,107 L 452,112 L 445,108 L 442,100 Z M 456,72 L 462,68 L 468,72 L 466,82 L 460,86 L 454,83 Z",
|
|
1770
|
+
FR: "M 458,112 L 472,108 L 485,110 L 490,120 L 486,132 L 472,140 L 458,138 L 450,128 L 452,118 Z",
|
|
1771
|
+
DE: "M 490,100 L 505,96 L 518,98 L 522,108 L 518,120 L 506,126 L 490,122 L 484,112 Z",
|
|
1772
|
+
IT: "M 492,132 L 504,128 L 512,132 L 516,145 L 510,162 L 498,175 L 490,172 L 488,158 L 490,145 Z",
|
|
1773
|
+
ES: "M 448,140 L 470,136 L 490,140 L 495,152 L 488,164 L 468,168 L 448,162 L 440,150 Z",
|
|
1774
|
+
PT: "M 436,140 L 448,140 L 448,162 L 440,165 L 432,160 L 430,150 Z",
|
|
1775
|
+
NL: "M 490,96 L 498,92 L 506,95 L 508,102 L 500,106 L 490,104 Z",
|
|
1776
|
+
BE: "M 478,104 L 490,100 L 492,110 L 484,114 L 474,112 Z",
|
|
1777
|
+
PL: "M 520,98 L 545,92 L 558,96 L 560,110 L 550,120 L 530,124 L 518,118 L 516,108 Z",
|
|
1778
|
+
SE: "M 512,60 L 524,52 L 534,58 L 535,75 L 528,90 L 518,96 L 510,88 L 508,72 Z",
|
|
1779
|
+
NO: "M 490,52 L 510,44 L 525,48 L 526,60 L 515,68 L 498,72 L 488,64 Z",
|
|
1780
|
+
FI: "M 530,52 L 548,44 L 560,50 L 562,65 L 552,76 L 536,78 L 524,70 L 524,58 Z",
|
|
1781
|
+
GR: "M 520,150 L 534,146 L 542,152 L 540,164 L 528,170 L 518,165 L 516,155 Z",
|
|
1782
|
+
TR: "M 545,145 L 575,138 L 600,140 L 610,150 L 604,162 L 578,168 L 548,165 L 540,155 Z",
|
|
1783
|
+
RU: "M 555,50 L 650,38 L 760,35 L 850,40 L 900,55 L 905,75 L 880,90 L 820,95 L 750,98 L 680,95 L 610,88 L 560,80 L 545,65 Z",
|
|
1784
|
+
CN: "M 720,110 L 775,100 L 820,105 L 840,120 L 835,140 L 815,160 L 782,170 L 748,165 L 720,150 L 705,135 L 710,120 Z",
|
|
1785
|
+
JP: "M 845,120 L 858,112 L 868,118 L 865,135 L 850,145 L 838,140 L 836,128 Z",
|
|
1786
|
+
KR: "M 825,142 L 840,138 L 848,144 L 845,155 L 832,160 L 822,155 Z",
|
|
1787
|
+
IN: "M 680,170 L 718,162 L 742,170 L 748,192 L 738,220 L 718,238 L 700,240 L 682,228 L 670,205 L 670,185 Z",
|
|
1788
|
+
TH: "M 755,195 L 772,190 L 782,198 L 778,215 L 762,225 L 750,220 L 748,208 Z",
|
|
1789
|
+
SG: "M 775,228 L 782,225 L 785,230 L 780,235 L 773,233 Z",
|
|
1790
|
+
ID: "M 782,240 L 820,235 L 850,240 L 855,252 L 832,262 L 800,260 L 775,255 L 770,248 Z",
|
|
1791
|
+
ZA: "M 525,340 L 550,330 L 572,335 L 578,350 L 565,368 L 542,375 L 522,368 L 515,352 Z",
|
|
1792
|
+
EG: "M 558,178 L 582,172 L 598,178 L 600,195 L 585,208 L 560,210 L 545,200 L 548,185 Z",
|
|
1793
|
+
NG: "M 488,248 L 510,242 L 528,248 L 530,265 L 515,278 L 490,278 L 478,265 L 480,252 Z",
|
|
1794
|
+
AU: "M 790,295 L 840,282 L 885,288 L 910,308 L 915,338 L 898,362 L 865,375 L 830,372 L 795,355 L 775,330 L 778,308 Z",
|
|
1795
|
+
NZ: "M 925,358 L 935,348 L 944,355 L 942,370 L 930,378 L 920,372 Z"
|
|
1796
|
+
};
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.COLOR_PICKER_MODES = exports.COLOR_NULL = void 0;
|
|
7
|
-
var
|
|
7
|
+
var _color = require("../../utils/Commons/color.util.cjs");
|
|
8
8
|
const COLOR_NULL = exports.COLOR_NULL = {
|
|
9
9
|
h: 0,
|
|
10
10
|
s: 0,
|
|
@@ -55,8 +55,8 @@ const COLOR_PICKER_MODE_RGBA = {
|
|
|
55
55
|
a: Number(v)
|
|
56
56
|
})
|
|
57
57
|
}],
|
|
58
|
-
to:
|
|
59
|
-
from:
|
|
58
|
+
to: _color.HSVtoRGB,
|
|
59
|
+
from: _color.RGBtoHSV
|
|
60
60
|
};
|
|
61
61
|
const COLOR_PICKER_MODE_RGB = {
|
|
62
62
|
...COLOR_PICKER_MODE_RGBA,
|
|
@@ -106,8 +106,8 @@ const COLOR_PICKER_MODE_HSLA = {
|
|
|
106
106
|
a: Number(v)
|
|
107
107
|
})
|
|
108
108
|
}],
|
|
109
|
-
to:
|
|
110
|
-
from:
|
|
109
|
+
to: _color.HSVtoHSL,
|
|
110
|
+
from: _color.HSLtoHSV
|
|
111
111
|
};
|
|
112
112
|
const COLOR_PICKER_MODE_HSL = {
|
|
113
113
|
...COLOR_PICKER_MODE_HSLA,
|
|
@@ -122,8 +122,8 @@ const COLOR_PICKER_MODE_HEXA = {
|
|
|
122
122
|
getValue: c => c,
|
|
123
123
|
getColor: (_c, v) => v
|
|
124
124
|
}],
|
|
125
|
-
to:
|
|
126
|
-
from:
|
|
125
|
+
to: _color.HSVtoHex,
|
|
126
|
+
from: _color.HexToHSV
|
|
127
127
|
};
|
|
128
128
|
const COLOR_PICKER_MODE_HEX = {
|
|
129
129
|
...COLOR_PICKER_MODE_HEXA,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { HexToHSV, HSLtoHSV, HSVtoHex, HSVtoHSL, HSVtoRGB, RGBtoHSV } from "../../utils/
|
|
1
|
+
import { HexToHSV, HSLtoHSV, HSVtoHex, HSVtoHSL, HSVtoRGB, RGBtoHSV } from "../../utils/Commons/color.util.js";
|
|
2
2
|
export const COLOR_NULL = { h: 0, s: 0, v: 0, a: 1 };
|
|
3
3
|
const COLOR_PICKER_MODE_RGBA = {
|
|
4
4
|
inputProps: {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.BORDER_REGEX = exports.BORDER_POSITION_MAP = void 0;
|
|
6
|
+
exports.BORDER_REGEX = exports.BORDER_POSITION_MAP = exports.BORDER_LOGICAL_AXIS_MAP = void 0;
|
|
7
7
|
var _enums = require("../../enums/index.cjs");
|
|
8
8
|
const BORDER_REGEX = exports.BORDER_REGEX = /^(?<width>(?: ?(?:[0-9]+)(?:px|pt|PC|in|cm|mm|em|rem|%|ex|ch|fr)?){0,4}) {0,1}(?<style>(?:(?: ?(?:none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset))+){0,4}) ?(?<color>(?: ?(?:(?:(?:#)(?:[a-f0-9]{3}|[a-f0-9]{6}))|(?:var\(--[^)]+\))|(?:(?:rgb|hsl|rgba)a?\(.*\))|(?:[A-Za-z]+))){0,4})$/;
|
|
9
9
|
const BORDER_POSITION_MAP = exports.BORDER_POSITION_MAP = [{
|
|
@@ -22,4 +22,11 @@ const BORDER_POSITION_MAP = exports.BORDER_POSITION_MAP = [{
|
|
|
22
22
|
side: _enums.INLINE.LEFT,
|
|
23
23
|
widthProp: "borderLeft",
|
|
24
24
|
colorProp: "borderLeftColor"
|
|
25
|
+
}];
|
|
26
|
+
const BORDER_LOGICAL_AXIS_MAP = exports.BORDER_LOGICAL_AXIS_MAP = [{
|
|
27
|
+
axis: _enums.BORDER_LOGICAL_AXIS.BLOCK,
|
|
28
|
+
widthProp: "borderBlock"
|
|
29
|
+
}, {
|
|
30
|
+
axis: _enums.BORDER_LOGICAL_AXIS.INLINE,
|
|
31
|
+
widthProp: "borderInline"
|
|
25
32
|
}];
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { BLOCK, INLINE } from '../../enums';
|
|
2
|
+
import type { TBorderLogicalAxis } from '../../types';
|
|
2
3
|
/**
|
|
3
4
|
* Parse a free-form `border` value into width / style / color groups.
|
|
4
5
|
*
|
|
@@ -46,3 +47,19 @@ export declare const BORDER_POSITION_MAP: readonly [{
|
|
|
46
47
|
readonly widthProp: "borderLeft";
|
|
47
48
|
readonly colorProp: "borderLeftColor";
|
|
48
49
|
}];
|
|
50
|
+
/**
|
|
51
|
+
* Logical-axis lookup driving `borderBlock` / `borderInline` wiring.
|
|
52
|
+
*
|
|
53
|
+
* Unlike `BORDER_POSITION_MAP` (physical sides, issue #215), these two
|
|
54
|
+
* props are already named LOGICALLY on `IBorderProps` and map straight
|
|
55
|
+
* onto the native CSS logical properties `border-block-{width,style,color}`
|
|
56
|
+
* / `border-inline-{width,style,color}` — no physical translation table
|
|
57
|
+
* needed, the browser resolves start/end per the active writing mode.
|
|
58
|
+
* No matching `borderBlockColor` / `borderInlineColor` prop exists (the
|
|
59
|
+
* per-side color override only applies to the 4 physical corners), so
|
|
60
|
+
* unlike `BORDER_POSITION_MAP` there is no `colorProp` here.
|
|
61
|
+
*/
|
|
62
|
+
export declare const BORDER_LOGICAL_AXIS_MAP: ReadonlyArray<{
|
|
63
|
+
axis: TBorderLogicalAxis;
|
|
64
|
+
widthProp: 'borderBlock' | 'borderInline';
|
|
65
|
+
}>;
|