@appquality/unguess-design-system 3.1.115 → 4.0.1
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/.github/workflows/release.yml +2 -2
- package/.vite/commands/setEnv.ts +18 -0
- package/.vite/plugins/svgr.ts +40 -0
- package/CHANGELOG.md +32 -0
- package/build/assets/index.css +6 -0
- package/build/index.d.ts +12552 -99
- package/build/index.js +78723 -7933
- package/package.json +80 -65
- package/vite.config.mts +41 -0
- package/vite.config.storybook.mts +40 -0
- package/build/constants.d.ts +0 -3
- package/build/hooks/useDebounce.d.ts +0 -2
- package/build/hooks/useWindowSize.d.ts +0 -4
- package/build/stories/accordions/_types.d.ts +0 -25
- package/build/stories/accordions/index.d.ts +0 -9
- package/build/stories/accordions/index.stories.d.ts +0 -14
- package/build/stories/alerts/_types.d.ts +0 -5
- package/build/stories/alerts/index.d.ts +0 -287
- package/build/stories/alerts/index.stories.d.ts +0 -4
- package/build/stories/avatar/InternalAvatar.d.ts +0 -2
- package/build/stories/avatar/_types.d.ts +0 -19
- package/build/stories/avatar/index.d.ts +0 -13
- package/build/stories/avatar/index.stories.d.ts +0 -6
- package/build/stories/breadcrumbs/_types.d.ts +0 -7
- package/build/stories/breadcrumbs/index.d.ts +0 -3
- package/build/stories/breadcrumbs/index.stories.d.ts +0 -11
- package/build/stories/buttons/anchor/index.d.ts +0 -12
- package/build/stories/buttons/anchor/index.stories.d.ts +0 -7
- package/build/stories/buttons/button/_types.d.ts +0 -7
- package/build/stories/buttons/button/index.d.ts +0 -308
- package/build/stories/buttons/button/index.stories.d.ts +0 -9
- package/build/stories/buttons/button-group/index.d.ts +0 -9
- package/build/stories/buttons/button-group/index.stories.d.ts +0 -13
- package/build/stories/buttons/icon-button/_types.d.ts +0 -7
- package/build/stories/buttons/icon-button/index.d.ts +0 -14
- package/build/stories/buttons/icon-button/index.stories.d.ts +0 -8
- package/build/stories/buttons/shared/_shared.d.ts +0 -2
- package/build/stories/buttons/split-button/_types.d.ts +0 -2
- package/build/stories/buttons/split-button/index.d.ts +0 -11
- package/build/stories/buttons/split-button/index.stories.d.ts +0 -5
- package/build/stories/buttons/utils.d.ts +0 -872
- package/build/stories/campaign-cards/_types.d.ts +0 -44
- package/build/stories/campaign-cards/index.d.ts +0 -3
- package/build/stories/campaign-cards/index.stories.d.ts +0 -5
- package/build/stories/campaign-cards/skeleton.d.ts +0 -1
- package/build/stories/cards/_types.d.ts +0 -9
- package/build/stories/cards/container.stories.d.ts +0 -8
- package/build/stories/cards/index.d.ts +0 -16
- package/build/stories/cards/index.stories.d.ts +0 -9
- package/build/stories/charts/ChartContainer.d.ts +0 -6
- package/build/stories/charts/Legend.d.ts +0 -11
- package/build/stories/charts/_types.d.ts +0 -6
- package/build/stories/charts/bar/_data.d.ts +0 -28
- package/build/stories/charts/bar/_types.d.ts +0 -26
- package/build/stories/charts/bar/index.d.ts +0 -2
- package/build/stories/charts/bar/index.stories.d.ts +0 -5
- package/build/stories/charts/bullet/CustomBulletChartMarker.d.ts +0 -2
- package/build/stories/charts/bullet/CustomBulletChartMeasure.d.ts +0 -8
- package/build/stories/charts/bullet/CustomTooltip.d.ts +0 -5
- package/build/stories/charts/bullet/_types.d.ts +0 -6
- package/build/stories/charts/bullet/index.d.ts +0 -3
- package/build/stories/charts/bullet/index.stories.d.ts +0 -5
- package/build/stories/charts/halfPie/HalfPieChartComponent.d.ts +0 -7
- package/build/stories/charts/halfPie/_types.d.ts +0 -14
- package/build/stories/charts/halfPie/index.d.ts +0 -3
- package/build/stories/charts/halfPie/index.stories.d.ts +0 -4
- package/build/stories/charts/pie/_types.d.ts +0 -36
- package/build/stories/charts/pie/index.d.ts +0 -3
- package/build/stories/charts/pie/index.stories.d.ts +0 -6
- package/build/stories/charts/pieCenteredItem.d.ts +0 -11
- package/build/stories/charts/sentiment/_data.d.ts +0 -9
- package/build/stories/charts/sentiment/_types.d.ts +0 -31
- package/build/stories/charts/sentiment/index.d.ts +0 -2
- package/build/stories/charts/sentiment/index.stories.d.ts +0 -5
- package/build/stories/charts/sunburst/ResetButton.d.ts +0 -9
- package/build/stories/charts/sunburst/_types.d.ts +0 -26
- package/build/stories/charts/sunburst/findChildrenByName.d.ts +0 -3
- package/build/stories/charts/sunburst/getChildrenValue.d.ts +0 -3
- package/build/stories/charts/sunburst/index.d.ts +0 -3
- package/build/stories/charts/sunburst/index.stories.d.ts +0 -5
- package/build/stories/charts/waffle/CustomCell.d.ts +0 -16
- package/build/stories/charts/waffle/_types.d.ts +0 -13
- package/build/stories/charts/waffle/index.d.ts +0 -3
- package/build/stories/charts/waffle/index.stories.d.ts +0 -5
- package/build/stories/chat/_types.d.ts +0 -50
- package/build/stories/chat/context/chatContext.d.ts +0 -39
- package/build/stories/chat/hooks/useMedia.d.ts +0 -8
- package/build/stories/chat/index.d.ts +0 -296
- package/build/stories/chat/index.stories.d.ts +0 -32
- package/build/stories/chat/parts/MediaLightbox.d.ts +0 -14
- package/build/stories/chat/parts/ThumbnailContainer/DeleteThumbnailX.d.ts +0 -5
- package/build/stories/chat/parts/ThumbnailContainer/Thumbnail.d.ts +0 -11
- package/build/stories/chat/parts/ThumbnailContainer/index.d.ts +0 -5
- package/build/stories/chat/parts/bar.d.ts +0 -6
- package/build/stories/chat/parts/comment.d.ts +0 -12
- package/build/stories/chat/parts/commentBox.d.ts +0 -15
- package/build/stories/chat/parts/containers.d.ts +0 -289
- package/build/stories/chat/parts/extensions.d.ts +0 -8
- package/build/stories/chat/parts/footer.d.ts +0 -5
- package/build/stories/chat/parts/header.d.ts +0 -272
- package/build/stories/chat/parts/mention.d.ts +0 -1
- package/build/stories/chat/parts/mentionList.d.ts +0 -9
- package/build/stories/chat/parts/sendShortcut.d.ts +0 -3
- package/build/stories/close/_types.d.ts +0 -3
- package/build/stories/close/index.d.ts +0 -6
- package/build/stories/color-swatch/_types.d.ts +0 -16
- package/build/stories/color-swatch/index.d.ts +0 -3
- package/build/stories/color-swatch/index.stories.d.ts +0 -5
- package/build/stories/drawers/_types.d.ts +0 -30
- package/build/stories/drawers/index.d.ts +0 -18
- package/build/stories/drawers/index.stories.d.ts +0 -4
- package/build/stories/drawers/loremIpsum.d.ts +0 -1
- package/build/stories/dropdowns/autocomplete/_types.d.ts +0 -3
- package/build/stories/dropdowns/autocomplete/index.d.ts +0 -12
- package/build/stories/dropdowns/autocomplete/index.stories.d.ts +0 -8
- package/build/stories/dropdowns/countermultiselect/_types.d.ts +0 -17
- package/build/stories/dropdowns/countermultiselect/index.d.ts +0 -3
- package/build/stories/dropdowns/countermultiselect/index.stories.d.ts +0 -4
- package/build/stories/dropdowns/field/_types.d.ts +0 -2
- package/build/stories/dropdowns/field/index.d.ts +0 -274
- package/build/stories/dropdowns/item/_types.d.ts +0 -9
- package/build/stories/dropdowns/item/index.d.ts +0 -3
- package/build/stories/dropdowns/item-content/_types.d.ts +0 -9
- package/build/stories/dropdowns/item-content/index.d.ts +0 -3
- package/build/stories/dropdowns/menu/_types.d.ts +0 -47
- package/build/stories/dropdowns/menu/index.d.ts +0 -14
- package/build/stories/dropdowns/menu/index.stories.d.ts +0 -4
- package/build/stories/dropdowns/menuheader/_types.d.ts +0 -5
- package/build/stories/dropdowns/menuheader/index.d.ts +0 -2
- package/build/stories/dropdowns/select/_types.d.ts +0 -33
- package/build/stories/dropdowns/select/index.d.ts +0 -290
- package/build/stories/dropdowns/select/index.stories.d.ts +0 -21
- package/build/stories/editor/_types.d.ts +0 -20
- package/build/stories/editor/editorFooter.d.ts +0 -3
- package/build/stories/editor/editorHeader.d.ts +0 -2
- package/build/stories/editor/floatingMenu.d.ts +0 -2
- package/build/stories/editor/index.d.ts +0 -16
- package/build/stories/editor/index.stories.d.ts +0 -14
- package/build/stories/forms/checkbox/_types.d.ts +0 -8
- package/build/stories/forms/checkbox/cards/_types.d.ts +0 -10
- package/build/stories/forms/checkbox/cards/index.d.ts +0 -3
- package/build/stories/forms/checkbox/cards/index.stories.d.ts +0 -11
- package/build/stories/forms/checkbox/index.d.ts +0 -13
- package/build/stories/forms/checkbox/index.stories.d.ts +0 -4
- package/build/stories/forms/field/_types.d.ts +0 -3
- package/build/stories/forms/field/index.d.ts +0 -7
- package/build/stories/forms/input/_types.d.ts +0 -9
- package/build/stories/forms/input/index.d.ts +0 -283
- package/build/stories/forms/input/index.stories.d.ts +0 -8
- package/build/stories/forms/input-toggle/_types.d.ts +0 -12
- package/build/stories/forms/input-toggle/index.d.ts +0 -278
- package/build/stories/forms/input-toggle/index.stories.d.ts +0 -12
- package/build/stories/forms/mediaInput/_types.d.ts +0 -13
- package/build/stories/forms/mediaInput/index.d.ts +0 -10
- package/build/stories/forms/mediaInput/index.stories.d.ts +0 -7
- package/build/stories/forms/radio/_types.d.ts +0 -3
- package/build/stories/forms/radio/cards/_types.d.ts +0 -11
- package/build/stories/forms/radio/cards/index.d.ts +0 -3
- package/build/stories/forms/radio/cards/index.stories.d.ts +0 -11
- package/build/stories/forms/radio/index.d.ts +0 -13
- package/build/stories/forms/radio/index.stories.d.ts +0 -5
- package/build/stories/forms/textarea/_types.d.ts +0 -15
- package/build/stories/forms/textarea/index.d.ts +0 -9
- package/build/stories/forms/textarea/index.stories.d.ts +0 -6
- package/build/stories/forms/toggle/_types.d.ts +0 -3
- package/build/stories/forms/toggle/index.d.ts +0 -12
- package/build/stories/forms/toggle/index.stories.d.ts +0 -8
- package/build/stories/grid/col/_types.d.ts +0 -77
- package/build/stories/grid/col/index.d.ts +0 -3
- package/build/stories/grid/col/index.stories.d.ts +0 -6
- package/build/stories/grid/grid/_types.d.ts +0 -9
- package/build/stories/grid/grid/index.d.ts +0 -9
- package/build/stories/grid/grid/index.stories.d.ts +0 -10
- package/build/stories/grid/row/_types.d.ts +0 -48
- package/build/stories/grid/row/index.d.ts +0 -3
- package/build/stories/grid/row/index.stories.d.ts +0 -8
- package/build/stories/highlight/CreateObservationButton.d.ts +0 -19
- package/build/stories/highlight/_types.d.ts +0 -39
- package/build/stories/highlight/demo-parts/data.d.ts +0 -55
- package/build/stories/highlight/demo-parts/sentiment-tag.d.ts +0 -7
- package/build/stories/highlight/demo-parts/transcript-base.d.ts +0 -5
- package/build/stories/highlight/demo-parts/transcript-diarization.d.ts +0 -5
- package/build/stories/highlight/demo-parts/transcript-paragraph.d.ts +0 -5
- package/build/stories/highlight/demo-parts/transcript-sentiment.d.ts +0 -5
- package/build/stories/highlight/highlightContext.d.ts +0 -10
- package/build/stories/highlight/index.d.ts +0 -10
- package/build/stories/highlight/index.stories.d.ts +0 -19
- package/build/stories/highlight/searchable.d.ts +0 -3
- package/build/stories/icons/_types.d.ts +0 -7
- package/build/stories/icons/index.d.ts +0 -9
- package/build/stories/icons/index.stories.d.ts +0 -4
- package/build/stories/info-cards/_types.d.ts +0 -8
- package/build/stories/info-cards/index.d.ts +0 -3
- package/build/stories/info-cards/index.stories.d.ts +0 -5
- package/build/stories/label/_types.d.ts +0 -5
- package/build/stories/label/index.d.ts +0 -281
- package/build/stories/label/index.stories.d.ts +0 -5
- package/build/stories/lightbox/_types.d.ts +0 -3
- package/build/stories/lightbox/index.d.ts +0 -11
- package/build/stories/lightbox/index.stories.d.ts +0 -11
- package/build/stories/lightbox/parts/body.d.ts +0 -817
- package/build/stories/lightbox/parts/footer.d.ts +0 -273
- package/build/stories/loaders/dots/_types.d.ts +0 -11
- package/build/stories/loaders/dots/index.d.ts +0 -14
- package/build/stories/loaders/dots/index.stories.d.ts +0 -4
- package/build/stories/loaders/progress/_types.d.ts +0 -12
- package/build/stories/loaders/progress/index.d.ts +0 -14
- package/build/stories/loaders/progress/index.stories.d.ts +0 -5
- package/build/stories/loaders/skeleton/_types.d.ts +0 -9
- package/build/stories/loaders/skeleton/index.d.ts +0 -16
- package/build/stories/loaders/skeleton/index.stories.d.ts +0 -5
- package/build/stories/loaders/spinner/_types.d.ts +0 -19
- package/build/stories/loaders/spinner/index.d.ts +0 -10
- package/build/stories/loaders/spinner/index.stories.d.ts +0 -4
- package/build/stories/login-form/_types.d.ts +0 -29
- package/build/stories/login-form/index.d.ts +0 -9
- package/build/stories/login-form/index.stories.d.ts +0 -5
- package/build/stories/logo/_types.d.ts +0 -9
- package/build/stories/logo/index.d.ts +0 -12
- package/build/stories/logo/index.stories.d.ts +0 -4
- package/build/stories/modals/_types.d.ts +0 -38
- package/build/stories/modals/fullscreen/index.d.ts +0 -1101
- package/build/stories/modals/fullscreen/index.stories.d.ts +0 -8
- package/build/stories/modals/index.d.ts +0 -282
- package/build/stories/modals/index.stories.d.ts +0 -13
- package/build/stories/multiselect/AddableItem.d.ts +0 -4
- package/build/stories/multiselect/Item.d.ts +0 -11
- package/build/stories/multiselect/_types.d.ts +0 -22
- package/build/stories/multiselect/index.d.ts +0 -2
- package/build/stories/multiselect/index.stories.d.ts +0 -5
- package/build/stories/navigation/app-header/_types.d.ts +0 -23
- package/build/stories/navigation/app-header/index.d.ts +0 -7
- package/build/stories/navigation/app-header/index.stories.d.ts +0 -5
- package/build/stories/navigation/app-header/skeleton.d.ts +0 -1
- package/build/stories/navigation/body/_types.d.ts +0 -5
- package/build/stories/navigation/body/index.d.ts +0 -6
- package/build/stories/navigation/chrome/_types.d.ts +0 -7
- package/build/stories/navigation/chrome/index.d.ts +0 -9
- package/build/stories/navigation/content/_types.d.ts +0 -2
- package/build/stories/navigation/content/index.d.ts +0 -6
- package/build/stories/navigation/header/_types.d.ts +0 -5
- package/build/stories/navigation/header/header-item/_types.d.ts +0 -55
- package/build/stories/navigation/header/header-item/brandItem.d.ts +0 -291
- package/build/stories/navigation/header/header-item/headerItem.d.ts +0 -4
- package/build/stories/navigation/header/header-item/headerItemIcon.d.ts +0 -4
- package/build/stories/navigation/header/header-item/headerItemText.d.ts +0 -3
- package/build/stories/navigation/header/header-item/index.d.ts +0 -5
- package/build/stories/navigation/header/header-item/utils.d.ts +0 -12
- package/build/stories/navigation/header/header-item/workspacesDropdown.d.ts +0 -2
- package/build/stories/navigation/header/index.d.ts +0 -13
- package/build/stories/navigation/main/_types.d.ts +0 -3
- package/build/stories/navigation/main/index.d.ts +0 -6
- package/build/stories/navigation/nav/_types.d.ts +0 -5
- package/build/stories/navigation/nav/index.d.ts +0 -9
- package/build/stories/navigation/nav/nav-item/_types.d.ts +0 -29
- package/build/stories/navigation/nav/nav-item/accordionItem.d.ts +0 -12
- package/build/stories/navigation/nav/nav-item/index.d.ts +0 -8
- package/build/stories/navigation/nav/nav-item/navDivider.d.ts +0 -3
- package/build/stories/navigation/nav/nav-item/navItem.d.ts +0 -4
- package/build/stories/navigation/nav/nav-item/navItemIcon.d.ts +0 -3
- package/build/stories/navigation/nav/nav-item/navItemProject.d.ts +0 -9
- package/build/stories/navigation/nav/nav-item/navItemText.d.ts +0 -3
- package/build/stories/navigation/nav/nav-item/navToggle.d.ts +0 -3
- package/build/stories/navigation/page-header/_types.d.ts +0 -10
- package/build/stories/navigation/page-header/index.d.ts +0 -1112
- package/build/stories/navigation/page-header/index.stories.d.ts +0 -14
- package/build/stories/navigation/page-header/styled/main.d.ts +0 -1099
- package/build/stories/notifications/_types.d.ts +0 -11
- package/build/stories/notifications/index.d.ts +0 -20
- package/build/stories/notifications/index.stories.d.ts +0 -9
- package/build/stories/pagination/_types.d.ts +0 -34
- package/build/stories/pagination/index.d.ts +0 -17
- package/build/stories/pagination/index.stories.d.ts +0 -5
- package/build/stories/player/_types.d.ts +0 -47
- package/build/stories/player/context/progressContext.d.ts +0 -16
- package/build/stories/player/hooks/usePictureInPicture.d.ts +0 -4
- package/build/stories/player/index.d.ts +0 -15
- package/build/stories/player/index.stories.d.ts +0 -12
- package/build/stories/player/parts/CutStart.d.ts +0 -4
- package/build/stories/player/parts/audioButton.d.ts +0 -1
- package/build/stories/player/parts/bookmark.d.ts +0 -2
- package/build/stories/player/parts/container.d.ts +0 -3
- package/build/stories/player/parts/controlButton.d.ts +0 -294
- package/build/stories/player/parts/controls.d.ts +0 -284
- package/build/stories/player/parts/controlsCenterGroup.d.ts +0 -2
- package/build/stories/player/parts/cutterButton.d.ts +0 -6
- package/build/stories/player/parts/floatingControls.d.ts +0 -8
- package/build/stories/player/parts/fullScreenButton.d.ts +0 -3
- package/build/stories/player/parts/progress.d.ts +0 -11
- package/build/stories/player/parts/spinner.d.ts +0 -1
- package/build/stories/player/parts/timeLabel.d.ts +0 -4
- package/build/stories/player/parts/tooltip.d.ts +0 -5
- package/build/stories/player/parts/video.d.ts +0 -1
- package/build/stories/player/utils.d.ts +0 -2
- package/build/stories/product-cards/_types.d.ts +0 -36
- package/build/stories/product-cards/index.d.ts +0 -3
- package/build/stories/product-cards/index.stories.d.ts +0 -5
- package/build/stories/profile-modal/_types.d.ts +0 -67
- package/build/stories/profile-modal/components/UserContainer.d.ts +0 -2
- package/build/stories/profile-modal/components/menuItem.d.ts +0 -282
- package/build/stories/profile-modal/components/menuItemIcon.d.ts +0 -9
- package/build/stories/profile-modal/components/previousMenuButton.d.ts +0 -2
- package/build/stories/profile-modal/index.d.ts +0 -10
- package/build/stories/profile-modal/index.stories.d.ts +0 -4
- package/build/stories/profile-modal/items/helpMenuItem.d.ts +0 -19
- package/build/stories/profile-modal/items/languageMenuItem.d.ts +0 -14
- package/build/stories/profile-modal/items/settingsMenuItem.d.ts +0 -21
- package/build/stories/profile-modal/userMenu.d.ts +0 -2
- package/build/stories/profile-modal/utils.d.ts +0 -1
- package/build/stories/service-cards/_types.d.ts +0 -17
- package/build/stories/service-cards/index.d.ts +0 -3
- package/build/stories/service-cards/index.stories.d.ts +0 -5
- package/build/stories/shared/editorStyle.d.ts +0 -2
- package/build/stories/shared/globalStyle.d.ts +0 -4
- package/build/stories/slider/_types.d.ts +0 -9
- package/build/stories/slider/index.d.ts +0 -16
- package/build/stories/slider/index.stories.d.ts +0 -13
- package/build/stories/slider/parts/buttons.d.ts +0 -3
- package/build/stories/slider/parts/container.d.ts +0 -273
- package/build/stories/slider/parts/counter.d.ts +0 -4
- package/build/stories/slider/parts/slickSlider.d.ts +0 -4
- package/build/stories/slider/parts/slide.d.ts +0 -2
- package/build/stories/slider/parts/sliderContext.d.ts +0 -7
- package/build/stories/special-cards/_types.d.ts +0 -29
- package/build/stories/special-cards/index.d.ts +0 -852
- package/build/stories/special-cards/index.stories.d.ts +0 -8
- package/build/stories/special-cards/styled/footer.d.ts +0 -2
- package/build/stories/special-cards/styled/header.d.ts +0 -839
- package/build/stories/special-cards/styled/meta.d.ts +0 -3
- package/build/stories/special-cards/styled/thumbnail.d.ts +0 -3
- package/build/stories/stepper/_types.d.ts +0 -16
- package/build/stories/stepper/index.d.ts +0 -828
- package/build/stories/stepper/index.stories.d.ts +0 -9
- package/build/stories/table/_types.d.ts +0 -82
- package/build/stories/table/grouped.d.ts +0 -4
- package/build/stories/table/index.d.ts +0 -21
- package/build/stories/table/index.stories.d.ts +0 -16
- package/build/stories/tabs/_types.d.ts +0 -18
- package/build/stories/tabs/index.d.ts +0 -5
- package/build/stories/tabs/index.stories.d.ts +0 -12
- package/build/stories/tags/_types.d.ts +0 -23
- package/build/stories/tags/index.d.ts +0 -562
- package/build/stories/tags/index.stories.d.ts +0 -15
- package/build/stories/theme/charts.d.ts +0 -8
- package/build/stories/theme/colors.d.ts +0 -7
- package/build/stories/theme/colors.stories.d.ts +0 -20
- package/build/stories/theme/components.d.ts +0 -184
- package/build/stories/theme/fontWeights.d.ts +0 -12
- package/build/stories/theme/gradients.d.ts +0 -3
- package/build/stories/theme/index.d.ts +0 -446
- package/build/stories/theme/mixins.d.ts +0 -4
- package/build/stories/theme/palette.d.ts +0 -148
- package/build/stories/theme/palette.stories.d.ts +0 -28
- package/build/stories/theme/utils.d.ts +0 -11
- package/build/stories/tiles/_types.d.ts +0 -12
- package/build/stories/tiles/index.d.ts +0 -22
- package/build/stories/tiles/index.stories.d.ts +0 -18
- package/build/stories/timeline/_types.d.ts +0 -14
- package/build/stories/timeline/index.d.ts +0 -290
- package/build/stories/timeline/index.stories.d.ts +0 -15
- package/build/stories/title/_types.d.ts +0 -5
- package/build/stories/title/index.d.ts +0 -6
- package/build/stories/title/index.stories.d.ts +0 -4
- package/build/stories/tooltip/_types.d.ts +0 -4
- package/build/stories/tooltip/index.d.ts +0 -3
- package/build/stories/tooltip/index.stories.d.ts +0 -5
- package/build/stories/tooltip-modal/_types.d.ts +0 -21
- package/build/stories/tooltip-modal/index.d.ts +0 -18
- package/build/stories/tooltip-modal/index.stories.d.ts +0 -4
- package/build/stories/transcript/_data.d.ts +0 -17
- package/build/stories/transcript/extensions/theme/index.d.ts +0 -349
- package/build/stories/transcript/findActiveWord.d.ts +0 -2
- package/build/stories/transcript/floatingMenu.d.ts +0 -8
- package/build/stories/transcript/getParsedContent.d.ts +0 -26
- package/build/stories/transcript/index.d.ts +0 -53
- package/build/stories/transcript/index.stories.d.ts +0 -23
- package/build/stories/transcript/nodes/active/Component.d.ts +0 -6
- package/build/stories/transcript/nodes/active/index.d.ts +0 -4
- package/build/stories/transcript/nodes/observation/Component.d.ts +0 -6
- package/build/stories/transcript/nodes/observation/index.d.ts +0 -2
- package/build/stories/transcript/nodes/paragraph/Component.d.ts +0 -6
- package/build/stories/transcript/nodes/paragraph/index.d.ts +0 -2
- package/build/stories/transcript/nodes/word/Component.d.ts +0 -6
- package/build/stories/transcript/nodes/word/index.d.ts +0 -2
- package/build/stories/transcript/search.d.ts +0 -9
- package/build/stories/transcript/useEditor.d.ts +0 -12
- package/build/stories/trigger/_types.d.ts +0 -3
- package/build/stories/trigger/index.d.ts +0 -6
- package/build/stories/typography/block-quote/_types.d.ts +0 -5
- package/build/stories/typography/block-quote/index.d.ts +0 -6
- package/build/stories/typography/block-quote/index.stories.d.ts +0 -3
- package/build/stories/typography/code/_types.d.ts +0 -7
- package/build/stories/typography/code/index.d.ts +0 -6
- package/build/stories/typography/code/index.stories.d.ts +0 -6
- package/build/stories/typography/ellipsis/_types.d.ts +0 -9
- package/build/stories/typography/ellipsis/index.d.ts +0 -6
- package/build/stories/typography/ellipsis/index.stories.d.ts +0 -3
- package/build/stories/typography/lists/_types.d.ts +0 -17
- package/build/stories/typography/lists/index.d.ts +0 -16
- package/build/stories/typography/lists/ordered.stories.d.ts +0 -4
- package/build/stories/typography/lists/unordered.stories.d.ts +0 -4
- package/build/stories/typography/paragraph/index.d.ts +0 -6
- package/build/stories/typography/paragraph/index.stories.d.ts +0 -4
- package/build/stories/typography/span/_types.d.ts +0 -13
- package/build/stories/typography/span/index.d.ts +0 -12
- package/build/stories/typography/span/index.stories.d.ts +0 -4
- package/build/stories/typography/typescale/anchortag/index.stories.d.ts +0 -4
- package/build/stories/typography/typescale/index.d.ts +0 -315
- package/build/stories/typography/typescale/index.stories.d.ts +0 -4
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { SpecialCardProps } from "../special-cards/_types";
|
|
2
|
-
export interface CampaignCardsProps extends SpecialCardProps {
|
|
3
|
-
/**
|
|
4
|
-
* displays a new tag in the top right
|
|
5
|
-
*/
|
|
6
|
-
isNew?: boolean;
|
|
7
|
-
/**
|
|
8
|
-
* displays the date, if is the current day, the word "Today" will be shown instead
|
|
9
|
-
* use this format DD/MM/YYYY
|
|
10
|
-
*/
|
|
11
|
-
date: string;
|
|
12
|
-
/**
|
|
13
|
-
* the main topic of the card
|
|
14
|
-
*/
|
|
15
|
-
projectTitle: string;
|
|
16
|
-
/**
|
|
17
|
-
* a specification to the topic of the card
|
|
18
|
-
*/
|
|
19
|
-
campaignTitle: string;
|
|
20
|
-
/**
|
|
21
|
-
* the status of the card,
|
|
22
|
-
* can be only
|
|
23
|
-
* "COMPLETED" or "PROGRESS" or "INCOMING"
|
|
24
|
-
* default is "INCOMING"
|
|
25
|
-
*/
|
|
26
|
-
status?: 'COMPLETED' | 'PROGRESS' | 'INCOMING';
|
|
27
|
-
/**
|
|
28
|
-
* this renders the pill of the card,
|
|
29
|
-
* can be only
|
|
30
|
-
* "FUNCTIONAL" or "EXPERIENTIAL"
|
|
31
|
-
* if nothing of that is chosen the pill will not be shown
|
|
32
|
-
*/
|
|
33
|
-
type?: 'FUNCTIONAL' | 'EXPERIENTIAL';
|
|
34
|
-
/**
|
|
35
|
-
* this renders the pill text
|
|
36
|
-
* if the value is not defined the pill text will not be shown
|
|
37
|
-
*/
|
|
38
|
-
pillText?: string;
|
|
39
|
-
/**
|
|
40
|
-
* this renders the new flag label
|
|
41
|
-
*/
|
|
42
|
-
labelNew?: string;
|
|
43
|
-
isLoading?: boolean;
|
|
44
|
-
}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { CampaignCardsProps } from "./_types";
|
|
2
|
-
export declare const SingleCard: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, CampaignCardsProps>;
|
|
3
|
-
export declare const Grid: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, CampaignCardsProps>;
|
|
4
|
-
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0fc72a6d").R, CampaignCardsProps>;
|
|
5
|
-
export default _default;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const CampaignCardSkeleton: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { IWellProps } from "@zendeskgarden/react-notifications";
|
|
2
|
-
export interface CardProps extends IWellProps {
|
|
3
|
-
/** Applies a background color */
|
|
4
|
-
isRecessed?: boolean;
|
|
5
|
-
/** Applies a drop shadow */
|
|
6
|
-
isFloating?: boolean;
|
|
7
|
-
}
|
|
8
|
-
export interface ContainerCardProps extends IWellProps {
|
|
9
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { CardProps } from "./_types";
|
|
2
|
-
interface CardStoryProps extends CardProps {
|
|
3
|
-
title: string;
|
|
4
|
-
content: string;
|
|
5
|
-
}
|
|
6
|
-
export declare const Default: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, CardStoryProps>;
|
|
7
|
-
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0fc72a6d").R, import("./_types").ContainerCardProps>;
|
|
8
|
-
export default _default;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { CardProps, ContainerCardProps } from "./_types";
|
|
2
|
-
export declare const CARD_COMPONENT_ID = "cards.card";
|
|
3
|
-
export declare const cardCmponentStyle: {
|
|
4
|
-
"cards.card": {
|
|
5
|
-
border: string;
|
|
6
|
-
};
|
|
7
|
-
};
|
|
8
|
-
/**
|
|
9
|
-
* A Card is a container that groups related content.
|
|
10
|
-
* <hr>
|
|
11
|
-
* Used for this:
|
|
12
|
-
- To group related content
|
|
13
|
-
*/
|
|
14
|
-
declare const Card: (props: CardProps) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
-
declare const ContainerCard: (props: ContainerCardProps) => import("react/jsx-runtime").JSX.Element;
|
|
16
|
-
export { Card, ContainerCard };
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { CardProps } from "./_types";
|
|
2
|
-
interface CardStoryProps extends CardProps {
|
|
3
|
-
title: string;
|
|
4
|
-
content: string;
|
|
5
|
-
}
|
|
6
|
-
export declare const Default: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, CardStoryProps>;
|
|
7
|
-
export declare const Floating: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, CardStoryProps>;
|
|
8
|
-
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0fc72a6d").R, CardProps>;
|
|
9
|
-
export default _default;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export interface ChartContainerProps {
|
|
3
|
-
width?: string;
|
|
4
|
-
height?: string;
|
|
5
|
-
}
|
|
6
|
-
export declare const ChartContainer: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, ChartContainerProps>>;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
declare const Legend: ({ colors, data, columns, width, marginTop, }: {
|
|
2
|
-
colors: string[];
|
|
3
|
-
data: (string | number)[];
|
|
4
|
-
} & LegendType) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
-
export default Legend;
|
|
6
|
-
type LegendType = {
|
|
7
|
-
columns?: number;
|
|
8
|
-
width?: string;
|
|
9
|
-
marginTop?: string;
|
|
10
|
-
};
|
|
11
|
-
export type { LegendType };
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
export declare const data: ({
|
|
2
|
-
label: string;
|
|
3
|
-
keys: {
|
|
4
|
-
Low: number;
|
|
5
|
-
Medium: number;
|
|
6
|
-
High: number;
|
|
7
|
-
Critical: number;
|
|
8
|
-
};
|
|
9
|
-
custom_data?: undefined;
|
|
10
|
-
} | {
|
|
11
|
-
label: string;
|
|
12
|
-
keys: {
|
|
13
|
-
Medium: number;
|
|
14
|
-
High: number;
|
|
15
|
-
Critical: number;
|
|
16
|
-
Low?: undefined;
|
|
17
|
-
};
|
|
18
|
-
custom_data?: undefined;
|
|
19
|
-
} | {
|
|
20
|
-
label: string;
|
|
21
|
-
keys: {
|
|
22
|
-
Low: number;
|
|
23
|
-
Medium: number;
|
|
24
|
-
High: number;
|
|
25
|
-
Critical: number;
|
|
26
|
-
};
|
|
27
|
-
custom_data: string;
|
|
28
|
-
})[];
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { ChartTooltipFunction } from "../_types";
|
|
2
|
-
import { LegendType } from "../Legend";
|
|
3
|
-
type BarData = {
|
|
4
|
-
label: string;
|
|
5
|
-
keys: {
|
|
6
|
-
[key: string]: number | undefined;
|
|
7
|
-
};
|
|
8
|
-
};
|
|
9
|
-
export interface BarChartProps {
|
|
10
|
-
data: BarData[];
|
|
11
|
-
width?: string;
|
|
12
|
-
height?: string;
|
|
13
|
-
padding?: number;
|
|
14
|
-
colors?: string[];
|
|
15
|
-
margin?: {
|
|
16
|
-
top?: number;
|
|
17
|
-
right?: number;
|
|
18
|
-
bottom?: number;
|
|
19
|
-
left?: number;
|
|
20
|
-
};
|
|
21
|
-
axisLeftLabel?: string;
|
|
22
|
-
axisBottomLabel?: string;
|
|
23
|
-
tooltip?: ChartTooltipFunction;
|
|
24
|
-
legend?: LegendType | true;
|
|
25
|
-
}
|
|
26
|
-
export {};
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { BarChartProps } from "./_types";
|
|
2
|
-
export declare const Default: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, BarChartProps>;
|
|
3
|
-
export declare const WithCustomTooltip: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, BarChartProps>;
|
|
4
|
-
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0fc72a6d").R, BarChartProps>;
|
|
5
|
-
export default _default;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export interface CustomBulletChartMeasureProps {
|
|
2
|
-
x: number;
|
|
3
|
-
y: number;
|
|
4
|
-
color: string;
|
|
5
|
-
width: number;
|
|
6
|
-
height: number;
|
|
7
|
-
}
|
|
8
|
-
export declare const CustomMeasure: ({ x, y, width, height }: CustomBulletChartMeasureProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { BulletChartProps } from "./_types";
|
|
2
|
-
export declare const Default: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, BulletChartProps>;
|
|
3
|
-
export declare const Widget: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, BulletChartProps>;
|
|
4
|
-
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0fc72a6d").R, BulletChartProps>;
|
|
5
|
-
export default _default;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { PieChartProps } from "./_types";
|
|
2
|
-
declare const HalfPieChartComponent: ({ theme, colors, height, data, onMouseEnter, onMouseLeave, mode, showArcLinks, margin, }: PieChartProps & {
|
|
3
|
-
onMouseEnter?: ((props: any) => void) | undefined;
|
|
4
|
-
onMouseLeave?: ((props: any) => void) | undefined;
|
|
5
|
-
mode: "back" | "front";
|
|
6
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
export { HalfPieChartComponent };
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { PieSvgProps } from "@nivo/pie";
|
|
2
|
-
interface PieDatum {
|
|
3
|
-
[key: string]: string | number;
|
|
4
|
-
}
|
|
5
|
-
export interface PieChartProps {
|
|
6
|
-
data: PieDatum[];
|
|
7
|
-
width?: string;
|
|
8
|
-
height?: string;
|
|
9
|
-
theme?: PieSvgProps<PieDatum>["theme"];
|
|
10
|
-
colors?: string[];
|
|
11
|
-
showArcLinks?: boolean;
|
|
12
|
-
margin?: PieSvgProps<PieDatum>["margin"];
|
|
13
|
-
}
|
|
14
|
-
export {};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { PieChartProps } from "./_types";
|
|
2
|
-
export declare const Default: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, PieChartProps>;
|
|
3
|
-
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0fc72a6d").R, PieChartProps>;
|
|
4
|
-
export default _default;
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { PieSvgProps } from "@nivo/pie";
|
|
2
|
-
import { ChartTooltipFunction } from "../_types";
|
|
3
|
-
import { LegendType } from "../Legend";
|
|
4
|
-
type BasicPieDatum = {
|
|
5
|
-
id: string | number;
|
|
6
|
-
label?: string | number;
|
|
7
|
-
value: number;
|
|
8
|
-
};
|
|
9
|
-
type PieDatum = {
|
|
10
|
-
id: string | number;
|
|
11
|
-
label?: string | number;
|
|
12
|
-
value: number;
|
|
13
|
-
} & {
|
|
14
|
-
[key: string]: string | number | undefined;
|
|
15
|
-
};
|
|
16
|
-
export interface PieChartProps {
|
|
17
|
-
data: PieDatum[];
|
|
18
|
-
width?: string;
|
|
19
|
-
height?: string;
|
|
20
|
-
theme?: PieSvgProps<PieDatum>["theme"];
|
|
21
|
-
colors?: string[];
|
|
22
|
-
margin?: PieSvgProps<PieDatum>["margin"];
|
|
23
|
-
centerItem?: {
|
|
24
|
-
label?: string;
|
|
25
|
-
value?: string;
|
|
26
|
-
fontSizeMultiplier?: number;
|
|
27
|
-
};
|
|
28
|
-
tooltip?: ChartTooltipFunction;
|
|
29
|
-
legend?: LegendType | true;
|
|
30
|
-
arcLinkLabelsSkipAngle?: number;
|
|
31
|
-
labelFormatter?: (data: BasicPieDatum & {
|
|
32
|
-
labelPosition: "arclink" | "legend";
|
|
33
|
-
data?: PieDatum;
|
|
34
|
-
}) => string;
|
|
35
|
-
}
|
|
36
|
-
export {};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { PieChartProps } from "./_types";
|
|
2
|
-
export declare const Default: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, PieChartProps>;
|
|
3
|
-
export declare const WithCustomTooltip: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, PieChartProps>;
|
|
4
|
-
export declare const WithCustomLabel: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, PieChartProps>;
|
|
5
|
-
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0fc72a6d").R, PieChartProps>;
|
|
6
|
-
export default _default;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { theme as globalTheme } from "../theme";
|
|
2
|
-
declare const CenteredItem: ({ centerX, centerY, theme, radius, label, value, fontSizeMultiplier, }: {
|
|
3
|
-
centerX: number;
|
|
4
|
-
centerY: number;
|
|
5
|
-
radius: number;
|
|
6
|
-
theme: typeof globalTheme;
|
|
7
|
-
label?: string | undefined;
|
|
8
|
-
value?: string | undefined;
|
|
9
|
-
fontSizeMultiplier?: number | undefined;
|
|
10
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
-
export default CenteredItem;
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { ChartTooltipFunction } from "../_types";
|
|
2
|
-
type SentimentData = {
|
|
3
|
-
id: string;
|
|
4
|
-
data: {
|
|
5
|
-
x: string;
|
|
6
|
-
y?: number;
|
|
7
|
-
custom_data?: string;
|
|
8
|
-
}[];
|
|
9
|
-
};
|
|
10
|
-
export interface SentimentChartProps {
|
|
11
|
-
data: SentimentData;
|
|
12
|
-
width: string;
|
|
13
|
-
height: string;
|
|
14
|
-
margin?: {
|
|
15
|
-
top?: number;
|
|
16
|
-
right?: number;
|
|
17
|
-
bottom?: number;
|
|
18
|
-
left?: number;
|
|
19
|
-
};
|
|
20
|
-
tooltip?: ChartTooltipFunction;
|
|
21
|
-
i18n?: {
|
|
22
|
-
sentimentsValues: {
|
|
23
|
-
veryPositive: string;
|
|
24
|
-
positive: string;
|
|
25
|
-
neutral: string;
|
|
26
|
-
negative: string;
|
|
27
|
-
veryNegative: string;
|
|
28
|
-
};
|
|
29
|
-
};
|
|
30
|
-
}
|
|
31
|
-
export {};
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { SentimentChartProps } from "./_types";
|
|
2
|
-
export declare const Default: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, SentimentChartProps>;
|
|
3
|
-
export declare const WithCustomTooltip: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, SentimentChartProps>;
|
|
4
|
-
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0fc72a6d").R, SentimentChartProps>;
|
|
5
|
-
export default _default;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { theme as globalTheme } from "../../theme";
|
|
2
|
-
declare const ResetButton: ({ centerX, centerY, radius, theme, onClick, }: {
|
|
3
|
-
centerX: number;
|
|
4
|
-
centerY: number;
|
|
5
|
-
radius: number;
|
|
6
|
-
theme: typeof globalTheme;
|
|
7
|
-
onClick: () => void;
|
|
8
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
-
export default ResetButton;
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { SunburstSvgProps } from "@nivo/sunburst";
|
|
2
|
-
import { ChartTooltipFunction } from "../_types";
|
|
3
|
-
import { LegendType } from "../Legend";
|
|
4
|
-
export interface SunburstData {
|
|
5
|
-
name: string;
|
|
6
|
-
label?: string;
|
|
7
|
-
children?: SunburstData[];
|
|
8
|
-
value?: number;
|
|
9
|
-
[key: string]: SunburstData[keyof SunburstData] | string | number | boolean;
|
|
10
|
-
}
|
|
11
|
-
export interface SunburstChartProps {
|
|
12
|
-
data: SunburstData;
|
|
13
|
-
width?: string;
|
|
14
|
-
height?: string;
|
|
15
|
-
margin?: SunburstSvgProps<SunburstData>["margin"];
|
|
16
|
-
theme?: SunburstSvgProps<SunburstData>["theme"];
|
|
17
|
-
colors?: string[];
|
|
18
|
-
centerItem?: {
|
|
19
|
-
label?: string;
|
|
20
|
-
value?: string;
|
|
21
|
-
fontSizeMultiplier?: number;
|
|
22
|
-
};
|
|
23
|
-
onChange?: (data: SunburstData) => void;
|
|
24
|
-
tooltip?: ChartTooltipFunction;
|
|
25
|
-
legend?: LegendType | true;
|
|
26
|
-
}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { SunburstChartProps } from "./_types";
|
|
2
|
-
export declare const Default: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, SunburstChartProps>;
|
|
3
|
-
export declare const WithCustomTooltip: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, SunburstChartProps>;
|
|
4
|
-
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0fc72a6d").R, SunburstChartProps>;
|
|
5
|
-
export default _default;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
export interface WaffleCellProps {
|
|
2
|
-
position?: any;
|
|
3
|
-
size?: any;
|
|
4
|
-
x?: any;
|
|
5
|
-
y?: any;
|
|
6
|
-
color?: any;
|
|
7
|
-
fill?: any;
|
|
8
|
-
opacity?: any;
|
|
9
|
-
borderWidth?: any;
|
|
10
|
-
borderColor?: any;
|
|
11
|
-
data?: any;
|
|
12
|
-
onHover?: any;
|
|
13
|
-
onLeave?: any;
|
|
14
|
-
onClick?: any;
|
|
15
|
-
}
|
|
16
|
-
export declare const CustomCell: ({ position, size, x, y, color, fill, opacity, borderWidth, borderColor, data, onHover, onLeave, onClick, }: WaffleCellProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { ChartTooltipFunction } from "../_types";
|
|
2
|
-
interface WaffleDataItem {
|
|
3
|
-
label: string;
|
|
4
|
-
value: number;
|
|
5
|
-
}
|
|
6
|
-
export interface WaffleChartProps {
|
|
7
|
-
data: WaffleDataItem;
|
|
8
|
-
total: WaffleDataItem;
|
|
9
|
-
width?: string;
|
|
10
|
-
height?: string;
|
|
11
|
-
tooltip?: ChartTooltipFunction;
|
|
12
|
-
}
|
|
13
|
-
export {};
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { WaffleChartProps } from "./_types";
|
|
2
|
-
export declare const Default: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, WaffleChartProps>;
|
|
3
|
-
export declare const WithCustomTooltip: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, WaffleChartProps>;
|
|
4
|
-
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0fc72a6d").R, WaffleChartProps>;
|
|
5
|
-
export default _default;
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { PlaceholderOptions } from "@tiptap/extension-placeholder";
|
|
3
|
-
import { BubbleMenuProps, EditorOptions } from "@tiptap/react";
|
|
4
|
-
type validationStatus = "success" | "warning" | "error";
|
|
5
|
-
export type SuggestedUser = {
|
|
6
|
-
id: number;
|
|
7
|
-
name: string;
|
|
8
|
-
email: string;
|
|
9
|
-
};
|
|
10
|
-
export interface ChatEditorArgs extends Partial<EditorOptions> {
|
|
11
|
-
author: Author;
|
|
12
|
-
placeholderOptions?: Partial<PlaceholderOptions>;
|
|
13
|
-
hasFloatingMenu?: boolean;
|
|
14
|
-
hasButtonsMenu?: boolean;
|
|
15
|
-
bubbleOptions?: any;
|
|
16
|
-
i18n?: {
|
|
17
|
-
menu?: {
|
|
18
|
-
bold?: string;
|
|
19
|
-
italic?: string;
|
|
20
|
-
mention?: string;
|
|
21
|
-
attachment?: React.ReactNode;
|
|
22
|
-
};
|
|
23
|
-
mention?: {
|
|
24
|
-
noResults?: string;
|
|
25
|
-
};
|
|
26
|
-
};
|
|
27
|
-
}
|
|
28
|
-
export interface Author {
|
|
29
|
-
avatar: string;
|
|
30
|
-
name?: string;
|
|
31
|
-
avatarType?: "icon" | "image" | "text" | "system";
|
|
32
|
-
}
|
|
33
|
-
export interface ChatArgs {
|
|
34
|
-
chatBkg?: string;
|
|
35
|
-
}
|
|
36
|
-
export interface EditorHeaderArgs {
|
|
37
|
-
title?: string;
|
|
38
|
-
validation?: validationStatus;
|
|
39
|
-
}
|
|
40
|
-
export interface CommentMedia {
|
|
41
|
-
id: string;
|
|
42
|
-
type: string;
|
|
43
|
-
name?: string;
|
|
44
|
-
isLoadingMedia?: boolean;
|
|
45
|
-
error?: string;
|
|
46
|
-
url?: string;
|
|
47
|
-
}
|
|
48
|
-
export interface FloatingMenuArgs extends Partial<BubbleMenuProps> {
|
|
49
|
-
}
|
|
50
|
-
export {};
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { Editor } from "@tiptap/react";
|
|
2
|
-
import React from "react";
|
|
3
|
-
import { CommentMedia, SuggestedUser } from "../_types";
|
|
4
|
-
export type ChatContextType = {
|
|
5
|
-
triggerSave: () => void;
|
|
6
|
-
editor?: Editor;
|
|
7
|
-
setEditor: React.Dispatch<React.SetStateAction<Editor | undefined>>;
|
|
8
|
-
addThumbnails: (props: {
|
|
9
|
-
files: (File & CommentMedia)[];
|
|
10
|
-
}) => void;
|
|
11
|
-
removeThumbnail: (index: number) => void;
|
|
12
|
-
thumbnails: CommentMedia[];
|
|
13
|
-
mentionableUsers: (props: {
|
|
14
|
-
query: string;
|
|
15
|
-
}) => SuggestedUser[];
|
|
16
|
-
afterUploadCallback: (failed: string[]) => void;
|
|
17
|
-
clearInput: () => void;
|
|
18
|
-
onDeleteThumbnail: (id: string) => void;
|
|
19
|
-
};
|
|
20
|
-
export declare const ChatContext: React.Context<ChatContextType | null>;
|
|
21
|
-
export interface Data {
|
|
22
|
-
uploaded_ids?: {
|
|
23
|
-
id: number;
|
|
24
|
-
}[];
|
|
25
|
-
failed?: {
|
|
26
|
-
name: string;
|
|
27
|
-
errorCode: string;
|
|
28
|
-
}[];
|
|
29
|
-
}
|
|
30
|
-
export declare const ChatContextProvider: ({ onSave, onFileUpload, onDeleteThumbnail, setMentionableUsers, children, }: {
|
|
31
|
-
onSave?: ((editor: Editor, mentions: SuggestedUser[]) => void) | undefined;
|
|
32
|
-
onFileUpload?: ((files: (File & CommentMedia)[]) => Promise<Data>) | undefined;
|
|
33
|
-
onDeleteThumbnail: (id: string) => void;
|
|
34
|
-
children: React.ReactNode;
|
|
35
|
-
setMentionableUsers: (props: {
|
|
36
|
-
query: string;
|
|
37
|
-
}) => SuggestedUser[];
|
|
38
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
|
39
|
-
export declare const useChatContext: () => ChatContextType;
|