@aivenio/aquarium 2.1.2 → 2.3.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/dist/atoms.cjs +24 -10
- package/dist/atoms.mjs +24 -10
- package/dist/charts.cjs +3 -2
- package/dist/charts.mjs +3 -2
- package/dist/src/atoms/Alert/Alert.d.ts +8 -8
- package/dist/src/atoms/Alert/Alert.js +1 -1
- package/dist/src/atoms/Banner/Banner.d.ts +7 -7
- package/dist/src/atoms/Card/Card.d.ts +10 -10
- package/dist/src/atoms/Card/Card.js +1 -1
- package/dist/src/atoms/Checkbox/Checkbox.d.ts +6 -6
- package/dist/src/atoms/Chip/Chip.d.ts +3 -3
- package/dist/src/atoms/DataList/DataList.d.ts +11 -7
- package/dist/src/atoms/DataList/DataList.js +15 -4
- package/dist/src/atoms/Dialog/Dialog.d.ts +7 -9
- package/dist/src/atoms/Dialog/Dialog.js +1 -1
- package/dist/src/atoms/DropdownMenu/DropdownMenu.d.ts +13 -12
- package/dist/src/atoms/DropdownMenu/DropdownMenu.js +1 -1
- package/dist/src/atoms/InputGroup/InputGroup.d.ts +2 -2
- package/dist/src/atoms/InputGroup/InputGroup.js +1 -1
- package/dist/src/atoms/LineClamp/LineClamp.d.ts +4 -4
- package/dist/src/atoms/Link/Link.d.ts +1 -1
- package/dist/src/atoms/Modal/Modal.d.ts +31 -32
- package/dist/src/atoms/Modal/Modal.js +2 -2
- package/dist/src/atoms/Navigation/Navigation.d.ts +4 -4
- package/dist/src/atoms/PageHeader/PageHeader.d.ts +2 -2
- package/dist/src/atoms/Popover/Popover.d.ts +2 -2
- package/dist/src/atoms/PopoverDialog/PopoverDialog.d.ts +2 -2
- package/dist/src/atoms/ProgressBar/ProgressBar.d.ts +5 -5
- package/dist/src/atoms/ProgressBar/ProgressBar.js +1 -1
- package/dist/src/atoms/RadioButton/RadioButton.d.ts +4 -4
- package/dist/src/atoms/Section/Section.d.ts +2 -2
- package/dist/src/atoms/Select/Select.d.ts +16 -16
- package/dist/src/atoms/Select/Select.js +4 -2
- package/dist/src/atoms/Stepper/Stepper.d.ts +7 -7
- package/dist/src/atoms/Switch/Switch.d.ts +5 -5
- package/dist/src/atoms/Table/Table.d.ts +10 -10
- package/dist/src/atoms/Table/Table.js +2 -2
- package/dist/src/atoms/Timeline/Timeline.d.ts +2 -2
- package/dist/src/atoms/Toast/Toast.d.ts +4 -4
- package/dist/src/atoms/Typography/Typography.d.ts +2 -2
- package/dist/src/atoms/Typography/Typography.js +1 -1
- package/dist/src/atoms/utils/index.d.ts +49 -148
- package/dist/src/atoms/utils/index.js +2 -2
- package/dist/src/charts/AreaChart/AreaChart.d.ts +3 -3
- package/dist/src/charts/AreaChart/AreaChart.js +1 -1
- package/dist/src/charts/Axis/Axis.d.ts +3 -3
- package/dist/src/charts/Axis/Axis.js +4 -2
- package/dist/src/charts/BarChart/BarChart.d.ts +3 -3
- package/dist/src/charts/BarChart/BarChart.js +2 -1
- package/dist/src/charts/Container/Container.d.ts +1 -1
- package/dist/src/charts/Grid/Grid.d.ts +1 -1
- package/dist/src/charts/Legend/Legend.d.ts +1 -1
- package/dist/src/charts/LineChart/LineChart.d.ts +3 -3
- package/dist/src/charts/LineChart/LineChart.js +1 -1
- package/dist/src/charts/PieChart/ChartValue.d.ts +1 -1
- package/dist/src/charts/PieChart/DoughnutChart.d.ts +3 -3
- package/dist/src/charts/PieChart/DoughnutChart.js +1 -1
- package/dist/src/charts/PieChart/PieChart.d.ts +4 -4
- package/dist/src/charts/PieChart/PieChart.js +1 -1
- package/dist/src/charts/PieChart/TooltipContentWrapper.d.ts +4 -4
- package/dist/src/charts/PieChart/TooltipContentWrapper.js +1 -1
- package/dist/src/charts/PieChart/renderPieChildren.js +2 -1
- package/dist/src/charts/Reference/Reference.d.ts +3 -3
- package/dist/src/charts/Tooltip/Tooltip.d.ts +2 -2
- package/dist/src/charts/lib/utils.d.ts +5 -5
- package/dist/src/charts/lib/utils.js +5 -2
- package/dist/src/icons/add.d.ts +5 -5
- package/dist/src/icons/addToFolder.d.ts +5 -5
- package/dist/src/icons/airplane.d.ts +5 -5
- package/dist/src/icons/aivenEnterprise.d.ts +5 -5
- package/dist/src/icons/alignCenter.d.ts +5 -5
- package/dist/src/icons/alignJustify.d.ts +5 -5
- package/dist/src/icons/alignLeft.d.ts +5 -5
- package/dist/src/icons/alignRight.d.ts +5 -5
- package/dist/src/icons/alignmentBottom.d.ts +5 -5
- package/dist/src/icons/alignmentHorizontalCenter.d.ts +5 -5
- package/dist/src/icons/alignmentLeft.d.ts +5 -5
- package/dist/src/icons/alignmentRight.d.ts +5 -5
- package/dist/src/icons/alignmentTop.d.ts +5 -5
- package/dist/src/icons/alignmentVerticalCenter.d.ts +5 -5
- package/dist/src/icons/amexCard.d.ts +5 -5
- package/dist/src/icons/annotation.d.ts +5 -5
- package/dist/src/icons/announcement.d.ts +5 -5
- package/dist/src/icons/appUsers.d.ts +5 -5
- package/dist/src/icons/applications.d.ts +5 -5
- package/dist/src/icons/archive.d.ts +5 -5
- package/dist/src/icons/arrowCircleDown.d.ts +5 -5
- package/dist/src/icons/arrowCircleLeft.d.ts +5 -5
- package/dist/src/icons/arrowCircleRight.d.ts +5 -5
- package/dist/src/icons/arrowCircleUp.d.ts +5 -5
- package/dist/src/icons/arrowLeft.d.ts +5 -5
- package/dist/src/icons/arrowRight.d.ts +5 -5
- package/dist/src/icons/attachment.d.ts +5 -5
- package/dist/src/icons/automaticUpdates.d.ts +5 -5
- package/dist/src/icons/award.d.ts +5 -5
- package/dist/src/icons/badge.d.ts +5 -5
- package/dist/src/icons/ban.d.ts +5 -5
- package/dist/src/icons/banCircle.d.ts +5 -5
- package/dist/src/icons/bankAccount.d.ts +5 -5
- package/dist/src/icons/blockedPerson.d.ts +5 -5
- package/dist/src/icons/book.d.ts +5 -5
- package/dist/src/icons/bookmark.d.ts +5 -5
- package/dist/src/icons/box.d.ts +5 -5
- package/dist/src/icons/briefcase.d.ts +5 -5
- package/dist/src/icons/calendar.d.ts +5 -5
- package/dist/src/icons/capslock.d.ts +5 -5
- package/dist/src/icons/caretDown.d.ts +5 -5
- package/dist/src/icons/caretLeft.d.ts +5 -5
- package/dist/src/icons/caretRight.d.ts +5 -5
- package/dist/src/icons/caretUp.d.ts +5 -5
- package/dist/src/icons/certificate.d.ts +5 -5
- package/dist/src/icons/chart.d.ts +5 -5
- package/dist/src/icons/chat.d.ts +5 -5
- package/dist/src/icons/chevronBackward.d.ts +5 -5
- package/dist/src/icons/chevronDown.d.ts +5 -5
- package/dist/src/icons/chevronDownDouble.d.ts +5 -5
- package/dist/src/icons/chevronForward.d.ts +5 -5
- package/dist/src/icons/chevronLeft.d.ts +5 -5
- package/dist/src/icons/chevronRight.d.ts +5 -5
- package/dist/src/icons/chevronRightDouble.d.ts +5 -5
- package/dist/src/icons/chevronUp.d.ts +5 -5
- package/dist/src/icons/chevronUpDouble.d.ts +5 -5
- package/dist/src/icons/circle.d.ts +5 -5
- package/dist/src/icons/clipboard.d.ts +5 -5
- package/dist/src/icons/clipboardCheck.d.ts +5 -5
- package/dist/src/icons/cloud.d.ts +5 -5
- package/dist/src/icons/cloudDownload.d.ts +5 -5
- package/dist/src/icons/cloudUpload.d.ts +5 -5
- package/dist/src/icons/co2Emissions.d.ts +5 -5
- package/dist/src/icons/code.d.ts +5 -5
- package/dist/src/icons/codeBlock.d.ts +5 -5
- package/dist/src/icons/codeFile.d.ts +5 -5
- package/dist/src/icons/cog.d.ts +5 -5
- package/dist/src/icons/coinsHand.d.ts +5 -5
- package/dist/src/icons/comment.d.ts +5 -5
- package/dist/src/icons/confirm.d.ts +5 -5
- package/dist/src/icons/console.d.ts +5 -5
- package/dist/src/icons/container.d.ts +5 -5
- package/dist/src/icons/cpuChip.d.ts +5 -5
- package/dist/src/icons/creditCard.d.ts +5 -5
- package/dist/src/icons/cross.d.ts +5 -5
- package/dist/src/icons/currencyDollar.d.ts +5 -5
- package/dist/src/icons/dashboard.d.ts +5 -5
- package/dist/src/icons/dataLineage.d.ts +5 -5
- package/dist/src/icons/database.d.ts +5 -5
- package/dist/src/icons/database02.d.ts +5 -5
- package/dist/src/icons/dataflow01.d.ts +5 -5
- package/dist/src/icons/dataflow02.d.ts +5 -5
- package/dist/src/icons/dataflow03.d.ts +5 -5
- package/dist/src/icons/dbBackup.d.ts +5 -5
- package/dist/src/icons/delete.d.ts +5 -5
- package/dist/src/icons/deliveryLocation.d.ts +5 -5
- package/dist/src/icons/disasterRecovery.d.ts +5 -5
- package/dist/src/icons/document.d.ts +5 -5
- package/dist/src/icons/dot.d.ts +5 -5
- package/dist/src/icons/doubleCaretHorizontal.d.ts +5 -5
- package/dist/src/icons/doubleCaretVertical.d.ts +5 -5
- package/dist/src/icons/doubleChevronDown.d.ts +5 -5
- package/dist/src/icons/doubleChevronLeft.d.ts +5 -5
- package/dist/src/icons/doubleChevronRight.d.ts +5 -5
- package/dist/src/icons/doubleChevronUp.d.ts +5 -5
- package/dist/src/icons/doughnutChart.d.ts +5 -5
- package/dist/src/icons/download.d.ts +5 -5
- package/dist/src/icons/dragHandleHorizontal.d.ts +5 -5
- package/dist/src/icons/dragHandleVertical.d.ts +5 -5
- package/dist/src/icons/duplicate.d.ts +5 -5
- package/dist/src/icons/edit.d.ts +5 -5
- package/dist/src/icons/endorsed.d.ts +5 -5
- package/dist/src/icons/envelope.d.ts +5 -5
- package/dist/src/icons/error.d.ts +5 -5
- package/dist/src/icons/expandAll.d.ts +5 -5
- package/dist/src/icons/export.d.ts +5 -5
- package/dist/src/icons/eyeOff.d.ts +5 -5
- package/dist/src/icons/eyeOpen.d.ts +5 -5
- package/dist/src/icons/faceHappy.d.ts +5 -5
- package/dist/src/icons/faceSad.d.ts +5 -5
- package/dist/src/icons/filter.d.ts +5 -5
- package/dist/src/icons/flag.d.ts +5 -5
- package/dist/src/icons/floppyDisk.d.ts +5 -5
- package/dist/src/icons/folderClose.d.ts +5 -5
- package/dist/src/icons/folderNew.d.ts +5 -5
- package/dist/src/icons/follower.d.ts +5 -5
- package/dist/src/icons/following.d.ts +5 -5
- package/dist/src/icons/gift.d.ts +5 -5
- package/dist/src/icons/gitBranch.d.ts +5 -5
- package/dist/src/icons/gitCommit.d.ts +5 -5
- package/dist/src/icons/gitDiff.d.ts +5 -5
- package/dist/src/icons/gitMerge.d.ts +5 -5
- package/dist/src/icons/gitNewBranch.d.ts +5 -5
- package/dist/src/icons/gitPull.d.ts +5 -5
- package/dist/src/icons/githubLogo.d.ts +5 -5
- package/dist/src/icons/globe.d.ts +5 -5
- package/dist/src/icons/globeNetwork.d.ts +5 -5
- package/dist/src/icons/googleLogo.d.ts +5 -5
- package/dist/src/icons/governance.d.ts +5 -5
- package/dist/src/icons/grid.d.ts +5 -5
- package/dist/src/icons/groupedBarChart.d.ts +5 -5
- package/dist/src/icons/heart.d.ts +5 -5
- package/dist/src/icons/help.d.ts +5 -5
- package/dist/src/icons/history.d.ts +5 -5
- package/dist/src/icons/home.d.ts +5 -5
- package/dist/src/icons/idNumber.d.ts +5 -5
- package/dist/src/icons/import.d.ts +5 -5
- package/dist/src/icons/inbox.d.ts +5 -5
- package/dist/src/icons/indexes.d.ts +5 -5
- package/dist/src/icons/infoSign.d.ts +5 -5
- package/dist/src/icons/integrations.d.ts +5 -5
- package/dist/src/icons/issue.d.ts +5 -5
- package/dist/src/icons/jobsAndData.d.ts +5 -5
- package/dist/src/icons/kafkaTopic.d.ts +5 -5
- package/dist/src/icons/key.d.ts +5 -5
- package/dist/src/icons/layer.d.ts +5 -5
- package/dist/src/icons/layers.d.ts +5 -5
- package/dist/src/icons/learning.d.ts +5 -5
- package/dist/src/icons/lifeBuoy.d.ts +5 -5
- package/dist/src/icons/lifesaver.d.ts +5 -5
- package/dist/src/icons/lightbulb.d.ts +5 -5
- package/dist/src/icons/link.d.ts +5 -5
- package/dist/src/icons/linkExternal.d.ts +5 -5
- package/dist/src/icons/list.d.ts +5 -5
- package/dist/src/icons/listColumns.d.ts +5 -5
- package/dist/src/icons/listDetailView.d.ts +5 -5
- package/dist/src/icons/loading.d.ts +5 -5
- package/dist/src/icons/lock.d.ts +5 -5
- package/dist/src/icons/logIn.d.ts +5 -5
- package/dist/src/icons/logOut.d.ts +5 -5
- package/dist/src/icons/managedUsers.d.ts +5 -5
- package/dist/src/icons/manual.d.ts +5 -5
- package/dist/src/icons/map.d.ts +5 -5
- package/dist/src/icons/mapMarker.d.ts +5 -5
- package/dist/src/icons/mastercardCard.d.ts +5 -5
- package/dist/src/icons/maximize.d.ts +5 -5
- package/dist/src/icons/memory.d.ts +5 -5
- package/dist/src/icons/menu.d.ts +5 -5
- package/dist/src/icons/minimize.d.ts +5 -5
- package/dist/src/icons/minus.d.ts +5 -5
- package/dist/src/icons/more.d.ts +5 -5
- package/dist/src/icons/move.d.ts +5 -5
- package/dist/src/icons/moveProject.d.ts +5 -5
- package/dist/src/icons/namespaces.d.ts +5 -5
- package/dist/src/icons/networkPrivateLink.d.ts +5 -5
- package/dist/src/icons/newPerson.d.ts +5 -5
- package/dist/src/icons/nodes.d.ts +5 -5
- package/dist/src/icons/notifications.d.ts +5 -5
- package/dist/src/icons/notificationsUpdated.d.ts +5 -5
- package/dist/src/icons/office.d.ts +5 -5
- package/dist/src/icons/orgAdmin.d.ts +5 -5
- package/dist/src/icons/orgUnit.d.ts +5 -5
- package/dist/src/icons/outdated.d.ts +5 -5
- package/dist/src/icons/package.d.ts +5 -5
- package/dist/src/icons/packageCheck.d.ts +5 -5
- package/dist/src/icons/packageSearch.d.ts +5 -5
- package/dist/src/icons/paperclip.d.ts +5 -5
- package/dist/src/icons/pause.d.ts +5 -5
- package/dist/src/icons/people.d.ts +5 -5
- package/dist/src/icons/performance.d.ts +5 -5
- package/dist/src/icons/person.d.ts +5 -5
- package/dist/src/icons/phone.d.ts +5 -5
- package/dist/src/icons/pieChart.d.ts +5 -5
- package/dist/src/icons/pin.d.ts +5 -5
- package/dist/src/icons/play.d.ts +5 -5
- package/dist/src/icons/plus.d.ts +5 -5
- package/dist/src/icons/plusCircle.d.ts +5 -5
- package/dist/src/icons/pools.d.ts +5 -5
- package/dist/src/icons/power.d.ts +5 -5
- package/dist/src/icons/proPlans.d.ts +5 -5
- package/dist/src/icons/projects.d.ts +5 -5
- package/dist/src/icons/properties.d.ts +5 -5
- package/dist/src/icons/property.d.ts +5 -5
- package/dist/src/icons/pulse.d.ts +5 -5
- package/dist/src/icons/puzzlePiece.d.ts +5 -5
- package/dist/src/icons/queries.d.ts +5 -5
- package/dist/src/icons/queriesEditor.d.ts +5 -5
- package/dist/src/icons/queriesStatistics.d.ts +5 -5
- package/dist/src/icons/questionMark.d.ts +5 -5
- package/dist/src/icons/recoverySwap.d.ts +5 -5
- package/dist/src/icons/refresh.d.ts +5 -5
- package/dist/src/icons/remove.d.ts +5 -5
- package/dist/src/icons/repeat.d.ts +5 -5
- package/dist/src/icons/replicationFlow.d.ts +5 -5
- package/dist/src/icons/reset.d.ts +5 -5
- package/dist/src/icons/roadmap.d.ts +5 -5
- package/dist/src/icons/save.d.ts +5 -5
- package/dist/src/icons/saved.d.ts +5 -5
- package/dist/src/icons/scatterPlot.d.ts +5 -5
- package/dist/src/icons/search.d.ts +5 -5
- package/dist/src/icons/send.d.ts +5 -5
- package/dist/src/icons/serverHdd.d.ts +5 -5
- package/dist/src/icons/settings.d.ts +5 -5
- package/dist/src/icons/share.d.ts +5 -5
- package/dist/src/icons/shield.d.ts +5 -5
- package/dist/src/icons/slash.d.ts +5 -5
- package/dist/src/icons/smallCross.d.ts +5 -5
- package/dist/src/icons/smallMinus.d.ts +5 -5
- package/dist/src/icons/smallPlus.d.ts +5 -5
- package/dist/src/icons/smallTick.d.ts +5 -5
- package/dist/src/icons/speedometer.d.ts +5 -5
- package/dist/src/icons/stop.d.ts +5 -5
- package/dist/src/icons/stopwatch.d.ts +5 -5
- package/dist/src/icons/superadmin.d.ts +5 -5
- package/dist/src/icons/swapHorizontal.d.ts +5 -5
- package/dist/src/icons/swapVertical.d.ts +5 -5
- package/dist/src/icons/table.d.ts +5 -5
- package/dist/src/icons/tag.d.ts +5 -5
- package/dist/src/icons/terraform.d.ts +5 -5
- package/dist/src/icons/thumbsDown.d.ts +5 -5
- package/dist/src/icons/thumbsUp.d.ts +5 -5
- package/dist/src/icons/tick.d.ts +5 -5
- package/dist/src/icons/tickCircle.d.ts +5 -5
- package/dist/src/icons/ticket.d.ts +5 -5
- package/dist/src/icons/tiered.d.ts +5 -5
- package/dist/src/icons/time.d.ts +5 -5
- package/dist/src/icons/timelineAreaChart.d.ts +5 -5
- package/dist/src/icons/timelineBarChart.d.ts +5 -5
- package/dist/src/icons/timelineLineChart.d.ts +5 -5
- package/dist/src/icons/tools.d.ts +5 -5
- package/dist/src/icons/trash.d.ts +5 -5
- package/dist/src/icons/unlock.d.ts +5 -5
- package/dist/src/icons/unpin.d.ts +5 -5
- package/dist/src/icons/updated.d.ts +5 -5
- package/dist/src/icons/upload.d.ts +5 -5
- package/dist/src/icons/user.d.ts +5 -5
- package/dist/src/icons/visaCard.d.ts +5 -5
- package/dist/src/icons/warningSign.d.ts +5 -5
- package/dist/src/molecules/Accordion/Accordion.d.ts +7 -7
- package/dist/src/molecules/Accordion/Accordion.js +6 -6
- package/dist/src/molecules/Alert/Alert.d.ts +4 -4
- package/dist/src/molecules/Alert/Alert.js +1 -1
- package/dist/src/molecules/Avatar/Avatar.d.ts +2 -2
- package/dist/src/molecules/Badge/Badge.d.ts +4 -4
- package/dist/src/molecules/Badge/Badge.js +1 -1
- package/dist/src/molecules/Banner/Banner.d.ts +6 -6
- package/dist/src/molecules/Banner/Banner.js +1 -1
- package/dist/src/molecules/Box/Box.d.ts +6 -6
- package/dist/src/molecules/Box/Box.js +1 -1
- package/dist/src/molecules/Breadcrumbs/Breadcrumbs.d.ts +4 -4
- package/dist/src/molecules/Breadcrumbs/Breadcrumbs.js +1 -1
- package/dist/src/molecules/Button/Button.d.ts +76 -76
- package/dist/src/molecules/Button/Button.js +2 -2
- package/dist/src/molecules/Card/Card.d.ts +6 -6
- package/dist/src/molecules/Card/Card.js +5 -5
- package/dist/src/molecules/Card/CardInputWrapper.d.ts +1 -1
- package/dist/src/molecules/Card/Compact.d.ts +6 -6
- package/dist/src/molecules/Card/Compact.js +6 -6
- package/dist/src/molecules/Card/Group.d.ts +2 -2
- package/dist/src/molecules/Card/Group.js +2 -2
- package/dist/src/molecules/Card/types.d.ts +9 -9
- package/dist/src/molecules/Carousel/Carousel.d.ts +1 -1
- package/dist/src/molecules/Carousel/Carousel.js +2 -1
- package/dist/src/molecules/Checkbox/Checkbox.d.ts +2 -2
- package/dist/src/molecules/CheckboxGroup/CheckboxGroup.d.ts +3 -3
- package/dist/src/molecules/CheckboxGroup/CheckboxGroup.js +1 -1
- package/dist/src/molecules/Chip/Chip.d.ts +9 -9
- package/dist/src/molecules/Chip/Chip.js +2 -2
- package/dist/src/molecules/ChoiceChip/ChoiceChip.d.ts +1 -1
- package/dist/src/molecules/ChoiceChip/ChoiceChip.js +1 -1
- package/dist/src/molecules/Combobox/Combobox.d.ts +4 -4
- package/dist/src/molecules/Combobox/Combobox.js +2 -2
- package/dist/src/molecules/Container/Container.d.ts +2 -2
- package/dist/src/molecules/Container/Container.js +1 -1
- package/dist/src/molecules/Context/Context.d.ts +2 -2
- package/dist/src/molecules/ControlLabel/ControlLabel.d.ts +3 -3
- package/dist/src/molecules/ControlLabel/ControlLabel.js +1 -1
- package/dist/src/molecules/DataList/DataList.d.ts +9 -8
- package/dist/src/molecules/DataList/DataList.js +5 -5
- package/dist/src/molecules/DataList/DataListComponents.d.ts +5 -5
- package/dist/src/molecules/DataList/DataListComponents.js +16 -2
- package/dist/src/molecules/DataList/DataListContext.d.ts +2 -3
- package/dist/src/molecules/DataList/DataListContext.js +2 -1
- package/dist/src/molecules/DataList/DataListGroup.d.ts +2 -4
- package/dist/src/molecules/DataList/DataListGroup.js +15 -9
- package/dist/src/molecules/DataList/DataListSkeleton.d.ts +1 -1
- package/dist/src/molecules/DataList/DataListSkeleton.js +2 -2
- package/dist/src/molecules/DataList/DataListToolbar.d.ts +6 -6
- package/dist/src/molecules/DataList/DataListToolbar.js +2 -2
- package/dist/src/molecules/DataTable/DataTable.d.ts +4 -4
- package/dist/src/molecules/DataTable/DataTable.js +4 -3
- package/dist/src/molecules/DateField/DateField.d.ts +2 -2
- package/dist/src/molecules/DatePicker/Button.d.ts +1 -1
- package/dist/src/molecules/DatePicker/Button.js +2 -3
- package/dist/src/molecules/DatePicker/Calendar.d.ts +1 -1
- package/dist/src/molecules/DatePicker/DatePicker.d.ts +2 -2
- package/dist/src/molecules/DatePicker/DatePicker.js +3 -2
- package/dist/src/molecules/DatePicker/DateRangePicker.d.ts +2 -2
- package/dist/src/molecules/DatePicker/DateRangePicker.js +3 -2
- package/dist/src/molecules/DatePicker/Popover.d.ts +1 -1
- package/dist/src/molecules/DatePicker/RangeCalendar.d.ts +1 -1
- package/dist/src/molecules/Dialog/Dialog.d.ts +2 -2
- package/dist/src/molecules/Dialog/Dialog.js +1 -1
- package/dist/src/molecules/Divider/Divider.d.ts +3 -3
- package/dist/src/molecules/Divider/Divider.js +1 -1
- package/dist/src/molecules/Drawer/Drawer.d.ts +4 -4
- package/dist/src/molecules/Drawer/Drawer.js +6 -6
- package/dist/src/molecules/Dropdown/Dropdown.d.ts +3 -3
- package/dist/src/molecules/Dropdown/Dropdown.js +4 -2
- package/dist/src/molecules/DropdownMenu/DropdownMenu.d.ts +14 -14
- package/dist/src/molecules/DropdownMenu/DropdownMenu.js +3 -1
- package/dist/src/molecules/DropdownMenu/utils.d.ts +2 -3
- package/dist/src/molecules/DropdownMenu/utils.js +2 -2
- package/dist/src/molecules/Element/Element.d.ts +6 -6
- package/dist/src/molecules/Element/Element.js +2 -2
- package/dist/src/molecules/EmptyState/EmptyState.d.ts +5 -5
- package/dist/src/molecules/EmptyState/EmptyState.js +2 -2
- package/dist/src/molecules/Flexbox/Flexbox.d.ts +2 -2
- package/dist/src/molecules/Flexbox/FlexboxItem.d.ts +2 -2
- package/dist/src/molecules/Grid/Grid.d.ts +4 -6
- package/dist/src/molecules/Grid/Grid.js +1 -1
- package/dist/src/molecules/Grid/GridItem.d.ts +2 -2
- package/dist/src/molecules/Icon/Icon.d.ts +2 -2
- package/dist/src/molecules/Icon/Icon.js +1 -1
- package/dist/src/molecules/Input/Input.d.ts +5 -5
- package/dist/src/molecules/Input/Input.js +8 -5
- package/dist/src/molecules/ItemList/ItemList.d.ts +39 -0
- package/dist/src/molecules/ItemList/ItemList.js +74 -0
- package/dist/src/molecules/ItemList/ItemList.spec.d.ts +24 -0
- package/dist/src/molecules/ItemList/ItemList.spec.js +100 -0
- package/dist/src/molecules/ItemList/types.d.ts +114 -0
- package/dist/src/molecules/ItemList/types.js +2 -0
- package/dist/src/molecules/LineClamp/LineClamp.d.ts +2 -2
- package/dist/src/molecules/List/List.d.ts +6 -6
- package/dist/src/molecules/List/List.js +1 -1
- package/dist/src/molecules/List/useStaticInfiniteList.d.ts +2 -2
- package/dist/src/molecules/List/useStaticInfiniteList.js +1 -1
- package/dist/src/molecules/ListItem/ListItem.d.ts +1 -2
- package/dist/src/molecules/Modal/Modal.d.ts +2 -2
- package/dist/src/molecules/Modal/Modal.js +5 -5
- package/dist/src/molecules/Modal/ModalTitle.d.ts +1 -1
- package/dist/src/molecules/MultiInput/InputChip.d.ts +1 -1
- package/dist/src/molecules/MultiInput/InputChip.js +1 -1
- package/dist/src/molecules/MultiInput/MultiInput.d.ts +4 -4
- package/dist/src/molecules/MultiInput/MultiInput.js +12 -8
- package/dist/src/molecules/MultiSelect/MultiSelect.d.ts +7 -7
- package/dist/src/molecules/MultiSelect/MultiSelect.js +1 -1
- package/dist/src/molecules/NativeSelect/NativeSelect.d.ts +5 -5
- package/dist/src/molecules/NativeSelect/NativeSelect.js +1 -1
- package/dist/src/molecules/Navigation/Navigation.d.ts +2 -3
- package/dist/src/molecules/PageHeader/PageHeader.d.ts +10 -10
- package/dist/src/molecules/PageHeader/PageHeader.js +8 -3
- package/dist/src/molecules/Pagination/Pagination.d.ts +3 -3
- package/dist/src/molecules/Pagination/Pagination.js +1 -1
- package/dist/src/molecules/Pagination/usePagination.d.ts +2 -2
- package/dist/src/molecules/Pagination/usePagination.js +8 -5
- package/dist/src/molecules/Popover/Popover.d.ts +6 -6
- package/dist/src/molecules/Popover/Popover.js +1 -1
- package/dist/src/molecules/Popover/PopoverContext.d.ts +2 -3
- package/dist/src/molecules/Popover/PopoverContext.js +1 -1
- package/dist/src/molecules/Popover/PopoverOverlay.d.ts +15 -15
- package/dist/src/molecules/Popover/PopoverOverlay.js +1 -1
- package/dist/src/molecules/PopoverDialog/PopoverDialog.d.ts +2 -2
- package/dist/src/molecules/PopoverDialog/PopoverDialog.js +1 -1
- package/dist/src/molecules/Portal/Portal.d.ts +1 -1
- package/dist/src/molecules/ProgressBar/ProgressBar.d.ts +3 -3
- package/dist/src/molecules/ProgressBar/ProgressBar.js +1 -1
- package/dist/src/molecules/RadioButton/RadioButton.d.ts +2 -2
- package/dist/src/molecules/RadioButtonGroup/RadioButtonGroup.d.ts +5 -5
- package/dist/src/molecules/RadioButtonGroup/RadioButtonGroup.js +2 -1
- package/dist/src/molecules/Section/Section.d.ts +9 -9
- package/dist/src/molecules/Section/Section.js +6 -6
- package/dist/src/molecules/SegmentedControl/SegmentedControl.d.ts +6 -6
- package/dist/src/molecules/Select/Select.d.ts +11 -11
- package/dist/src/molecules/Select/Select.js +2 -1
- package/dist/src/molecules/Skeleton/Skeleton.d.ts +2 -2
- package/dist/src/molecules/Skeleton/Skeleton.js +1 -1
- package/dist/src/molecules/Spacing/Spacing.d.ts +1 -1
- package/dist/src/molecules/Stepper/Stepper.d.ts +2 -2
- package/dist/src/molecules/Stepper/Stepper.js +1 -1
- package/dist/src/molecules/Switch/Switch.d.ts +2 -2
- package/dist/src/molecules/SwitchGroup/SwitchGroup.d.ts +2 -2
- package/dist/src/molecules/SwitchGroup/SwitchGroup.js +1 -1
- package/dist/src/molecules/Table/Table.d.ts +1 -1
- package/dist/src/molecules/Tabs/Tabs.d.ts +15 -63
- package/dist/src/molecules/Tabs/Tabs.js +3 -2
- package/dist/src/molecules/TagLabel/TagLabel.d.ts +1 -1
- package/dist/src/molecules/TagLabel/TagLabel.js +1 -1
- package/dist/src/molecules/Tailwindify/Tailwindify.d.ts +4 -4
- package/dist/src/molecules/Tailwindify/Tailwindify.js +1 -1
- package/dist/src/molecules/Template/Template.d.ts +2 -2
- package/dist/src/molecules/Template/Template.js +1 -1
- package/dist/src/molecules/Textarea/Textarea.d.ts +4 -4
- package/dist/src/molecules/Textarea/Textarea.js +4 -2
- package/dist/src/molecules/TimeField/TimeField.d.ts +2 -2
- package/dist/src/molecules/TimePicker/TimePicker.d.ts +2 -2
- package/dist/src/molecules/TimePicker/TimePicker.js +1 -1
- package/dist/src/molecules/Timeline/Timeline.d.ts +3 -3
- package/dist/src/molecules/Timeline/Timeline.js +1 -1
- package/dist/src/molecules/Toast/Toast.d.ts +1 -1
- package/dist/src/molecules/Toast/Toast.js +3 -4
- package/dist/src/molecules/Toast/types.d.ts +8 -8
- package/dist/src/molecules/Tooltip/Tooltip.d.ts +2 -2
- package/dist/src/molecules/Tooltip/Tooltip.js +1 -1
- package/dist/src/molecules/Tooltip/useTooltipTriggerState.d.ts +1 -1
- package/dist/src/molecules/Tooltip/useTooltipTriggerState.js +2 -1
- package/dist/src/molecules/Transition/Transition.d.ts +3 -3
- package/dist/src/molecules/Transition/Transition.js +1 -1
- package/dist/src/molecules/Typography/Typography.d.ts +8 -12
- package/dist/src/molecules/Typography/Typography.js +1 -1
- package/dist/src/molecules/index.d.ts +3 -1
- package/dist/src/molecules/index.js +4 -1
- package/dist/src/test/config.d.ts +1 -1
- package/dist/src/test/config.js +1 -1
- package/dist/src/utils/Blueprint.d.ts +1 -1
- package/dist/src/utils/ContrastRatio.d.ts +1 -1
- package/dist/src/utils/ContrastRatio.js +1 -1
- package/dist/src/utils/actions.d.ts +3 -3
- package/dist/src/utils/actions.js +1 -1
- package/dist/src/utils/breakpoints.d.ts +5 -8
- package/dist/src/utils/breakpoints.js +1 -1
- package/dist/src/utils/createComponent.d.ts +3 -3
- package/dist/src/utils/createComponent.js +1 -1
- package/dist/src/utils/form/CharCounter/CharCounter.d.ts +1 -1
- package/dist/src/utils/form/FormControl/FormControl.d.ts +1 -1
- package/dist/src/utils/form/HelperText/HelperText.d.ts +1 -1
- package/dist/src/utils/form/HelperText/HelperText.js +1 -1
- package/dist/src/utils/form/InputAdornment/InputAdornment.d.ts +2 -2
- package/dist/src/utils/form/Label/Label.d.ts +4 -4
- package/dist/src/utils/form/Label/Label.js +1 -1
- package/dist/src/utils/link.d.ts +1 -1
- package/dist/src/utils/link.js +2 -2
- package/dist/src/utils/mocks/mockRecharts.js +1 -1
- package/dist/src/utils/mocks/mockResizeObservable.js +1 -1
- package/dist/src/utils/object.d.ts +1 -1
- package/dist/src/utils/object.js +1 -1
- package/dist/src/utils/positioner.d.ts +3 -3
- package/dist/src/utils/positioner.js +5 -2
- package/dist/src/utils/stickyStyles.d.ts +3 -3
- package/dist/src/utils/stickyStyles.js +2 -2
- package/dist/src/utils/table/sortByColumn.d.ts +3 -0
- package/dist/src/utils/table/sortByColumn.js +23 -0
- package/dist/src/utils/table/types.d.ts +63 -43
- package/dist/src/utils/table/types.js +4 -1
- package/dist/src/utils/table/useScrollTarget.d.ts +2 -2
- package/dist/src/utils/table/useScrollTarget.js +1 -1
- package/dist/src/utils/table/useSortState.d.ts +15 -0
- package/dist/src/utils/table/useSortState.js +3 -0
- package/dist/src/utils/table/useTableSelect.d.ts +3 -5
- package/dist/src/utils/table/useTableSelect.js +1 -1
- package/dist/src/utils/table/useTableSort.d.ts +5 -5
- package/dist/src/utils/table/useTableSort.js +3 -3
- package/dist/src/utils/table/utils.d.ts +2 -2
- package/dist/src/utils/table/utils.js +3 -3
- package/dist/src/utils/tailwind.d.ts +1 -2
- package/dist/src/utils/tailwind.js +2 -6
- package/dist/src/utils/useInView.d.ts +3 -3
- package/dist/src/utils/useInView.js +2 -4
- package/dist/src/utils/useMeasure.d.ts +1 -1
- package/dist/src/utils/useMeasure.js +4 -2
- package/dist/src/utils/useStyle.d.ts +3 -4
- package/dist/src/utils/useStyle.js +1 -1
- package/dist/src/utils/useWindowSize.d.ts +1 -1
- package/dist/src/utils/useWindowSize.js +1 -1
- package/dist/styles.css +18 -0
- package/dist/system.cjs +295 -132
- package/dist/system.mjs +254 -94
- package/dist/tsconfig.module.tsbuildinfo +1 -1
- package/dist/types/ActionType.d.ts +6 -6
- package/dist/types/ContextualMenu.d.ts +4 -4
- package/dist/types/ContextualMenu.js +1 -1
- package/dist/types/DimensionProps.d.ts +2 -2
- package/dist/types/IconProps.d.ts +4 -4
- package/dist/types/designTokens.d.ts +25 -35
- package/dist/types/tailwind.d.ts +21 -29
- package/dist/types/tailwindGenerated.d.ts +1 -1
- package/dist/types/utils.d.ts +10 -10
- package/package.json +17 -19
@@ -1,20 +1,20 @@
|
|
1
|
-
import {
|
2
|
-
import {
|
3
|
-
export
|
1
|
+
import type { IconProps } from './IconProps';
|
2
|
+
import type { TooltipProps } from '../src/molecules';
|
3
|
+
export type BaseActionType = {
|
4
4
|
icon?: IconProps['icon'];
|
5
5
|
iconPlacement?: 'left' | 'right';
|
6
6
|
disabled?: boolean;
|
7
7
|
tooltip?: string;
|
8
8
|
tooltipPlacement?: TooltipProps['placement'];
|
9
9
|
};
|
10
|
-
export
|
10
|
+
export type ActionType = BaseActionType & {
|
11
11
|
onClick: () => void;
|
12
12
|
text: string;
|
13
13
|
};
|
14
|
-
export
|
14
|
+
export type AsyncActionType = ActionType & {
|
15
15
|
loading?: boolean;
|
16
16
|
};
|
17
|
-
export
|
17
|
+
export type LinkActionType = BaseActionType & {
|
18
18
|
onClick?: () => void;
|
19
19
|
href: string;
|
20
20
|
text: string;
|
@@ -1,8 +1,8 @@
|
|
1
|
-
import {
|
2
|
-
import {
|
3
|
-
import {
|
1
|
+
import type { Key } from 'react';
|
2
|
+
import type { DropdownMenuItemsComponent } from '../src/molecules/DropdownMenu/DropdownMenu';
|
3
|
+
import type { PopoverPlacement } from '../src/molecules/Popover/Popover';
|
4
4
|
export declare const defaultContextualMenuPlacement: PopoverPlacement;
|
5
|
-
export
|
5
|
+
export type CommonContextualMenuProps = {
|
6
6
|
/**
|
7
7
|
* Menu items definition. Can either be static collection of items or callback function
|
8
8
|
* that returns the items.
|
@@ -1,2 +1,2 @@
|
|
1
1
|
export const defaultContextualMenuPlacement = 'bottom-right';
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiQ29udGV4dHVhbE1lbnUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi90eXBlcy9Db250ZXh0dWFsTWVudS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFJQSxNQUFNLENBQUMsTUFBTSw4QkFBOEIsR0FBcUIsY0FBYyxDQUFDIn0=
|
@@ -1,3 +1,3 @@
|
|
1
|
-
|
2
|
-
export
|
1
|
+
type RelativeSize = `${number}%`;
|
2
|
+
export type LimitedCssDimension = RelativeSize | number | 'auto';
|
3
3
|
export {};
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import {
|
2
|
-
import {
|
3
|
-
export
|
4
|
-
export
|
1
|
+
import type { IconProps as IconifyProps } from '@iconify/react';
|
2
|
+
import type { IconifyIcon } from '@iconify/types';
|
3
|
+
export type Icon = IconifyIcon;
|
4
|
+
export type IconProps = Omit<IconifyProps, 'color'>;
|
@@ -1,12 +1,12 @@
|
|
1
1
|
import type tokens from '../src/tokens/tokens.json';
|
2
|
-
|
3
|
-
export
|
4
|
-
export
|
5
|
-
export
|
6
|
-
export
|
7
|
-
export
|
8
|
-
export
|
9
|
-
export
|
2
|
+
type FlattenKeys<T extends Record<string, unknown>, Prefix extends string = '', Key = keyof T> = Key extends string ? T[Key] extends Record<string, unknown> ? FlattenKeys<T[Key], Key> : Prefix extends '' ? Key : `${Prefix}-${Key}` : never;
|
3
|
+
export type ColorName = FlattenKeys<typeof tokens.colors>;
|
4
|
+
export type TextColorName = ColorName | FlattenKeys<typeof tokens.textColor>;
|
5
|
+
export type BackgroundColorName = ColorName | FlattenKeys<typeof tokens.backgroundColor>;
|
6
|
+
export type BorderColorName = ColorName | FlattenKeys<typeof tokens.borderColor>;
|
7
|
+
export type TypographyFontWeight = 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900;
|
8
|
+
export type TypographyTextTransform = 'capitalize' | 'inherit' | 'initial' | 'lowercase' | 'none' | 'uppercase';
|
9
|
+
export type TypographyCSSStyles = {
|
10
10
|
fontFamily: string;
|
11
11
|
fontWeight: TypographyFontWeight;
|
12
12
|
fontSize: string;
|
@@ -15,7 +15,7 @@ export declare type TypographyCSSStyles = {
|
|
15
15
|
letterSpacing: number;
|
16
16
|
textTransform: TypographyTextTransform;
|
17
17
|
};
|
18
|
-
export
|
18
|
+
export type TypographyName = 'large-heading' | 'heading' | 'subheading' | 'large-strong' | 'large' | 'default-strong' | 'default' | 'small-strong' | 'small' | 'caption' | 'code' | 'code-strong' | 'code-small' | 'code-small-strong' | 'caption-small' | 'caption-default' | 'overline-small' | 'overline-default' | 'button-small' | 'button-medium' | 'button-large' | 'body-small' | 'body-small-medium' | 'body-default' | 'body-default-medium' | 'body-large' | 'body-large-medium' | 'heading-large' | 'heading-xl' | 'heading-2xl' | 'heading-3xl' | 'heading-4xl' | 'heading-5xl';
|
19
19
|
export interface TypographySize {
|
20
20
|
name: TypographyName;
|
21
21
|
className: string;
|
@@ -25,38 +25,28 @@ export interface TypographySize {
|
|
25
25
|
export interface Typography {
|
26
26
|
sizes: TypographySize[];
|
27
27
|
}
|
28
|
-
export
|
29
|
-
export
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
};
|
38
|
-
};
|
39
|
-
export declare type ElevationLevel = FlattenKeys<typeof tokens.elevations>;
|
40
|
-
export declare type Elevations = {
|
41
|
-
[level in ElevationLevel]: string;
|
42
|
-
};
|
28
|
+
export type HexColorString = string;
|
29
|
+
export type Colors = Record<ColorName, HexColorString>;
|
30
|
+
export type SpacingLevel = FlattenKeys<typeof tokens.spacing>;
|
31
|
+
export type Spacing = Record<SpacingLevel, {
|
32
|
+
px: number;
|
33
|
+
rem: number;
|
34
|
+
}>;
|
35
|
+
export type ElevationLevel = FlattenKeys<typeof tokens.elevations>;
|
36
|
+
export type Elevations = Record<ElevationLevel, string>;
|
43
37
|
export interface Theme {
|
44
38
|
typography: Typography;
|
45
39
|
colors: Colors;
|
46
40
|
spacing: Spacing;
|
47
41
|
elevations: Elevations;
|
48
42
|
}
|
49
|
-
export
|
43
|
+
export type ThemeName = 'aiven';
|
50
44
|
export interface Tokens {
|
51
|
-
themes:
|
52
|
-
[key in ThemeName]: Theme;
|
53
|
-
};
|
54
|
-
}
|
55
|
-
export interface Icons {
|
56
|
-
[name: string]: {
|
57
|
-
figmaId: string;
|
58
|
-
paths: string[];
|
59
|
-
svg: string;
|
60
|
-
};
|
45
|
+
themes: Record<ThemeName, Theme>;
|
61
46
|
}
|
47
|
+
export type Icons = Record<string, {
|
48
|
+
figmaId: string;
|
49
|
+
paths: string[];
|
50
|
+
svg: string;
|
51
|
+
}>;
|
62
52
|
export {};
|
package/dist/types/tailwind.d.ts
CHANGED
@@ -1,27 +1,21 @@
|
|
1
|
-
import {
|
1
|
+
import type { ClassNames } from './tailwindGenerated';
|
2
2
|
import type partialThemeJson from '../tailwind.theme.json';
|
3
|
-
export
|
4
|
-
|
5
|
-
|
6
|
-
export
|
7
|
-
export
|
8
|
-
readonly [key in Breakpoint]: string;
|
9
|
-
};
|
10
|
-
export declare type Breakpointable<T> = T | {
|
11
|
-
[key in Breakpoint]?: T;
|
12
|
-
};
|
13
|
-
export declare type ObjectBreakpointable<T extends AnyObject> = {
|
3
|
+
export type AnyObject = Record<string, any>;
|
4
|
+
export type Breakpoint = keyof (typeof partialThemeJson)['screens'];
|
5
|
+
export type BreakpointsObject = Readonly<Record<Breakpoint, string>>;
|
6
|
+
export type Breakpointable<T> = Partial<Record<Breakpoint, T>> | T;
|
7
|
+
export type ObjectBreakpointable<T extends AnyObject> = {
|
14
8
|
[K in keyof T]: Breakpointable<T[K]>;
|
15
9
|
};
|
16
|
-
export
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
10
|
+
export type TailwindClass = ClassNames;
|
11
|
+
type Whitespace = ' ' | '\n';
|
12
|
+
type RecursionReducingWhitespace = ' ' | ' ' | ' ' | ' ' | ' ' | ' ' | ' ' | ' ' | ' ' | '\n';
|
13
|
+
type Err<Message extends string> = `Error: ${Message}`;
|
14
|
+
type TrimEnd<T extends string> = T extends `${infer Rest}${RecursionReducingWhitespace}` ? TrimEnd<Rest> : T;
|
15
|
+
type TrimStart<T extends string> = T extends `${RecursionReducingWhitespace}${infer Rest}` ? TrimStart<Rest> : T;
|
16
|
+
type Trim<T extends string> = TrimEnd<TrimStart<T>>;
|
17
|
+
type SplitToTailwindClasses<T extends string> = SplitToTailwindClassesInner<Trim<T>>;
|
18
|
+
type SplitToTailwindClassesInner<T extends string> = T extends `${TailwindClass}${Whitespace}${infer Tail}` ? T extends `${infer Head}${Whitespace}${Tail}` ? Head extends TailwindClass ? [
|
25
19
|
Head,
|
26
20
|
...SplitToTailwindClassesInner<Trim<Tail>>
|
27
21
|
] : [
|
@@ -29,14 +23,12 @@ declare type SplitToTailwindClassesInner<T extends string> = T extends `${Tailwi
|
|
29
23
|
] : [never] : T extends `${infer Tail}` ? Tail extends TailwindClass ? [Tail] : [
|
30
24
|
Err<`'${Tail}' is not a valid Tailwind class`>
|
31
25
|
] : [never];
|
32
|
-
|
33
|
-
export
|
34
|
-
|
35
|
-
|
36
|
-
};
|
37
|
-
export declare type TailwindClassNamesObject<T extends ClassNamesObject> = {
|
26
|
+
type GetFirstError<T extends unknown[]> = T extends [infer Head, ...infer Tail] ? Head extends `Error: ${infer Message}` ? Head : GetFirstError<Tail> : never;
|
27
|
+
export type ValidTailwindClassesString<T extends string> = string extends T ? Err<'Unexpected generic string'> : SplitToTailwindClasses<T> extends TailwindClass[] ? T : GetFirstError<SplitToTailwindClasses<T>>;
|
28
|
+
type ClassNamesObject = Record<string, boolean>;
|
29
|
+
export type TailwindClassNamesObject<T extends ClassNamesObject> = {
|
38
30
|
[K in string & keyof T]: K extends ValidTailwindClassesString<K> ? T[K] : ValidTailwindClassesString<K>;
|
39
31
|
};
|
40
|
-
export
|
41
|
-
export
|
32
|
+
export type TailwindClassNamesArray<UnvalidatedItems extends unknown[], Validated extends unknown[] = []> = UnvalidatedItems extends [] ? Validated : UnvalidatedItems extends [infer Head, ...infer Rest] ? Head extends string ? Head extends ValidTailwindClassesString<Head> ? TailwindClassNamesArray<Rest, [...Validated, Head]> : ValidTailwindClassesString<Head> : never : never;
|
33
|
+
export type TailwindClassParameterValue<S> = S extends string ? ValidTailwindClassesString<S> : S extends any[] ? TailwindClassNamesArray<S> : S extends ClassNamesObject ? TailwindClassNamesObject<S> : never;
|
42
34
|
export {};
|
@@ -1 +1 @@
|
|
1
|
-
export declare type ClassNames = "-left-1\/2" | "-m-2" | "-mt-4" | "-mx-4" | "-translate-x-1\/2" | "-translate-y-1\/2" | "-z-10" | "Aquarium-Alert\.Banner" | "Aquarium-Button\.Primary" | "Aquarium-Button\.Secondary" | "Aquarium-Card" | "Aquarium-Checkbox" | "Aquarium-Collapsible-Section" | "Aquarium-DropdownMenu\.Item" | "Aquarium-Dropdown\.Item" | "Aquarium-Switch" | "Aquarium-Toast" | "Aquarium-Tooltip" | "\!container" | "\!hidden" | "\!inline" | "\!table" | "\[\&\:\:-webkit-search-cancel-button\]\:appearance-none" | "\[\&\>\*\:not\(\:first-child\)\]\:-ml-3" | "\[\&\>\*\]\:bg-primary-active" | "\[\&\>\*\]\:border-b-transparent" | "\[\&\>\*\]\:hover\:bg-muted" | "\[\&\>button\]\:p-0" | "\[\&\>button\]\:text-danger-muted" | "\[\&\>button\]\:text-muted" | "\[\&\>div\:first-child\]\:px-3" | "\[\&\>div\:first-child\]\:px-5" | "\[\&\>path\]\:stroke-\[3px\]" | "\[\&\>path\]\:stroke-transparent" | "\[\&_td\]\:px-0" | "\[\[data-placement\]\>\&\]\:px-5" | "\[\[data-placement\]\>\&\]\:py-6" | "absolute" | "active\:bg-body" | "active\:bg-primary-active" | "active\:bg-primary-intense" | "active\:bg-transparent" | "active\:ring-0" | "active\:ring-primary-default" | "active\:text-default" | "active\:text-muted" | "active\:text-primary-active" | "active\:text-primary-intense" | "align-middle" | "animate-pulse" | "appearance-none" | "aquarium-theme-dark" | "aspect-square" | "auto-cols-fr" | "before\:content-\[\'_\'\]" | "bg-black" | "bg-body" | "bg-body-intense" | "bg-cover" | "bg-current" | "bg-danger-default" | "bg-danger-intense" | "bg-danger-muted" | "bg-default" | "bg-error-0" | "bg-error-10" | "bg-error-100" | "bg-error-20" | "bg-error-30" | "bg-error-40" | "bg-error-5" | "bg-error-50" | "bg-error-60" | "bg-error-70" | "bg-error-80" | "bg-error-90" | "bg-gradient-to-l" | "bg-gradient-to-r" | "bg-grey-0" | "bg-grey-10" | "bg-grey-100" | "bg-grey-20" | "bg-grey-30" | "bg-grey-40" | "bg-grey-5" | "bg-grey-50" | "bg-grey-60" | "bg-grey-70" | "bg-grey-80" | "bg-grey-90" | "bg-icon-button-hover" | "bg-info-0" | "bg-info-10" | "bg-info-100" | "bg-info-20" | "bg-info-30" | "bg-info-40" | "bg-info-5" | "bg-info-50" | "bg-info-60" | "bg-info-70" | "bg-info-80" | "bg-info-90" | "bg-info-default" | "bg-info-intense" | "bg-info-muted" | "bg-intense" | "bg-muted" | "bg-popover-content" | "bg-primary-0" | "bg-primary-10" | "bg-primary-100" | "bg-primary-20" | "bg-primary-30" | "bg-primary-40" | "bg-primary-5" | "bg-primary-50" | "bg-primary-60" | "bg-primary-70" | "bg-primary-80" | "bg-primary-90" | "bg-primary-active" | "bg-primary-default" | "bg-primary-hover" | "bg-primary-intense" | "bg-primary-muted" | "bg-secondary-0" | "bg-secondary-10" | "bg-secondary-100" | "bg-secondary-20" | "bg-secondary-30" | "bg-secondary-40" | "bg-secondary-5" | "bg-secondary-50" | "bg-secondary-60" | "bg-secondary-70" | "bg-secondary-80" | "bg-secondary-90" | "bg-status-announcement" | "bg-status-danger" | "bg-status-info" | "bg-status-success" | "bg-status-warning" | "bg-success-0" | "bg-success-10" | "bg-success-100" | "bg-success-20" | "bg-success-30" | "bg-success-40" | "bg-success-5" | "bg-success-50" | "bg-success-60" | "bg-success-70" | "bg-success-80" | "bg-success-90" | "bg-success-default" | "bg-success-intense" | "bg-success-muted" | "bg-transparent" | "bg-warning-0" | "bg-warning-10" | "bg-warning-100" | "bg-warning-20" | "bg-warning-30" | "bg-warning-40" | "bg-warning-5" | "bg-warning-50" | "bg-warning-60" | "bg-warning-70" | "bg-warning-80" | "bg-warning-90" | "bg-warning-default" | "bg-warning-intense" | "bg-warning-muted" | "bg-white" | "block" | "blur" | "border" | "border-0" | "border-2" | "border-\[2px\]" | "border-b" | "border-b-1" | "border-b-2" | "border-b-transparent" | "border-black" | "border-current" | "border-danger-default" | "border-danger-intense" | "border-danger-muted" | "border-dashed" | "border-default" | "border-error-0" | "border-error-10" | "border-error-100" | "border-error-20" | "border-error-30" | "border-error-40" | "border-error-5" | "border-error-50" | "border-error-60" | "border-error-70" | "border-error-80" | "border-error-90" | "border-grey-0" | "border-grey-10" | "border-grey-100" | "border-grey-20" | "border-grey-30" | "border-grey-40" | "border-grey-5" | "border-grey-50" | "border-grey-60" | "border-grey-70" | "border-grey-80" | "border-grey-90" | "border-info-0" | "border-info-10" | "border-info-100" | "border-info-20" | "border-info-30" | "border-info-40" | "border-info-5" | "border-info-50" | "border-info-60" | "border-info-70" | "border-info-80" | "border-info-90" | "border-info-default" | "border-info-intense" | "border-info-muted" | "border-intense" | "border-muted" | "border-none" | "border-primary-0" | "border-primary-10" | "border-primary-100" | "border-primary-20" | "border-primary-30" | "border-primary-40" | "border-primary-5" | "border-primary-50" | "border-primary-60" | "border-primary-70" | "border-primary-80" | "border-primary-90" | "border-primary-default" | "border-primary-intense" | "border-primary-muted" | "border-r-1" | "border-secondary-0" | "border-secondary-10" | "border-secondary-100" | "border-secondary-20" | "border-secondary-30" | "border-secondary-40" | "border-secondary-5" | "border-secondary-50" | "border-secondary-60" | "border-secondary-70" | "border-secondary-80" | "border-secondary-90" | "border-separate" | "border-solid" | "border-spacing-0" | "border-success-0" | "border-success-10" | "border-success-100" | "border-success-20" | "border-success-30" | "border-success-40" | "border-success-5" | "border-success-50" | "border-success-60" | "border-success-70" | "border-success-80" | "border-success-90" | "border-success-default" | "border-success-intense" | "border-success-muted" | "border-t-2" | "border-transparent" | "border-warning-0" | "border-warning-10" | "border-warning-100" | "border-warning-20" | "border-warning-30" | "border-warning-40" | "border-warning-5" | "border-warning-50" | "border-warning-60" | "border-warning-70" | "border-warning-80" | "border-warning-90" | "border-warning-default" | "border-warning-intense" | "border-warning-muted" | "border-white" | "bottom-0" | "break-all" | "break-words" | "capitalize" | "caret-transparent" | "checked\:bg-primary-default" | "checked\:bg-primary-muted" | "checked\:border-primary-default" | "checked\:border-transparent" | "checked\:opacity-50" | "checked\:shadow-bodyInset" | "children\:border-default" | "children\:inline-block" | "children\:last\:border-b-0" | "children\:opacity-70" | "col-span-full" | "col-start-1" | "col-start-2" | "col-start-3" | "collapse" | "container" | "contents" | "cursor-default" | "cursor-not-allowed" | "cursor-pointer" | "delay-150" | "delay-300" | "disabled\:bg-body" | "disabled\:bg-default" | "disabled\:bg-muted" | "disabled\:bg-primary-muted" | "disabled\:bg-transparent" | "disabled\:border-default" | "disabled\:cursor-not-allowed" | "disabled\:ring-primary-muted" | "disabled\:text-inactive" | "disabled\:text-primary-inactive" | "divide-grey-20" | "divide-x" | "duration-200" | "duration-300" | "ease-in-out" | "file\:bg-transparent" | "file\:border-0" | "file\:mr-4" | "file\:p-0" | "file\:text-primary-intense" | "file\:typography-small-strong" | "fill-error-10" | "fill-primary-10" | "fill-success-10" | "fill-warning-20" | "fill-white" | "filter" | "first\:mt-0" | "fixed" | "flex" | "flex-1" | "flex-col" | "flex-grow" | "flex-nowrap" | "flex-row" | "flex-row-reverse" | "flex-wrap" | "focus-visible\:bg-muted" | "focus-visible\:border-info-default" | "focus-visible\:outline-0" | "focus-visible\:outline-none" | "focus-visible\:relative" | "focus-visible\:ring-1" | "focus-visible\:ring-2" | "focus-visible\:ring-info-default" | "focus-visible\:ring-inset" | "focus-visible\:ring-offset-0" | "focus-visible\:ring-primary-default" | "focus-visible\:ring-primary-intense" | "focus-visible\:text-intense" | "focus-visible\:text-primary-active" | "focus-visible\:text-primary-intense" | "focus-visible\:z-50" | "focus\:bg-danger-default" | "focus\:bg-intense" | "focus\:border-info-default" | "focus\:border-transparent" | "focus\:outline-none" | "focus\:ring-0" | "focus\:text-primary-intense" | "focusable" | "font-normal" | "font-semibold" | "from-white" | "gap-0" | "gap-1" | "gap-2" | "gap-3" | "gap-4" | "gap-5" | "gap-7" | "gap-8" | "gap-x-2" | "gap-x-3" | "gap-x-4" | "gap-x-5" | "gap-x-6" | "gap-y-2" | "grayscale" | "grid" | "grid-cols-1" | "grid-cols-2" | "grid-cols-3" | "grid-cols-\[16px_1fr\]" | "grid-cols-\[1fr_auto\]" | "grid-cols-\[200px_1fr_200px\]" | "grid-cols-\[auto_1fr\]" | "grid-cols-\[auto_1fr_auto\]" | "grid-flow-col" | "group" | "group-hover\:bg-default" | "group-hover\:bg-muted" | "group-hover\:bg-primary-default" | "group-hover\:opacity-100" | "group-hover\:visible" | "group-invalid\:bg-danger-default" | "group-invalid\:group-hover\:bg-danger-default" | "group-invalid\:group-pressed\:bg-danger-intense" | "group-placement-bottom\:rotate-180" | "group-placement-left\:-rotate-90" | "group-placement-right\:rotate-90" | "group-pressed\:bg-intense" | "group-pressed\:bg-primary-intense" | "grow" | "grow-0" | "h-1" | "h-1px" | "h-2" | "h-3" | "h-4" | "h-5" | "h-6" | "h-8" | "h-\[120px\]" | "h-\[174px\]" | "h-\[1px\]" | "h-\[20px\]" | "h-\[225px\]" | "h-\[25px\]" | "h-\[2px\]" | "h-\[32px\]" | "h-\[3px\]" | "h-\[50px\]" | "h-\[56px\]" | "h-\[6px\]" | "h-\[72px\]" | "h-\[8px\]" | "h-\[9px\]" | "h-auto" | "h-dvh" | "h-full" | "hidden" | "hover\:bg-danger-muted" | "hover\:bg-default" | "hover\:bg-icon-button-hover" | "hover\:bg-intense" | "hover\:bg-muted" | "hover\:bg-primary-hover" | "hover\:bg-primary-intense" | "hover\:border-intense" | "hover\:checked\:bg-primary-intense" | "hover\:cursor-pointer" | "hover\:ring-primary-default" | "hover\:text-intense" | "hover\:text-primary-active" | "hover\:text-primary-default" | "hover\:text-primary-intense" | "hover\:underline" | "icon-stroke-2" | "inactive" | "inline" | "inline-block" | "inline-flex" | "inline-grid" | "inset-0" | "inset-y-0" | "invalid\:bg-danger-default" | "invalid\:selected\:bg-danger-default" | "invisible" | "italic" | "items-center" | "items-stretch" | "justify-between" | "justify-center" | "justify-end" | "justify-self-center" | "justify-start" | "last\:border-r-0" | "leading-\[0px\]" | "leading-\[18px\]" | "leading-none" | "leading-tight" | "left-0" | "left-1\/2" | "left-2" | "line-clamp-1" | "line-clamp-2" | "line-clamp-3" | "line-clamp-4" | "line-clamp-5" | "line-clamp-6" | "line-through" | "m-3" | "m-4" | "m-\[1px\]" | "max-h-\[inherit\]" | "max-h-full" | "max-w-\[300px\]" | "max-w-\[320px\]" | "max-w-\[600px\]" | "max-w-\[70px\]" | "max-w-\[940px\]" | "max-w-screen-lg" | "max-w-screen-md" | "max-w-screen-sm" | "max-w-screen-xl" | "max-w-screen-xs" | "mb-2" | "mb-3" | "mb-5" | "mb-6" | "mb-\[-20px\]" | "mb-\[-2px\]" | "mb-\[7px\]" | "min-h-\[120px\]" | "min-h-\[50px\]" | "min-h-full" | "min-w-0" | "min-w-\[150px\]" | "min-w-\[200px\]" | "min-w-\[210px\]" | "min-w-\[280px\]" | "min-w-full" | "ml-2" | "ml-3" | "mr-4" | "mt-1" | "mt-2" | "mt-4" | "mt-5" | "mt-auto" | "mx-0" | "mx-1" | "mx-2" | "mx-3" | "mx-7" | "my-1" | "my-4" | "no-arrow" | "no-arrows" | "no-underline" | "object-cover" | "opacity-0" | "opacity-100" | "opacity-40" | "opacity-50" | "opacity-70" | "origin-\[0\%_45\%\]" | "outline" | "outline-0" | "outline-2" | "outline-none" | "outline-offset-2" | "outline-primary-default" | "outside-month\:text-inactive" | "overflow-auto" | "overflow-hidden" | "overflow-x-auto" | "overflow-x-hidden" | "overflow-x-scroll" | "overflow-y-auto" | "p-1" | "p-2" | "p-3" | "p-4" | "p-5" | "p-6" | "p-\[2px\]" | "p-\[3px\]" | "p-\[56px\]" | "pb-3" | "pb-5" | "pb-6" | "peer" | "peer-checked\/switch\:left-1" | "peer-checked\/switch\:text-primary-muted" | "peer-checked\/switch\:translate-x-5" | "peer-checked\:\[\&\>path\]\:stroke-primary-70" | "peer-checked\:\[\&\>path\]\:stroke-white" | "peer-checked\:border-primary-default" | "peer-checked\:border-transparent" | "peer-checked\:peer-disabled\:bg-muted" | "peer-checked\:text-primary-default" | "peer-checked\:text-white" | "peer-focus\:border-info-default" | "peer-hover\:border-intense" | "peer\/switch" | "pl-4" | "pl-7" | "placeholder\:text-inactive" | "pointer-events-none" | "pr-4" | "pr-7" | "pr-\[64px\]" | "pressed\:bg-intense" | "pt-3" | "px-0" | "px-1" | "px-2" | "px-3" | "px-4" | "px-5" | "px-6" | "px-7" | "px-\[14px\]" | "px-\[1px\]" | "px-\[20px\]" | "px-\[4px\]" | "px-\[60px\]" | "px-l2" | "py-0" | "py-1" | "py-2" | "py-3" | "py-4" | "py-5" | "py-6" | "py-7" | "py-\[10px\]" | "py-\[14px\]" | "py-\[6px\]" | "recharts-cartesian-axis-tick-value" | "recharts-label" | "recharts-legend-item" | "recharts-legend-item-text" | "recharts-rectangle" | "recharts-sector" | "recharts-tooltip-item" | "recharts-tooltip-item-name" | "recharts-tooltip-item-separator" | "recharts-tooltip-item-value" | "recharts-tooltip-label" | "recharts-tooltip-wrapper" | "recharts-yAxis" | "relative" | "resize" | "resize-none" | "right-0" | "right-4" | "right-\[28px\]" | "ring" | "ring-0" | "ring-1" | "ring-inset" | "ring-offset-0" | "ring-primary-default" | "rotate-45" | "rounded" | "rounded-\[2px\]" | "rounded-full" | "rounded-none" | "rounded-sm" | "row-start-1" | "row-start-2" | "scale-\[0\.55\]" | "scroll-smooth" | "scrollbar-hide" | "selected\:bg-primary-default" | "selection-end\:rounded-e" | "selection-start\:rounded-s" | "self-center" | "self-start" | "shadow-16dp" | "shadow-4dp" | "shrink" | "snap-mandatory" | "snap-start" | "snap-x" | "static" | "sticky" | "stroke-1" | "stroke-black" | "stroke-error-100" | "stroke-primary-muted" | "stroke-success-default" | "stroke-warning-100" | "table" | "table-auto" | "table-fixed" | "text-\[8px\]" | "text-\[9px\]" | "text-black" | "text-center" | "text-current" | "text-danger-default" | "text-danger-inactive" | "text-danger-intense" | "text-danger-muted" | "text-default" | "text-ellipsis" | "text-error-0" | "text-error-10" | "text-error-100" | "text-error-20" | "text-error-30" | "text-error-40" | "text-error-5" | "text-error-50" | "text-error-60" | "text-error-70" | "text-error-80" | "text-error-90" | "text-grey-0" | "text-grey-10" | "text-grey-100" | "text-grey-20" | "text-grey-30" | "text-grey-40" | "text-grey-5" | "text-grey-50" | "text-grey-60" | "text-grey-70" | "text-grey-80" | "text-grey-90" | "text-inactive" | "text-info-0" | "text-info-10" | "text-info-100" | "text-info-20" | "text-info-30" | "text-info-40" | "text-info-5" | "text-info-50" | "text-info-60" | "text-info-70" | "text-info-80" | "text-info-90" | "text-info-default" | "text-info-inactive" | "text-info-intense" | "text-info-muted" | "text-intense" | "text-left" | "text-muted" | "text-opposite-default" | "text-primary-0" | "text-primary-10" | "text-primary-100" | "text-primary-20" | "text-primary-30" | "text-primary-40" | "text-primary-5" | "text-primary-50" | "text-primary-60" | "text-primary-70" | "text-primary-80" | "text-primary-90" | "text-primary-active" | "text-primary-default" | "text-primary-inactive" | "text-primary-intense" | "text-primary-muted" | "text-right" | "text-secondary-0" | "text-secondary-10" | "text-secondary-100" | "text-secondary-20" | "text-secondary-30" | "text-secondary-40" | "text-secondary-5" | "text-secondary-50" | "text-secondary-60" | "text-secondary-70" | "text-secondary-80" | "text-secondary-90" | "text-success-0" | "text-success-10" | "text-success-100" | "text-success-20" | "text-success-30" | "text-success-40" | "text-success-5" | "text-success-50" | "text-success-60" | "text-success-70" | "text-success-80" | "text-success-90" | "text-success-default" | "text-success-inactive" | "text-success-intense" | "text-success-muted" | "text-transparent" | "text-warning-0" | "text-warning-10" | "text-warning-100" | "text-warning-20" | "text-warning-30" | "text-warning-40" | "text-warning-5" | "text-warning-50" | "text-warning-60" | "text-warning-70" | "text-warning-80" | "text-warning-90" | "text-warning-default" | "text-warning-inactive" | "text-warning-intense" | "text-warning-muted" | "text-white" | "text-xs" | "top-0" | "top-1\/2" | "top-\[14px\]" | "top-\[18px\]" | "top-\[24px\]" | "top-\[3px\]" | "top-\[47px\]" | "transform" | "transition" | "transition-all" | "transition-colors" | "transition-opacity" | "typography-body-default" | "typography-body-default-medium" | "typography-body-large" | "typography-body-large-medium" | "typography-body-small" | "typography-body-small-medium" | "typography-button-large" | "typography-button-medium" | "typography-button-small" | "typography-caption" | "typography-caption-default" | "typography-caption-small" | "typography-code" | "typography-code-small" | "typography-code-small-strong" | "typography-code-strong" | "typography-default" | "typography-default-strong" | "typography-heading" | "typography-heading-2xl" | "typography-heading-3xl" | "typography-heading-4xl" | "typography-heading-5xl" | "typography-heading-large" | "typography-heading-xl" | "typography-large" | "typography-large-heading" | "typography-large-strong" | "typography-overline-default" | "typography-overline-small" | "typography-small" | "typography-small-strong" | "typography-subheading" | "underline" | "uppercase" | "via-white" | "visible" | "visited\:text-primary-intense" | "w-1" | "w-1px" | "w-2" | "w-3" | "w-4" | "w-5" | "w-6" | "w-8" | "w-\[1080px\]" | "w-\[280px\]" | "w-\[32px\]" | "w-\[34px\]" | "w-\[360px\]" | "w-\[560px\]" | "w-\[56px\]" | "w-\[6px\]" | "w-\[8px\]" | "w-\[9px\]" | "w-auto" | "w-dvw" | "w-full" | "whitespace-nowrap" | "whitespace-pre" | "z-0" | "z-10" | "z-20" | "z-40" | "z-modal";
|
1
|
+
export type ClassNames = "-left-1\/2" | "-m-2" | "-mt-4" | "-mx-4" | "-translate-x-1\/2" | "-translate-y-1\/2" | "-z-10" | "Aquarium-Alert\.Banner" | "Aquarium-Button\.Primary" | "Aquarium-Button\.Secondary" | "Aquarium-Card" | "Aquarium-Checkbox" | "Aquarium-Collapsible-Section" | "Aquarium-DropdownMenu\.Item" | "Aquarium-Dropdown\.Item" | "Aquarium-Switch" | "Aquarium-Toast" | "Aquarium-Tooltip" | "\!container" | "\!hidden" | "\!inline" | "\!table" | "\[\&\:\:-webkit-search-cancel-button\]\:appearance-none" | "\[\&\>\*\:not\(\:first-child\)\]\:-ml-3" | "\[\&\>\*\]\:bg-primary-active" | "\[\&\>\*\]\:border-b-transparent" | "\[\&\>\*\]\:hover\:bg-muted" | "\[\&\>button\]\:p-0" | "\[\&\>button\]\:text-danger-muted" | "\[\&\>button\]\:text-muted" | "\[\&\>div\:first-child\]\:px-3" | "\[\&\>div\:first-child\]\:px-5" | "\[\&\>path\]\:stroke-\[3px\]" | "\[\&\>path\]\:stroke-transparent" | "\[\&_td\]\:px-0" | "\[\[data-placement\]\>\&\]\:px-5" | "\[\[data-placement\]\>\&\]\:py-6" | "absolute" | "active\:bg-body" | "active\:bg-primary-active" | "active\:bg-primary-intense" | "active\:bg-transparent" | "active\:ring-0" | "active\:ring-primary-default" | "active\:text-default" | "active\:text-muted" | "active\:text-primary-active" | "active\:text-primary-intense" | "align-middle" | "animate-pulse" | "appearance-none" | "aquarium-theme-dark" | "aspect-square" | "auto-cols-fr" | "before\:content-\[\'_\'\]" | "bg-black" | "bg-body" | "bg-body-intense" | "bg-cover" | "bg-current" | "bg-danger-default" | "bg-danger-intense" | "bg-danger-muted" | "bg-default" | "bg-error-0" | "bg-error-10" | "bg-error-100" | "bg-error-20" | "bg-error-30" | "bg-error-40" | "bg-error-5" | "bg-error-50" | "bg-error-60" | "bg-error-70" | "bg-error-80" | "bg-error-90" | "bg-gradient-to-l" | "bg-gradient-to-r" | "bg-grey-0" | "bg-grey-10" | "bg-grey-100" | "bg-grey-20" | "bg-grey-30" | "bg-grey-40" | "bg-grey-5" | "bg-grey-50" | "bg-grey-60" | "bg-grey-70" | "bg-grey-80" | "bg-grey-90" | "bg-icon-button-hover" | "bg-info-0" | "bg-info-10" | "bg-info-100" | "bg-info-20" | "bg-info-30" | "bg-info-40" | "bg-info-5" | "bg-info-50" | "bg-info-60" | "bg-info-70" | "bg-info-80" | "bg-info-90" | "bg-info-default" | "bg-info-intense" | "bg-info-muted" | "bg-intense" | "bg-muted" | "bg-popover-content" | "bg-primary-0" | "bg-primary-10" | "bg-primary-100" | "bg-primary-20" | "bg-primary-30" | "bg-primary-40" | "bg-primary-5" | "bg-primary-50" | "bg-primary-60" | "bg-primary-70" | "bg-primary-80" | "bg-primary-90" | "bg-primary-active" | "bg-primary-default" | "bg-primary-hover" | "bg-primary-intense" | "bg-primary-muted" | "bg-secondary-0" | "bg-secondary-10" | "bg-secondary-100" | "bg-secondary-20" | "bg-secondary-30" | "bg-secondary-40" | "bg-secondary-5" | "bg-secondary-50" | "bg-secondary-60" | "bg-secondary-70" | "bg-secondary-80" | "bg-secondary-90" | "bg-status-announcement" | "bg-status-danger" | "bg-status-info" | "bg-status-success" | "bg-status-warning" | "bg-success-0" | "bg-success-10" | "bg-success-100" | "bg-success-20" | "bg-success-30" | "bg-success-40" | "bg-success-5" | "bg-success-50" | "bg-success-60" | "bg-success-70" | "bg-success-80" | "bg-success-90" | "bg-success-default" | "bg-success-intense" | "bg-success-muted" | "bg-transparent" | "bg-warning-0" | "bg-warning-10" | "bg-warning-100" | "bg-warning-20" | "bg-warning-30" | "bg-warning-40" | "bg-warning-5" | "bg-warning-50" | "bg-warning-60" | "bg-warning-70" | "bg-warning-80" | "bg-warning-90" | "bg-warning-default" | "bg-warning-intense" | "bg-warning-muted" | "bg-white" | "block" | "blur" | "border" | "border-0" | "border-2" | "border-\[2px\]" | "border-b" | "border-b-1" | "border-b-2" | "border-b-transparent" | "border-black" | "border-current" | "border-danger-default" | "border-danger-intense" | "border-danger-muted" | "border-dashed" | "border-default" | "border-error-0" | "border-error-10" | "border-error-100" | "border-error-20" | "border-error-30" | "border-error-40" | "border-error-5" | "border-error-50" | "border-error-60" | "border-error-70" | "border-error-80" | "border-error-90" | "border-grey-0" | "border-grey-10" | "border-grey-100" | "border-grey-20" | "border-grey-30" | "border-grey-40" | "border-grey-5" | "border-grey-50" | "border-grey-60" | "border-grey-70" | "border-grey-80" | "border-grey-90" | "border-info-0" | "border-info-10" | "border-info-100" | "border-info-20" | "border-info-30" | "border-info-40" | "border-info-5" | "border-info-50" | "border-info-60" | "border-info-70" | "border-info-80" | "border-info-90" | "border-info-default" | "border-info-intense" | "border-info-muted" | "border-intense" | "border-l" | "border-muted" | "border-none" | "border-primary-0" | "border-primary-10" | "border-primary-100" | "border-primary-20" | "border-primary-30" | "border-primary-40" | "border-primary-5" | "border-primary-50" | "border-primary-60" | "border-primary-70" | "border-primary-80" | "border-primary-90" | "border-primary-default" | "border-primary-intense" | "border-primary-muted" | "border-r-1" | "border-secondary-0" | "border-secondary-10" | "border-secondary-100" | "border-secondary-20" | "border-secondary-30" | "border-secondary-40" | "border-secondary-5" | "border-secondary-50" | "border-secondary-60" | "border-secondary-70" | "border-secondary-80" | "border-secondary-90" | "border-separate" | "border-solid" | "border-spacing-0" | "border-success-0" | "border-success-10" | "border-success-100" | "border-success-20" | "border-success-30" | "border-success-40" | "border-success-5" | "border-success-50" | "border-success-60" | "border-success-70" | "border-success-80" | "border-success-90" | "border-success-default" | "border-success-intense" | "border-success-muted" | "border-t" | "border-t-2" | "border-transparent" | "border-warning-0" | "border-warning-10" | "border-warning-100" | "border-warning-20" | "border-warning-30" | "border-warning-40" | "border-warning-5" | "border-warning-50" | "border-warning-60" | "border-warning-70" | "border-warning-80" | "border-warning-90" | "border-warning-default" | "border-warning-intense" | "border-warning-muted" | "border-white" | "bottom-0" | "break-all" | "break-words" | "capitalize" | "caret-transparent" | "checked\:bg-primary-default" | "checked\:bg-primary-muted" | "checked\:border-primary-default" | "checked\:border-transparent" | "checked\:opacity-50" | "checked\:shadow-bodyInset" | "children\:border-default" | "children\:inline-block" | "children\:last\:border-b-0" | "children\:opacity-70" | "col-span-full" | "col-start-1" | "col-start-2" | "col-start-3" | "collapse" | "container" | "contents" | "cursor-default" | "cursor-not-allowed" | "cursor-pointer" | "delay-150" | "delay-300" | "disabled\:bg-body" | "disabled\:bg-default" | "disabled\:bg-muted" | "disabled\:bg-primary-muted" | "disabled\:bg-transparent" | "disabled\:border-default" | "disabled\:cursor-not-allowed" | "disabled\:ring-primary-muted" | "disabled\:text-inactive" | "disabled\:text-primary-inactive" | "divide-grey-20" | "divide-x" | "duration-200" | "duration-300" | "ease-in-out" | "file\:bg-transparent" | "file\:border-0" | "file\:mr-4" | "file\:p-0" | "file\:text-primary-intense" | "file\:typography-small-strong" | "fill-error-10" | "fill-primary-10" | "fill-success-10" | "fill-warning-20" | "fill-white" | "filter" | "first\:mt-0" | "fixed" | "flex" | "flex-1" | "flex-col" | "flex-grow" | "flex-nowrap" | "flex-row" | "flex-row-reverse" | "flex-wrap" | "focus-visible\:bg-muted" | "focus-visible\:border-info-default" | "focus-visible\:outline-0" | "focus-visible\:outline-none" | "focus-visible\:relative" | "focus-visible\:ring-1" | "focus-visible\:ring-2" | "focus-visible\:ring-info-default" | "focus-visible\:ring-inset" | "focus-visible\:ring-offset-0" | "focus-visible\:ring-primary-default" | "focus-visible\:ring-primary-intense" | "focus-visible\:text-intense" | "focus-visible\:text-primary-active" | "focus-visible\:text-primary-intense" | "focus-visible\:z-50" | "focus\:bg-danger-default" | "focus\:bg-intense" | "focus\:border-info-default" | "focus\:border-transparent" | "focus\:outline-none" | "focus\:ring-0" | "focus\:text-primary-intense" | "focusable" | "font-normal" | "font-semibold" | "from-white" | "gap-0" | "gap-1" | "gap-2" | "gap-3" | "gap-4" | "gap-5" | "gap-7" | "gap-8" | "gap-x-2" | "gap-x-3" | "gap-x-4" | "gap-x-5" | "gap-x-6" | "gap-y-2" | "grayscale" | "grid" | "grid-cols-1" | "grid-cols-2" | "grid-cols-3" | "grid-cols-\[16px_1fr\]" | "grid-cols-\[1fr_auto\]" | "grid-cols-\[200px_1fr_200px\]" | "grid-cols-\[auto_1fr\]" | "grid-cols-\[auto_1fr_auto\]" | "grid-flow-col" | "group" | "group-hover\:bg-default" | "group-hover\:bg-muted" | "group-hover\:bg-primary-default" | "group-hover\:opacity-100" | "group-hover\:visible" | "group-invalid\:bg-danger-default" | "group-invalid\:group-hover\:bg-danger-default" | "group-invalid\:group-pressed\:bg-danger-intense" | "group-placement-bottom\:rotate-180" | "group-placement-left\:-rotate-90" | "group-placement-right\:rotate-90" | "group-pressed\:bg-intense" | "group-pressed\:bg-primary-intense" | "grow" | "grow-0" | "h-1" | "h-1\/2" | "h-1px" | "h-2" | "h-3" | "h-4" | "h-5" | "h-6" | "h-8" | "h-\[120px\]" | "h-\[174px\]" | "h-\[1px\]" | "h-\[20px\]" | "h-\[225px\]" | "h-\[25px\]" | "h-\[2px\]" | "h-\[32px\]" | "h-\[3px\]" | "h-\[50px\]" | "h-\[56px\]" | "h-\[6px\]" | "h-\[72px\]" | "h-\[8px\]" | "h-\[9px\]" | "h-auto" | "h-dvh" | "h-full" | "hidden" | "hover\:bg-danger-muted" | "hover\:bg-default" | "hover\:bg-icon-button-hover" | "hover\:bg-intense" | "hover\:bg-muted" | "hover\:bg-primary-hover" | "hover\:bg-primary-intense" | "hover\:border-intense" | "hover\:checked\:bg-primary-intense" | "hover\:cursor-pointer" | "hover\:ring-primary-default" | "hover\:text-intense" | "hover\:text-primary-active" | "hover\:text-primary-default" | "hover\:text-primary-intense" | "hover\:underline" | "icon-stroke-2" | "inactive" | "inline" | "inline-block" | "inline-flex" | "inline-grid" | "inset-0" | "inset-y-0" | "invalid\:bg-danger-default" | "invalid\:selected\:bg-danger-default" | "invisible" | "italic" | "items-center" | "items-stretch" | "justify-between" | "justify-center" | "justify-end" | "justify-self-center" | "justify-start" | "last\:border-r-0" | "leading-\[0px\]" | "leading-\[18px\]" | "leading-none" | "leading-tight" | "left-0" | "left-1\/2" | "left-2" | "line-clamp-1" | "line-clamp-2" | "line-clamp-3" | "line-clamp-4" | "line-clamp-5" | "line-clamp-6" | "line-through" | "m-3" | "m-4" | "m-\[1px\]" | "max-h-\[inherit\]" | "max-h-full" | "max-w-\[300px\]" | "max-w-\[320px\]" | "max-w-\[600px\]" | "max-w-\[70px\]" | "max-w-\[940px\]" | "max-w-screen-lg" | "max-w-screen-md" | "max-w-screen-sm" | "max-w-screen-xl" | "max-w-screen-xs" | "mb-2" | "mb-3" | "mb-5" | "mb-6" | "mb-\[-20px\]" | "mb-\[-2px\]" | "mb-\[7px\]" | "min-h-\[120px\]" | "min-h-\[50px\]" | "min-h-full" | "min-w-0" | "min-w-\[150px\]" | "min-w-\[200px\]" | "min-w-\[210px\]" | "min-w-\[280px\]" | "min-w-full" | "ml-2" | "ml-3" | "mr-4" | "mt-1" | "mt-2" | "mt-4" | "mt-5" | "mt-auto" | "mx-0" | "mx-1" | "mx-2" | "mx-3" | "mx-4" | "mx-7" | "my-1" | "my-4" | "no-arrow" | "no-arrows" | "no-underline" | "object-cover" | "opacity-0" | "opacity-100" | "opacity-40" | "opacity-50" | "opacity-70" | "origin-\[0\%_45\%\]" | "outline" | "outline-0" | "outline-2" | "outline-none" | "outline-offset-2" | "outline-primary-default" | "outside-month\:text-inactive" | "overflow-auto" | "overflow-hidden" | "overflow-x-auto" | "overflow-x-hidden" | "overflow-x-scroll" | "overflow-y-auto" | "p-1" | "p-2" | "p-3" | "p-4" | "p-5" | "p-6" | "p-\[2px\]" | "p-\[3px\]" | "p-\[56px\]" | "pb-3" | "pb-5" | "pb-6" | "peer" | "peer-checked\/switch\:left-1" | "peer-checked\/switch\:text-primary-muted" | "peer-checked\/switch\:translate-x-5" | "peer-checked\:\[\&\>path\]\:stroke-primary-70" | "peer-checked\:\[\&\>path\]\:stroke-white" | "peer-checked\:border-primary-default" | "peer-checked\:border-transparent" | "peer-checked\:peer-disabled\:bg-muted" | "peer-checked\:text-primary-default" | "peer-checked\:text-white" | "peer-focus\:border-info-default" | "peer-hover\:border-intense" | "peer\/switch" | "pl-4" | "pl-7" | "placeholder\:text-inactive" | "pointer-events-none" | "pr-4" | "pr-7" | "pr-\[64px\]" | "pressed\:bg-intense" | "pt-3" | "px-0" | "px-1" | "px-2" | "px-3" | "px-4" | "px-5" | "px-6" | "px-7" | "px-\[14px\]" | "px-\[1px\]" | "px-\[20px\]" | "px-\[4px\]" | "px-\[60px\]" | "px-l2" | "py-0" | "py-1" | "py-2" | "py-3" | "py-4" | "py-5" | "py-6" | "py-7" | "py-\[10px\]" | "py-\[14px\]" | "py-\[6px\]" | "recharts-cartesian-axis-tick-value" | "recharts-label" | "recharts-legend-item" | "recharts-legend-item-text" | "recharts-rectangle" | "recharts-sector" | "recharts-tooltip-item" | "recharts-tooltip-item-name" | "recharts-tooltip-item-separator" | "recharts-tooltip-item-value" | "recharts-tooltip-label" | "recharts-tooltip-wrapper" | "recharts-yAxis" | "relative" | "resize" | "resize-none" | "right-0" | "right-4" | "right-\[28px\]" | "ring" | "ring-0" | "ring-1" | "ring-inset" | "ring-offset-0" | "ring-primary-default" | "rotate-45" | "rounded" | "rounded-\[2px\]" | "rounded-full" | "rounded-none" | "rounded-sm" | "row-start-1" | "row-start-2" | "scale-\[0\.55\]" | "scroll-smooth" | "scrollbar-hide" | "selected\:bg-primary-default" | "selection-end\:rounded-e" | "selection-start\:rounded-s" | "self-center" | "self-start" | "shadow-16dp" | "shadow-4dp" | "shrink" | "snap-mandatory" | "snap-start" | "snap-x" | "static" | "sticky" | "stroke-1" | "stroke-black" | "stroke-error-100" | "stroke-primary-muted" | "stroke-success-default" | "stroke-warning-100" | "table" | "table-auto" | "table-fixed" | "text-\[8px\]" | "text-\[9px\]" | "text-black" | "text-center" | "text-current" | "text-danger-default" | "text-danger-inactive" | "text-danger-intense" | "text-danger-muted" | "text-default" | "text-ellipsis" | "text-error-0" | "text-error-10" | "text-error-100" | "text-error-20" | "text-error-30" | "text-error-40" | "text-error-5" | "text-error-50" | "text-error-60" | "text-error-70" | "text-error-80" | "text-error-90" | "text-grey-0" | "text-grey-10" | "text-grey-100" | "text-grey-20" | "text-grey-30" | "text-grey-40" | "text-grey-5" | "text-grey-50" | "text-grey-60" | "text-grey-70" | "text-grey-80" | "text-grey-90" | "text-inactive" | "text-info-0" | "text-info-10" | "text-info-100" | "text-info-20" | "text-info-30" | "text-info-40" | "text-info-5" | "text-info-50" | "text-info-60" | "text-info-70" | "text-info-80" | "text-info-90" | "text-info-default" | "text-info-inactive" | "text-info-intense" | "text-info-muted" | "text-intense" | "text-left" | "text-muted" | "text-opposite-default" | "text-primary-0" | "text-primary-10" | "text-primary-100" | "text-primary-20" | "text-primary-30" | "text-primary-40" | "text-primary-5" | "text-primary-50" | "text-primary-60" | "text-primary-70" | "text-primary-80" | "text-primary-90" | "text-primary-active" | "text-primary-default" | "text-primary-inactive" | "text-primary-intense" | "text-primary-muted" | "text-right" | "text-secondary-0" | "text-secondary-10" | "text-secondary-100" | "text-secondary-20" | "text-secondary-30" | "text-secondary-40" | "text-secondary-5" | "text-secondary-50" | "text-secondary-60" | "text-secondary-70" | "text-secondary-80" | "text-secondary-90" | "text-success-0" | "text-success-10" | "text-success-100" | "text-success-20" | "text-success-30" | "text-success-40" | "text-success-5" | "text-success-50" | "text-success-60" | "text-success-70" | "text-success-80" | "text-success-90" | "text-success-default" | "text-success-inactive" | "text-success-intense" | "text-success-muted" | "text-transparent" | "text-warning-0" | "text-warning-10" | "text-warning-100" | "text-warning-20" | "text-warning-30" | "text-warning-40" | "text-warning-5" | "text-warning-50" | "text-warning-60" | "text-warning-70" | "text-warning-80" | "text-warning-90" | "text-warning-default" | "text-warning-inactive" | "text-warning-intense" | "text-warning-muted" | "text-white" | "text-xs" | "top-0" | "top-1\/2" | "top-\[14px\]" | "top-\[18px\]" | "top-\[24px\]" | "top-\[3px\]" | "top-\[47px\]" | "transform" | "transition" | "transition-all" | "transition-colors" | "transition-opacity" | "typography-body-default" | "typography-body-default-medium" | "typography-body-large" | "typography-body-large-medium" | "typography-body-small" | "typography-body-small-medium" | "typography-button-large" | "typography-button-medium" | "typography-button-small" | "typography-caption" | "typography-caption-default" | "typography-caption-small" | "typography-code" | "typography-code-small" | "typography-code-small-strong" | "typography-code-strong" | "typography-default" | "typography-default-strong" | "typography-heading" | "typography-heading-2xl" | "typography-heading-3xl" | "typography-heading-4xl" | "typography-heading-5xl" | "typography-heading-large" | "typography-heading-xl" | "typography-large" | "typography-large-heading" | "typography-large-strong" | "typography-overline-default" | "typography-overline-small" | "typography-small" | "typography-small-strong" | "typography-subheading" | "underline" | "uppercase" | "via-white" | "visible" | "visited\:text-primary-intense" | "w-1" | "w-1px" | "w-2" | "w-3" | "w-4" | "w-5" | "w-6" | "w-8" | "w-\[1080px\]" | "w-\[18px\]" | "w-\[280px\]" | "w-\[32px\]" | "w-\[34px\]" | "w-\[360px\]" | "w-\[560px\]" | "w-\[56px\]" | "w-\[6px\]" | "w-\[8px\]" | "w-\[9px\]" | "w-auto" | "w-dvw" | "w-full" | "whitespace-nowrap" | "whitespace-pre" | "z-0" | "z-10" | "z-20" | "z-40" | "z-modal";
|
package/dist/types/utils.d.ts
CHANGED
@@ -1,18 +1,18 @@
|
|
1
1
|
import { type ElementType, type ReactElement, type ReactNode } from 'react';
|
2
|
-
export declare const isComponentType: <T>(c: ReactNode, type: ElementType<T>) => c is ReactElement<T
|
3
|
-
export
|
4
|
-
export
|
5
|
-
[
|
2
|
+
export declare const isComponentType: <T>(c: ReactNode, type: ElementType<T>) => c is ReactElement<T>;
|
3
|
+
export type Either<A, B> = (A & Partial<Record<keyof B, never>>) | (B & Partial<Record<keyof A, never>>);
|
4
|
+
export type AllOrNone<T> = T | {
|
5
|
+
[_K in keyof T]?: never;
|
6
6
|
};
|
7
|
-
export
|
8
|
-
export
|
9
|
-
export
|
7
|
+
export type AcceptEmpty = boolean | null | undefined;
|
8
|
+
export type EmptyOrOneOrMore<T> = AcceptEmpty | Array<AcceptEmpty | React.ReactElement<T>> | React.ReactElement<T>;
|
9
|
+
export type RequireAtLeastOne<T, Keys extends keyof T = keyof T> = {
|
10
10
|
[K in Keys]-?: Partial<Pick<T, Exclude<Keys, K>>> & Required<Pick<T, K>>;
|
11
11
|
}[Keys] & Pick<T, Exclude<keyof T, Keys>>;
|
12
|
-
export
|
13
|
-
export
|
12
|
+
export type PartialBy<T, K extends keyof T> = Omit<T, K> & Partial<Pick<T, K>>;
|
13
|
+
export type RequiredBy<T, K extends keyof T> = T & {
|
14
14
|
[P in K]-?: T[P];
|
15
15
|
};
|
16
|
-
export
|
16
|
+
export type Simplify<T> = {
|
17
17
|
[K in keyof T]: T[K];
|
18
18
|
};
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@aivenio/aquarium",
|
3
|
-
"version": "2.
|
3
|
+
"version": "2.3.0",
|
4
4
|
"description": "Aiven Aquarium design system",
|
5
5
|
"main": "dist/system.cjs",
|
6
6
|
"module": "dist/system.mjs",
|
@@ -59,7 +59,7 @@
|
|
59
59
|
"test": "npm run build:generated && jest",
|
60
60
|
"test:watch": "jest --watch",
|
61
61
|
"test:coverage": "jest --coverage",
|
62
|
-
"test:all": "npm run eslint && npm run test",
|
62
|
+
"test:all": "npm run eslint && npm run test && npm run knip",
|
63
63
|
"test:update": "jest --updateSnapshot",
|
64
64
|
"eslint": "npm run eslint:prebuild && npm run eslint:check:src",
|
65
65
|
"eslint:prebuild": "npm run build:generated",
|
@@ -81,20 +81,22 @@
|
|
81
81
|
"build:tailwind:json": "node tools/resolveTailwindConfig.mjs > tailwind.theme.json",
|
82
82
|
"build:copy-files": "echo 'Copying files that are not included by TS' && cp src/tokens/* dist/ && cp tailwind.theme.json dist/",
|
83
83
|
"clean": "rm -rf .cache dist/",
|
84
|
-
"verify-declaration-file-exists": "[ -e \"./dist/src/system.d.ts\" ] && echo \"Declaration file was generated\" || (echo \"Error: declaration file wasn't generated\"; false)"
|
84
|
+
"verify-declaration-file-exists": "[ -e \"./dist/src/system.d.ts\" ] && echo \"Declaration file was generated\" || (echo \"Error: declaration file wasn't generated\"; false)",
|
85
|
+
"knip": "knip --tags=-knipignore"
|
85
86
|
},
|
86
87
|
"author": "",
|
87
88
|
"license": "Apache-2.0",
|
88
89
|
"devDependencies": {
|
89
90
|
"@actions/core": "^1.10.0",
|
90
91
|
"@aitodotai/json-stringify-pretty-compact": "^1.3.0",
|
91
|
-
"@aivenio/eslint-config-aiven": "^4.0
|
92
|
+
"@aivenio/eslint-config-aiven": "^7.4.0",
|
92
93
|
"@babel/core": "^7.22.5",
|
93
94
|
"@babel/preset-env": "^7.20.2",
|
94
95
|
"@babel/preset-react": "^7.18.6",
|
95
96
|
"@babel/preset-typescript": "^7.18.6",
|
96
|
-
"@faker-js/faker": "^8.
|
97
|
+
"@faker-js/faker": "^8.4.1",
|
97
98
|
"@iconify/tools": "^2.0.14",
|
99
|
+
"@mdx-js/mdx": "^3.0.1",
|
98
100
|
"@storybook/addon-a11y": "^7.2.0",
|
99
101
|
"@storybook/addon-essentials": "^7.2.0",
|
100
102
|
"@storybook/addon-links": "^7.2.0",
|
@@ -116,30 +118,27 @@
|
|
116
118
|
"@types/common-tags": "^1.8.0",
|
117
119
|
"@types/jest": "^29.2.2",
|
118
120
|
"@types/jest-axe": "^3.5.5",
|
119
|
-
"@types/lodash": "^4.
|
121
|
+
"@types/lodash": "^4.17.10",
|
122
|
+
"@types/node": "^22.7.5",
|
120
123
|
"@types/react": "^18.2.25",
|
121
124
|
"@types/react-dom": "^18.2.10",
|
122
|
-
"@types/tailwindcss": "^3.1.0",
|
123
|
-
"@typescript-eslint/eslint-plugin": "^5.59.11",
|
124
|
-
"@typescript-eslint/parser": "^5.59.11",
|
125
125
|
"@zerollup/ts-transform-paths": "^1.7.18",
|
126
126
|
"arg": "^5.0.0",
|
127
|
-
"autoprefixer": "^10.3.2",
|
128
127
|
"common-tags": "^1.8.0",
|
129
128
|
"css-loader": "^5.1.3",
|
130
129
|
"css-minimizer-webpack-plugin": "^1.2.0",
|
131
130
|
"cssnano": "^4.1.10",
|
132
|
-
"csstype": "^3.1.2",
|
133
131
|
"esbuild": "^0.15.8",
|
134
|
-
"eslint": "^8.
|
135
|
-
"eslint-import-resolver-typescript": "^3.
|
136
|
-
"eslint-plugin-jsx-a11y": "^6.
|
137
|
-
"eslint-plugin-react": "^7.
|
138
|
-
"eslint-plugin-storybook": "^0.
|
132
|
+
"eslint": "^8.56.0",
|
133
|
+
"eslint-import-resolver-typescript": "^3.6.3",
|
134
|
+
"eslint-plugin-jsx-a11y": "^6.10.2",
|
135
|
+
"eslint-plugin-react": "^7.37.2",
|
136
|
+
"eslint-plugin-storybook": "^0.11.0",
|
139
137
|
"jest": "^29.3.1",
|
140
138
|
"jest-axe": "^8.0.0",
|
141
139
|
"jest-environment-jsdom": "^29.5.0",
|
142
140
|
"jest-fail-on-console": "^3.1.2",
|
141
|
+
"knip": "^5.33.3",
|
143
142
|
"lodash": "^4.17.21",
|
144
143
|
"log-watcher-webpack-plugin": "^1.0.4",
|
145
144
|
"mini-css-extract-plugin": "^1.3.9",
|
@@ -151,10 +150,9 @@
|
|
151
150
|
"postcss-preset-env": "^6.7.0",
|
152
151
|
"postcss-reporter": "^7.0.5",
|
153
152
|
"postcss-ts-classnames": "^0.3.0",
|
154
|
-
"prettier": "^
|
153
|
+
"prettier": "^3.3.3",
|
155
154
|
"react": "^18.2.0",
|
156
155
|
"react-dom": "^18.2.0",
|
157
|
-
"react-test-renderer": "^18.2.0",
|
158
156
|
"storybook": "^7.2.0",
|
159
157
|
"style-dictionary": "^3.9.2",
|
160
158
|
"style-dictionary-utils": "^2.4.1",
|
@@ -165,7 +163,7 @@
|
|
165
163
|
"ts-loader": "^8.3.0",
|
166
164
|
"ts-node": "^10.9.1",
|
167
165
|
"tsc-alias": "^1.7.0",
|
168
|
-
"typescript": "^
|
166
|
+
"typescript": "^5.6.2",
|
169
167
|
"webpack": "^5.73.0",
|
170
168
|
"webpack-cli": "^4.10.0",
|
171
169
|
"yaml": "^2.1.1"
|