agentic-ds-kit 0.1.0 → 0.2.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/README.md +6 -7
- package/dist/lib/tokens.css +637 -0
- package/dist/src/index.d.ts +67 -0
- package/dist/src/index.js +69 -0
- package/dist/src/tokens.d.ts +0 -0
- package/dist/src/tokens.js +2 -0
- package/dist/ui/Accordion/Accordion.d.ts +3 -0
- package/dist/ui/Accordion/Accordion.js +49 -0
- package/dist/ui/Accordion/Accordion.js.map +1 -0
- package/{ui → dist/ui}/Accordion/Accordion.module.css +11 -11
- package/dist/ui/Accordion/Accordion.module.js +16 -0
- package/dist/ui/Accordion/Accordion.module.js.map +1 -0
- package/dist/ui/Accordion/Accordion.types.d.ts +9 -0
- package/dist/ui/Accordion/index.d.ts +2 -0
- package/dist/ui/Alert/Alert.d.ts +3 -0
- package/dist/ui/Alert/Alert.js +36 -0
- package/dist/ui/Alert/Alert.js.map +1 -0
- package/{ui → dist/ui}/Alert/Alert.module.css +12 -12
- package/dist/ui/Alert/Alert.module.js +17 -0
- package/dist/ui/Alert/Alert.module.js.map +1 -0
- package/{ui/Alert/Alert.types.ts → dist/ui/Alert/Alert.types.d.ts} +3 -4
- package/dist/ui/Alert/index.d.ts +2 -0
- package/dist/ui/AlertDialog/AlertDialog.d.ts +3 -0
- package/dist/ui/AlertDialog/AlertDialog.js +76 -0
- package/dist/ui/AlertDialog/AlertDialog.js.map +1 -0
- package/{ui → dist/ui}/AlertDialog/AlertDialog.module.css +11 -11
- package/dist/ui/AlertDialog/AlertDialog.module.js +17 -0
- package/dist/ui/AlertDialog/AlertDialog.module.js.map +1 -0
- package/dist/ui/AlertDialog/AlertDialog.types.d.ts +13 -0
- package/dist/ui/AlertDialog/index.d.ts +2 -0
- package/dist/ui/AppHeader/AppHeader.d.ts +3 -0
- package/dist/ui/AppHeader/AppHeader.js +57 -0
- package/dist/ui/AppHeader/AppHeader.js.map +1 -0
- package/{ui → dist/ui}/AppHeader/AppHeader.module.css +15 -15
- package/dist/ui/AppHeader/AppHeader.module.js +17 -0
- package/dist/ui/AppHeader/AppHeader.module.js.map +1 -0
- package/dist/ui/AppHeader/AppHeader.types.d.ts +26 -0
- package/dist/ui/AppHeader/index.d.ts +2 -0
- package/dist/ui/AppNav/AppNav.d.ts +3 -0
- package/dist/ui/AppNav/AppNav.js +108 -0
- package/dist/ui/AppNav/AppNav.js.map +1 -0
- package/{ui → dist/ui}/AppNav/AppNav.module.css +27 -27
- package/dist/ui/AppNav/AppNav.module.js +28 -0
- package/dist/ui/AppNav/AppNav.module.js.map +1 -0
- package/dist/ui/AppNav/AppNav.types.d.ts +21 -0
- package/{ui/AppNav/index.ts → dist/ui/AppNav/index.d.ts} +2 -2
- package/dist/ui/Avatar/Avatar.d.ts +3 -0
- package/dist/ui/Avatar/Avatar.js +48 -0
- package/dist/ui/Avatar/Avatar.js.map +1 -0
- package/{ui → dist/ui}/Avatar/Avatar.module.css +7 -7
- package/dist/ui/Avatar/Avatar.module.js +15 -0
- package/dist/ui/Avatar/Avatar.module.js.map +1 -0
- package/dist/ui/Avatar/Avatar.types.d.ts +7 -0
- package/dist/ui/Avatar/index.d.ts +2 -0
- package/dist/ui/AvatarGroup/AvatarGroup.d.ts +3 -0
- package/dist/ui/AvatarGroup/AvatarGroup.js +31 -0
- package/dist/ui/AvatarGroup/AvatarGroup.js.map +1 -0
- package/{ui → dist/ui}/AvatarGroup/AvatarGroup.module.css +7 -7
- package/dist/ui/AvatarGroup/AvatarGroup.module.js +14 -0
- package/dist/ui/AvatarGroup/AvatarGroup.module.js.map +1 -0
- package/dist/ui/AvatarGroup/AvatarGroup.types.d.ts +13 -0
- package/dist/ui/AvatarGroup/index.d.ts +2 -0
- package/dist/ui/Badge/Badge.d.ts +3 -0
- package/dist/ui/Badge/Badge.js +35 -0
- package/dist/ui/Badge/Badge.js.map +1 -0
- package/{ui → dist/ui}/Badge/Badge.module.css +14 -14
- package/dist/ui/Badge/Badge.module.js +20 -0
- package/dist/ui/Badge/Badge.module.js.map +1 -0
- package/{ui/Badge/Badge.types.ts → dist/ui/Badge/Badge.types.d.ts} +6 -7
- package/dist/ui/Badge/index.d.ts +2 -0
- package/dist/ui/BarChart/BarChart.d.ts +3 -0
- package/dist/ui/BarChart/BarChart.js +242 -0
- package/dist/ui/BarChart/BarChart.js.map +1 -0
- package/{ui → dist/ui}/BarChart/BarChart.module.css +10 -10
- package/dist/ui/BarChart/BarChart.module.js +16 -0
- package/dist/ui/BarChart/BarChart.module.js.map +1 -0
- package/dist/ui/BarChart/BarChart.types.d.ts +16 -0
- package/dist/ui/BarChart/index.d.ts +2 -0
- package/dist/ui/Breadcrumb/Breadcrumb.d.ts +3 -0
- package/dist/ui/Breadcrumb/Breadcrumb.js +78 -0
- package/dist/ui/Breadcrumb/Breadcrumb.js.map +1 -0
- package/{ui → dist/ui}/Breadcrumb/Breadcrumb.module.css +11 -11
- package/dist/ui/Breadcrumb/Breadcrumb.module.js +16 -0
- package/dist/ui/Breadcrumb/Breadcrumb.module.js.map +1 -0
- package/dist/ui/Breadcrumb/Breadcrumb.types.d.ts +12 -0
- package/dist/ui/Breadcrumb/index.d.ts +2 -0
- package/dist/ui/Button/Button.d.ts +3 -0
- package/dist/ui/Button/Button.js +44 -0
- package/dist/ui/Button/Button.js.map +1 -0
- package/{ui → dist/ui}/Button/Button.module.css +20 -20
- package/dist/ui/Button/Button.module.js +20 -0
- package/dist/ui/Button/Button.module.js.map +1 -0
- package/dist/ui/Button/Button.types.d.ts +17 -0
- package/dist/ui/Button/index.d.ts +2 -0
- package/dist/ui/Button/lucideName.d.ts +5 -0
- package/dist/ui/Button/lucideName.js +103 -0
- package/dist/ui/Button/lucideName.js.map +1 -0
- package/dist/ui/ButtonGroup/ButtonGroup.d.ts +3 -0
- package/dist/ui/ButtonGroup/ButtonGroup.js +15 -0
- package/dist/ui/ButtonGroup/ButtonGroup.js.map +1 -0
- package/dist/ui/ButtonGroup/ButtonGroup.module.css +31 -0
- package/dist/ui/ButtonGroup/ButtonGroup.module.js +7 -0
- package/dist/ui/ButtonGroup/ButtonGroup.module.js.map +1 -0
- package/dist/ui/ButtonGroup/ButtonGroup.types.d.ts +5 -0
- package/dist/ui/ButtonGroup/index.d.ts +2 -0
- package/dist/ui/Calendar/Calendar.d.ts +3 -0
- package/dist/ui/Calendar/Calendar.js +205 -0
- package/dist/ui/Calendar/Calendar.js.map +1 -0
- package/{ui → dist/ui}/Calendar/Calendar.module.css +22 -22
- package/dist/ui/Calendar/Calendar.module.js +20 -0
- package/dist/ui/Calendar/Calendar.module.js.map +1 -0
- package/dist/ui/Calendar/Calendar.types.d.ts +10 -0
- package/dist/ui/Calendar/index.d.ts +2 -0
- package/dist/ui/Card/Card.d.ts +3 -0
- package/dist/ui/Card/Card.js +57 -0
- package/dist/ui/Card/Card.js.map +1 -0
- package/{ui → dist/ui}/Card/Card.module.css +13 -13
- package/dist/ui/Card/Card.module.js +18 -0
- package/dist/ui/Card/Card.module.js.map +1 -0
- package/dist/ui/Card/Card.types.d.ts +20 -0
- package/{ui/Card/index.ts → dist/ui/Card/index.d.ts} +2 -2
- package/dist/ui/Carousel/Carousel.d.ts +3 -0
- package/dist/ui/Carousel/Carousel.js +99 -0
- package/dist/ui/Carousel/Carousel.js.map +1 -0
- package/{ui → dist/ui}/Carousel/Carousel.module.css +22 -22
- package/dist/ui/Carousel/Carousel.module.js +21 -0
- package/dist/ui/Carousel/Carousel.module.js.map +1 -0
- package/dist/ui/Carousel/Carousel.types.d.ts +15 -0
- package/dist/ui/Carousel/index.d.ts +2 -0
- package/dist/ui/Cell/Cell.d.ts +3 -0
- package/dist/ui/Cell/Cell.js +215 -0
- package/dist/ui/Cell/Cell.js.map +1 -0
- package/{ui → dist/ui}/Cell/Cell.module.css +23 -23
- package/dist/ui/Cell/Cell.module.js +27 -0
- package/dist/ui/Cell/Cell.module.js.map +1 -0
- package/dist/ui/Cell/Cell.types.d.ts +46 -0
- package/dist/ui/Cell/index.d.ts +2 -0
- package/dist/ui/Chat/Chat.d.ts +3 -0
- package/dist/ui/Chat/Chat.js +149 -0
- package/dist/ui/Chat/Chat.js.map +1 -0
- package/{ui → dist/ui}/Chat/Chat.module.css +21 -21
- package/dist/ui/Chat/Chat.module.js +27 -0
- package/dist/ui/Chat/Chat.module.js.map +1 -0
- package/dist/ui/Chat/Chat.types.d.ts +35 -0
- package/dist/ui/Chat/index.d.ts +2 -0
- package/dist/ui/Checkbox/Checkbox.d.ts +3 -0
- package/dist/ui/Checkbox/Checkbox.js +64 -0
- package/dist/ui/Checkbox/Checkbox.js.map +1 -0
- package/{ui → dist/ui}/Checkbox/Checkbox.module.css +28 -28
- package/dist/ui/Checkbox/Checkbox.module.js +16 -0
- package/dist/ui/Checkbox/Checkbox.module.js.map +1 -0
- package/dist/ui/Checkbox/Checkbox.types.d.ts +14 -0
- package/dist/ui/Checkbox/index.d.ts +2 -0
- package/dist/ui/Collapsible/Collapsible.d.ts +3 -0
- package/dist/ui/Collapsible/Collapsible.js +50 -0
- package/dist/ui/Collapsible/Collapsible.js.map +1 -0
- package/{ui → dist/ui}/Collapsible/Collapsible.module.css +8 -8
- package/dist/ui/Collapsible/Collapsible.module.js +14 -0
- package/dist/ui/Collapsible/Collapsible.module.js.map +1 -0
- package/dist/ui/Collapsible/Collapsible.types.d.ts +8 -0
- package/dist/ui/Collapsible/index.d.ts +2 -0
- package/dist/ui/Command/Command.d.ts +3 -0
- package/dist/ui/Command/Command.js +120 -0
- package/dist/ui/Command/Command.js.map +1 -0
- package/{ui → dist/ui}/Command/Command.module.css +22 -22
- package/dist/ui/Command/Command.module.js +22 -0
- package/dist/ui/Command/Command.module.js.map +1 -0
- package/dist/ui/Command/Command.types.d.ts +18 -0
- package/dist/ui/Command/index.d.ts +2 -0
- package/dist/ui/DataTable/DataTable.d.ts +3 -0
- package/dist/ui/DataTable/DataTable.js +324 -0
- package/dist/ui/DataTable/DataTable.js.map +1 -0
- package/{ui → dist/ui}/DataTable/DataTable.module.css +34 -34
- package/dist/ui/DataTable/DataTable.module.js +27 -0
- package/dist/ui/DataTable/DataTable.module.js.map +1 -0
- package/dist/ui/DataTable/DataTable.types.d.ts +28 -0
- package/dist/ui/DataTable/index.d.ts +2 -0
- package/dist/ui/DatePicker/DatePicker.d.ts +3 -0
- package/dist/ui/DatePicker/DatePicker.js +92 -0
- package/dist/ui/DatePicker/DatePicker.js.map +1 -0
- package/{ui → dist/ui}/DatePicker/DatePicker.module.css +7 -7
- package/dist/ui/DatePicker/DatePicker.module.js +14 -0
- package/dist/ui/DatePicker/DatePicker.module.js.map +1 -0
- package/dist/ui/DatePicker/DatePicker.types.d.ts +14 -0
- package/dist/ui/DatePicker/index.d.ts +2 -0
- package/dist/ui/Drawer/Drawer.d.ts +3 -0
- package/dist/ui/Drawer/Drawer.js +82 -0
- package/dist/ui/Drawer/Drawer.js.map +1 -0
- package/{ui → dist/ui}/Drawer/Drawer.module.css +31 -31
- package/dist/ui/Drawer/Drawer.module.js +26 -0
- package/dist/ui/Drawer/Drawer.module.js.map +1 -0
- package/dist/ui/Drawer/Drawer.types.d.ts +12 -0
- package/dist/ui/Drawer/index.d.ts +2 -0
- package/dist/ui/DropdownMenu/DropdownMenu.d.ts +3 -0
- package/dist/ui/DropdownMenu/DropdownMenu.js +378 -0
- package/dist/ui/DropdownMenu/DropdownMenu.js.map +1 -0
- package/{ui → dist/ui}/DropdownMenu/DropdownMenu.module.css +53 -53
- package/dist/ui/DropdownMenu/DropdownMenu.module.js +42 -0
- package/dist/ui/DropdownMenu/DropdownMenu.module.js.map +1 -0
- package/dist/ui/DropdownMenu/DropdownMenu.types.d.ts +44 -0
- package/dist/ui/DropdownMenu/index.d.ts +2 -0
- package/dist/ui/Empty/Empty.d.ts +3 -0
- package/dist/ui/Empty/Empty.js +43 -0
- package/dist/ui/Empty/Empty.js.map +1 -0
- package/{ui → dist/ui}/Empty/Empty.module.css +9 -9
- package/dist/ui/Empty/Empty.module.js +16 -0
- package/dist/ui/Empty/Empty.module.js.map +1 -0
- package/dist/ui/Empty/Empty.types.d.ts +9 -0
- package/dist/ui/Empty/index.d.ts +2 -0
- package/dist/ui/Field/Field.d.ts +3 -0
- package/dist/ui/Field/Field.js +38 -0
- package/dist/ui/Field/Field.js.map +1 -0
- package/{ui → dist/ui}/Field/Field.module.css +11 -11
- package/dist/ui/Field/Field.module.js +15 -0
- package/dist/ui/Field/Field.module.js.map +1 -0
- package/dist/ui/Field/Field.types.d.ts +10 -0
- package/dist/ui/Field/index.d.ts +2 -0
- package/dist/ui/FieldSet/FieldSet.d.ts +3 -0
- package/dist/ui/FieldSet/FieldSet.js +26 -0
- package/dist/ui/FieldSet/FieldSet.js.map +1 -0
- package/{ui → dist/ui}/FieldSet/FieldSet.module.css +4 -4
- package/dist/ui/FieldSet/FieldSet.module.js +12 -0
- package/dist/ui/FieldSet/FieldSet.module.js.map +1 -0
- package/dist/ui/FieldSet/FieldSet.types.d.ts +6 -0
- package/dist/ui/FieldSet/index.d.ts +2 -0
- package/dist/ui/HeaderCell/HeaderCell.d.ts +3 -0
- package/dist/ui/HeaderCell/HeaderCell.js +42 -0
- package/dist/ui/HeaderCell/HeaderCell.js.map +1 -0
- package/{ui → dist/ui}/HeaderCell/HeaderCell.module.css +14 -14
- package/dist/ui/HeaderCell/HeaderCell.module.js +19 -0
- package/dist/ui/HeaderCell/HeaderCell.module.js.map +1 -0
- package/dist/ui/HeaderCell/HeaderCell.types.d.ts +17 -0
- package/dist/ui/HeaderCell/index.d.ts +2 -0
- package/dist/ui/Input/Input.d.ts +3 -0
- package/dist/ui/Input/Input.js +58 -0
- package/dist/ui/Input/Input.js.map +1 -0
- package/{ui → dist/ui}/Input/Input.module.css +12 -12
- package/dist/ui/Input/Input.module.js +13 -0
- package/dist/ui/Input/Input.module.js.map +1 -0
- package/dist/ui/Input/Input.types.d.ts +21 -0
- package/dist/ui/Input/index.d.ts +2 -0
- package/dist/ui/InputOTP/InputOTP.d.ts +3 -0
- package/dist/ui/InputOTP/InputOTP.js +86 -0
- package/dist/ui/InputOTP/InputOTP.js.map +1 -0
- package/{ui → dist/ui}/InputOTP/InputOTP.module.css +20 -20
- package/dist/ui/InputOTP/InputOTP.module.js +20 -0
- package/dist/ui/InputOTP/InputOTP.module.js.map +1 -0
- package/dist/ui/InputOTP/InputOTP.types.d.ts +18 -0
- package/{ui/InputOTP/index.ts → dist/ui/InputOTP/index.d.ts} +2 -2
- package/dist/ui/InsightCard/InsightCard.d.ts +3 -0
- package/dist/ui/InsightCard/InsightCard.js +89 -0
- package/dist/ui/InsightCard/InsightCard.js.map +1 -0
- package/{ui → dist/ui}/InsightCard/InsightCard.module.css +23 -23
- package/dist/ui/InsightCard/InsightCard.module.js +29 -0
- package/dist/ui/InsightCard/InsightCard.module.js.map +1 -0
- package/dist/ui/InsightCard/InsightCard.types.d.ts +18 -0
- package/dist/ui/InsightCard/index.d.ts +2 -0
- package/dist/ui/LineChart/LineChart.d.ts +3 -0
- package/dist/ui/LineChart/LineChart.js +307 -0
- package/dist/ui/LineChart/LineChart.js.map +1 -0
- package/{ui → dist/ui}/LineChart/LineChart.module.css +16 -16
- package/dist/ui/LineChart/LineChart.module.js +22 -0
- package/dist/ui/LineChart/LineChart.module.js.map +1 -0
- package/dist/ui/LineChart/LineChart.types.d.ts +17 -0
- package/dist/ui/LineChart/index.d.ts +2 -0
- package/dist/ui/LoadingAnimation/LoadingAnimation.d.ts +3 -0
- package/dist/ui/LoadingAnimation/LoadingAnimation.js +24 -0
- package/dist/ui/LoadingAnimation/LoadingAnimation.js.map +1 -0
- package/{ui → dist/ui}/LoadingAnimation/LoadingAnimation.module.css +11 -11
- package/dist/ui/LoadingAnimation/LoadingAnimation.module.js +13 -0
- package/dist/ui/LoadingAnimation/LoadingAnimation.module.js.map +1 -0
- package/{ui/LoadingAnimation/LoadingAnimation.types.ts → dist/ui/LoadingAnimation/LoadingAnimation.types.d.ts} +4 -5
- package/dist/ui/LoadingAnimation/index.d.ts +2 -0
- package/dist/ui/Modal/Modal.d.ts +3 -0
- package/dist/ui/Modal/Modal.js +66 -0
- package/dist/ui/Modal/Modal.js.map +1 -0
- package/{ui → dist/ui}/Modal/Modal.module.css +7 -7
- package/dist/ui/Modal/Modal.module.js +12 -0
- package/dist/ui/Modal/Modal.module.js.map +1 -0
- package/dist/ui/Modal/Modal.types.d.ts +13 -0
- package/dist/ui/Modal/index.d.ts +2 -0
- package/dist/ui/ModalCard/ModalCard.d.ts +3 -0
- package/dist/ui/ModalCard/ModalCard.js +56 -0
- package/dist/ui/ModalCard/ModalCard.js.map +1 -0
- package/{ui → dist/ui}/ModalCard/ModalCard.module.css +20 -20
- package/dist/ui/ModalCard/ModalCard.module.js +20 -0
- package/dist/ui/ModalCard/ModalCard.module.js.map +1 -0
- package/dist/ui/ModalCard/ModalCard.types.d.ts +13 -0
- package/dist/ui/ModalCard/index.d.ts +2 -0
- package/dist/ui/NavigationMenu/NavigationMenu.d.ts +3 -0
- package/dist/ui/NavigationMenu/NavigationMenu.js +35 -0
- package/dist/ui/NavigationMenu/NavigationMenu.js.map +1 -0
- package/{ui → dist/ui}/NavigationMenu/NavigationMenu.module.css +5 -5
- package/dist/ui/NavigationMenu/NavigationMenu.module.js +11 -0
- package/dist/ui/NavigationMenu/NavigationMenu.module.js.map +1 -0
- package/dist/ui/NavigationMenu/NavigationMenu.types.d.ts +18 -0
- package/dist/ui/NavigationMenu/index.d.ts +2 -0
- package/dist/ui/NumberTransition/NumberTransition.d.ts +3 -0
- package/dist/ui/NumberTransition/NumberTransition.js +54 -0
- package/dist/ui/NumberTransition/NumberTransition.js.map +1 -0
- package/{ui → dist/ui}/NumberTransition/NumberTransition.module.css +21 -21
- package/dist/ui/NumberTransition/NumberTransition.module.js +20 -0
- package/dist/ui/NumberTransition/NumberTransition.module.js.map +1 -0
- package/dist/ui/NumberTransition/NumberTransition.types.d.ts +8 -0
- package/dist/ui/NumberTransition/index.d.ts +2 -0
- package/dist/ui/PageHeader/PageHeader.d.ts +3 -0
- package/dist/ui/PageHeader/PageHeader.js +44 -0
- package/dist/ui/PageHeader/PageHeader.js.map +1 -0
- package/{ui → dist/ui}/PageHeader/PageHeader.module.css +8 -8
- package/dist/ui/PageHeader/PageHeader.module.js +16 -0
- package/dist/ui/PageHeader/PageHeader.module.js.map +1 -0
- package/dist/ui/PageHeader/PageHeader.types.d.ts +11 -0
- package/dist/ui/PageHeader/index.d.ts +2 -0
- package/dist/ui/Pagination/Pagination.d.ts +3 -0
- package/dist/ui/Pagination/Pagination.js +109 -0
- package/dist/ui/Pagination/Pagination.js.map +1 -0
- package/{ui → dist/ui}/Pagination/Pagination.module.css +3 -3
- package/dist/ui/Pagination/Pagination.module.js +11 -0
- package/dist/ui/Pagination/Pagination.module.js.map +1 -0
- package/dist/ui/Pagination/Pagination.types.d.ts +11 -0
- package/dist/ui/Pagination/index.d.ts +2 -0
- package/dist/ui/PieChart/PieChart.d.ts +3 -0
- package/dist/ui/PieChart/PieChart.js +254 -0
- package/dist/ui/PieChart/PieChart.js.map +1 -0
- package/{ui → dist/ui}/PieChart/PieChart.module.css +22 -22
- package/dist/ui/PieChart/PieChart.module.js +22 -0
- package/dist/ui/PieChart/PieChart.module.js.map +1 -0
- package/dist/ui/PieChart/PieChart.types.d.ts +20 -0
- package/{ui/PieChart/index.ts → dist/ui/PieChart/index.d.ts} +2 -2
- package/dist/ui/Progress/Progress.d.ts +3 -0
- package/dist/ui/Progress/Progress.js +117 -0
- package/dist/ui/Progress/Progress.js.map +1 -0
- package/{ui → dist/ui}/Progress/Progress.module.css +42 -42
- package/dist/ui/Progress/Progress.module.js +32 -0
- package/dist/ui/Progress/Progress.module.js.map +1 -0
- package/{ui/Progress/Progress.types.ts → dist/ui/Progress/Progress.types.d.ts} +8 -9
- package/dist/ui/Progress/index.d.ts +2 -0
- package/dist/ui/ProgressSteps/ProgressSteps.d.ts +3 -0
- package/dist/ui/ProgressSteps/ProgressSteps.js +92 -0
- package/dist/ui/ProgressSteps/ProgressSteps.js.map +1 -0
- package/{ui → dist/ui}/ProgressSteps/ProgressSteps.module.css +33 -33
- package/dist/ui/ProgressSteps/ProgressSteps.module.js +31 -0
- package/dist/ui/ProgressSteps/ProgressSteps.module.js.map +1 -0
- package/{ui/ProgressSteps/ProgressSteps.types.ts → dist/ui/ProgressSteps/ProgressSteps.types.d.ts} +10 -12
- package/dist/ui/ProgressSteps/index.d.ts +2 -0
- package/dist/ui/RadioGroup/RadioGroup.d.ts +3 -0
- package/dist/ui/RadioGroup/RadioGroup.js +87 -0
- package/dist/ui/RadioGroup/RadioGroup.js.map +1 -0
- package/{ui → dist/ui}/RadioGroup/RadioGroup.module.css +48 -48
- package/dist/ui/RadioGroup/RadioGroup.module.js +27 -0
- package/dist/ui/RadioGroup/RadioGroup.module.js.map +1 -0
- package/dist/ui/RadioGroup/RadioGroup.types.d.ts +27 -0
- package/dist/ui/RadioGroup/index.d.ts +2 -0
- package/dist/ui/Scoreboard/Scoreboard.d.ts +3 -0
- package/dist/ui/Scoreboard/Scoreboard.js +33 -0
- package/dist/ui/Scoreboard/Scoreboard.js.map +1 -0
- package/{ui → dist/ui}/Scoreboard/Scoreboard.module.css +11 -11
- package/dist/ui/Scoreboard/Scoreboard.module.js +15 -0
- package/dist/ui/Scoreboard/Scoreboard.module.js.map +1 -0
- package/dist/ui/Scoreboard/Scoreboard.types.d.ts +6 -0
- package/dist/ui/Scoreboard/index.d.ts +2 -0
- package/dist/ui/Scorecard/Scorecard.d.ts +3 -0
- package/dist/ui/Scorecard/Scorecard.js +76 -0
- package/dist/ui/Scorecard/Scorecard.js.map +1 -0
- package/{ui → dist/ui}/Scorecard/Scorecard.module.css +25 -25
- package/dist/ui/Scorecard/Scorecard.module.js +26 -0
- package/dist/ui/Scorecard/Scorecard.module.js.map +1 -0
- package/dist/ui/Scorecard/Scorecard.types.d.ts +15 -0
- package/dist/ui/Scorecard/index.d.ts +2 -0
- package/dist/ui/Section/Section.d.ts +3 -0
- package/dist/ui/Section/Section.js +54 -0
- package/dist/ui/Section/Section.js.map +1 -0
- package/{ui → dist/ui}/Section/Section.module.css +15 -15
- package/dist/ui/Section/Section.module.js +21 -0
- package/dist/ui/Section/Section.module.js.map +1 -0
- package/dist/ui/Section/Section.types.d.ts +13 -0
- package/dist/ui/Section/index.d.ts +2 -0
- package/dist/ui/Select/Select.d.ts +3 -0
- package/dist/ui/Select/Select.js +59 -0
- package/dist/ui/Select/Select.js.map +1 -0
- package/dist/ui/Select/Select.types.d.ts +24 -0
- package/dist/ui/Select/index.d.ts +2 -0
- package/dist/ui/ShimmerText/ShimmerText.d.ts +3 -0
- package/dist/ui/ShimmerText/ShimmerText.js +35 -0
- package/dist/ui/ShimmerText/ShimmerText.js.map +1 -0
- package/{ui → dist/ui}/ShimmerText/ShimmerText.module.css +8 -8
- package/dist/ui/ShimmerText/ShimmerText.module.js +14 -0
- package/dist/ui/ShimmerText/ShimmerText.module.js.map +1 -0
- package/dist/ui/ShimmerText/ShimmerText.types.d.ts +10 -0
- package/dist/ui/ShimmerText/index.d.ts +2 -0
- package/dist/ui/SideNav/SideNav.d.ts +3 -0
- package/dist/ui/SideNav/SideNav.js +176 -0
- package/dist/ui/SideNav/SideNav.js.map +1 -0
- package/{ui → dist/ui}/SideNav/SideNav.module.css +54 -54
- package/dist/ui/SideNav/SideNav.module.js +32 -0
- package/dist/ui/SideNav/SideNav.module.js.map +1 -0
- package/dist/ui/SideNav/SideNav.types.d.ts +38 -0
- package/dist/ui/SideNav/index.d.ts +2 -0
- package/dist/ui/Slider/Slider.d.ts +3 -0
- package/dist/ui/Slider/Slider.js +129 -0
- package/dist/ui/Slider/Slider.js.map +1 -0
- package/{ui → dist/ui}/Slider/Slider.module.css +18 -18
- package/dist/ui/Slider/Slider.module.js +15 -0
- package/dist/ui/Slider/Slider.module.js.map +1 -0
- package/dist/ui/Slider/Slider.types.d.ts +10 -0
- package/dist/ui/Slider/index.d.ts +2 -0
- package/dist/ui/Spinner/Spinner.d.ts +3 -0
- package/dist/ui/Spinner/Spinner.js +24 -0
- package/dist/ui/Spinner/Spinner.js.map +1 -0
- package/{ui → dist/ui}/Spinner/Spinner.module.css +11 -11
- package/dist/ui/Spinner/Spinner.module.js +15 -0
- package/dist/ui/Spinner/Spinner.module.js.map +1 -0
- package/{ui/Spinner/Spinner.types.ts → dist/ui/Spinner/Spinner.types.d.ts} +2 -3
- package/dist/ui/Spinner/index.d.ts +2 -0
- package/dist/ui/Switch/Switch.d.ts +3 -0
- package/dist/ui/Switch/Switch.js +45 -0
- package/dist/ui/Switch/Switch.js.map +1 -0
- package/{ui → dist/ui}/Switch/Switch.module.css +27 -27
- package/dist/ui/Switch/Switch.module.js +18 -0
- package/dist/ui/Switch/Switch.module.js.map +1 -0
- package/dist/ui/Switch/Switch.types.d.ts +11 -0
- package/dist/ui/Switch/index.d.ts +2 -0
- package/dist/ui/Table/Table.d.ts +3 -0
- package/dist/ui/Table/Table.js +84 -0
- package/dist/ui/Table/Table.js.map +1 -0
- package/{ui → dist/ui}/Table/Table.module.css +24 -24
- package/dist/ui/Table/Table.module.js +22 -0
- package/dist/ui/Table/Table.module.js.map +1 -0
- package/dist/ui/Table/Table.types.d.ts +22 -0
- package/dist/ui/Table/index.d.ts +2 -0
- package/dist/ui/Tabs/Tabs.d.ts +3 -0
- package/dist/ui/Tabs/Tabs.js +112 -0
- package/dist/ui/Tabs/Tabs.js.map +1 -0
- package/{ui → dist/ui}/Tabs/Tabs.module.css +26 -26
- package/dist/ui/Tabs/Tabs.module.js +18 -0
- package/dist/ui/Tabs/Tabs.module.js.map +1 -0
- package/dist/ui/Tabs/Tabs.types.d.ts +18 -0
- package/dist/ui/Tabs/index.d.ts +2 -0
- package/dist/ui/Textarea/Textarea.d.ts +3 -0
- package/dist/ui/Textarea/Textarea.js +26 -0
- package/dist/ui/Textarea/Textarea.js.map +1 -0
- package/{ui → dist/ui}/Textarea/Textarea.module.css +15 -15
- package/dist/ui/Textarea/Textarea.module.js +13 -0
- package/dist/ui/Textarea/Textarea.module.js.map +1 -0
- package/dist/ui/Textarea/Textarea.types.d.ts +13 -0
- package/dist/ui/Textarea/index.d.ts +2 -0
- package/dist/ui/ThinkingAnimation/ThinkingAnimation.d.ts +3 -0
- package/dist/ui/ThinkingAnimation/ThinkingAnimation.js +28 -0
- package/dist/ui/ThinkingAnimation/ThinkingAnimation.js.map +1 -0
- package/{ui → dist/ui}/ThinkingAnimation/ThinkingAnimation.module.css +13 -13
- package/dist/ui/ThinkingAnimation/ThinkingAnimation.module.js +15 -0
- package/dist/ui/ThinkingAnimation/ThinkingAnimation.module.js.map +1 -0
- package/dist/ui/ThinkingAnimation/ThinkingAnimation.types.d.ts +7 -0
- package/dist/ui/ThinkingAnimation/index.d.ts +2 -0
- package/dist/ui/Timeline/Timeline.d.ts +3 -0
- package/dist/ui/Timeline/Timeline.js +50 -0
- package/dist/ui/Timeline/Timeline.js.map +1 -0
- package/{ui → dist/ui}/Timeline/Timeline.module.css +16 -16
- package/dist/ui/Timeline/Timeline.module.js +20 -0
- package/dist/ui/Timeline/Timeline.module.js.map +1 -0
- package/dist/ui/Timeline/Timeline.types.d.ts +14 -0
- package/{ui/Timeline/index.ts → dist/ui/Timeline/index.d.ts} +2 -2
- package/dist/ui/Toast/Toast.d.ts +3 -0
- package/dist/ui/Toast/Toast.js +86 -0
- package/dist/ui/Toast/Toast.js.map +1 -0
- package/{ui → dist/ui}/Toast/Toast.module.css +20 -20
- package/dist/ui/Toast/Toast.module.js +24 -0
- package/dist/ui/Toast/Toast.module.js.map +1 -0
- package/dist/ui/Toast/Toast.types.d.ts +15 -0
- package/dist/ui/Toast/index.d.ts +2 -0
- package/dist/ui/Tooltip/Tooltip.d.ts +12 -0
- package/dist/ui/Tooltip/Tooltip.js +51 -0
- package/dist/ui/Tooltip/Tooltip.js.map +1 -0
- package/{ui → dist/ui}/Tooltip/Tooltip.module.css +17 -17
- package/dist/ui/Tooltip/Tooltip.module.js +16 -0
- package/dist/ui/Tooltip/Tooltip.module.js.map +1 -0
- package/dist/ui/Tooltip/index.d.ts +2 -0
- package/dist/ui/patterns/ActivityPattern/ActivityFeed.d.ts +4 -0
- package/dist/ui/patterns/ActivityPattern/ActivityFeed.js +162 -0
- package/dist/ui/patterns/ActivityPattern/ActivityFeed.js.map +1 -0
- package/dist/ui/patterns/ActivityPattern/ActivityPattern.d.ts +5 -0
- package/dist/ui/patterns/ActivityPattern/ActivityPattern.js +168 -0
- package/dist/ui/patterns/ActivityPattern/ActivityPattern.js.map +1 -0
- package/dist/ui/patterns/ActivityPattern/ActivityTasks.d.ts +11 -0
- package/dist/ui/patterns/ActivityPattern/ActivityTasks.js +89 -0
- package/dist/ui/patterns/ActivityPattern/ActivityTasks.js.map +1 -0
- package/dist/ui/patterns/ActivityPattern/TaskDrawer.d.ts +21 -0
- package/dist/ui/patterns/ActivityPattern/TaskDrawer.js +184 -0
- package/dist/ui/patterns/ActivityPattern/TaskDrawer.js.map +1 -0
- package/{ui → dist/ui}/patterns/ActivityPattern/TaskDrawer.module.css +6 -6
- package/dist/ui/patterns/ActivityPattern/TaskDrawer.module.js +14 -0
- package/dist/ui/patterns/ActivityPattern/TaskDrawer.module.js.map +1 -0
- package/dist/ui/patterns/ActivityPattern/index.d.ts +2 -0
- package/dist/ui/patterns/AssistantWorkspacePattern/AssistantWorkspacePattern.d.ts +5 -0
- package/dist/ui/patterns/AssistantWorkspacePattern/AssistantWorkspacePattern.js +123 -0
- package/dist/ui/patterns/AssistantWorkspacePattern/AssistantWorkspacePattern.js.map +1 -0
- package/{ui → dist/ui}/patterns/AssistantWorkspacePattern/AssistantWorkspacePattern.module.css +3 -3
- package/dist/ui/patterns/AssistantWorkspacePattern/AssistantWorkspacePattern.module.js +11 -0
- package/dist/ui/patterns/AssistantWorkspacePattern/AssistantWorkspacePattern.module.js.map +1 -0
- package/dist/ui/patterns/AssistantWorkspacePattern/index.d.ts +2 -0
- package/dist/ui/patterns/DashboardPattern/DashboardPattern.d.ts +4 -0
- package/dist/ui/patterns/DashboardPattern/DashboardPattern.js +225 -0
- package/dist/ui/patterns/DashboardPattern/DashboardPattern.js.map +1 -0
- package/dist/ui/patterns/DashboardPattern/index.d.ts +1 -0
- package/dist/ui/patterns/EmptyFirstRunPattern/EmptyFirstRunPattern.d.ts +8 -0
- package/dist/ui/patterns/EmptyFirstRunPattern/EmptyFirstRunPattern.js +109 -0
- package/dist/ui/patterns/EmptyFirstRunPattern/EmptyFirstRunPattern.js.map +1 -0
- package/dist/ui/patterns/EmptyFirstRunPattern/index.d.ts +2 -0
- package/dist/ui/patterns/InboxPattern/InboxPattern.d.ts +5 -0
- package/dist/ui/patterns/InboxPattern/InboxPattern.js +275 -0
- package/dist/ui/patterns/InboxPattern/InboxPattern.js.map +1 -0
- package/{ui → dist/ui}/patterns/InboxPattern/InboxPattern.module.css +6 -6
- package/dist/ui/patterns/InboxPattern/InboxPattern.module.js +14 -0
- package/dist/ui/patterns/InboxPattern/InboxPattern.module.js.map +1 -0
- package/dist/ui/patterns/InboxPattern/InboxReplyDrawer.d.ts +7 -0
- package/dist/ui/patterns/InboxPattern/InboxReplyDrawer.js +87 -0
- package/dist/ui/patterns/InboxPattern/InboxReplyDrawer.js.map +1 -0
- package/dist/ui/patterns/InboxPattern/inbox-data.d.ts +15 -0
- package/dist/ui/patterns/InboxPattern/inbox-data.js +86 -0
- package/dist/ui/patterns/InboxPattern/inbox-data.js.map +1 -0
- package/dist/ui/patterns/InboxPattern/index.d.ts +2 -0
- package/dist/ui/patterns/InviteMembersPattern/InviteMembersPattern.d.ts +9 -0
- package/dist/ui/patterns/InviteMembersPattern/InviteMembersPattern.js +158 -0
- package/dist/ui/patterns/InviteMembersPattern/InviteMembersPattern.js.map +1 -0
- package/dist/ui/patterns/InviteMembersPattern/index.d.ts +2 -0
- package/dist/ui/patterns/ListDetailPattern/ListDetailPattern.d.ts +16 -0
- package/dist/ui/patterns/ListDetailPattern/ListDetailPattern.js +143 -0
- package/dist/ui/patterns/ListDetailPattern/ListDetailPattern.js.map +1 -0
- package/{ui → dist/ui}/patterns/ListDetailPattern/ListDetailPattern.module.css +5 -5
- package/dist/ui/patterns/ListDetailPattern/ListDetailPattern.module.js +12 -0
- package/dist/ui/patterns/ListDetailPattern/ListDetailPattern.module.js.map +1 -0
- package/dist/ui/patterns/ListDetailPattern/index.d.ts +2 -0
- package/dist/ui/patterns/SettingsFormPattern/SettingsFormPattern.d.ts +7 -0
- package/dist/ui/patterns/SettingsFormPattern/SettingsFormPattern.js +127 -0
- package/dist/ui/patterns/SettingsFormPattern/SettingsFormPattern.js.map +1 -0
- package/{ui → dist/ui}/patterns/SettingsFormPattern/SettingsFormPattern.module.css +2 -2
- package/dist/ui/patterns/SettingsFormPattern/SettingsFormPattern.module.js +10 -0
- package/dist/ui/patterns/SettingsFormPattern/SettingsFormPattern.module.js.map +1 -0
- package/dist/ui/patterns/SettingsFormPattern/index.d.ts +2 -0
- package/dist/ui/shared/ChartFrame.d.ts +14 -0
- package/dist/ui/shared/ChartFrame.js +61 -0
- package/dist/ui/shared/ChartFrame.js.map +1 -0
- package/{ui → dist/ui}/shared/ChartFrame.module.css +41 -41
- package/dist/ui/shared/ChartFrame.module.js +39 -0
- package/dist/ui/shared/ChartFrame.module.js.map +1 -0
- package/dist/ui/shared/chartMath.d.ts +78 -0
- package/dist/ui/shared/chartMath.js +127 -0
- package/dist/ui/shared/chartMath.js.map +1 -0
- package/{ui → dist/ui}/shared/controls.module.css +8 -8
- package/dist/ui/shared/controls.module.js +13 -0
- package/dist/ui/shared/controls.module.js.map +1 -0
- package/dist/ui/shared/useChartSize.d.ts +5 -0
- package/dist/ui/shared/useChartSize.js +22 -0
- package/dist/ui/shared/useChartSize.js.map +1 -0
- package/package.json +28 -8
- package/skills/prototype-from-kit/SKILL.md +1 -1
- package/src/index.ts +0 -71
- package/ui/Accordion/Accordion.tsx +0 -51
- package/ui/Accordion/Accordion.types.ts +0 -10
- package/ui/Accordion/index.ts +0 -2
- package/ui/Alert/Alert.tsx +0 -27
- package/ui/Alert/index.ts +0 -2
- package/ui/AlertDialog/AlertDialog.tsx +0 -109
- package/ui/AlertDialog/AlertDialog.types.ts +0 -14
- package/ui/AlertDialog/index.ts +0 -6
- package/ui/AppHeader/AppHeader.tsx +0 -70
- package/ui/AppHeader/AppHeader.types.ts +0 -28
- package/ui/AppHeader/index.ts +0 -2
- package/ui/AppNav/AppNav.tsx +0 -137
- package/ui/AppNav/AppNav.types.ts +0 -24
- package/ui/Avatar/Avatar.tsx +0 -62
- package/ui/Avatar/Avatar.types.ts +0 -8
- package/ui/Avatar/index.ts +0 -2
- package/ui/AvatarGroup/AvatarGroup.tsx +0 -29
- package/ui/AvatarGroup/AvatarGroup.types.ts +0 -16
- package/ui/AvatarGroup/index.ts +0 -2
- package/ui/Badge/Badge.tsx +0 -43
- package/ui/Badge/index.ts +0 -2
- package/ui/BarChart/BarChart.tsx +0 -380
- package/ui/BarChart/BarChart.types.ts +0 -18
- package/ui/BarChart/index.ts +0 -2
- package/ui/Breadcrumb/Breadcrumb.tsx +0 -89
- package/ui/Breadcrumb/Breadcrumb.types.ts +0 -14
- package/ui/Breadcrumb/index.ts +0 -2
- package/ui/Button/Button.tsx +0 -49
- package/ui/Button/Button.types.ts +0 -18
- package/ui/Button/index.ts +0 -2
- package/ui/Button/lucideName.tsx +0 -188
- package/ui/ButtonGroup/ButtonGroup.module.css +0 -31
- package/ui/ButtonGroup/ButtonGroup.tsx +0 -12
- package/ui/ButtonGroup/ButtonGroup.types.ts +0 -6
- package/ui/ButtonGroup/index.ts +0 -2
- package/ui/Calendar/Calendar.tsx +0 -296
- package/ui/Calendar/Calendar.types.ts +0 -11
- package/ui/Calendar/index.ts +0 -2
- package/ui/Card/Card.tsx +0 -69
- package/ui/Card/Card.types.ts +0 -23
- package/ui/Carousel/Carousel.tsx +0 -152
- package/ui/Carousel/Carousel.types.ts +0 -17
- package/ui/Carousel/index.ts +0 -7
- package/ui/Cell/Cell.tsx +0 -300
- package/ui/Cell/Cell.types.ts +0 -69
- package/ui/Cell/index.ts +0 -11
- package/ui/Chat/Chat.tsx +0 -175
- package/ui/Chat/Chat.types.ts +0 -39
- package/ui/Chat/index.ts +0 -2
- package/ui/Checkbox/Checkbox.tsx +0 -70
- package/ui/Checkbox/Checkbox.types.ts +0 -15
- package/ui/Checkbox/index.ts +0 -2
- package/ui/Collapsible/Collapsible.tsx +0 -59
- package/ui/Collapsible/Collapsible.types.ts +0 -9
- package/ui/Collapsible/index.ts +0 -2
- package/ui/Command/Command.tsx +0 -152
- package/ui/Command/Command.types.ts +0 -20
- package/ui/Command/index.ts +0 -2
- package/ui/DataTable/DataTable.tsx +0 -429
- package/ui/DataTable/DataTable.types.ts +0 -35
- package/ui/DataTable/index.ts +0 -8
- package/ui/DatePicker/DatePicker.tsx +0 -123
- package/ui/DatePicker/DatePicker.types.ts +0 -15
- package/ui/DatePicker/index.ts +0 -2
- package/ui/Drawer/Drawer.tsx +0 -112
- package/ui/Drawer/Drawer.types.ts +0 -14
- package/ui/Drawer/index.ts +0 -2
- package/ui/DropdownMenu/DropdownMenu.tsx +0 -580
- package/ui/DropdownMenu/DropdownMenu.types.ts +0 -48
- package/ui/DropdownMenu/index.ts +0 -8
- package/ui/Empty/Empty.tsx +0 -35
- package/ui/Empty/Empty.types.ts +0 -10
- package/ui/Empty/index.ts +0 -2
- package/ui/Field/Field.tsx +0 -46
- package/ui/Field/Field.types.ts +0 -12
- package/ui/Field/index.ts +0 -2
- package/ui/FieldSet/FieldSet.tsx +0 -14
- package/ui/FieldSet/FieldSet.types.ts +0 -7
- package/ui/FieldSet/index.ts +0 -2
- package/ui/HeaderCell/HeaderCell.tsx +0 -71
- package/ui/HeaderCell/HeaderCell.types.ts +0 -18
- package/ui/HeaderCell/index.ts +0 -2
- package/ui/Input/Input.tsx +0 -65
- package/ui/Input/Input.types.ts +0 -22
- package/ui/Input/index.ts +0 -2
- package/ui/InputOTP/InputOTP.tsx +0 -136
- package/ui/InputOTP/InputOTP.types.ts +0 -19
- package/ui/InsightCard/InsightCard.tsx +0 -90
- package/ui/InsightCard/InsightCard.types.ts +0 -20
- package/ui/InsightCard/index.ts +0 -7
- package/ui/LineChart/LineChart.tsx +0 -424
- package/ui/LineChart/LineChart.types.ts +0 -19
- package/ui/LineChart/index.ts +0 -2
- package/ui/LoadingAnimation/LoadingAnimation.tsx +0 -41
- package/ui/LoadingAnimation/index.ts +0 -6
- package/ui/Modal/Modal.tsx +0 -114
- package/ui/Modal/Modal.types.ts +0 -15
- package/ui/Modal/index.ts +0 -2
- package/ui/ModalCard/ModalCard.tsx +0 -58
- package/ui/ModalCard/ModalCard.types.ts +0 -15
- package/ui/ModalCard/index.ts +0 -2
- package/ui/NavigationMenu/NavigationMenu.tsx +0 -57
- package/ui/NavigationMenu/NavigationMenu.types.ts +0 -22
- package/ui/NavigationMenu/index.ts +0 -7
- package/ui/NumberTransition/NumberTransition.tsx +0 -78
- package/ui/NumberTransition/NumberTransition.types.ts +0 -9
- package/ui/NumberTransition/index.ts +0 -2
- package/ui/PageHeader/PageHeader.tsx +0 -39
- package/ui/PageHeader/PageHeader.types.ts +0 -12
- package/ui/PageHeader/index.ts +0 -2
- package/ui/Pagination/Pagination.tsx +0 -147
- package/ui/Pagination/Pagination.types.ts +0 -12
- package/ui/Pagination/index.ts +0 -2
- package/ui/PieChart/PieChart.tsx +0 -293
- package/ui/PieChart/PieChart.types.ts +0 -22
- package/ui/Progress/Progress.tsx +0 -167
- package/ui/Progress/index.ts +0 -8
- package/ui/ProgressSteps/ProgressSteps.tsx +0 -105
- package/ui/ProgressSteps/index.ts +0 -8
- package/ui/RadioGroup/RadioGroup.tsx +0 -116
- package/ui/RadioGroup/RadioGroup.types.ts +0 -30
- package/ui/RadioGroup/index.ts +0 -8
- package/ui/Scoreboard/Scoreboard.tsx +0 -41
- package/ui/Scoreboard/Scoreboard.types.ts +0 -7
- package/ui/Scoreboard/index.ts +0 -2
- package/ui/Scorecard/Scorecard.tsx +0 -92
- package/ui/Scorecard/Scorecard.types.ts +0 -18
- package/ui/Scorecard/index.ts +0 -2
- package/ui/Section/Section.tsx +0 -75
- package/ui/Section/Section.types.ts +0 -15
- package/ui/Section/index.ts +0 -2
- package/ui/Select/Select.module.css +0 -7
- package/ui/Select/Select.tsx +0 -113
- package/ui/Select/Select.types.ts +0 -26
- package/ui/Select/index.ts +0 -2
- package/ui/ShimmerText/ShimmerText.tsx +0 -48
- package/ui/ShimmerText/ShimmerText.types.ts +0 -12
- package/ui/ShimmerText/index.ts +0 -2
- package/ui/SideNav/SideNav.tsx +0 -222
- package/ui/SideNav/SideNav.types.ts +0 -42
- package/ui/SideNav/index.ts +0 -8
- package/ui/Slider/Slider.tsx +0 -187
- package/ui/Slider/Slider.types.ts +0 -11
- package/ui/Slider/index.ts +0 -2
- package/ui/Spinner/Spinner.tsx +0 -19
- package/ui/Spinner/index.ts +0 -2
- package/ui/Switch/Switch.tsx +0 -65
- package/ui/Switch/Switch.types.ts +0 -12
- package/ui/Switch/index.ts +0 -2
- package/ui/Table/Table.tsx +0 -108
- package/ui/Table/Table.types.ts +0 -26
- package/ui/Table/index.ts +0 -8
- package/ui/Tabs/Tabs.tsx +0 -150
- package/ui/Tabs/Tabs.types.ts +0 -21
- package/ui/Tabs/index.ts +0 -2
- package/ui/Textarea/Textarea.tsx +0 -38
- package/ui/Textarea/Textarea.types.ts +0 -14
- package/ui/Textarea/index.ts +0 -2
- package/ui/ThinkingAnimation/ThinkingAnimation.tsx +0 -31
- package/ui/ThinkingAnimation/ThinkingAnimation.types.ts +0 -8
- package/ui/ThinkingAnimation/index.ts +0 -2
- package/ui/Timeline/Timeline.tsx +0 -47
- package/ui/Timeline/Timeline.types.ts +0 -16
- package/ui/Toast/Toast.tsx +0 -89
- package/ui/Toast/Toast.types.ts +0 -17
- package/ui/Toast/index.ts +0 -2
- package/ui/Tooltip/Tooltip.tsx +0 -101
- package/ui/Tooltip/index.ts +0 -2
- package/ui/patterns/ActivityPattern/ActivityFeed.tsx +0 -77
- package/ui/patterns/ActivityPattern/ActivityPattern.tsx +0 -120
- package/ui/patterns/ActivityPattern/ActivityTasks.tsx +0 -86
- package/ui/patterns/ActivityPattern/TaskDrawer.tsx +0 -186
- package/ui/patterns/ActivityPattern/index.ts +0 -2
- package/ui/patterns/AssistantWorkspacePattern/AssistantWorkspacePattern.tsx +0 -159
- package/ui/patterns/AssistantWorkspacePattern/index.ts +0 -2
- package/ui/patterns/DashboardPattern/DashboardPattern.tsx +0 -102
- package/ui/patterns/DashboardPattern/index.ts +0 -1
- package/ui/patterns/DashboardPattern/patterns.module.css +0 -6
- package/ui/patterns/EmptyFirstRunPattern/EmptyFirstRunPattern.tsx +0 -125
- package/ui/patterns/EmptyFirstRunPattern/index.ts +0 -2
- package/ui/patterns/InboxPattern/InboxPattern.tsx +0 -192
- package/ui/patterns/InboxPattern/InboxReplyDrawer.tsx +0 -97
- package/ui/patterns/InboxPattern/inbox-data.ts +0 -101
- package/ui/patterns/InboxPattern/index.ts +0 -2
- package/ui/patterns/InviteMembersPattern/InviteMembersPattern.tsx +0 -148
- package/ui/patterns/InviteMembersPattern/index.ts +0 -2
- package/ui/patterns/ListDetailPattern/ListDetailPattern.tsx +0 -145
- package/ui/patterns/ListDetailPattern/index.ts +0 -2
- package/ui/patterns/SettingsFormPattern/SettingsFormPattern.tsx +0 -89
- package/ui/patterns/SettingsFormPattern/index.ts +0 -3
- package/ui/shared/ChartFrame.tsx +0 -87
- package/ui/shared/chartMath.ts +0 -228
- package/ui/shared/useChartSize.ts +0 -22
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.
|
|
1
|
+
._timeline_h97rg_1 {
|
|
2
2
|
display: grid;
|
|
3
3
|
width: 100%;
|
|
4
4
|
margin: 0;
|
|
@@ -6,21 +6,21 @@
|
|
|
6
6
|
list-style: none;
|
|
7
7
|
}
|
|
8
8
|
|
|
9
|
-
.
|
|
9
|
+
._step_h97rg_9 {
|
|
10
10
|
display: grid;
|
|
11
11
|
grid-template-columns: auto minmax(0, 1fr);
|
|
12
12
|
column-gap: var(--space-4);
|
|
13
13
|
align-items: stretch;
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
-
.
|
|
16
|
+
._rail_h97rg_16 {
|
|
17
17
|
display: flex;
|
|
18
18
|
flex-direction: column;
|
|
19
19
|
align-items: center;
|
|
20
20
|
width: var(--space-4);
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
-
.
|
|
23
|
+
._dot_h97rg_23 {
|
|
24
24
|
flex: none;
|
|
25
25
|
width: var(--space-3);
|
|
26
26
|
height: var(--space-3);
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
background: transparent;
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
.
|
|
32
|
+
._line_h97rg_32 {
|
|
33
33
|
flex: 1;
|
|
34
34
|
width: var(--border-width-thin);
|
|
35
35
|
min-height: var(--space-6);
|
|
@@ -37,51 +37,51 @@
|
|
|
37
37
|
background: var(--border-faint);
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
-
.
|
|
40
|
+
._now_h97rg_40 ._dot_h97rg_23 {
|
|
41
41
|
border-color: var(--text-primary);
|
|
42
42
|
background: var(--text-primary);
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
.
|
|
45
|
+
._now_h97rg_40 ._line_h97rg_32 {
|
|
46
46
|
background: var(--text-primary);
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
.
|
|
49
|
+
._next_h97rg_49 ._dot_h97rg_23 {
|
|
50
50
|
border-color: var(--border-strong);
|
|
51
51
|
background: transparent;
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
.
|
|
54
|
+
._later_h97rg_54 ._dot_h97rg_23 {
|
|
55
55
|
border-color: var(--border-faint);
|
|
56
56
|
background: transparent;
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
.
|
|
59
|
+
._later_h97rg_54 ._line_h97rg_32 {
|
|
60
60
|
background: var(--border-subtle);
|
|
61
61
|
}
|
|
62
62
|
|
|
63
|
-
.
|
|
63
|
+
._copy_h97rg_63 {
|
|
64
64
|
display: grid;
|
|
65
65
|
gap: var(--space-1);
|
|
66
66
|
padding-block-end: var(--space-6);
|
|
67
67
|
}
|
|
68
68
|
|
|
69
|
-
.
|
|
69
|
+
._step_h97rg_9:last-child ._copy_h97rg_63 {
|
|
70
70
|
padding-block-end: 0;
|
|
71
71
|
}
|
|
72
72
|
|
|
73
|
-
.
|
|
73
|
+
._phase_h97rg_73 {
|
|
74
74
|
margin: 0;
|
|
75
75
|
font-family: var(--font-sans);
|
|
76
76
|
font-size: var(--type-size-caption);
|
|
77
77
|
color: var(--text-muted);
|
|
78
78
|
}
|
|
79
79
|
|
|
80
|
-
.
|
|
80
|
+
._now_h97rg_40 ._phase_h97rg_73 {
|
|
81
81
|
color: var(--text-primary);
|
|
82
82
|
}
|
|
83
83
|
|
|
84
|
-
.
|
|
84
|
+
._title_h97rg_84 {
|
|
85
85
|
margin: 0;
|
|
86
86
|
font-family: var(--font-sans);
|
|
87
87
|
font-size: var(--type-size-label);
|
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
color: var(--text-primary);
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
.
|
|
93
|
+
._body_h97rg_93 {
|
|
94
94
|
margin: 0;
|
|
95
95
|
font-family: var(--font-sans);
|
|
96
96
|
font-size: var(--type-size-body-sm);
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import "./Timeline.module.css";
|
|
2
|
+
//#region ui/Timeline/Timeline.module.css
|
|
3
|
+
var e = "_timeline_h97rg_1", t = "_step_h97rg_9", n = "_rail_h97rg_16", r = "_dot_h97rg_23", i = "_line_h97rg_32", a = "_now_h97rg_40", o = "_next_h97rg_49", s = "_later_h97rg_54", c = "_copy_h97rg_63", l = "_phase_h97rg_73", u = "_title_h97rg_84", d = "_body_h97rg_93", f = {
|
|
4
|
+
timeline: e,
|
|
5
|
+
step: t,
|
|
6
|
+
rail: n,
|
|
7
|
+
dot: r,
|
|
8
|
+
line: i,
|
|
9
|
+
now: a,
|
|
10
|
+
next: o,
|
|
11
|
+
later: s,
|
|
12
|
+
copy: c,
|
|
13
|
+
phase: l,
|
|
14
|
+
title: u,
|
|
15
|
+
body: d
|
|
16
|
+
};
|
|
17
|
+
//#endregion
|
|
18
|
+
export { d as body, c as copy, f as default, r as dot, s as later, i as line, o as next, a as now, l as phase, n as rail, t as step, e as timeline, u as title };
|
|
19
|
+
|
|
20
|
+
//# sourceMappingURL=Timeline.module.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Timeline.module.js","names":[],"sources":["../../../ui/Timeline/Timeline.module.css"],"sourcesContent":[".timeline {\n display: grid;\n width: 100%;\n margin: 0;\n padding: 0;\n list-style: none;\n}\n\n.step {\n display: grid;\n grid-template-columns: auto minmax(0, 1fr);\n column-gap: var(--space-4);\n align-items: stretch;\n}\n\n.rail {\n display: flex;\n flex-direction: column;\n align-items: center;\n width: var(--space-4);\n}\n\n.dot {\n flex: none;\n width: var(--space-3);\n height: var(--space-3);\n border: var(--border-width-thin) solid var(--border-strong);\n border-radius: var(--radius-full);\n background: transparent;\n}\n\n.line {\n flex: 1;\n width: var(--border-width-thin);\n min-height: var(--space-6);\n margin-block: var(--space-1);\n background: var(--border-faint);\n}\n\n.now .dot {\n border-color: var(--text-primary);\n background: var(--text-primary);\n}\n\n.now .line {\n background: var(--text-primary);\n}\n\n.next .dot {\n border-color: var(--border-strong);\n background: transparent;\n}\n\n.later .dot {\n border-color: var(--border-faint);\n background: transparent;\n}\n\n.later .line {\n background: var(--border-subtle);\n}\n\n.copy {\n display: grid;\n gap: var(--space-1);\n padding-block-end: var(--space-6);\n}\n\n.step:last-child .copy {\n padding-block-end: 0;\n}\n\n.phase {\n margin: 0;\n font-family: var(--font-sans);\n font-size: var(--type-size-caption);\n color: var(--text-muted);\n}\n\n.now .phase {\n color: var(--text-primary);\n}\n\n.title {\n margin: 0;\n font-family: var(--font-sans);\n font-size: var(--type-size-label);\n font-weight: var(--type-weight-heading);\n line-height: var(--type-line-heading);\n color: var(--text-primary);\n}\n\n.body {\n margin: 0;\n font-family: var(--font-sans);\n font-size: var(--type-size-body-sm);\n line-height: var(--type-line-body);\n color: var(--text-secondary);\n}\n"],"mappings":""}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export type TimelineStatus = "now" | "next" | "later";
|
|
2
|
+
export interface TimelineItem {
|
|
3
|
+
id?: string;
|
|
4
|
+
title?: string;
|
|
5
|
+
body?: string;
|
|
6
|
+
phase?: string;
|
|
7
|
+
status?: TimelineStatus;
|
|
8
|
+
}
|
|
9
|
+
export interface TimelineProps {
|
|
10
|
+
items?: TimelineItem[];
|
|
11
|
+
label?: string;
|
|
12
|
+
headingLevel?: 2 | 3 | 4;
|
|
13
|
+
className?: string;
|
|
14
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { Timeline } from
|
|
2
|
-
export type { TimelineItem, TimelineProps, TimelineStatus } from
|
|
1
|
+
export { Timeline } from './Timeline';
|
|
2
|
+
export type { TimelineItem, TimelineProps, TimelineStatus } from './Timeline.types';
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { ToastProps } from './Toast.types';
|
|
2
|
+
export type { ToastProps, ToastSize, ToastStatus } from './Toast.types';
|
|
3
|
+
export declare function Toast({ open, onOpenChange, title, description, status, size, duration, onClose, action, className, }: ToastProps): import("react").JSX.Element | null;
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import e from "./Toast.module.js";
|
|
3
|
+
import { useEffect as t, useId as n, useRef as r } from "react";
|
|
4
|
+
import { CircleAlert as i, CircleCheck as a, Info as o, Minus as s, TriangleAlert as c, X as l } from "lucide-react";
|
|
5
|
+
import { jsx as u, jsxs as d } from "react/jsx-runtime";
|
|
6
|
+
//#region ui/Toast/Toast.tsx
|
|
7
|
+
var f = {
|
|
8
|
+
info: o,
|
|
9
|
+
success: a,
|
|
10
|
+
warning: c,
|
|
11
|
+
danger: i,
|
|
12
|
+
default: s
|
|
13
|
+
};
|
|
14
|
+
function p({ open: i = !0, onOpenChange: a, title: o, description: s, status: c = "default", size: p = "md", duration: m = null, onClose: h, action: g, className: _ = "" }) {
|
|
15
|
+
let v = n(), y = n(), b = r(null), x = f[c];
|
|
16
|
+
function S() {
|
|
17
|
+
h?.(), a?.(!1);
|
|
18
|
+
}
|
|
19
|
+
return t(() => {
|
|
20
|
+
if (!(!i || m == null || m <= 0)) return b.current = window.setTimeout(() => {
|
|
21
|
+
h?.(), a?.(!1);
|
|
22
|
+
}, m), () => {
|
|
23
|
+
b.current != null && window.clearTimeout(b.current);
|
|
24
|
+
};
|
|
25
|
+
}, [
|
|
26
|
+
i,
|
|
27
|
+
m,
|
|
28
|
+
h,
|
|
29
|
+
a
|
|
30
|
+
]), i ? /* @__PURE__ */ d("div", {
|
|
31
|
+
className: [
|
|
32
|
+
e.toast,
|
|
33
|
+
e[c],
|
|
34
|
+
e[p],
|
|
35
|
+
_
|
|
36
|
+
].filter(Boolean).join(" "),
|
|
37
|
+
role: "status",
|
|
38
|
+
"aria-live": "polite",
|
|
39
|
+
"aria-atomic": "true",
|
|
40
|
+
"aria-labelledby": o ? v : void 0,
|
|
41
|
+
"aria-describedby": s ? y : void 0,
|
|
42
|
+
children: [
|
|
43
|
+
/* @__PURE__ */ d("div", {
|
|
44
|
+
className: e.header,
|
|
45
|
+
children: [/* @__PURE__ */ d("div", {
|
|
46
|
+
className: e.lead,
|
|
47
|
+
children: [/* @__PURE__ */ u("span", {
|
|
48
|
+
className: e.icon,
|
|
49
|
+
children: /* @__PURE__ */ u(x, {
|
|
50
|
+
"aria-hidden": "true",
|
|
51
|
+
size: 20,
|
|
52
|
+
strokeWidth: 2
|
|
53
|
+
})
|
|
54
|
+
}), o ? /* @__PURE__ */ u("p", {
|
|
55
|
+
id: v,
|
|
56
|
+
className: e.title,
|
|
57
|
+
children: o
|
|
58
|
+
}) : null]
|
|
59
|
+
}), h || a ? /* @__PURE__ */ u("button", {
|
|
60
|
+
type: "button",
|
|
61
|
+
className: e.close,
|
|
62
|
+
"aria-label": "Dismiss",
|
|
63
|
+
onClick: S,
|
|
64
|
+
children: /* @__PURE__ */ u(l, {
|
|
65
|
+
"aria-hidden": "true",
|
|
66
|
+
size: 20,
|
|
67
|
+
strokeWidth: 2
|
|
68
|
+
})
|
|
69
|
+
}) : null]
|
|
70
|
+
}),
|
|
71
|
+
s ? /* @__PURE__ */ u("p", {
|
|
72
|
+
id: y,
|
|
73
|
+
className: e.description,
|
|
74
|
+
children: s
|
|
75
|
+
}) : null,
|
|
76
|
+
g ? /* @__PURE__ */ u("div", {
|
|
77
|
+
className: e.action,
|
|
78
|
+
children: g
|
|
79
|
+
}) : null
|
|
80
|
+
]
|
|
81
|
+
}) : null;
|
|
82
|
+
}
|
|
83
|
+
//#endregion
|
|
84
|
+
export { p as Toast };
|
|
85
|
+
|
|
86
|
+
//# sourceMappingURL=Toast.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Toast.js","names":[],"sources":["../../../ui/Toast/Toast.tsx"],"sourcesContent":["\"use client\";\n\nimport { CircleAlert, CircleCheck, Info, Minus, TriangleAlert, X } from \"lucide-react\";\nimport { useEffect, useId, useRef } from \"react\";\nimport type { ToastProps, ToastStatus } from \"./Toast.types\";\nimport styles from \"./Toast.module.css\";\n\nexport type { ToastProps, ToastSize, ToastStatus } from \"./Toast.types\";\n\nconst ICONS: Record<ToastStatus, typeof Info> = {\n info: Info,\n success: CircleCheck,\n warning: TriangleAlert,\n danger: CircleAlert,\n default: Minus,\n};\n\nexport function Toast({\n open = true,\n onOpenChange,\n title,\n description,\n status = \"default\",\n size = \"md\",\n duration = null,\n onClose,\n action,\n className = \"\",\n}: ToastProps) {\n const titleId = useId();\n const descriptionId = useId();\n const timerRef = useRef<number | null>(null);\n const Icon = ICONS[status];\n\n function handleClose() {\n onClose?.();\n onOpenChange?.(false);\n }\n\n useEffect(() => {\n if (!open || duration == null || duration <= 0) return undefined;\n\n timerRef.current = window.setTimeout(() => {\n onClose?.();\n onOpenChange?.(false);\n }, duration);\n\n return () => {\n if (timerRef.current != null) window.clearTimeout(timerRef.current);\n };\n }, [open, duration, onClose, onOpenChange]);\n\n if (!open) return null;\n\n return (\n <div\n className={[styles.toast, styles[status], styles[size], className].filter(Boolean).join(\" \")}\n role=\"status\"\n aria-live=\"polite\"\n aria-atomic=\"true\"\n aria-labelledby={title ? titleId : undefined}\n aria-describedby={description ? descriptionId : undefined}\n >\n <div className={styles.header}>\n <div className={styles.lead}>\n <span className={styles.icon}>\n <Icon aria-hidden=\"true\" size={20} strokeWidth={2} />\n </span>\n {title ? (\n <p id={titleId} className={styles.title}>\n {title}\n </p>\n ) : null}\n </div>\n {onClose || onOpenChange ? (\n <button type=\"button\" className={styles.close} aria-label=\"Dismiss\" onClick={handleClose}>\n <X aria-hidden=\"true\" size={20} strokeWidth={2} />\n </button>\n ) : null}\n </div>\n {description ? (\n <p id={descriptionId} className={styles.description}>\n {description}\n </p>\n ) : null}\n {action ? <div className={styles.action}>{action}</div> : null}\n </div>\n );\n}\n"],"mappings":";;;;;;AASA,IAAM,IAA0C;CAC9C,MAAM;CACN,SAAS;CACT,SAAS;CACT,QAAQ;CACR,SAAS;AACX;AAEA,SAAgB,EAAM,EACpB,UAAO,IACP,iBACA,UACA,gBACA,YAAS,WACT,UAAO,MACP,cAAW,MACX,YACA,WACA,eAAY,MACC;CACb,IAAM,IAAU,EAAM,GAChB,IAAgB,EAAM,GACtB,IAAW,EAAsB,IAAI,GACrC,IAAO,EAAM;CAEnB,SAAS,IAAc;EAErB,AADA,IAAU,GACV,IAAe,EAAK;CACtB;CAiBA,OAfA,QAAgB;EACV,OAAC,KAAQ,KAAY,QAAQ,KAAY,IAO7C,OALA,EAAS,UAAU,OAAO,iBAAiB;GAEzC,AADA,IAAU,GACV,IAAe,EAAK;EACtB,GAAG,CAAQ,SAEE;GACX,AAAI,EAAS,WAAW,QAAM,OAAO,aAAa,EAAS,OAAO;EACpE;CACF,GAAG;EAAC;EAAM;EAAU;EAAS;CAAY,CAAC,GAErC,IAGH,kBAAC,OAAD;EACE,WAAW;GAAC,EAAO;GAAO,EAAO;GAAS,EAAO;GAAO;EAAS,CAAC,CAAC,OAAO,OAAO,CAAC,CAAC,KAAK,GAAG;EAC3F,MAAK;EACL,aAAU;EACV,eAAY;EACZ,mBAAiB,IAAQ,IAAU,KAAA;EACnC,oBAAkB,IAAc,IAAgB,KAAA;EANlD,UAAA;GAQE,kBAAC,OAAD;IAAK,WAAW,EAAO;IAAvB,UAAA,CACE,kBAAC,OAAD;KAAK,WAAW,EAAO;KAAvB,UAAA,CACE,kBAAC,QAAD;MAAM,WAAW,EAAO;MACtB,UAAA,kBAAC,GAAD;OAAM,eAAY;OAAO,MAAM;OAAI,aAAa;MAAI,CAAA;KAChD,CAAA,GACL,IACC,kBAAC,KAAD;MAAG,IAAI;MAAS,WAAW,EAAO;MAC/B,UAAA;KACA,CAAA,IACD,IACD;IACJ,CAAA,GAAA,KAAW,IACV,kBAAC,UAAD;KAAQ,MAAK;KAAS,WAAW,EAAO;KAAO,cAAW;KAAU,SAAS;KAC3E,UAAA,kBAAC,GAAD;MAAG,eAAY;MAAO,MAAM;MAAI,aAAa;KAAI,CAAA;IAC3C,CAAA,IACN,IACD;;GACJ,IACC,kBAAC,KAAD;IAAG,IAAI;IAAe,WAAW,EAAO;IACrC,UAAA;GACA,CAAA,IACD;GACH,IAAS,kBAAC,OAAD;IAAK,WAAW,EAAO;IAAS,UAAA;GAAY,CAAA,IAAI;EACvD;MAlCW;AAoCpB"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.
|
|
1
|
+
._toast_dc7pz_1 {
|
|
2
2
|
position: relative;
|
|
3
3
|
display: flex;
|
|
4
4
|
flex-direction: column;
|
|
@@ -12,29 +12,29 @@
|
|
|
12
12
|
box-shadow: var(--shadow-raised-depth);
|
|
13
13
|
color: var(--text-primary);
|
|
14
14
|
outline: none;
|
|
15
|
-
animation:
|
|
15
|
+
animation: _toast-in_dc7pz_1 var(--motion-overlay-duration) var(--motion-ease-spring-soft) both;
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
.
|
|
18
|
+
._sm_dc7pz_18 {
|
|
19
19
|
padding: var(--space-2) var(--space-3);
|
|
20
20
|
}
|
|
21
21
|
|
|
22
|
-
.
|
|
22
|
+
._md_dc7pz_22 {
|
|
23
23
|
padding: var(--space-3) var(--space-4);
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
-
.
|
|
26
|
+
._lg_dc7pz_26 {
|
|
27
27
|
padding: var(--space-4) var(--space-5);
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
-
.
|
|
30
|
+
._header_dc7pz_30 {
|
|
31
31
|
display: flex;
|
|
32
32
|
align-items: flex-start;
|
|
33
33
|
gap: var(--space-4);
|
|
34
34
|
width: 100%;
|
|
35
35
|
}
|
|
36
36
|
|
|
37
|
-
.
|
|
37
|
+
._lead_dc7pz_37 {
|
|
38
38
|
display: flex;
|
|
39
39
|
align-items: flex-start;
|
|
40
40
|
gap: var(--space-1);
|
|
@@ -42,29 +42,29 @@
|
|
|
42
42
|
min-width: 0;
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
.
|
|
45
|
+
._icon_dc7pz_45 {
|
|
46
46
|
display: grid;
|
|
47
47
|
flex-shrink: 0;
|
|
48
48
|
color: var(--icon-primary);
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
.
|
|
51
|
+
._info_dc7pz_51 ._icon_dc7pz_45 {
|
|
52
52
|
color: var(--icon-info);
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
.
|
|
55
|
+
._success_dc7pz_55 ._icon_dc7pz_45 {
|
|
56
56
|
color: var(--icon-success);
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
.
|
|
59
|
+
._warning_dc7pz_59 ._icon_dc7pz_45 {
|
|
60
60
|
color: var(--icon-warning);
|
|
61
61
|
}
|
|
62
62
|
|
|
63
|
-
.
|
|
63
|
+
._danger_dc7pz_63 ._icon_dc7pz_45 {
|
|
64
64
|
color: var(--icon-danger);
|
|
65
65
|
}
|
|
66
66
|
|
|
67
|
-
.
|
|
67
|
+
._title_dc7pz_67 {
|
|
68
68
|
margin: 0;
|
|
69
69
|
min-width: 0;
|
|
70
70
|
font-family: var(--font-sans);
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
color: var(--text-primary);
|
|
75
75
|
}
|
|
76
76
|
|
|
77
|
-
.
|
|
77
|
+
._description_dc7pz_77 {
|
|
78
78
|
margin: 0;
|
|
79
79
|
width: 100%;
|
|
80
80
|
padding-left: var(--space-1);
|
|
@@ -85,12 +85,12 @@
|
|
|
85
85
|
color: var(--text-secondary);
|
|
86
86
|
}
|
|
87
87
|
|
|
88
|
-
.
|
|
88
|
+
._action_dc7pz_88 {
|
|
89
89
|
width: 100%;
|
|
90
90
|
padding-left: var(--space-1);
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
.
|
|
93
|
+
._close_dc7pz_93 {
|
|
94
94
|
display: grid;
|
|
95
95
|
place-items: center;
|
|
96
96
|
flex-shrink: 0;
|
|
@@ -105,16 +105,16 @@
|
|
|
105
105
|
cursor: pointer;
|
|
106
106
|
}
|
|
107
107
|
|
|
108
|
-
.
|
|
108
|
+
._close_dc7pz_93:hover {
|
|
109
109
|
color: var(--icon-primary);
|
|
110
110
|
}
|
|
111
111
|
|
|
112
|
-
.
|
|
112
|
+
._close_dc7pz_93:focus-visible {
|
|
113
113
|
outline: var(--border-focus-width) solid var(--focus-ring);
|
|
114
114
|
outline-offset: var(--space-inset-2xs);
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
@keyframes
|
|
117
|
+
@keyframes _toast-in_dc7pz_1 {
|
|
118
118
|
from {
|
|
119
119
|
opacity: 0;
|
|
120
120
|
transform: translateY(0.5rem) scale(0.98);
|
|
@@ -127,7 +127,7 @@
|
|
|
127
127
|
}
|
|
128
128
|
|
|
129
129
|
@media (prefers-reduced-motion: reduce) {
|
|
130
|
-
.
|
|
130
|
+
._toast_dc7pz_1 {
|
|
131
131
|
animation: none;
|
|
132
132
|
}
|
|
133
133
|
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import "./Toast.module.css";
|
|
2
|
+
//#region ui/Toast/Toast.module.css
|
|
3
|
+
var e = "_toast_dc7pz_1", t = "_sm_dc7pz_18", n = "_md_dc7pz_22", r = "_lg_dc7pz_26", i = "_header_dc7pz_30", a = "_lead_dc7pz_37", o = "_icon_dc7pz_45", s = "_info_dc7pz_51", c = "_success_dc7pz_55", l = "_warning_dc7pz_59", u = "_danger_dc7pz_63", d = "_title_dc7pz_67", f = "_description_dc7pz_77", p = "_action_dc7pz_88", m = "_close_dc7pz_93", h = {
|
|
4
|
+
toast: e,
|
|
5
|
+
"toast-in": "_toast-in_dc7pz_1",
|
|
6
|
+
sm: t,
|
|
7
|
+
md: n,
|
|
8
|
+
lg: r,
|
|
9
|
+
header: i,
|
|
10
|
+
lead: a,
|
|
11
|
+
icon: o,
|
|
12
|
+
info: s,
|
|
13
|
+
success: c,
|
|
14
|
+
warning: l,
|
|
15
|
+
danger: u,
|
|
16
|
+
title: d,
|
|
17
|
+
description: f,
|
|
18
|
+
action: p,
|
|
19
|
+
close: m
|
|
20
|
+
};
|
|
21
|
+
//#endregion
|
|
22
|
+
export { p as action, m as close, u as danger, h as default, f as description, i as header, o as icon, s as info, a as lead, r as lg, n as md, t as sm, c as success, d as title, e as toast, l as warning };
|
|
23
|
+
|
|
24
|
+
//# sourceMappingURL=Toast.module.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Toast.module.js","names":[],"sources":["../../../ui/Toast/Toast.module.css"],"sourcesContent":[".toast {\n position: relative;\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n gap: var(--space-1);\n width: min(100%, 19.5rem);\n margin: 0;\n padding: var(--space-3) var(--space-4);\n border-radius: var(--radius-control-sm);\n background: var(--surface-card);\n box-shadow: var(--shadow-raised-depth);\n color: var(--text-primary);\n outline: none;\n animation: toast-in var(--motion-overlay-duration) var(--motion-ease-spring-soft) both;\n}\n\n.sm {\n padding: var(--space-2) var(--space-3);\n}\n\n.md {\n padding: var(--space-3) var(--space-4);\n}\n\n.lg {\n padding: var(--space-4) var(--space-5);\n}\n\n.header {\n display: flex;\n align-items: flex-start;\n gap: var(--space-4);\n width: 100%;\n}\n\n.lead {\n display: flex;\n align-items: flex-start;\n gap: var(--space-1);\n flex: 1;\n min-width: 0;\n}\n\n.icon {\n display: grid;\n flex-shrink: 0;\n color: var(--icon-primary);\n}\n\n.info .icon {\n color: var(--icon-info);\n}\n\n.success .icon {\n color: var(--icon-success);\n}\n\n.warning .icon {\n color: var(--icon-warning);\n}\n\n.danger .icon {\n color: var(--icon-danger);\n}\n\n.title {\n margin: 0;\n min-width: 0;\n font-family: var(--font-sans);\n font-size: var(--type-size-label);\n font-weight: var(--type-weight-label);\n line-height: var(--type-line-heading);\n color: var(--text-primary);\n}\n\n.description {\n margin: 0;\n width: 100%;\n padding-left: var(--space-1);\n font-family: var(--font-sans);\n font-size: var(--type-size-caption);\n font-weight: var(--type-weight-body);\n line-height: var(--type-line-body);\n color: var(--text-secondary);\n}\n\n.action {\n width: 100%;\n padding-left: var(--space-1);\n}\n\n.close {\n display: grid;\n place-items: center;\n flex-shrink: 0;\n width: var(--space-5);\n height: var(--space-5);\n margin: 0;\n padding: 0;\n border: 0;\n border-radius: var(--radius-control-sm);\n background: transparent;\n color: var(--icon-secondary);\n cursor: pointer;\n}\n\n.close:hover {\n color: var(--icon-primary);\n}\n\n.close:focus-visible {\n outline: var(--border-focus-width) solid var(--focus-ring);\n outline-offset: var(--space-inset-2xs);\n}\n\n@keyframes toast-in {\n from {\n opacity: 0;\n transform: translateY(0.5rem) scale(0.98);\n }\n\n to {\n opacity: 1;\n transform: translateY(0) scale(1);\n }\n}\n\n@media (prefers-reduced-motion: reduce) {\n .toast {\n animation: none;\n }\n}\n"],"mappings":""}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
export type ToastStatus = "default" | "success" | "warning" | "danger" | "info";
|
|
3
|
+
export type ToastSize = "sm" | "md" | "lg";
|
|
4
|
+
export interface ToastProps {
|
|
5
|
+
open?: boolean;
|
|
6
|
+
onOpenChange?: (open: boolean) => void;
|
|
7
|
+
title?: string;
|
|
8
|
+
description?: string;
|
|
9
|
+
status?: ToastStatus;
|
|
10
|
+
size?: ToastSize;
|
|
11
|
+
duration?: number | null;
|
|
12
|
+
onClose?: () => void;
|
|
13
|
+
action?: ReactNode;
|
|
14
|
+
className?: string;
|
|
15
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
export type TooltipPlacement = "top" | "bottom" | "left" | "right";
|
|
3
|
+
export interface TooltipProps {
|
|
4
|
+
content: string;
|
|
5
|
+
placement?: TooltipPlacement;
|
|
6
|
+
delay?: number;
|
|
7
|
+
open?: boolean;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
children: ReactNode;
|
|
10
|
+
className?: string;
|
|
11
|
+
}
|
|
12
|
+
export declare function Tooltip({ content, placement, delay, open: controlledOpen, disabled, children, className, }: TooltipProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import e from "./Tooltip.module.js";
|
|
3
|
+
import { cloneElement as t, isValidElement as n, useEffect as r, useId as i, useRef as a, useState as o } from "react";
|
|
4
|
+
import { jsx as s, jsxs as c } from "react/jsx-runtime";
|
|
5
|
+
//#region ui/Tooltip/Tooltip.tsx
|
|
6
|
+
function l({ content: l, placement: u = "top", delay: d = 150, open: f, disabled: p = !1, children: m, className: h = "" }) {
|
|
7
|
+
let g = i(), _ = a(null), v = f !== void 0, [y, b] = o(!1), x = !p && (v ? f : y);
|
|
8
|
+
function S() {
|
|
9
|
+
_.current != null && (window.clearTimeout(_.current), _.current = null);
|
|
10
|
+
}
|
|
11
|
+
function C(e = !1) {
|
|
12
|
+
if (!(p || v)) {
|
|
13
|
+
if (S(), e || d <= 0) {
|
|
14
|
+
b(!0);
|
|
15
|
+
return;
|
|
16
|
+
}
|
|
17
|
+
_.current = window.setTimeout(() => b(!0), d);
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
function w() {
|
|
21
|
+
v || (S(), b(!1));
|
|
22
|
+
}
|
|
23
|
+
r(() => () => S(), []), r(() => {
|
|
24
|
+
if (!x) return;
|
|
25
|
+
function e(e) {
|
|
26
|
+
e.key === "Escape" && w();
|
|
27
|
+
}
|
|
28
|
+
return document.addEventListener("keydown", e), () => document.removeEventListener("keydown", e);
|
|
29
|
+
}, [x]);
|
|
30
|
+
let T = n(m) ? t(m, { "aria-describedby": x ? g : void 0 }) : m;
|
|
31
|
+
return /* @__PURE__ */ c("span", {
|
|
32
|
+
className: `${e.wrapper} ${h}`.trim(),
|
|
33
|
+
onPointerEnter: () => C(),
|
|
34
|
+
onPointerLeave: w,
|
|
35
|
+
onFocus: () => C(!0),
|
|
36
|
+
onBlur: w,
|
|
37
|
+
children: [T, /* @__PURE__ */ c("span", {
|
|
38
|
+
id: g,
|
|
39
|
+
role: "tooltip",
|
|
40
|
+
className: `${e.bubble} ${e[u]}${x ? ` ${e.open}` : ""}`,
|
|
41
|
+
children: [l, /* @__PURE__ */ s("span", {
|
|
42
|
+
className: e.arrow,
|
|
43
|
+
"aria-hidden": "true"
|
|
44
|
+
})]
|
|
45
|
+
})]
|
|
46
|
+
});
|
|
47
|
+
}
|
|
48
|
+
//#endregion
|
|
49
|
+
export { l as Tooltip };
|
|
50
|
+
|
|
51
|
+
//# sourceMappingURL=Tooltip.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Tooltip.js","names":[],"sources":["../../../ui/Tooltip/Tooltip.tsx"],"sourcesContent":["\"use client\";\n\nimport {\n cloneElement,\n isValidElement,\n useEffect,\n useId,\n useRef,\n useState,\n type ReactElement,\n type ReactNode,\n} from \"react\";\nimport styles from \"./Tooltip.module.css\";\n\nexport type TooltipPlacement = \"top\" | \"bottom\" | \"left\" | \"right\";\n\nexport interface TooltipProps {\n content: string;\n placement?: TooltipPlacement;\n delay?: number;\n open?: boolean;\n disabled?: boolean;\n children: ReactNode;\n className?: string;\n}\n\nexport function Tooltip({\n content,\n placement = \"top\",\n delay = 150,\n open: controlledOpen,\n disabled = false,\n children,\n className = \"\",\n}: TooltipProps) {\n const tooltipId = useId();\n const timerRef = useRef<number | null>(null);\n const isControlled = controlledOpen !== undefined;\n const [uncontrolledOpen, setUncontrolledOpen] = useState(false);\n const open = !disabled && (isControlled ? controlledOpen : uncontrolledOpen);\n\n function clearTimer() {\n if (timerRef.current != null) {\n window.clearTimeout(timerRef.current);\n timerRef.current = null;\n }\n }\n\n function show(immediate = false) {\n if (disabled || isControlled) return;\n clearTimer();\n if (immediate || delay <= 0) {\n setUncontrolledOpen(true);\n return;\n }\n timerRef.current = window.setTimeout(() => setUncontrolledOpen(true), delay);\n }\n\n function hide() {\n if (isControlled) return;\n clearTimer();\n setUncontrolledOpen(false);\n }\n\n useEffect(() => () => clearTimer(), []);\n\n useEffect(() => {\n if (!open) return undefined;\n function handleKeyDown(event: KeyboardEvent) {\n if (event.key === \"Escape\") hide();\n }\n document.addEventListener(\"keydown\", handleKeyDown);\n return () => document.removeEventListener(\"keydown\", handleKeyDown);\n }, [open]);\n\n const trigger = isValidElement(children)\n ? cloneElement(children as ReactElement<{ \"aria-describedby\"?: string }>, {\n \"aria-describedby\": open ? tooltipId : undefined,\n })\n : children;\n\n return (\n <span\n className={`${styles.wrapper} ${className}`.trim()}\n onPointerEnter={() => show()}\n onPointerLeave={hide}\n onFocus={() => show(true)}\n onBlur={hide}\n >\n {trigger}\n <span\n id={tooltipId}\n role=\"tooltip\"\n className={`${styles.bubble} ${styles[placement]}${open ? ` ${styles.open}` : \"\"}`}\n >\n {content}\n <span className={styles.arrow} aria-hidden=\"true\" />\n </span>\n </span>\n );\n}\n"],"mappings":";;;;;AA0BA,SAAgB,EAAQ,EACtB,YACA,eAAY,OACZ,WAAQ,KACR,MAAM,GACN,cAAW,IACX,aACA,eAAY,MACG;CACf,IAAM,IAAY,EAAM,GAClB,IAAW,EAAsB,IAAI,GACrC,IAAe,MAAmB,KAAA,GAClC,CAAC,GAAkB,KAAuB,EAAS,EAAK,GACxD,IAAO,CAAC,MAAa,IAAe,IAAiB;CAE3D,SAAS,IAAa;EACpB,AAAI,EAAS,WAAW,SACtB,OAAO,aAAa,EAAS,OAAO,GACpC,EAAS,UAAU;CAEvB;CAEA,SAAS,EAAK,IAAY,IAAO;EAC3B,WAAY,IAEhB;OADA,EAAW,GACP,KAAa,KAAS,GAAG;IAC3B,EAAoB,EAAI;IACxB;GACF;GACA,EAAS,UAAU,OAAO,iBAAiB,EAAoB,EAAI,GAAG,CAAK;EAD3E;CAEF;CAEA,SAAS,IAAO;EACV,MACJ,EAAW,GACX,EAAoB,EAAK;CAC3B;CAIA,AAFA,cAAsB,EAAW,GAAG,CAAC,CAAC,GAEtC,QAAgB;EACd,IAAI,CAAC,GAAM;EACX,SAAS,EAAc,GAAsB;GAC3C,AAAI,EAAM,QAAQ,YAAU,EAAK;EACnC;EAEA,OADA,SAAS,iBAAiB,WAAW,CAAa,SACrC,SAAS,oBAAoB,WAAW,CAAa;CACpE,GAAG,CAAC,CAAI,CAAC;CAET,IAAM,IAAU,EAAe,CAAQ,IACnC,EAAa,GAA2D,EACtE,oBAAoB,IAAO,IAAY,KAAA,EACzC,CAAC,IACD;CAEJ,OACE,kBAAC,QAAD;EACE,WAAW,GAAG,EAAO,QAAQ,GAAG,IAAY,KAAK;EACjD,sBAAsB,EAAK;EAC3B,gBAAgB;EAChB,eAAe,EAAK,EAAI;EACxB,QAAQ;EALV,UAAA,CAOG,GACD,kBAAC,QAAD;GACE,IAAI;GACJ,MAAK;GACL,WAAW,GAAG,EAAO,OAAO,GAAG,EAAO,KAAa,IAAO,IAAI,EAAO,SAAS;GAHhF,UAAA,CAKG,GACD,kBAAC,QAAD;IAAM,WAAW,EAAO;IAAO,eAAY;GAAQ,CAAA,CAC/C;EACF,CAAA,CAAA;;AAEV"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
.
|
|
1
|
+
._wrapper_y2ncd_1 {
|
|
2
2
|
position: relative;
|
|
3
3
|
display: inline-flex;
|
|
4
4
|
}
|
|
5
5
|
|
|
6
|
-
.
|
|
6
|
+
._bubble_y2ncd_6 {
|
|
7
7
|
--tooltip-offset: calc(100% + 0.5rem);
|
|
8
8
|
position: absolute;
|
|
9
9
|
z-index: var(--z-tooltip);
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
visibility 0s linear var(--motion-overlay-exit-duration);
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
-
.
|
|
31
|
+
._open_y2ncd_31 {
|
|
32
32
|
opacity: 1;
|
|
33
33
|
visibility: visible;
|
|
34
34
|
transition:
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
transform var(--motion-overlay-duration) var(--motion-overlay-easing);
|
|
37
37
|
}
|
|
38
38
|
|
|
39
|
-
.
|
|
39
|
+
._arrow_y2ncd_39 {
|
|
40
40
|
position: absolute;
|
|
41
41
|
width: 0.5rem;
|
|
42
42
|
height: 0.5rem;
|
|
@@ -44,68 +44,68 @@
|
|
|
44
44
|
transform: rotate(45deg);
|
|
45
45
|
}
|
|
46
46
|
|
|
47
|
-
.
|
|
47
|
+
._top_y2ncd_47 {
|
|
48
48
|
bottom: var(--tooltip-offset);
|
|
49
49
|
left: 50%;
|
|
50
50
|
transform: translate(-50%, 0.25rem) scale(0.96);
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
-
.
|
|
53
|
+
._top_y2ncd_47._open_y2ncd_31 {
|
|
54
54
|
transform: translate(-50%, 0) scale(1);
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
.
|
|
57
|
+
._top_y2ncd_47 ._arrow_y2ncd_39 {
|
|
58
58
|
bottom: -0.2rem;
|
|
59
59
|
left: calc(50% - 0.25rem);
|
|
60
60
|
}
|
|
61
61
|
|
|
62
|
-
.
|
|
62
|
+
._bottom_y2ncd_62 {
|
|
63
63
|
top: var(--tooltip-offset);
|
|
64
64
|
left: 50%;
|
|
65
65
|
transform: translate(-50%, -0.25rem) scale(0.96);
|
|
66
66
|
}
|
|
67
67
|
|
|
68
|
-
.
|
|
68
|
+
._bottom_y2ncd_62._open_y2ncd_31 {
|
|
69
69
|
transform: translate(-50%, 0) scale(1);
|
|
70
70
|
}
|
|
71
71
|
|
|
72
|
-
.
|
|
72
|
+
._bottom_y2ncd_62 ._arrow_y2ncd_39 {
|
|
73
73
|
top: -0.2rem;
|
|
74
74
|
left: calc(50% - 0.25rem);
|
|
75
75
|
}
|
|
76
76
|
|
|
77
|
-
.
|
|
77
|
+
._left_y2ncd_77 {
|
|
78
78
|
right: var(--tooltip-offset);
|
|
79
79
|
top: 50%;
|
|
80
80
|
transform: translate(0.25rem, -50%) scale(0.96);
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
.
|
|
83
|
+
._left_y2ncd_77._open_y2ncd_31 {
|
|
84
84
|
transform: translate(0, -50%) scale(1);
|
|
85
85
|
}
|
|
86
86
|
|
|
87
|
-
.
|
|
87
|
+
._left_y2ncd_77 ._arrow_y2ncd_39 {
|
|
88
88
|
right: -0.2rem;
|
|
89
89
|
top: calc(50% - 0.25rem);
|
|
90
90
|
}
|
|
91
91
|
|
|
92
|
-
.
|
|
92
|
+
._right_y2ncd_92 {
|
|
93
93
|
left: var(--tooltip-offset);
|
|
94
94
|
top: 50%;
|
|
95
95
|
transform: translate(-0.25rem, -50%) scale(0.96);
|
|
96
96
|
}
|
|
97
97
|
|
|
98
|
-
.
|
|
98
|
+
._right_y2ncd_92._open_y2ncd_31 {
|
|
99
99
|
transform: translate(0, -50%) scale(1);
|
|
100
100
|
}
|
|
101
101
|
|
|
102
|
-
.
|
|
102
|
+
._right_y2ncd_92 ._arrow_y2ncd_39 {
|
|
103
103
|
left: -0.2rem;
|
|
104
104
|
top: calc(50% - 0.25rem);
|
|
105
105
|
}
|
|
106
106
|
|
|
107
107
|
@media (prefers-reduced-motion: reduce) {
|
|
108
|
-
.
|
|
108
|
+
._bubble_y2ncd_6 {
|
|
109
109
|
transition: none;
|
|
110
110
|
}
|
|
111
111
|
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import "./Tooltip.module.css";
|
|
2
|
+
//#region ui/Tooltip/Tooltip.module.css
|
|
3
|
+
var e = "_wrapper_y2ncd_1", t = "_bubble_y2ncd_6", n = "_open_y2ncd_31", r = "_arrow_y2ncd_39", i = "_top_y2ncd_47", a = "_bottom_y2ncd_62", o = "_left_y2ncd_77", s = "_right_y2ncd_92", c = {
|
|
4
|
+
wrapper: e,
|
|
5
|
+
bubble: t,
|
|
6
|
+
open: n,
|
|
7
|
+
arrow: r,
|
|
8
|
+
top: i,
|
|
9
|
+
bottom: a,
|
|
10
|
+
left: o,
|
|
11
|
+
right: s
|
|
12
|
+
};
|
|
13
|
+
//#endregion
|
|
14
|
+
export { r as arrow, a as bottom, t as bubble, c as default, o as left, n as open, s as right, i as top, e as wrapper };
|
|
15
|
+
|
|
16
|
+
//# sourceMappingURL=Tooltip.module.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Tooltip.module.js","names":[],"sources":["../../../ui/Tooltip/Tooltip.module.css"],"sourcesContent":[".wrapper {\n position: relative;\n display: inline-flex;\n}\n\n.bubble {\n --tooltip-offset: calc(100% + 0.5rem);\n position: absolute;\n z-index: var(--z-tooltip);\n width: max-content;\n max-width: 16rem;\n padding: var(--space-1) var(--space-2);\n border-radius: var(--radius-control-md);\n background: var(--surface-inverse);\n box-shadow: var(--shadow-md);\n color: var(--text-inverse);\n font-family: var(--font-sans);\n font-size: var(--type-size-caption);\n font-weight: var(--type-weight-label);\n line-height: var(--type-line-body);\n text-align: center;\n pointer-events: none;\n opacity: 0;\n visibility: hidden;\n transition:\n opacity var(--motion-overlay-exit-duration) var(--motion-overlay-exit-easing),\n transform var(--motion-overlay-exit-duration) var(--motion-overlay-exit-easing),\n visibility 0s linear var(--motion-overlay-exit-duration);\n}\n\n.open {\n opacity: 1;\n visibility: visible;\n transition:\n opacity var(--motion-overlay-duration) var(--motion-overlay-easing),\n transform var(--motion-overlay-duration) var(--motion-overlay-easing);\n}\n\n.arrow {\n position: absolute;\n width: 0.5rem;\n height: 0.5rem;\n background: var(--surface-inverse);\n transform: rotate(45deg);\n}\n\n.top {\n bottom: var(--tooltip-offset);\n left: 50%;\n transform: translate(-50%, 0.25rem) scale(0.96);\n}\n\n.top.open {\n transform: translate(-50%, 0) scale(1);\n}\n\n.top .arrow {\n bottom: -0.2rem;\n left: calc(50% - 0.25rem);\n}\n\n.bottom {\n top: var(--tooltip-offset);\n left: 50%;\n transform: translate(-50%, -0.25rem) scale(0.96);\n}\n\n.bottom.open {\n transform: translate(-50%, 0) scale(1);\n}\n\n.bottom .arrow {\n top: -0.2rem;\n left: calc(50% - 0.25rem);\n}\n\n.left {\n right: var(--tooltip-offset);\n top: 50%;\n transform: translate(0.25rem, -50%) scale(0.96);\n}\n\n.left.open {\n transform: translate(0, -50%) scale(1);\n}\n\n.left .arrow {\n right: -0.2rem;\n top: calc(50% - 0.25rem);\n}\n\n.right {\n left: var(--tooltip-offset);\n top: 50%;\n transform: translate(-0.25rem, -50%) scale(0.96);\n}\n\n.right.open {\n transform: translate(0, -50%) scale(1);\n}\n\n.right .arrow {\n left: -0.2rem;\n top: calc(50% - 0.25rem);\n}\n\n@media (prefers-reduced-motion: reduce) {\n .bubble {\n transition: none;\n }\n}\n"],"mappings":""}
|