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
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { LucideByName as e } from "../Button/lucideName.js";
|
|
3
|
+
import t from "./InputOTP.module.js";
|
|
4
|
+
import { Fragment as n, useRef as r, useState as i } from "react";
|
|
5
|
+
import { jsx as a, jsxs as o } from "react/jsx-runtime";
|
|
6
|
+
//#region ui/InputOTP/InputOTP.tsx
|
|
7
|
+
var s = {
|
|
8
|
+
sm: 12,
|
|
9
|
+
md: 16,
|
|
10
|
+
lg: 18
|
|
11
|
+
};
|
|
12
|
+
function c(e, t, n) {
|
|
13
|
+
return (t === "digits" ? e.replace(/\D/g, "") : e.replace(/[^A-Za-z0-9]/g, "").toUpperCase()).slice(0, n);
|
|
14
|
+
}
|
|
15
|
+
function l(e, t) {
|
|
16
|
+
return t && t.length > 0 && t.reduce((e, t) => e + t, 0) === e ? t : e === 6 ? [3, 3] : [e];
|
|
17
|
+
}
|
|
18
|
+
function u({ id: u, length: d = 6, groups: f, size: p = "md", disabled: m = !1, error: h = !1, value: g, defaultValue: _ = "", onChange: v, onComplete: y, pattern: b = "digits", name: x, autoComplete: S = "one-time-code", ariaLabel: C }) {
|
|
19
|
+
let w = r(null), T = typeof g == "string", [E, D] = i(() => c(_, b, d)), O = c(T ? g : E, b, d), k = l(d, f), A = O.length >= d ? d - 1 : O.length, j = s[p];
|
|
20
|
+
function M(e) {
|
|
21
|
+
let t = c(e, b, d);
|
|
22
|
+
T || D(t), v?.(t), t.length === d && y?.(t);
|
|
23
|
+
}
|
|
24
|
+
function N() {
|
|
25
|
+
if (m) return;
|
|
26
|
+
let e = w.current;
|
|
27
|
+
if (!e) return;
|
|
28
|
+
e.focus();
|
|
29
|
+
let t = O.length;
|
|
30
|
+
e.setSelectionRange(t, t);
|
|
31
|
+
}
|
|
32
|
+
let P = 0;
|
|
33
|
+
return /* @__PURE__ */ o("div", {
|
|
34
|
+
className: `${t.root} ${t[p]}`,
|
|
35
|
+
"data-disabled": m || void 0,
|
|
36
|
+
"data-error": h || void 0,
|
|
37
|
+
onClick: N,
|
|
38
|
+
children: [/* @__PURE__ */ a("input", {
|
|
39
|
+
ref: w,
|
|
40
|
+
id: u,
|
|
41
|
+
name: x,
|
|
42
|
+
className: t.native,
|
|
43
|
+
value: O,
|
|
44
|
+
disabled: m,
|
|
45
|
+
maxLength: d,
|
|
46
|
+
autoComplete: S,
|
|
47
|
+
autoCapitalize: "off",
|
|
48
|
+
spellCheck: !1,
|
|
49
|
+
inputMode: b === "digits" ? "numeric" : "text",
|
|
50
|
+
"aria-invalid": h || void 0,
|
|
51
|
+
"aria-label": C,
|
|
52
|
+
onChange: (e) => M(e.target.value),
|
|
53
|
+
onPaste: (e) => {
|
|
54
|
+
e.preventDefault(), M(e.clipboardData.getData("text"));
|
|
55
|
+
}
|
|
56
|
+
}), k.map((r, i) => {
|
|
57
|
+
let s = P;
|
|
58
|
+
return P += r, /* @__PURE__ */ o(n, { children: [i > 0 ? /* @__PURE__ */ a("span", {
|
|
59
|
+
className: t.separator,
|
|
60
|
+
"aria-hidden": !0,
|
|
61
|
+
children: /* @__PURE__ */ a(e, {
|
|
62
|
+
name: "Minus",
|
|
63
|
+
size: j
|
|
64
|
+
})
|
|
65
|
+
}) : null, /* @__PURE__ */ a("span", {
|
|
66
|
+
className: t.group,
|
|
67
|
+
children: Array.from({ length: r }, (e, n) => {
|
|
68
|
+
let r = s + n, i = O[r], o = r === A;
|
|
69
|
+
return /* @__PURE__ */ a("span", {
|
|
70
|
+
className: `${t.slot}${o ? ` ${t.slotActive}` : ""}`,
|
|
71
|
+
"data-active": o || void 0,
|
|
72
|
+
"aria-hidden": !0,
|
|
73
|
+
children: i ? /* @__PURE__ */ a("span", {
|
|
74
|
+
className: t.char,
|
|
75
|
+
children: i
|
|
76
|
+
}) : o ? /* @__PURE__ */ a("span", { className: t.caret }) : null
|
|
77
|
+
}, r);
|
|
78
|
+
})
|
|
79
|
+
})] }, `group-${i}-${s}`);
|
|
80
|
+
})]
|
|
81
|
+
});
|
|
82
|
+
}
|
|
83
|
+
//#endregion
|
|
84
|
+
export { u as InputOTP };
|
|
85
|
+
|
|
86
|
+
//# sourceMappingURL=InputOTP.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InputOTP.js","names":[],"sources":["../../../ui/InputOTP/InputOTP.tsx"],"sourcesContent":["\"use client\";\n\nimport { Fragment, useRef, useState } from \"react\";\nimport { LucideByName } from \"../Button/lucideName\";\nimport type { InputOTPPattern, InputOTPProps, InputOTPSize } from \"./InputOTP.types\";\nimport styles from \"./InputOTP.module.css\";\n\nexport type { InputOTPProps, InputOTPSize, InputOTPPattern } from \"./InputOTP.types\";\n\nconst ICON_PX: Record<InputOTPSize, number> = { sm: 12, md: 16, lg: 18 };\n\nfunction sanitize(raw: string, pattern: InputOTPPattern, length: number): string {\n const next =\n pattern === \"digits\"\n ? raw.replace(/\\D/g, \"\")\n : raw.replace(/[^A-Za-z0-9]/g, \"\").toUpperCase();\n return next.slice(0, length);\n}\n\nfunction resolveGroups(length: number, groups?: number[]): number[] {\n if (groups && groups.length > 0) {\n const sum = groups.reduce((total, count) => total + count, 0);\n if (sum === length) return groups;\n }\n if (length === 6) return [3, 3];\n return [length];\n}\n\nexport function InputOTP({\n id,\n length = 6,\n groups,\n size = \"md\",\n disabled = false,\n error = false,\n value,\n defaultValue = \"\",\n onChange,\n onComplete,\n pattern = \"digits\",\n name,\n autoComplete = \"one-time-code\",\n ariaLabel,\n}: InputOTPProps) {\n const inputRef = useRef<HTMLInputElement>(null);\n const isControlled = typeof value === \"string\";\n const [uncontrolled, setUncontrolled] = useState(() =>\n sanitize(defaultValue, pattern, length),\n );\n const current = sanitize(isControlled ? value : uncontrolled, pattern, length);\n const slotGroups = resolveGroups(length, groups);\n const activeIndex = current.length >= length ? length - 1 : current.length;\n const iconPx = ICON_PX[size];\n\n function commit(raw: string) {\n const next = sanitize(raw, pattern, length);\n if (!isControlled) setUncontrolled(next);\n onChange?.(next);\n if (next.length === length) onComplete?.(next);\n }\n\n function focusInput() {\n if (disabled) return;\n const el = inputRef.current;\n if (!el) return;\n el.focus();\n const pos = current.length;\n el.setSelectionRange(pos, pos);\n }\n\n let offset = 0;\n\n return (\n <div\n className={`${styles.root} ${styles[size]}`}\n data-disabled={disabled || undefined}\n data-error={error || undefined}\n onClick={focusInput}\n >\n <input\n ref={inputRef}\n id={id}\n name={name}\n className={styles.native}\n value={current}\n disabled={disabled}\n maxLength={length}\n autoComplete={autoComplete}\n autoCapitalize=\"off\"\n spellCheck={false}\n inputMode={pattern === \"digits\" ? \"numeric\" : \"text\"}\n aria-invalid={error || undefined}\n aria-label={ariaLabel}\n onChange={(event) => commit(event.target.value)}\n onPaste={(event) => {\n event.preventDefault();\n commit(event.clipboardData.getData(\"text\"));\n }}\n />\n {slotGroups.map((count, groupIndex) => {\n const start = offset;\n offset += count;\n return (\n <Fragment key={`group-${groupIndex}-${start}`}>\n {groupIndex > 0 ? (\n <span className={styles.separator} aria-hidden>\n <LucideByName name=\"Minus\" size={iconPx} />\n </span>\n ) : null}\n <span className={styles.group}>\n {Array.from({ length: count }, (_, slotIndex) => {\n const index = start + slotIndex;\n const char = current[index];\n const isActive = index === activeIndex;\n return (\n <span\n key={index}\n className={`${styles.slot}${isActive ? ` ${styles.slotActive}` : \"\"}`}\n data-active={isActive || undefined}\n aria-hidden\n >\n {char ? (\n <span className={styles.char}>{char}</span>\n ) : isActive ? (\n <span className={styles.caret} />\n ) : null}\n </span>\n );\n })}\n </span>\n </Fragment>\n );\n })}\n </div>\n );\n}\n"],"mappings":";;;;;;AASA,IAAM,IAAwC;CAAE,IAAI;CAAI,IAAI;CAAI,IAAI;AAAG;AAEvE,SAAS,EAAS,GAAa,GAA0B,GAAwB;CAK/E,QAHE,MAAY,WACR,EAAI,QAAQ,OAAO,EAAE,IACrB,EAAI,QAAQ,iBAAiB,EAAE,CAAC,CAAC,YAAY,EAAA,CACvC,MAAM,GAAG,CAAM;AAC7B;AAEA,SAAS,EAAc,GAAgB,GAA6B;CAMlE,OALI,KAAU,EAAO,SAAS,KAChB,EAAO,QAAQ,GAAO,MAAU,IAAQ,GAAO,CACvD,MAAQ,IAAe,IAEzB,MAAW,IAAU,CAAC,GAAG,CAAC,IACvB,CAAC,CAAM;AAChB;AAEA,SAAgB,EAAS,EACvB,OACA,YAAS,GACT,WACA,UAAO,MACP,cAAW,IACX,WAAQ,IACR,UACA,kBAAe,IACf,aACA,eACA,aAAU,UACV,SACA,kBAAe,iBACf,gBACgB;CAChB,IAAM,IAAW,EAAyB,IAAI,GACxC,IAAe,OAAO,KAAU,UAChC,CAAC,GAAc,KAAmB,QACtC,EAAS,GAAc,GAAS,CAAM,CACxC,GACM,IAAU,EAAS,IAAe,IAAQ,GAAc,GAAS,CAAM,GACvE,IAAa,EAAc,GAAQ,CAAM,GACzC,IAAc,EAAQ,UAAU,IAAS,IAAS,IAAI,EAAQ,QAC9D,IAAS,EAAQ;CAEvB,SAAS,EAAO,GAAa;EAC3B,IAAM,IAAO,EAAS,GAAK,GAAS,CAAM;EAG1C,AAFK,KAAc,EAAgB,CAAI,GACvC,IAAW,CAAI,GACX,EAAK,WAAW,KAAQ,IAAa,CAAI;CAC/C;CAEA,SAAS,IAAa;EACpB,IAAI,GAAU;EACd,IAAM,IAAK,EAAS;EACpB,IAAI,CAAC,GAAI;EACT,EAAG,MAAM;EACT,IAAM,IAAM,EAAQ;EACpB,EAAG,kBAAkB,GAAK,CAAG;CAC/B;CAEA,IAAI,IAAS;CAEb,OACE,kBAAC,OAAD;EACE,WAAW,GAAG,EAAO,KAAK,GAAG,EAAO;EACpC,iBAAe,KAAY,KAAA;EAC3B,cAAY,KAAS,KAAA;EACrB,SAAS;EAJX,UAAA,CAME,kBAAC,SAAD;GACE,KAAK;GACD;GACE;GACN,WAAW,EAAO;GAClB,OAAO;GACG;GACV,WAAW;GACG;GACd,gBAAe;GACf,YAAY;GACZ,WAAW,MAAY,WAAW,YAAY;GAC9C,gBAAc,KAAS,KAAA;GACvB,cAAY;GACZ,WAAW,MAAU,EAAO,EAAM,OAAO,KAAK;GAC9C,UAAU,MAAU;IAElB,AADA,EAAM,eAAe,GACrB,EAAO,EAAM,cAAc,QAAQ,MAAM,CAAC;GAC5C;EACD,CAAA,GACA,EAAW,KAAK,GAAO,MAAe;GACrC,IAAM,IAAQ;GAEd,OADA,KAAU,GAER,kBAAC,GAAD,EAAA,UAAA,CACG,IAAa,IACZ,kBAAC,QAAD;IAAM,WAAW,EAAO;IAAW,eAAA;IACjC,UAAA,kBAAC,GAAD;KAAc,MAAK;KAAQ,MAAM;IAAS,CAAA;GACtC,CAAA,IACJ,MACJ,kBAAC,QAAD;IAAM,WAAW,EAAO;IACrB,UAAA,MAAM,KAAK,EAAE,QAAQ,EAAM,IAAI,GAAG,MAAc;KAC/C,IAAM,IAAQ,IAAQ,GAChB,IAAO,EAAQ,IACf,IAAW,MAAU;KAC3B,OACE,kBAAC,QAAD;MAEE,WAAW,GAAG,EAAO,OAAO,IAAW,IAAI,EAAO,eAAe;MACjE,eAAa,KAAY,KAAA;MACzB,eAAA;MAEC,UAAA,IACC,kBAAC,QAAD;OAAM,WAAW,EAAO;OAAO,UAAA;MAAW,CAAA,IACxC,IACF,kBAAC,QAAD,EAAM,WAAW,EAAO,MAAQ,CAAA,IAC9B;KACA,GAVC,CAUD;IAEV,CAAC;GACG,CAAA,CACE,EAAA,GA3BK,SAAS,EAAW,GAAG,GA2B5B;EAEd,CAAC,CACE;;AAET"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.
|
|
1
|
+
._root_7qfor_1 {
|
|
2
2
|
position: relative;
|
|
3
3
|
display: inline-flex;
|
|
4
4
|
align-items: center;
|
|
@@ -8,12 +8,12 @@
|
|
|
8
8
|
color: var(--text-primary);
|
|
9
9
|
}
|
|
10
10
|
|
|
11
|
-
.
|
|
11
|
+
._root_7qfor_1[data-disabled] {
|
|
12
12
|
opacity: var(--opacity-disabled);
|
|
13
13
|
pointer-events: none;
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
-
.
|
|
16
|
+
._native_7qfor_16 {
|
|
17
17
|
position: absolute;
|
|
18
18
|
inset: 0;
|
|
19
19
|
z-index: 1;
|
|
@@ -30,17 +30,17 @@
|
|
|
30
30
|
cursor: text;
|
|
31
31
|
}
|
|
32
32
|
|
|
33
|
-
.
|
|
33
|
+
._native_7qfor_16:disabled {
|
|
34
34
|
cursor: not-allowed;
|
|
35
35
|
}
|
|
36
36
|
|
|
37
|
-
.
|
|
37
|
+
._group_7qfor_37 {
|
|
38
38
|
display: flex;
|
|
39
39
|
align-items: center;
|
|
40
40
|
gap: var(--space-2);
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
-
.
|
|
43
|
+
._separator_7qfor_43 {
|
|
44
44
|
display: flex;
|
|
45
45
|
flex-shrink: 0;
|
|
46
46
|
align-items: center;
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
pointer-events: none;
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
.
|
|
51
|
+
._slot_7qfor_51 {
|
|
52
52
|
box-sizing: border-box;
|
|
53
53
|
display: inline-flex;
|
|
54
54
|
align-items: center;
|
|
@@ -69,60 +69,60 @@
|
|
|
69
69
|
outline-color var(--motion-fast) ease;
|
|
70
70
|
}
|
|
71
71
|
|
|
72
|
-
.
|
|
72
|
+
._sm_7qfor_72 ._slot_7qfor_51 {
|
|
73
73
|
width: 1.75rem;
|
|
74
74
|
height: 1.75rem;
|
|
75
75
|
font-size: var(--type-size-caption);
|
|
76
76
|
}
|
|
77
77
|
|
|
78
|
-
.
|
|
78
|
+
._md_7qfor_78 ._slot_7qfor_51 {
|
|
79
79
|
width: 2.25rem;
|
|
80
80
|
height: 2.25rem;
|
|
81
81
|
font-size: var(--type-size-body-sm);
|
|
82
82
|
}
|
|
83
83
|
|
|
84
|
-
.
|
|
84
|
+
._lg_7qfor_84 ._slot_7qfor_51 {
|
|
85
85
|
width: 2.75rem;
|
|
86
86
|
height: 2.75rem;
|
|
87
87
|
font-size: var(--type-size-body);
|
|
88
88
|
}
|
|
89
89
|
|
|
90
|
-
.
|
|
90
|
+
._root_7qfor_1:not([data-disabled]):not([data-error]):not(:focus-within):hover ._slot_7qfor_51 {
|
|
91
91
|
border-color: var(--border-strong);
|
|
92
92
|
}
|
|
93
93
|
|
|
94
|
-
.
|
|
94
|
+
._root_7qfor_1:focus-within ._slotActive_7qfor_94 {
|
|
95
95
|
outline: var(--border-focus-width) solid var(--focus-ring);
|
|
96
96
|
outline-offset: var(--space-inset-2xs);
|
|
97
97
|
border-color: var(--border-focus);
|
|
98
98
|
}
|
|
99
99
|
|
|
100
|
-
.
|
|
100
|
+
._root_7qfor_1[data-error] ._slot_7qfor_51 {
|
|
101
101
|
border-color: var(--status-danger);
|
|
102
102
|
}
|
|
103
103
|
|
|
104
|
-
.
|
|
104
|
+
._root_7qfor_1[data-error]:focus-within ._slotActive_7qfor_94 {
|
|
105
105
|
outline-color: var(--status-danger);
|
|
106
106
|
border-color: var(--status-danger);
|
|
107
107
|
}
|
|
108
108
|
|
|
109
|
-
.
|
|
109
|
+
._char_7qfor_109 {
|
|
110
110
|
display: block;
|
|
111
111
|
}
|
|
112
112
|
|
|
113
|
-
.
|
|
113
|
+
._caret_7qfor_113 {
|
|
114
114
|
display: none;
|
|
115
115
|
width: var(--border-width-thin);
|
|
116
116
|
height: 1em;
|
|
117
117
|
background-color: var(--text-primary);
|
|
118
118
|
}
|
|
119
119
|
|
|
120
|
-
.
|
|
120
|
+
._root_7qfor_1:focus-within ._slotActive_7qfor_94 ._caret_7qfor_113 {
|
|
121
121
|
display: block;
|
|
122
|
-
animation:
|
|
122
|
+
animation: _otpCaret_7qfor_1 var(--motion-duration-600) var(--motion-ease-linear) infinite alternate;
|
|
123
123
|
}
|
|
124
124
|
|
|
125
|
-
@keyframes
|
|
125
|
+
@keyframes _otpCaret_7qfor_1 {
|
|
126
126
|
from {
|
|
127
127
|
opacity: var(--opacity-full);
|
|
128
128
|
}
|
|
@@ -132,7 +132,7 @@
|
|
|
132
132
|
}
|
|
133
133
|
|
|
134
134
|
@media (prefers-reduced-motion: reduce) {
|
|
135
|
-
.
|
|
135
|
+
._root_7qfor_1:focus-within ._slotActive_7qfor_94 ._caret_7qfor_113 {
|
|
136
136
|
animation: none;
|
|
137
137
|
opacity: var(--opacity-full);
|
|
138
138
|
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import "./InputOTP.module.css";
|
|
2
|
+
//#region ui/InputOTP/InputOTP.module.css
|
|
3
|
+
var e = "_root_7qfor_1", t = "_native_7qfor_16", n = "_group_7qfor_37", r = "_separator_7qfor_43", i = "_slot_7qfor_51", a = "_sm_7qfor_72", o = "_md_7qfor_78", s = "_lg_7qfor_84", c = "_slotActive_7qfor_94", l = "_char_7qfor_109", u = "_caret_7qfor_113", d = "_otpCaret_7qfor_1", f = {
|
|
4
|
+
root: e,
|
|
5
|
+
native: t,
|
|
6
|
+
group: n,
|
|
7
|
+
separator: r,
|
|
8
|
+
slot: i,
|
|
9
|
+
sm: a,
|
|
10
|
+
md: o,
|
|
11
|
+
lg: s,
|
|
12
|
+
slotActive: c,
|
|
13
|
+
char: l,
|
|
14
|
+
caret: u,
|
|
15
|
+
otpCaret: d
|
|
16
|
+
};
|
|
17
|
+
//#endregion
|
|
18
|
+
export { u as caret, l as char, f as default, n as group, s as lg, o as md, t as native, d as otpCaret, e as root, r as separator, i as slot, c as slotActive, a as sm };
|
|
19
|
+
|
|
20
|
+
//# sourceMappingURL=InputOTP.module.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InputOTP.module.js","names":[],"sources":["../../../ui/InputOTP/InputOTP.module.css"],"sourcesContent":[".root {\n position: relative;\n display: inline-flex;\n align-items: center;\n gap: var(--space-2);\n width: fit-content;\n font-family: var(--font-sans);\n color: var(--text-primary);\n}\n\n.root[data-disabled] {\n opacity: var(--opacity-disabled);\n pointer-events: none;\n}\n\n.native {\n position: absolute;\n inset: 0;\n z-index: 1;\n width: 100%;\n height: 100%;\n margin: 0;\n padding: 0;\n border: 0;\n opacity: 0;\n background: transparent;\n color: transparent;\n caret-color: transparent;\n font: inherit;\n cursor: text;\n}\n\n.native:disabled {\n cursor: not-allowed;\n}\n\n.group {\n display: flex;\n align-items: center;\n gap: var(--space-2);\n}\n\n.separator {\n display: flex;\n flex-shrink: 0;\n align-items: center;\n color: var(--icon-muted);\n pointer-events: none;\n}\n\n.slot {\n box-sizing: border-box;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n position: relative;\n pointer-events: none;\n background-color: var(--surface-card);\n border: var(--border-width-thin) solid var(--border-faint);\n border-radius: var(--radius-control-md);\n font-family: var(--font-sans);\n font-variant-numeric: tabular-nums;\n font-weight: var(--type-weight-label);\n line-height: 1;\n color: var(--text-primary);\n text-align: center;\n transition:\n border-color var(--motion-fast) ease,\n outline-color var(--motion-fast) ease;\n}\n\n.sm .slot {\n width: 1.75rem;\n height: 1.75rem;\n font-size: var(--type-size-caption);\n}\n\n.md .slot {\n width: 2.25rem;\n height: 2.25rem;\n font-size: var(--type-size-body-sm);\n}\n\n.lg .slot {\n width: 2.75rem;\n height: 2.75rem;\n font-size: var(--type-size-body);\n}\n\n.root:not([data-disabled]):not([data-error]):not(:focus-within):hover .slot {\n border-color: var(--border-strong);\n}\n\n.root:focus-within .slotActive {\n outline: var(--border-focus-width) solid var(--focus-ring);\n outline-offset: var(--space-inset-2xs);\n border-color: var(--border-focus);\n}\n\n.root[data-error] .slot {\n border-color: var(--status-danger);\n}\n\n.root[data-error]:focus-within .slotActive {\n outline-color: var(--status-danger);\n border-color: var(--status-danger);\n}\n\n.char {\n display: block;\n}\n\n.caret {\n display: none;\n width: var(--border-width-thin);\n height: 1em;\n background-color: var(--text-primary);\n}\n\n.root:focus-within .slotActive .caret {\n display: block;\n animation: otpCaret var(--motion-duration-600) var(--motion-ease-linear) infinite alternate;\n}\n\n@keyframes otpCaret {\n from {\n opacity: var(--opacity-full);\n }\n to {\n opacity: var(--opacity-0);\n }\n}\n\n@media (prefers-reduced-motion: reduce) {\n .root:focus-within .slotActive .caret {\n animation: none;\n opacity: var(--opacity-full);\n }\n}\n"],"mappings":""}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export type InputOTPSize = "sm" | "md" | "lg";
|
|
2
|
+
export type InputOTPPattern = "digits" | "alphanumeric";
|
|
3
|
+
export interface InputOTPProps {
|
|
4
|
+
id: string;
|
|
5
|
+
length?: number;
|
|
6
|
+
groups?: number[];
|
|
7
|
+
size?: InputOTPSize;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
error?: boolean;
|
|
10
|
+
value?: string;
|
|
11
|
+
defaultValue?: string;
|
|
12
|
+
onChange?: (value: string) => void;
|
|
13
|
+
onComplete?: (value: string) => void;
|
|
14
|
+
pattern?: InputOTPPattern;
|
|
15
|
+
name?: string;
|
|
16
|
+
autoComplete?: string;
|
|
17
|
+
ariaLabel?: string;
|
|
18
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { InputOTP } from
|
|
2
|
-
export type { InputOTPProps, InputOTPSize, InputOTPPattern } from
|
|
1
|
+
export { InputOTP } from './InputOTP';
|
|
2
|
+
export type { InputOTPProps, InputOTPSize, InputOTPPattern } from './InputOTP.types';
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { InsightCardProps } from './InsightCard.types';
|
|
2
|
+
export type { InsightCardProps, InsightCardTone, InsightCardSize, InsightCardAction, } from './InsightCard.types';
|
|
3
|
+
export declare function InsightCard({ title, description, eyebrow, tone, size, confidence, source, primaryAction, secondaryAction, onDismiss, }: InsightCardProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import { LucideByName as e } from "../Button/lucideName.js";
|
|
2
|
+
import { Button as t } from "../Button/Button.js";
|
|
3
|
+
import n from "./InsightCard.module.js";
|
|
4
|
+
import { useId as r } from "react";
|
|
5
|
+
import { jsx as i, jsxs as a } from "react/jsx-runtime";
|
|
6
|
+
//#region ui/InsightCard/InsightCard.tsx
|
|
7
|
+
var o = {
|
|
8
|
+
opportunity: "Sparkles",
|
|
9
|
+
warning: "TriangleAlert",
|
|
10
|
+
danger: "CircleX",
|
|
11
|
+
info: "Info",
|
|
12
|
+
neutral: "Sparkles"
|
|
13
|
+
}, s = {
|
|
14
|
+
sm: 14,
|
|
15
|
+
md: 16,
|
|
16
|
+
lg: 18
|
|
17
|
+
};
|
|
18
|
+
function c({ title: c, description: l, eyebrow: u = "Insight", tone: d = "opportunity", size: f = "md", confidence: p, source: m, primaryAction: h, secondaryAction: g, onDismiss: _ }) {
|
|
19
|
+
let v = r(), y = r(), b = !!(h || g || _), x = f === "lg" ? "md" : "sm";
|
|
20
|
+
return /* @__PURE__ */ a("article", {
|
|
21
|
+
className: `${n.card} ${n[f]} ${n[d]}`,
|
|
22
|
+
"aria-labelledby": v,
|
|
23
|
+
"aria-describedby": l ? y : void 0,
|
|
24
|
+
children: [
|
|
25
|
+
/* @__PURE__ */ a("header", {
|
|
26
|
+
className: n.header,
|
|
27
|
+
children: [/* @__PURE__ */ a("div", {
|
|
28
|
+
className: n.lead,
|
|
29
|
+
children: [/* @__PURE__ */ i(e, {
|
|
30
|
+
name: o[d],
|
|
31
|
+
size: s[f],
|
|
32
|
+
className: n.icon
|
|
33
|
+
}), /* @__PURE__ */ i("span", {
|
|
34
|
+
className: n.eyebrow,
|
|
35
|
+
children: u
|
|
36
|
+
})]
|
|
37
|
+
}), p ? /* @__PURE__ */ i("span", {
|
|
38
|
+
className: n.confidence,
|
|
39
|
+
children: p
|
|
40
|
+
}) : null]
|
|
41
|
+
}),
|
|
42
|
+
/* @__PURE__ */ a("div", {
|
|
43
|
+
className: n.body,
|
|
44
|
+
children: [
|
|
45
|
+
/* @__PURE__ */ i("h3", {
|
|
46
|
+
id: v,
|
|
47
|
+
className: n.title,
|
|
48
|
+
children: c
|
|
49
|
+
}),
|
|
50
|
+
l ? /* @__PURE__ */ i("p", {
|
|
51
|
+
id: y,
|
|
52
|
+
className: n.description,
|
|
53
|
+
children: l
|
|
54
|
+
}) : null,
|
|
55
|
+
m ? /* @__PURE__ */ i("p", {
|
|
56
|
+
className: n.source,
|
|
57
|
+
children: m
|
|
58
|
+
}) : null
|
|
59
|
+
]
|
|
60
|
+
}),
|
|
61
|
+
b ? /* @__PURE__ */ a("footer", {
|
|
62
|
+
className: n.footer,
|
|
63
|
+
children: [h || g ? /* @__PURE__ */ a("div", {
|
|
64
|
+
className: n.actions,
|
|
65
|
+
children: [h ? /* @__PURE__ */ i(t, {
|
|
66
|
+
variant: "primary",
|
|
67
|
+
size: x,
|
|
68
|
+
onClick: h.onClick,
|
|
69
|
+
children: h.label
|
|
70
|
+
}) : null, g ? /* @__PURE__ */ i(t, {
|
|
71
|
+
variant: "secondary",
|
|
72
|
+
size: x,
|
|
73
|
+
onClick: g.onClick,
|
|
74
|
+
children: g.label
|
|
75
|
+
}) : null]
|
|
76
|
+
}) : null, _ ? /* @__PURE__ */ i("button", {
|
|
77
|
+
type: "button",
|
|
78
|
+
className: n.dismiss,
|
|
79
|
+
onClick: _,
|
|
80
|
+
children: "Dismiss"
|
|
81
|
+
}) : null]
|
|
82
|
+
}) : null
|
|
83
|
+
]
|
|
84
|
+
});
|
|
85
|
+
}
|
|
86
|
+
//#endregion
|
|
87
|
+
export { c as InsightCard };
|
|
88
|
+
|
|
89
|
+
//# sourceMappingURL=InsightCard.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InsightCard.js","names":[],"sources":["../../../ui/InsightCard/InsightCard.tsx"],"sourcesContent":["import { useId } from \"react\";\nimport { Button } from \"../Button\";\nimport { LucideByName } from \"../Button/lucideName\";\nimport type { InsightCardProps, InsightCardTone } from \"./InsightCard.types\";\nimport styles from \"./InsightCard.module.css\";\n\nexport type {\n InsightCardProps,\n InsightCardTone,\n InsightCardSize,\n InsightCardAction,\n} from \"./InsightCard.types\";\n\nconst TONE_ICON: Record<InsightCardTone, string> = {\n opportunity: \"Sparkles\",\n warning: \"TriangleAlert\",\n danger: \"CircleX\",\n info: \"Info\",\n neutral: \"Sparkles\",\n};\n\nconst ICON_SIZE = { sm: 14, md: 16, lg: 18 } as const;\n\nexport function InsightCard({\n title,\n description,\n eyebrow = \"Insight\",\n tone = \"opportunity\",\n size = \"md\",\n confidence,\n source,\n primaryAction,\n secondaryAction,\n onDismiss,\n}: InsightCardProps) {\n const titleId = useId();\n const descriptionId = useId();\n const showFooter = Boolean(primaryAction || secondaryAction || onDismiss);\n const buttonSize = size === \"lg\" ? \"md\" : \"sm\";\n\n return (\n <article\n className={`${styles.card} ${styles[size]} ${styles[tone]}`}\n aria-labelledby={titleId}\n aria-describedby={description ? descriptionId : undefined}\n >\n <header className={styles.header}>\n <div className={styles.lead}>\n <LucideByName name={TONE_ICON[tone]} size={ICON_SIZE[size]} className={styles.icon} />\n <span className={styles.eyebrow}>{eyebrow}</span>\n </div>\n {confidence ? <span className={styles.confidence}>{confidence}</span> : null}\n </header>\n <div className={styles.body}>\n <h3 id={titleId} className={styles.title}>\n {title}\n </h3>\n {description ? (\n <p id={descriptionId} className={styles.description}>\n {description}\n </p>\n ) : null}\n {source ? <p className={styles.source}>{source}</p> : null}\n </div>\n {showFooter ? (\n <footer className={styles.footer}>\n {primaryAction || secondaryAction ? (\n <div className={styles.actions}>\n {primaryAction ? (\n <Button variant=\"primary\" size={buttonSize} onClick={primaryAction.onClick}>\n {primaryAction.label}\n </Button>\n ) : null}\n {secondaryAction ? (\n <Button variant=\"secondary\" size={buttonSize} onClick={secondaryAction.onClick}>\n {secondaryAction.label}\n </Button>\n ) : null}\n </div>\n ) : null}\n {onDismiss ? (\n <button type=\"button\" className={styles.dismiss} onClick={onDismiss}>\n Dismiss\n </button>\n ) : null}\n </footer>\n ) : null}\n </article>\n );\n}\n"],"mappings":";;;;;;AAaA,IAAM,IAA6C;CACjD,aAAa;CACb,SAAS;CACT,QAAQ;CACR,MAAM;CACN,SAAS;AACX,GAEM,IAAY;CAAE,IAAI;CAAI,IAAI;CAAI,IAAI;AAAG;AAE3C,SAAgB,EAAY,EAC1B,UACA,gBACA,aAAU,WACV,UAAO,eACP,UAAO,MACP,eACA,WACA,kBACA,oBACA,gBACmB;CACnB,IAAM,IAAU,EAAM,GAChB,IAAgB,EAAM,GACtB,IAAa,GAAQ,KAAiB,KAAmB,IACzD,IAAa,MAAS,OAAO,OAAO;CAE1C,OACE,kBAAC,WAAD;EACE,WAAW,GAAG,EAAO,KAAK,GAAG,EAAO,GAAM,GAAG,EAAO;EACpD,mBAAiB;EACjB,oBAAkB,IAAc,IAAgB,KAAA;EAHlD,UAAA;GAKE,kBAAC,UAAD;IAAQ,WAAW,EAAO;IAA1B,UAAA,CACE,kBAAC,OAAD;KAAK,WAAW,EAAO;KAAvB,UAAA,CACE,kBAAC,GAAD;MAAc,MAAM,EAAU;MAAO,MAAM,EAAU;MAAO,WAAW,EAAO;KAAO,CAAA,GACrF,kBAAC,QAAD;MAAM,WAAW,EAAO;MAAU,UAAA;KAAc,CAAA,CAC7C;IACJ,CAAA,GAAA,IAAa,kBAAC,QAAD;KAAM,WAAW,EAAO;KAAa,UAAA;IAAiB,CAAA,IAAI,IAClE;;GACR,kBAAC,OAAD;IAAK,WAAW,EAAO;IAAvB,UAAA;KACE,kBAAC,MAAD;MAAI,IAAI;MAAS,WAAW,EAAO;MAChC,UAAA;KACC,CAAA;KACH,IACC,kBAAC,KAAD;MAAG,IAAI;MAAe,WAAW,EAAO;MACrC,UAAA;KACA,CAAA,IACD;KACH,IAAS,kBAAC,KAAD;MAAG,WAAW,EAAO;MAAS,UAAA;KAAU,CAAA,IAAI;IACnD;;GACJ,IACC,kBAAC,UAAD;IAAQ,WAAW,EAAO;IAA1B,UAAA,CACG,KAAiB,IAChB,kBAAC,OAAD;KAAK,WAAW,EAAO;KAAvB,UAAA,CACG,IACC,kBAAC,GAAD;MAAQ,SAAQ;MAAU,MAAM;MAAY,SAAS,EAAc;MAChE,UAAA,EAAc;KACT,CAAA,IACN,MACH,IACC,kBAAC,GAAD;MAAQ,SAAQ;MAAY,MAAM;MAAY,SAAS,EAAgB;MACpE,UAAA,EAAgB;KACX,CAAA,IACN,IACD;IACH,CAAA,IAAA,MACH,IACC,kBAAC,UAAD;KAAQ,MAAK;KAAS,WAAW,EAAO;KAAS,SAAS;KAAW,UAAA;IAE7D,CAAA,IACN,IACE;GACN,CAAA,IAAA;EACG;;AAEb"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.
|
|
1
|
+
._card_yvn0j_1 {
|
|
2
2
|
--insight-padding: var(--space-6);
|
|
3
3
|
--insight-gap: var(--space-4);
|
|
4
4
|
--insight-width: 24rem;
|
|
@@ -14,65 +14,65 @@
|
|
|
14
14
|
box-shadow: var(--shadow-sm);
|
|
15
15
|
}
|
|
16
16
|
|
|
17
|
-
.
|
|
17
|
+
._sm_yvn0j_17 {
|
|
18
18
|
--insight-padding: var(--space-4);
|
|
19
19
|
--insight-gap: var(--space-3);
|
|
20
20
|
--insight-width: 20rem;
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
-
.
|
|
23
|
+
._md_yvn0j_23 {
|
|
24
24
|
--insight-padding: var(--space-6);
|
|
25
25
|
--insight-gap: var(--space-4);
|
|
26
26
|
--insight-width: 24rem;
|
|
27
27
|
}
|
|
28
28
|
|
|
29
|
-
.
|
|
29
|
+
._lg_yvn0j_29 {
|
|
30
30
|
--insight-padding: var(--space-8);
|
|
31
31
|
--insight-gap: var(--space-5);
|
|
32
32
|
--insight-width: 28rem;
|
|
33
33
|
}
|
|
34
34
|
|
|
35
|
-
.
|
|
35
|
+
._header_yvn0j_35 {
|
|
36
36
|
display: flex;
|
|
37
37
|
align-items: center;
|
|
38
38
|
justify-content: space-between;
|
|
39
39
|
gap: var(--space-3);
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
.
|
|
42
|
+
._lead_yvn0j_42 {
|
|
43
43
|
display: flex;
|
|
44
44
|
align-items: center;
|
|
45
45
|
gap: var(--space-2);
|
|
46
46
|
min-width: 0;
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
.
|
|
49
|
+
._icon_yvn0j_49 {
|
|
50
50
|
display: block;
|
|
51
51
|
flex-shrink: 0;
|
|
52
52
|
color: var(--icon-brand);
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
.
|
|
55
|
+
._opportunity_yvn0j_55 ._icon_yvn0j_49 {
|
|
56
56
|
color: var(--icon-brand);
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
.
|
|
59
|
+
._warning_yvn0j_59 ._icon_yvn0j_49 {
|
|
60
60
|
color: var(--icon-warning);
|
|
61
61
|
}
|
|
62
62
|
|
|
63
|
-
.
|
|
63
|
+
._danger_yvn0j_63 ._icon_yvn0j_49 {
|
|
64
64
|
color: var(--icon-danger);
|
|
65
65
|
}
|
|
66
66
|
|
|
67
|
-
.
|
|
67
|
+
._info_yvn0j_67 ._icon_yvn0j_49 {
|
|
68
68
|
color: var(--icon-info);
|
|
69
69
|
}
|
|
70
70
|
|
|
71
|
-
.
|
|
71
|
+
._neutral_yvn0j_71 ._icon_yvn0j_49 {
|
|
72
72
|
color: var(--icon-secondary);
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
-
.
|
|
75
|
+
._eyebrow_yvn0j_75 {
|
|
76
76
|
min-width: 0;
|
|
77
77
|
overflow-wrap: anywhere;
|
|
78
78
|
font-family: var(--font-sans);
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
color: var(--text-secondary);
|
|
83
83
|
}
|
|
84
84
|
|
|
85
|
-
.
|
|
85
|
+
._confidence_yvn0j_85 {
|
|
86
86
|
flex-shrink: 0;
|
|
87
87
|
font-family: var(--font-sans);
|
|
88
88
|
font-size: var(--type-size-caption);
|
|
@@ -91,7 +91,7 @@
|
|
|
91
91
|
color: var(--text-muted);
|
|
92
92
|
}
|
|
93
93
|
|
|
94
|
-
.
|
|
94
|
+
._body_yvn0j_94 {
|
|
95
95
|
display: flex;
|
|
96
96
|
flex-direction: column;
|
|
97
97
|
flex: 1 1 auto;
|
|
@@ -99,7 +99,7 @@
|
|
|
99
99
|
min-width: 0;
|
|
100
100
|
}
|
|
101
101
|
|
|
102
|
-
.
|
|
102
|
+
._title_yvn0j_102 {
|
|
103
103
|
margin: 0;
|
|
104
104
|
overflow-wrap: anywhere;
|
|
105
105
|
font-family: var(--font-sans);
|
|
@@ -109,7 +109,7 @@
|
|
|
109
109
|
color: var(--text-primary);
|
|
110
110
|
}
|
|
111
111
|
|
|
112
|
-
.
|
|
112
|
+
._description_yvn0j_112 {
|
|
113
113
|
margin: 0;
|
|
114
114
|
overflow-wrap: anywhere;
|
|
115
115
|
font-family: var(--font-sans);
|
|
@@ -118,7 +118,7 @@
|
|
|
118
118
|
color: var(--text-secondary);
|
|
119
119
|
}
|
|
120
120
|
|
|
121
|
-
.
|
|
121
|
+
._source_yvn0j_121 {
|
|
122
122
|
margin: 0;
|
|
123
123
|
font-family: var(--font-sans);
|
|
124
124
|
font-size: var(--type-size-caption);
|
|
@@ -127,7 +127,7 @@
|
|
|
127
127
|
color: var(--text-muted);
|
|
128
128
|
}
|
|
129
129
|
|
|
130
|
-
.
|
|
130
|
+
._footer_yvn0j_130 {
|
|
131
131
|
display: flex;
|
|
132
132
|
flex-wrap: wrap;
|
|
133
133
|
align-items: center;
|
|
@@ -135,14 +135,14 @@
|
|
|
135
135
|
margin-block-start: auto;
|
|
136
136
|
}
|
|
137
137
|
|
|
138
|
-
.
|
|
138
|
+
._actions_yvn0j_138 {
|
|
139
139
|
display: flex;
|
|
140
140
|
flex-wrap: wrap;
|
|
141
141
|
align-items: center;
|
|
142
142
|
gap: var(--space-2);
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
.
|
|
145
|
+
._dismiss_yvn0j_145 {
|
|
146
146
|
margin: 0;
|
|
147
147
|
margin-inline-start: auto;
|
|
148
148
|
padding: 0;
|
|
@@ -156,11 +156,11 @@
|
|
|
156
156
|
cursor: pointer;
|
|
157
157
|
}
|
|
158
158
|
|
|
159
|
-
.
|
|
159
|
+
._dismiss_yvn0j_145:hover {
|
|
160
160
|
color: var(--text-secondary);
|
|
161
161
|
}
|
|
162
162
|
|
|
163
|
-
.
|
|
163
|
+
._dismiss_yvn0j_145:focus-visible {
|
|
164
164
|
outline: var(--border-focus-width) solid var(--focus-ring);
|
|
165
165
|
outline-offset: var(--space-inset-2xs);
|
|
166
166
|
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import "./InsightCard.module.css";
|
|
2
|
+
//#region ui/InsightCard/InsightCard.module.css
|
|
3
|
+
var e = "_card_yvn0j_1", t = "_sm_yvn0j_17", n = "_md_yvn0j_23", r = "_lg_yvn0j_29", i = "_header_yvn0j_35", a = "_lead_yvn0j_42", o = "_icon_yvn0j_49", s = "_opportunity_yvn0j_55", c = "_warning_yvn0j_59", l = "_danger_yvn0j_63", u = "_info_yvn0j_67", d = "_neutral_yvn0j_71", f = "_eyebrow_yvn0j_75", p = "_confidence_yvn0j_85", m = "_body_yvn0j_94", h = "_title_yvn0j_102", g = "_description_yvn0j_112", _ = "_source_yvn0j_121", v = "_footer_yvn0j_130", y = "_actions_yvn0j_138", b = "_dismiss_yvn0j_145", x = {
|
|
4
|
+
card: e,
|
|
5
|
+
sm: t,
|
|
6
|
+
md: n,
|
|
7
|
+
lg: r,
|
|
8
|
+
header: i,
|
|
9
|
+
lead: a,
|
|
10
|
+
icon: o,
|
|
11
|
+
opportunity: s,
|
|
12
|
+
warning: c,
|
|
13
|
+
danger: l,
|
|
14
|
+
info: u,
|
|
15
|
+
neutral: d,
|
|
16
|
+
eyebrow: f,
|
|
17
|
+
confidence: p,
|
|
18
|
+
body: m,
|
|
19
|
+
title: h,
|
|
20
|
+
description: g,
|
|
21
|
+
source: _,
|
|
22
|
+
footer: v,
|
|
23
|
+
actions: y,
|
|
24
|
+
dismiss: b
|
|
25
|
+
};
|
|
26
|
+
//#endregion
|
|
27
|
+
export { y as actions, m as body, e as card, p as confidence, l as danger, x as default, g as description, b as dismiss, f as eyebrow, v as footer, i as header, o as icon, u as info, a as lead, r as lg, n as md, d as neutral, s as opportunity, t as sm, _ as source, h as title, c as warning };
|
|
28
|
+
|
|
29
|
+
//# sourceMappingURL=InsightCard.module.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InsightCard.module.js","names":[],"sources":["../../../ui/InsightCard/InsightCard.module.css"],"sourcesContent":[".card {\n --insight-padding: var(--space-6);\n --insight-gap: var(--space-4);\n --insight-width: 24rem;\n display: flex;\n flex-direction: column;\n gap: var(--insight-gap);\n width: min(100%, var(--insight-width));\n min-width: 0;\n padding: var(--insight-padding);\n background-color: var(--surface-card);\n border: var(--border-highlight) solid var(--border-faint);\n border-radius: var(--radius-surface-md);\n box-shadow: var(--shadow-sm);\n}\n\n.sm {\n --insight-padding: var(--space-4);\n --insight-gap: var(--space-3);\n --insight-width: 20rem;\n}\n\n.md {\n --insight-padding: var(--space-6);\n --insight-gap: var(--space-4);\n --insight-width: 24rem;\n}\n\n.lg {\n --insight-padding: var(--space-8);\n --insight-gap: var(--space-5);\n --insight-width: 28rem;\n}\n\n.header {\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: var(--space-3);\n}\n\n.lead {\n display: flex;\n align-items: center;\n gap: var(--space-2);\n min-width: 0;\n}\n\n.icon {\n display: block;\n flex-shrink: 0;\n color: var(--icon-brand);\n}\n\n.opportunity .icon {\n color: var(--icon-brand);\n}\n\n.warning .icon {\n color: var(--icon-warning);\n}\n\n.danger .icon {\n color: var(--icon-danger);\n}\n\n.info .icon {\n color: var(--icon-info);\n}\n\n.neutral .icon {\n color: var(--icon-secondary);\n}\n\n.eyebrow {\n min-width: 0;\n overflow-wrap: anywhere;\n font-family: var(--font-sans);\n font-size: var(--type-size-caption);\n font-weight: var(--type-weight-caption);\n line-height: var(--type-line-body);\n color: var(--text-secondary);\n}\n\n.confidence {\n flex-shrink: 0;\n font-family: var(--font-sans);\n font-size: var(--type-size-caption);\n font-weight: var(--type-weight-caption);\n line-height: var(--type-line-body);\n color: var(--text-muted);\n}\n\n.body {\n display: flex;\n flex-direction: column;\n flex: 1 1 auto;\n gap: var(--space-2);\n min-width: 0;\n}\n\n.title {\n margin: 0;\n overflow-wrap: anywhere;\n font-family: var(--font-sans);\n font-size: var(--type-size-heading);\n font-weight: var(--type-weight-heading);\n line-height: var(--type-line-heading);\n color: var(--text-primary);\n}\n\n.description {\n margin: 0;\n overflow-wrap: anywhere;\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\n.source {\n margin: 0;\n font-family: var(--font-sans);\n font-size: var(--type-size-caption);\n font-weight: var(--type-weight-caption);\n line-height: var(--type-line-body);\n color: var(--text-muted);\n}\n\n.footer {\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n gap: var(--space-3);\n margin-block-start: auto;\n}\n\n.actions {\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n gap: var(--space-2);\n}\n\n.dismiss {\n margin: 0;\n margin-inline-start: auto;\n padding: 0;\n border: 0;\n background: transparent;\n font-family: var(--font-sans);\n font-size: var(--type-size-caption);\n font-weight: var(--type-weight-caption);\n line-height: var(--type-line-body);\n color: var(--text-muted);\n cursor: pointer;\n}\n\n.dismiss:hover {\n color: var(--text-secondary);\n}\n\n.dismiss:focus-visible {\n outline: var(--border-focus-width) solid var(--focus-ring);\n outline-offset: var(--space-inset-2xs);\n}\n"],"mappings":""}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export type InsightCardTone = "opportunity" | "warning" | "danger" | "info" | "neutral";
|
|
2
|
+
export type InsightCardSize = "sm" | "md" | "lg";
|
|
3
|
+
export interface InsightCardAction {
|
|
4
|
+
label: string;
|
|
5
|
+
onClick?: () => void;
|
|
6
|
+
}
|
|
7
|
+
export interface InsightCardProps {
|
|
8
|
+
title: string;
|
|
9
|
+
description?: string;
|
|
10
|
+
eyebrow?: string;
|
|
11
|
+
tone?: InsightCardTone;
|
|
12
|
+
size?: InsightCardSize;
|
|
13
|
+
confidence?: string;
|
|
14
|
+
source?: string;
|
|
15
|
+
primaryAction?: InsightCardAction;
|
|
16
|
+
secondaryAction?: InsightCardAction;
|
|
17
|
+
onDismiss?: () => void;
|
|
18
|
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { LineChartProps } from './LineChart.types';
|
|
2
|
+
export type { LineChartProps, LineChartVariant } from './LineChart.types';
|
|
3
|
+
export declare function LineChart({ data, labels: labelsProp, series: seriesProp, title, description, variant, height, showGrid, showTable, includeZero, emptyLabel, isLoading, className, }: LineChartProps): import("react").JSX.Element;
|