@spaziodati/atoka-design-system 8.6.6 → 9.0.1-beta.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/Alert-DfrkiukZ.js +60 -0
- package/AtokaDropdownToggles-s9UdVkW7.js +113 -0
- package/Badge-BZz9-F86.js +49 -0
- package/Bs4V3Wrapper-BKRW0pvE.js +13 -0
- package/Button-Bn8PyQFK.js +65 -0
- package/CSSTransition-BGcESi-j.js +1705 -0
- package/CardMenu-Dtn3ekWc.js +32 -0
- package/ClickableItemList-Cid_9WPj.js +211 -0
- package/DatePicker-BAGYjcIT.js +9740 -0
- package/EllipsableContent-D5WSnr7s.js +62 -0
- package/EmptyState-BQyVos2X.js +17 -0
- package/FacetItemCount-DUqXavDQ.js +14 -0
- package/FadeAnimation-BVTCzTXW.js +18 -0
- package/Form-l9l_S-Uk.js +91 -0
- package/HighlightableText-D0tZl92S.js +63 -0
- package/InlineStringEditor-Do24E8yV.js +188 -0
- package/InputGroupShortcut-B6ccNgw4.js +124 -0
- package/ItemImage-Bii41hXJ.js +17 -0
- package/Modal-DyYcAysY.js +71 -0
- package/MultiModeDatePicker-CHfI589j.js +239 -0
- package/OniruCard-g_9qIXxK.js +15 -0
- package/PaginationNext-BOdbeCda.js +31 -0
- package/RowCard-rZoi_8Bm.js +146 -0
- package/SelectDropdown-CamvT0US.js +73 -0
- package/Spinner-DHoqZ2pO.js +71 -0
- package/Statistics-Coxe2jk5.js +54 -0
- package/StatisticsSVGLegend-BAuiH8MT.js +199 -0
- package/StatisticsTooltip-7DgI4Yoj.js +64 -0
- package/Style-CSNnkrg3.js +1055 -0
- package/TabSwitcher-DPpuunX7.js +133 -0
- package/Text-B4AyT0Tx.js +19 -0
- package/Text-CfPEdZ8Z.js +109 -0
- package/Title-Bjj6BAK7.js +44 -0
- package/ToggleButtonGroup-Duq22aii.js +97 -0
- package/Tooltip-Ds1ht2gU.js +176 -0
- package/UserAvatar-CCWSU88K.js +22 -0
- package/Utils-CXFvxozf.js +119 -0
- package/atoka-design-system-9.0.1-beta.0.min.css +5 -0
- package/es.js +4 -0
- package/es10.js +4 -0
- package/es11.js +4 -0
- package/es12.js +4 -0
- package/es13.js +4 -0
- package/es14.js +5 -0
- package/es15.js +4 -0
- package/es16.js +4 -0
- package/es17.js +4 -0
- package/es18.js +4 -0
- package/es19.js +4 -0
- package/es2.js +5 -0
- package/es20.js +5 -0
- package/es21.js +6 -0
- package/es22.js +4 -0
- package/es23.js +4 -0
- package/es24.js +4 -0
- package/es25.js +4 -0
- package/es26.js +4 -0
- package/es27.js +4 -0
- package/es28.js +49 -0
- package/es29.js +52 -0
- package/es3.js +4 -0
- package/es30.js +168 -0
- package/es31.js +116 -0
- package/es32.js +96 -0
- package/es33.js +204 -0
- package/es34.js +146 -0
- package/es35.js +27 -0
- package/es36.js +122 -0
- package/es37.js +139 -0
- package/es38.js +123 -0
- package/es39.js +63 -0
- package/es4.js +4 -0
- package/es40.js +48 -0
- package/es41.js +119 -0
- package/es42.js +62 -0
- package/es43.js +67 -0
- package/es44.js +172 -0
- package/es45.js +552 -0
- package/es46.js +16 -0
- package/es47.js +104 -0
- package/es48.js +16 -0
- package/es49.js +44 -0
- package/es5.js +4 -0
- package/es50.js +101 -0
- package/es51.js +36 -0
- package/es52.js +25 -0
- package/es53.js +23 -0
- package/es54.js +172 -0
- package/es55.js +80 -0
- package/es56.js +345 -0
- package/es57.js +157 -0
- package/es58.js +91 -0
- package/es59.js +297 -0
- package/es6.js +4 -0
- package/es60.js +93 -0
- package/es61.js +154 -0
- package/es62.js +236 -0
- package/es63.js +688 -0
- package/es64.js +436 -0
- package/es7.js +8 -0
- package/es8.js +4 -0
- package/es9.js +4 -0
- package/fonts/Neon80s.ttf +0 -0
- package/fonts/Neon80s.woff +0 -0
- package/fonts/Neon80s.woff2 +0 -0
- package/helpers-DbJ4Yobs.js +32 -0
- package/images/Button/button_primary_do_0.jpg +0 -0
- package/images/Button/button_primary_do_1.jpg +0 -0
- package/images/Button/button_primary_do_2.jpg +0 -0
- package/images/Button/button_primary_do_2.png +0 -0
- package/images/Button/button_primary_dont_0.jpg +0 -0
- package/images/Button/button_primary_dont_1.jpg +0 -0
- package/images/Button/button_secondary_do_0.jpg +0 -0
- package/images/Button/button_secondary_do_1.jpg +0 -0
- package/images/Button/button_secondary_do_2.jpg +0 -0
- package/images/Button/button_secondary_dont_0.jpg +0 -0
- package/images/Button/button_secondary_dont_1.jpg +0 -0
- package/images/Button/button_tertiary_do_0.jpg +0 -0
- package/images/Button/button_tertiary_do_1.jpg +0 -0
- package/images/Button/button_tertiary_do_2.jpg +0 -0
- package/images/Button/button_variants.svg +15 -0
- package/images/Cards/card-intro-1.png +0 -0
- package/images/Cards/card-intro-2.png +0 -0
- package/images/Cards/card-intro-3.png +0 -0
- package/images/Dataviz/dataviz_1.jpg +0 -0
- package/images/Dataviz/dataviz_2.jpg +0 -0
- package/images/Dataviz/dataviz_3.jpg +0 -0
- package/images/Design_Language/DL1.png +0 -0
- package/images/Design_Language/DL10.png +0 -0
- package/images/Design_Language/DL2.png +0 -0
- package/images/Design_Language/DL3.png +0 -0
- package/images/Design_Language/DL4.png +0 -0
- package/images/Design_Language/DL5.png +0 -0
- package/images/Design_Language/DL6.png +0 -0
- package/images/Design_Language/DL7.png +0 -0
- package/images/Design_Language/DL8.png +0 -0
- package/images/Design_Language/DL9.png +0 -0
- package/images/Iconography/iconography_specifico.svg +60 -0
- package/images/Iconography/iconography_standard.svg +30 -0
- package/images/Illustrations/email_illustrations.png +0 -0
- package/images/Illustrations/icon_illustrations.png +0 -0
- package/images/Illustrations/promotional_illustrations.png +0 -0
- package/images/Illustrations/warning_illustrations.png +0 -0
- package/images/Logo/logo_dont_1.jpg +0 -0
- package/images/Logo/logo_dont_2.jpg +0 -0
- package/images/Logo/logo_dont_3.jpg +0 -0
- package/images/Logo/logo_dont_4.jpg +0 -0
- package/images/Logo/logo_dont_5.jpg +0 -0
- package/images/Logo/logo_dont_6.jpg +0 -0
- package/images/Logo/logo_full_blue.svg +18 -0
- package/images/Logo/logo_full_gray.svg +18 -0
- package/images/Logo/logo_full_white.svg +18 -0
- package/images/Logo/logo_small_blue.svg +6 -0
- package/images/Logo/logo_small_gray.svg +6 -0
- package/images/Logo/logo_small_white.svg +6 -0
- package/images/Typography/typography_example_1.png +0 -0
- package/images/Typography/typography_example_2.png +0 -0
- package/images/Welcome/oniru_welcome_illustration.png +0 -0
- package/images/favicon.atoka.ico +0 -0
- package/images/ingranaggi.svg +43 -0
- package/images/logo.svg +24 -0
- package/images/logo_design_system.svg +28 -0
- package/jsx-runtime-CkWJgiG5.js +911 -0
- package/package.json +32 -31
- package/styles/variables.scss +1 -1
- package/styles/variant-mixins.scss +6 -4
- package/AddableItems/AddableItems.d.ts +0 -80
- package/AddableItems/ClickableItemList.d.ts +0 -32
- package/AddableItems/index.d.ts +0 -2
- package/AddableItems/index.js +0 -1
- package/Alert/Alert.d.ts +0 -59
- package/Alert/index.d.ts +0 -1
- package/Alert/index.js +0 -1
- package/Badge/Badge.d.ts +0 -42
- package/Badge/index.d.ts +0 -1
- package/Badge/index.js +0 -1
- package/Bs4V3Wrapper/Bs4V3Wrapper.d.ts +0 -7
- package/Bs4V3Wrapper/StoryWrapper.d.ts +0 -8
- package/Bs4V3Wrapper/index.d.ts +0 -1
- package/Bs4V3Wrapper/index.js +0 -1
- package/BubbleChart/BubbleChart.d.ts +0 -33
- package/BubbleChart/BubbleChartUI.d.ts +0 -31
- package/BubbleChart/index.d.ts +0 -2
- package/BubbleChart/index.js +0 -1
- package/Button/Button.d.ts +0 -27
- package/Button/Button.storiesConfig.d.ts +0 -58
- package/Button/index.d.ts +0 -1
- package/Button/index.js +0 -1
- package/ButtonDropdown/ButtonDropdown.d.ts +0 -23
- package/ButtonDropdown/index.d.ts +0 -2
- package/ButtonDropdown/index.js +0 -1
- package/CardsPage/CardsPage.d.ts +0 -14
- package/CardsPage/CardsPageActions.d.ts +0 -4
- package/CardsPage/CardsPageCards.d.ts +0 -10
- package/CardsPage/CardsPageCardsCounter.d.ts +0 -6
- package/CardsPage/CardsPageFilters.d.ts +0 -5
- package/CardsPage/CardsPageFullText.d.ts +0 -5
- package/CardsPage/CardsPageHeader.d.ts +0 -13
- package/CardsPage/CardsPageLayoutMode.d.ts +0 -12
- package/CardsPage/CardsPageSelectionActions.d.ts +0 -17
- package/CardsPage/CardsPageSelectionToggler.d.ts +0 -8
- package/CardsPage/CardsPageSorting.d.ts +0 -15
- package/CardsPage/CardsPageSubtitle.d.ts +0 -4
- package/CardsPage/CardsPageTabContent.d.ts +0 -26
- package/CardsPage/CardsPageTabSwitcher.d.ts +0 -3
- package/CardsPage/CardsPageTitle.d.ts +0 -4
- package/CardsPage/index.d.ts +0 -2
- package/CardsPage/index.js +0 -1
- package/ClickableExcludableItem/ClickableExcludableItem.d.ts +0 -32
- package/ClickableExcludableItem/index.d.ts +0 -1
- package/ClickableExcludableItem/index.js +0 -1
- package/CursorPagination/CursorPagination.d.ts +0 -21
- package/CursorPagination/index.d.ts +0 -1
- package/CursorPagination/index.js +0 -1
- package/DatePicker/DatePicker.d.ts +0 -38
- package/DatePicker/index.d.ts +0 -1
- package/DatePicker/index.js +0 -2
- package/DatePicker/index.js.LICENSE.txt +0 -15
- package/DatePickerInput/DatePickerInput.d.ts +0 -26
- package/DatePickerInput/index.d.ts +0 -1
- package/DatePickerInput/index.js +0 -2
- package/DatePickerInput/index.js.LICENSE.txt +0 -15
- package/DetailPage/DetailPage.d.ts +0 -40
- package/DetailPage/DetailPageBody.d.ts +0 -17
- package/DetailPage/DetailPageBodyAlert.d.ts +0 -4
- package/DetailPage/DetailPageBodyContainer.d.ts +0 -3
- package/DetailPage/DetailPageBodySection.d.ts +0 -6
- package/DetailPage/DetailPageHeaderContainer.d.ts +0 -4
- package/DetailPage/DetailPageHeaderUI.d.ts +0 -17
- package/DetailPage/DetailPageMenuContainer.d.ts +0 -3
- package/DetailPage/DetailPageMenuUI.d.ts +0 -8
- package/DetailPage/DetailPageNavLink.d.ts +0 -8
- package/DetailPage/index.d.ts +0 -2
- package/DetailPage/index.js +0 -1
- package/DetailPageContent/DetailPageContent.d.ts +0 -24
- package/DetailPageContent/fixtures.d.ts +0 -14
- package/DetailPageContent/index.d.ts +0 -1
- package/DetailPageContent/index.js +0 -1
- package/Dropdown/AtokaDropdownToggles.d.ts +0 -11
- package/Dropdown/Dropdown.d.ts +0 -14
- package/Dropdown/DropdownMenu.d.ts +0 -11
- package/Dropdown/DropdownSection.d.ts +0 -5
- package/Dropdown/index.d.ts +0 -3
- package/Dropdown/index.js +0 -1
- package/EditableString/EditableString.d.ts +0 -49
- package/EditableString/index.d.ts +0 -1
- package/EditableString/index.js +0 -1
- package/EllipsableContent/EllipsableContent.d.ts +0 -22
- package/EllipsableContent/index.d.ts +0 -1
- package/EllipsableContent/index.js +0 -1
- package/EmptyState/EmptyState.d.ts +0 -12
- package/EmptyState/index.d.ts +0 -1
- package/EmptyState/index.js +0 -1
- package/Expandable/Expandable.d.ts +0 -22
- package/Expandable/index.d.ts +0 -1
- package/Expandable/index.js +0 -1
- package/Facet/Facet.d.ts +0 -27
- package/Facet/FacetHelp.d.ts +0 -28
- package/Facet/FacetItemCount.d.ts +0 -7
- package/Facet/FacetSubtitle.d.ts +0 -4
- package/Facet/helpForFacet.d.ts +0 -2
- package/Facet/index.d.ts +0 -1
- package/Facet/index.js +0 -1
- package/FacetSection/FacetSection.d.ts +0 -21
- package/FacetSection/index.d.ts +0 -1
- package/FacetSection/index.js +0 -1
- package/FadeAnimation/FadeAnimation.d.ts +0 -14
- package/FadeAnimation/index.d.ts +0 -1
- package/FadeAnimation/index.js +0 -1
- package/FeedbackButton/FeedbackButton.d.ts +0 -19
- package/FeedbackButton/index.d.ts +0 -1
- package/FeedbackButton/index.js +0 -1
- package/Form/Form.d.ts +0 -22
- package/Form/FormCheckbox.d.ts +0 -10
- package/Form/FormControl.d.ts +0 -25
- package/Form/FormControlFeedBack.d.ts +0 -6
- package/Form/FormHelp.d.ts +0 -7
- package/Form/FormLabel.d.ts +0 -4
- package/Form/FormRadio.d.ts +0 -10
- package/Form/index.d.ts +0 -1
- package/Form/index.js +0 -1
- package/Funnel/Funnel.d.ts +0 -38
- package/Funnel/FunnelUI.d.ts +0 -34
- package/Funnel/SVGDataLabel.d.ts +0 -12
- package/Funnel/fixture.d.ts +0 -23
- package/Funnel/index.d.ts +0 -1
- package/Funnel/index.js +0 -1
- package/Gauge/GaugeLinear.d.ts +0 -45
- package/Gauge/index.d.ts +0 -1
- package/Gauge/index.js +0 -1
- package/GeoMap/GeoMap.d.ts +0 -18
- package/GeoMap/index.d.ts +0 -1
- package/GeoMap/index.js +0 -1
- package/GridCard/CardMenu.d.ts +0 -6
- package/GridCard/CardTitle.d.ts +0 -5
- package/GridCard/Fixtures.d.ts +0 -3
- package/GridCard/GridCard.d.ts +0 -30
- package/GridCard/GridCardActions.d.ts +0 -6
- package/GridCard/GridCardContent.d.ts +0 -4
- package/GridCard/GridCardFooter.d.ts +0 -4
- package/GridCard/GridCardHeader.d.ts +0 -14
- package/GridCard/GridCardTags.d.ts +0 -4
- package/GridCard/index.d.ts +0 -1
- package/GridCard/index.js +0 -1
- package/HighlightableText/HighlightableText.d.ts +0 -20
- package/HighlightableText/index.d.ts +0 -1
- package/HighlightableText/index.js +0 -1
- package/Histogram/Histogram.d.ts +0 -140
- package/Histogram/Types.d.ts +0 -18
- package/Histogram/index.d.ts +0 -2
- package/Histogram/index.js +0 -1
- package/InlineStringEditor/InlineStringEditor.d.ts +0 -52
- package/InlineStringEditor/index.d.ts +0 -1
- package/InlineStringEditor/index.js +0 -1
- package/InputGroup/InputGroup.d.ts +0 -17
- package/InputGroup/InputGroupShortcut.d.ts +0 -25
- package/InputGroup/InputGroupShortcutBadge.d.ts +0 -7
- package/InputGroup/InputGroupText.d.ts +0 -2
- package/InputGroup/index.d.ts +0 -2
- package/InputGroup/index.js +0 -1
- package/Jumbotron/Jumbotron.d.ts +0 -16
- package/Jumbotron/index.d.ts +0 -1
- package/Jumbotron/index.js +0 -1
- package/Map/Map.d.ts +0 -27
- package/Map/MapChoropleth.d.ts +0 -31
- package/Map/MapControl.d.ts +0 -13
- package/Map/MapLegendContent.d.ts +0 -27
- package/Map/MapPopup.d.ts +0 -5
- package/Map/MapUtils.d.ts +0 -2
- package/Map/Types.d.ts +0 -38
- package/Map/config.d.ts +0 -3
- package/Map/index.d.ts +0 -2
- package/Map/index.js +0 -1
- package/Modal/Modal.d.ts +0 -37
- package/Modal/index.d.ts +0 -1
- package/Modal/index.js +0 -1
- package/MultiModeDatePicker/MultiModeDatePicker.d.ts +0 -15
- package/MultiModeDatePicker/Types.d.ts +0 -66
- package/MultiModeDatePicker/index.d.ts +0 -2
- package/MultiModeDatePicker/index.js +0 -2
- package/MultiModeDatePicker/index.js.LICENSE.txt +0 -15
- package/Navbar/Navbar.d.ts +0 -46
- package/Navbar/NavbarMobileMenuCollapse.d.ts +0 -5
- package/Navbar/NavbarMobileMenuToggle.d.ts +0 -5
- package/Navbar/NavbarNavigationMenu.d.ts +0 -9
- package/Navbar/NavbarNavigationMenuItem.d.ts +0 -10
- package/Navbar/NavbarNinjaMenu.d.ts +0 -6
- package/Navbar/NavbarNinjaMenuItem.d.ts +0 -6
- package/Navbar/NavbarNotificationMenu.d.ts +0 -12
- package/Navbar/NavbarNotificationMenuItem.d.ts +0 -8
- package/Navbar/NavbarOverlaySearch.d.ts +0 -32
- package/Navbar/NavbarOverlaySearchCard.d.ts +0 -9
- package/Navbar/NavbarOverlaySearchResults.d.ts +0 -12
- package/Navbar/NavbarUserMenu.d.ts +0 -9
- package/Navbar/NavbarUserMenuItem.d.ts +0 -5
- package/Navbar/index.d.ts +0 -1
- package/Navbar/index.js +0 -1
- package/OniruCard/OniruCard.d.ts +0 -9
- package/OniruCard/index.d.ts +0 -1
- package/OniruCard/index.js +0 -1
- package/Pagination/Pagination.d.ts +0 -29
- package/Pagination/PaginationNext.d.ts +0 -7
- package/Pagination/PaginationPrev.d.ts +0 -7
- package/Pagination/index.d.ts +0 -1
- package/Pagination/index.js +0 -1
- package/PieChart/PieChart.d.ts +0 -71
- package/PieChart/index.d.ts +0 -1
- package/PieChart/index.js +0 -1
- package/PublicFooter/PublicFooter.d.ts +0 -8
- package/PublicFooter/index.d.ts +0 -1
- package/PublicFooter/index.js +0 -1
- package/PublicNavbar/PublicNavbar.d.ts +0 -8
- package/PublicNavbar/index.d.ts +0 -1
- package/PublicNavbar/index.js +0 -1
- package/RecordBit/RecordBit.d.ts +0 -11
- package/RecordBit/index.d.ts +0 -1
- package/RecordBit/index.js +0 -1
- package/ResponsiveLineChart/ResponsiveLineChart.d.ts +0 -37
- package/ResponsiveLineChart/index.d.ts +0 -1
- package/ResponsiveLineChart/index.js +0 -1
- package/ResultItemCard/ItemImage.d.ts +0 -6
- package/ResultItemCard/ResultItemCard.d.ts +0 -20
- package/ResultItemCard/ResultItemCardActions.d.ts +0 -3
- package/ResultItemCard/ResultItemCardFooter.d.ts +0 -6
- package/ResultItemCard/ResultItemCardImage.d.ts +0 -4
- package/ResultItemCard/ResultItemCardSidebar.d.ts +0 -5
- package/ResultItemCard/ResultItemCardSubtitle.d.ts +0 -3
- package/ResultItemCard/ResultItemCardTitle.d.ts +0 -8
- package/ResultItemCard/index.d.ts +0 -1
- package/ResultItemCard/index.js +0 -1
- package/RowCard/Fixtures.d.ts +0 -2
- package/RowCard/RowCard.d.ts +0 -21
- package/RowCard/RowCardActions.d.ts +0 -8
- package/RowCard/RowCardContent.d.ts +0 -10
- package/RowCard/RowCardHeader.d.ts +0 -8
- package/RowCard/RowCardLayout.d.ts +0 -28
- package/RowCard/RowCardMenu.d.ts +0 -4
- package/RowCard/index.d.ts +0 -1
- package/RowCard/index.js +0 -1
- package/SelectDropdown/SelectDropdown.d.ts +0 -32
- package/SelectDropdown/index.d.ts +0 -1
- package/SelectDropdown/index.js +0 -1
- package/Spinner/Spinner.d.ts +0 -32
- package/Spinner/index.d.ts +0 -1
- package/Spinner/index.js +0 -1
- package/StatisticsItemCard/StatisticsItemCard.d.ts +0 -35
- package/StatisticsItemCard/config.d.ts +0 -3
- package/StatisticsItemCard/index.d.ts +0 -1
- package/StatisticsItemCard/index.js +0 -1
- package/StatisticsItemNumeric/StatisticsItemNumeric.d.ts +0 -18
- package/StatisticsItemNumeric/index.d.ts +0 -1
- package/StatisticsItemNumeric/index.js +0 -1
- package/StatisticsLegend/StatisticsLegend.d.ts +0 -35
- package/StatisticsLegend/StatisticsLegendItem.d.ts +0 -50
- package/StatisticsLegend/StatisticsSVGLegend.d.ts +0 -26
- package/StatisticsLegend/helpers.d.ts +0 -18
- package/StatisticsLegend/index.d.ts +0 -3
- package/StatisticsLegend/index.js +0 -1
- package/StatisticsTooltip/StatisticsTooltip.d.ts +0 -23
- package/StatisticsTooltip/helpers.d.ts +0 -19
- package/StatisticsTooltip/index.d.ts +0 -2
- package/StatisticsTooltip/index.js +0 -1
- package/StreamDialog/StreamDialog.d.ts +0 -11
- package/StreamDialog/index.d.ts +0 -1
- package/StreamDialog/index.js +0 -1
- package/Suggester/CustomOption.d.ts +0 -39
- package/Suggester/InputValueContainer.d.ts +0 -11
- package/Suggester/Suggester.d.ts +0 -78
- package/Suggester/SuggesterUI.d.ts +0 -26
- package/Suggester/getRenderCustomMultiValueWithIcon.d.ts +0 -5
- package/Suggester/index.d.ts +0 -3
- package/Suggester/index.js +0 -1
- package/SuggestionCard/SuggestionCard.d.ts +0 -10
- package/SuggestionCard/index.d.ts +0 -1
- package/SuggestionCard/index.js +0 -1
- package/SunBurst/SunBurst.d.ts +0 -61
- package/SunBurst/index.d.ts +0 -2
- package/SunBurst/index.js +0 -1
- package/TabSwitcher/TabSwitcher.d.ts +0 -36
- package/TabSwitcher/TabSwitcherChoice.d.ts +0 -17
- package/TabSwitcher/index.d.ts +0 -1
- package/TabSwitcher/index.js +0 -1
- package/Text/Text.d.ts +0 -10
- package/Text/index.d.ts +0 -1
- package/Text/index.js +0 -1
- package/Title/Title.d.ts +0 -16
- package/Title/index.d.ts +0 -1
- package/Title/index.js +0 -1
- package/Toast/Toast.d.ts +0 -68
- package/Toast/ToastContainer.d.ts +0 -4
- package/Toast/ToastHeader.d.ts +0 -9
- package/Toast/index.d.ts +0 -2
- package/Toast/index.js +0 -1
- package/ToggleButtonGroup/ToggleButton.d.ts +0 -16
- package/ToggleButtonGroup/ToggleButtonGroup.d.ts +0 -29
- package/ToggleButtonGroup/index.d.ts +0 -1
- package/ToggleButtonGroup/index.js +0 -1
- package/Tooltip/Tooltip.d.ts +0 -20
- package/Tooltip/index.d.ts +0 -1
- package/Tooltip/index.js +0 -1
- package/UserAvatar/UserAvatar.d.ts +0 -8
- package/UserAvatar/index.d.ts +0 -1
- package/UserAvatar/index.js +0 -1
- package/Utils/CommonTypes.d.ts +0 -36
- package/Utils/Statistics.d.ts +0 -4
- package/Utils/Style.d.ts +0 -13
- package/Utils/Text.d.ts +0 -12
- package/Utils/Utils.d.ts +0 -18
- package/Utils/index.d.ts +0 -5
- package/Utils/index.js +0 -1
- package/atoka-design-system-8.6.6.min.css +0 -6
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { j as jsxRuntimeExports } from "./jsx-runtime-CkWJgiG5.js";
|
|
2
|
+
import classnames from "classnames";
|
|
3
|
+
import BsAlert from "react-bootstrap/Alert";
|
|
4
|
+
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
|
|
5
|
+
import { faCheckCircle } from "@fortawesome/pro-solid-svg-icons/faCheckCircle";
|
|
6
|
+
import { faCircleXmark } from "@fortawesome/pro-solid-svg-icons/faCircleXmark";
|
|
7
|
+
import { faExclamationCircle } from "@fortawesome/pro-solid-svg-icons/faExclamationCircle";
|
|
8
|
+
import { faInfoCircle } from "@fortawesome/pro-solid-svg-icons/faInfoCircle";
|
|
9
|
+
import { B as Button } from "./Button-Bn8PyQFK.js";
|
|
10
|
+
import { T as Title } from "./Title-Bjj6BAK7.js";
|
|
11
|
+
import { T as Tooltip } from "./Tooltip-Ds1ht2gU.js";
|
|
12
|
+
const titleIcons = {
|
|
13
|
+
danger: faCircleXmark,
|
|
14
|
+
success: faCheckCircle,
|
|
15
|
+
warning: faExclamationCircle,
|
|
16
|
+
info: faInfoCircle
|
|
17
|
+
};
|
|
18
|
+
function Alert({
|
|
19
|
+
variant,
|
|
20
|
+
title,
|
|
21
|
+
isDismissible,
|
|
22
|
+
onClose,
|
|
23
|
+
isShown,
|
|
24
|
+
buttonOrLinkProps,
|
|
25
|
+
className,
|
|
26
|
+
children,
|
|
27
|
+
LinkComponent
|
|
28
|
+
}) {
|
|
29
|
+
function renderButton() {
|
|
30
|
+
if (buttonOrLinkProps == null) {
|
|
31
|
+
return null;
|
|
32
|
+
}
|
|
33
|
+
const buttonClassName = classnames("alert-button ms-2", buttonOrLinkProps.className, {
|
|
34
|
+
"me-5": isDismissible
|
|
35
|
+
// Make space for the close button
|
|
36
|
+
});
|
|
37
|
+
if (LinkComponent) {
|
|
38
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(LinkComponent, { ...buttonOrLinkProps, className: buttonClassName });
|
|
39
|
+
}
|
|
40
|
+
const { children: buttonOrLinkChildren, ...restProps } = buttonOrLinkProps;
|
|
41
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(Button, { ...restProps, variant: "primary", size: "md", className: buttonClassName, children: /* @__PURE__ */ jsxRuntimeExports.jsx(Tooltip, { delay: 200, content: buttonOrLinkChildren, trigger: "hover", children: /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "line-clamp-1", children: buttonOrLinkChildren }) }) });
|
|
42
|
+
}
|
|
43
|
+
function renderContent() {
|
|
44
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
|
|
45
|
+
title && /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "d-flex align-items-center", children: [
|
|
46
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(FontAwesomeIcon, { width: "14px", icon: titleIcons[variant] ?? faInfoCircle }),
|
|
47
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Title, { size: "xs", className: "alert-title line-clamp-1", children: title })
|
|
48
|
+
] }),
|
|
49
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "alert-children", children }),
|
|
50
|
+
renderButton()
|
|
51
|
+
] });
|
|
52
|
+
}
|
|
53
|
+
const bsAlertClassName = classnames(className, `atoka-alert d-grid align-items-center ${variant}`);
|
|
54
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(BsAlert, { onClose, className: bsAlertClassName, dismissible: isDismissible, show: isShown, children: renderContent() });
|
|
55
|
+
}
|
|
56
|
+
Alert.displayName = "Alert";
|
|
57
|
+
export {
|
|
58
|
+
Alert as A,
|
|
59
|
+
titleIcons as t
|
|
60
|
+
};
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
import { j as jsxRuntimeExports } from "./jsx-runtime-CkWJgiG5.js";
|
|
2
|
+
import React__default from "react";
|
|
3
|
+
import classnames from "classnames";
|
|
4
|
+
import BsDropdown from "react-bootstrap/Dropdown";
|
|
5
|
+
import { faEllipsisH } from "@fortawesome/pro-regular-svg-icons/faEllipsisH";
|
|
6
|
+
import { faChevronDown } from "@fortawesome/pro-regular-svg-icons/faChevronDown";
|
|
7
|
+
import { B as Button } from "./Button-Bn8PyQFK.js";
|
|
8
|
+
class DropdownMenu extends React__default.PureComponent {
|
|
9
|
+
static displayName = "DropdownMenu";
|
|
10
|
+
static defaultProps = {
|
|
11
|
+
size: "sm"
|
|
12
|
+
};
|
|
13
|
+
render() {
|
|
14
|
+
const className = classnames("atoka-dropdown-menu", this.props.className, this.props.size);
|
|
15
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(BsDropdown.Menu, { ...this.props, className, children: this.props.children });
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
const DropdownSection = React__default.memo(
|
|
19
|
+
({ children }) => {
|
|
20
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "atoka-dropdown-section", children: [
|
|
21
|
+
children,
|
|
22
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Dropdown.Divider, {})
|
|
23
|
+
] });
|
|
24
|
+
}
|
|
25
|
+
);
|
|
26
|
+
DropdownSection.displayName = "DropdownSection";
|
|
27
|
+
class Dropdown extends React__default.PureComponent {
|
|
28
|
+
static displayName = "DropDown";
|
|
29
|
+
static Toggle = BsDropdown.Toggle;
|
|
30
|
+
static Menu = DropdownMenu;
|
|
31
|
+
static Item = BsDropdown.Item;
|
|
32
|
+
static Divider = BsDropdown.Divider;
|
|
33
|
+
static Header = BsDropdown.Header;
|
|
34
|
+
static Section = DropdownSection;
|
|
35
|
+
render() {
|
|
36
|
+
const className = classnames(this.props.className, "atoka-dropdown");
|
|
37
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(BsDropdown, { ...this.props, className, children: this.props.children });
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
function withRef(displayName, Component) {
|
|
41
|
+
const newComponent = React__default.forwardRef(
|
|
42
|
+
(props, ref) => {
|
|
43
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { ref, children: /* @__PURE__ */ jsxRuntimeExports.jsx(Component, { disabled: props.disabled, onClick: props.onClick, children: props.children }) });
|
|
44
|
+
}
|
|
45
|
+
);
|
|
46
|
+
newComponent.displayName = displayName;
|
|
47
|
+
return newComponent;
|
|
48
|
+
}
|
|
49
|
+
class AtokaSimpleDropdownToggleComponent extends React__default.Component {
|
|
50
|
+
static displayName = "AtokaSimpleDropdownToggleComponent";
|
|
51
|
+
handleClick = (e) => {
|
|
52
|
+
e.preventDefault();
|
|
53
|
+
this.props.onClick(e);
|
|
54
|
+
};
|
|
55
|
+
render() {
|
|
56
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
57
|
+
Button,
|
|
58
|
+
{
|
|
59
|
+
variant: "secondary",
|
|
60
|
+
size: "xs",
|
|
61
|
+
icon: faEllipsisH,
|
|
62
|
+
onClick: !this.props.disabled ? this.handleClick : void 0,
|
|
63
|
+
disabled: this.props.disabled
|
|
64
|
+
}
|
|
65
|
+
);
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
class AtokaCustomDropdownToggleComponent extends React__default.Component {
|
|
69
|
+
static displayName = "AtokaCustomDropdownToggleComponent";
|
|
70
|
+
handleClick = (e) => {
|
|
71
|
+
e.preventDefault();
|
|
72
|
+
this.props.onClick(e);
|
|
73
|
+
};
|
|
74
|
+
render() {
|
|
75
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "atoka-dropdown-toggle", onClick: !this.props.disabled ? this.handleClick : void 0, children: this.props.children });
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
class AtokaCustomDropdownToggleWithChevronComponent extends React__default.Component {
|
|
79
|
+
static displayName = "AtokaCustomDropdownToggleWithChevronComponent ";
|
|
80
|
+
handleClick = (e) => {
|
|
81
|
+
e.preventDefault();
|
|
82
|
+
this.props.onClick(e);
|
|
83
|
+
};
|
|
84
|
+
render() {
|
|
85
|
+
const className = classnames({
|
|
86
|
+
"atoka-dropdown-toggle": true,
|
|
87
|
+
"disabled": this.props.disabled
|
|
88
|
+
});
|
|
89
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className, onClick: !this.props.disabled ? this.handleClick : void 0, children: [
|
|
90
|
+
this.props.children,
|
|
91
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "chevron-container d-flex", children: /* @__PURE__ */ jsxRuntimeExports.jsx(Button, { variant: "tertiary", size: "md", icon: faChevronDown }) })
|
|
92
|
+
] });
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
const AtokaSimpleDropdownToggle = withRef(
|
|
96
|
+
"AtokaSimpleDropdownToggle",
|
|
97
|
+
AtokaSimpleDropdownToggleComponent
|
|
98
|
+
);
|
|
99
|
+
const AtokaCustomDropdownToggle = withRef(
|
|
100
|
+
"AtokaCustomDropdownToggle",
|
|
101
|
+
AtokaCustomDropdownToggleComponent
|
|
102
|
+
);
|
|
103
|
+
const AtokaCustomDropdownToggleWithChevron = withRef(
|
|
104
|
+
"AtokaCustomDropdownToggleWithChevron",
|
|
105
|
+
AtokaCustomDropdownToggleWithChevronComponent
|
|
106
|
+
);
|
|
107
|
+
export {
|
|
108
|
+
AtokaCustomDropdownToggle as A,
|
|
109
|
+
Dropdown as D,
|
|
110
|
+
AtokaCustomDropdownToggleWithChevron as a,
|
|
111
|
+
AtokaSimpleDropdownToggle as b,
|
|
112
|
+
DropdownMenu as c
|
|
113
|
+
};
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { j as jsxRuntimeExports } from "./jsx-runtime-CkWJgiG5.js";
|
|
2
|
+
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
|
|
3
|
+
import classnames from "classnames";
|
|
4
|
+
import React__default from "react";
|
|
5
|
+
import BsBadge from "react-bootstrap/Badge";
|
|
6
|
+
import { C as yellow, t as pink100 } from "./Style-CSNnkrg3.js";
|
|
7
|
+
const Badge = React__default.memo(({ size = "sm", ...props }) => {
|
|
8
|
+
const className = classnames(props?.className, "atoka-badge", `variante-${props.variant}`, size, {
|
|
9
|
+
disabled: props.disabled
|
|
10
|
+
}), iconClassName = classnames({
|
|
11
|
+
"me-2": props.children != null
|
|
12
|
+
}), icon = props.icon == null ? null : /* @__PURE__ */ jsxRuntimeExports.jsx(FontAwesomeIcon, { icon: props.icon, className: iconClassName });
|
|
13
|
+
const style = {
|
|
14
|
+
backgroundColor: `var(--atoka_colors_${props.color ?? "primary"}Main)`,
|
|
15
|
+
color: `var(--atoka_colors_${props.color ?? "primary"}ContrastText)`,
|
|
16
|
+
borderColor: `var(--atoka_colors_${props.color ?? "primary"}Main)`,
|
|
17
|
+
borderWidth: "1px",
|
|
18
|
+
borderStyle: "solid"
|
|
19
|
+
};
|
|
20
|
+
if (props.color === "yellow") {
|
|
21
|
+
style.backgroundColor = yellow;
|
|
22
|
+
style.borderColor = yellow;
|
|
23
|
+
style.color = "white";
|
|
24
|
+
}
|
|
25
|
+
if (props.color === "pink") {
|
|
26
|
+
style.backgroundColor = pink100;
|
|
27
|
+
style.borderColor = pink100;
|
|
28
|
+
style.color = "white";
|
|
29
|
+
}
|
|
30
|
+
switch (props.variant) {
|
|
31
|
+
case "secondary":
|
|
32
|
+
style.color = style.backgroundColor;
|
|
33
|
+
style.backgroundColor = "transparent";
|
|
34
|
+
break;
|
|
35
|
+
case "tertiary":
|
|
36
|
+
style.color = style.backgroundColor;
|
|
37
|
+
style.backgroundColor = "transparent";
|
|
38
|
+
style.borderWidth = "0px";
|
|
39
|
+
break;
|
|
40
|
+
}
|
|
41
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsxs(BsBadge, { bg: "", className, style, children: [
|
|
42
|
+
icon,
|
|
43
|
+
props.children
|
|
44
|
+
] });
|
|
45
|
+
});
|
|
46
|
+
Badge.displayName = "Badge";
|
|
47
|
+
export {
|
|
48
|
+
Badge as B
|
|
49
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { j as jsxRuntimeExports } from "./jsx-runtime-CkWJgiG5.js";
|
|
2
|
+
import React__default from "react";
|
|
3
|
+
import classnames from "classnames";
|
|
4
|
+
class Bs4V3Wrapper extends React__default.PureComponent {
|
|
5
|
+
static displayName = "Bs4V3Wrapper";
|
|
6
|
+
render() {
|
|
7
|
+
const className = classnames("bs4-v3", this.props.className);
|
|
8
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className, children: this.props.children });
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
export {
|
|
12
|
+
Bs4V3Wrapper as B
|
|
13
|
+
};
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { j as jsxRuntimeExports } from "./jsx-runtime-CkWJgiG5.js";
|
|
2
|
+
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
|
|
3
|
+
import classnames from "classnames";
|
|
4
|
+
import React__default from "react";
|
|
5
|
+
import BsButton from "react-bootstrap/Button";
|
|
6
|
+
class Button extends React__default.PureComponent {
|
|
7
|
+
static displayName = "Button";
|
|
8
|
+
static defaultProps = {
|
|
9
|
+
variant: "primary",
|
|
10
|
+
size: "md",
|
|
11
|
+
disabled: false
|
|
12
|
+
};
|
|
13
|
+
renderIcon(icon) {
|
|
14
|
+
if (icon == null) {
|
|
15
|
+
return null;
|
|
16
|
+
}
|
|
17
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(FontAwesomeIcon, { icon });
|
|
18
|
+
}
|
|
19
|
+
renderChildren(children) {
|
|
20
|
+
if (children == null) {
|
|
21
|
+
return null;
|
|
22
|
+
}
|
|
23
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "btn-children", children });
|
|
24
|
+
}
|
|
25
|
+
renderLeftSide(iconLeft, iconRight) {
|
|
26
|
+
if (iconLeft == null) {
|
|
27
|
+
if (iconRight == null) {
|
|
28
|
+
return null;
|
|
29
|
+
}
|
|
30
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(FontAwesomeIcon, { icon: iconRight, className: "invisible" });
|
|
31
|
+
}
|
|
32
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(FontAwesomeIcon, { icon: iconLeft });
|
|
33
|
+
}
|
|
34
|
+
renderRightSide(iconLeft, iconRight) {
|
|
35
|
+
if (iconRight == null) {
|
|
36
|
+
if (iconLeft == null) {
|
|
37
|
+
return null;
|
|
38
|
+
}
|
|
39
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(FontAwesomeIcon, { icon: iconLeft, className: "invisible" });
|
|
40
|
+
}
|
|
41
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(FontAwesomeIcon, { icon: iconRight });
|
|
42
|
+
}
|
|
43
|
+
renderContent(icon, children) {
|
|
44
|
+
if (icon != null && children == null) {
|
|
45
|
+
return this.renderIcon(icon);
|
|
46
|
+
}
|
|
47
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "button-content-center-container", children: [
|
|
48
|
+
this.renderIcon(icon),
|
|
49
|
+
this.renderChildren(children)
|
|
50
|
+
] });
|
|
51
|
+
}
|
|
52
|
+
render() {
|
|
53
|
+
const { icon, iconLeft, iconRight, children, size, className, ...buttonProps } = this.props, buttonClassName = classnames("atoka-btn", `btn-${size}`, className, {
|
|
54
|
+
"btn-icon-only": this.props.icon != null && this.props.children == null
|
|
55
|
+
});
|
|
56
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsxs(BsButton, { className: buttonClassName, ...buttonProps, children: [
|
|
57
|
+
this.renderLeftSide(iconLeft, iconRight),
|
|
58
|
+
this.renderContent(icon, children),
|
|
59
|
+
this.renderRightSide(iconLeft, iconRight)
|
|
60
|
+
] });
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
export {
|
|
64
|
+
Button as B
|
|
65
|
+
};
|