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 @@
|
|
|
1
|
+
{"version":3,"file":"ProgressSteps.module.js","names":[],"sources":["../../../ui/ProgressSteps/ProgressSteps.module.css"],"sourcesContent":[".root {\n width: 100%;\n min-width: 0;\n}\n\n.list {\n display: flex;\n width: 100%;\n margin: 0;\n padding: 0;\n list-style: none;\n}\n\n.horizontal .list {\n align-items: flex-start;\n}\n\n.vertical .list {\n display: grid;\n width: 100%;\n}\n\n.step {\n position: relative;\n display: flex;\n flex-direction: column;\n align-items: center;\n flex: 1;\n min-width: 0;\n}\n\n.vertical .step {\n display: grid;\n grid-template-columns: auto minmax(0, 1fr);\n column-gap: var(--space-4);\n align-items: stretch;\n flex: none;\n}\n\n.markerRow {\n display: flex;\n align-items: center;\n width: 100%;\n}\n\n.rail {\n display: flex;\n flex-direction: column;\n align-items: center;\n}\n\n.line {\n flex: 1;\n min-width: var(--space-2);\n height: var(--border-width-medium);\n background: var(--border-faint);\n transition: background-color var(--motion-interaction-duration) var(--motion-interaction-easing);\n}\n\n.lineComplete {\n background: var(--fill-strong);\n}\n\n.horizontal .step:first-child .lineStart,\n.horizontal .step:last-child .lineEnd {\n visibility: hidden;\n}\n\n.vertical .line {\n width: var(--border-width-medium);\n min-width: 0;\n min-height: var(--space-6);\n height: auto;\n margin-block: var(--space-1);\n}\n\n.marker {\n display: flex;\n align-items: center;\n justify-content: center;\n flex-shrink: 0;\n box-sizing: border-box;\n border-radius: var(--radius-full);\n font-family: var(--font-sans);\n font-weight: var(--type-weight-label);\n font-variant-numeric: tabular-nums;\n line-height: 1;\n transition:\n background-color var(--motion-interaction-duration) var(--motion-interaction-easing),\n border-color var(--motion-interaction-duration) var(--motion-interaction-easing),\n color var(--motion-interaction-duration) var(--motion-interaction-easing),\n box-shadow var(--motion-interaction-duration) var(--motion-interaction-easing);\n}\n\n.sm .marker {\n width: var(--space-6);\n height: var(--space-6);\n font-size: var(--type-size-caption);\n}\n\n.md .marker {\n width: var(--space-8);\n height: var(--space-8);\n font-size: var(--type-size-body-sm);\n}\n\n.complete .marker {\n border: var(--border-width-medium) solid var(--fill-strong);\n background: var(--fill-strong);\n color: var(--icon-inverse);\n}\n\n.current .marker {\n border: var(--border-width-medium) solid var(--border-brand);\n background: var(--surface-card);\n color: var(--text-brand);\n box-shadow: 0 0 0 var(--space-1) var(--fill-brand-subtle);\n}\n\n.upcoming .marker {\n border: var(--border-width-thin) solid var(--border-strong);\n background: var(--surface-card);\n color: var(--text-muted);\n}\n\n.error .marker {\n border: var(--border-width-medium) solid var(--fill-danger);\n background: var(--fill-danger);\n color: var(--icon-inverse);\n}\n\n.number {\n font: inherit;\n color: inherit;\n}\n\n.copy {\n display: grid;\n gap: var(--space-1);\n margin-top: var(--space-3);\n padding-inline: var(--space-2);\n width: 100%;\n min-width: 0;\n text-align: center;\n}\n\n.vertical .copy {\n margin-top: 0;\n padding-inline: 0;\n padding-block-end: var(--space-6);\n text-align: start;\n align-self: start;\n}\n\n.vertical .step:last-child .copy {\n padding-block-end: 0;\n}\n\n.label {\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-body);\n color: var(--text-primary);\n overflow-wrap: anywhere;\n}\n\n.sm .label {\n font-size: var(--type-size-caption);\n}\n\n.upcoming .label {\n color: var(--text-secondary);\n}\n\n.error .label {\n color: var(--text-danger);\n}\n\n.description {\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 overflow-wrap: anywhere;\n}\n\n.upcoming .description {\n color: var(--text-muted);\n}\n\n.srOnly {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border: 0;\n}\n\n@media (prefers-reduced-motion: reduce) {\n .line,\n .marker {\n transition: none;\n }\n}\n"],"mappings":""}
|
package/{ui/ProgressSteps/ProgressSteps.types.ts → dist/ui/ProgressSteps/ProgressSteps.types.d.ts}
RENAMED
|
@@ -1,19 +1,17 @@
|
|
|
1
1
|
export type ProgressStepsOrientation = "horizontal" | "vertical";
|
|
2
2
|
export type ProgressStepsSize = "sm" | "md";
|
|
3
3
|
export type ProgressStepsStatus = "complete" | "current" | "upcoming" | "error";
|
|
4
|
-
|
|
5
4
|
export interface ProgressStepsItem {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
5
|
+
id: string;
|
|
6
|
+
label: string;
|
|
7
|
+
description?: string;
|
|
8
|
+
status?: ProgressStepsStatus;
|
|
10
9
|
}
|
|
11
|
-
|
|
12
10
|
export interface ProgressStepsProps {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
11
|
+
steps: ProgressStepsItem[];
|
|
12
|
+
current?: number;
|
|
13
|
+
orientation?: ProgressStepsOrientation;
|
|
14
|
+
size?: ProgressStepsSize;
|
|
15
|
+
ariaLabel?: string;
|
|
16
|
+
className?: string;
|
|
19
17
|
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { RadioGroupProps } from './RadioGroup.types';
|
|
2
|
+
export type { RadioGroupProps, RadioGroupOption, RadioGroupOrientation, RadioGroupSize, RadioGroupLayout, } from './RadioGroup.types';
|
|
3
|
+
export declare function RadioGroup({ name, legend, hideLegend, size, orientation, layout, options, defaultValue, value: valueProp, onChange, disabled, error, hint, }: RadioGroupProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { Badge as e } from "../Badge/Badge.js";
|
|
3
|
+
import t from "./RadioGroup.module.js";
|
|
4
|
+
import { useId as n, useState as r } from "react";
|
|
5
|
+
import { Fragment as i, jsx as a, jsxs as o } from "react/jsx-runtime";
|
|
6
|
+
//#region ui/RadioGroup/RadioGroup.tsx
|
|
7
|
+
function s({ name: s, legend: c, hideLegend: l = !1, size: u = "md", orientation: d = "vertical", layout: f = "list", options: p, defaultValue: m, value: h, onChange: g, disabled: _ = !1, error: v, hint: y }) {
|
|
8
|
+
let b = n(), x = h !== void 0, [S, C] = r(m), w = x ? h : S, T = v || y, E = T ? `${b}-message` : void 0;
|
|
9
|
+
function D(e) {
|
|
10
|
+
_ || (x || C(e), g?.(e));
|
|
11
|
+
}
|
|
12
|
+
return /* @__PURE__ */ o("fieldset", {
|
|
13
|
+
className: `${t.group} ${t[u]} ${f === "card" ? t.card : ""}${v ? ` ${t.groupError}` : ""}`,
|
|
14
|
+
disabled: _,
|
|
15
|
+
"aria-invalid": v ? !0 : void 0,
|
|
16
|
+
"aria-describedby": E,
|
|
17
|
+
children: [
|
|
18
|
+
/* @__PURE__ */ a("legend", {
|
|
19
|
+
className: l ? t.legendHidden : t.legend,
|
|
20
|
+
children: c
|
|
21
|
+
}),
|
|
22
|
+
/* @__PURE__ */ a("div", {
|
|
23
|
+
className: `${t.options} ${d === "horizontal" && f !== "card" ? t.horizontal : ""}`,
|
|
24
|
+
children: p.map((n) => {
|
|
25
|
+
let r = `${b}-${n.value || "empty"}`, c = !!(_ || n.disabled), l = w === n.value;
|
|
26
|
+
return /* @__PURE__ */ o("label", {
|
|
27
|
+
className: t.radio,
|
|
28
|
+
htmlFor: r,
|
|
29
|
+
"data-checked": l || void 0,
|
|
30
|
+
"data-disabled": c || void 0,
|
|
31
|
+
children: [
|
|
32
|
+
/* @__PURE__ */ a("input", {
|
|
33
|
+
id: r,
|
|
34
|
+
className: t.input,
|
|
35
|
+
type: "radio",
|
|
36
|
+
name: s,
|
|
37
|
+
value: n.value,
|
|
38
|
+
checked: l,
|
|
39
|
+
disabled: c,
|
|
40
|
+
"aria-invalid": v ? !0 : void 0,
|
|
41
|
+
onChange: () => D(n.value)
|
|
42
|
+
}),
|
|
43
|
+
f === "card" ? /* @__PURE__ */ o("span", {
|
|
44
|
+
className: t.copy,
|
|
45
|
+
children: [/* @__PURE__ */ o("span", {
|
|
46
|
+
className: t.titleRow,
|
|
47
|
+
children: [/* @__PURE__ */ a("span", {
|
|
48
|
+
className: t.label,
|
|
49
|
+
children: n.label
|
|
50
|
+
}), n.badge ? /* @__PURE__ */ a(e, {
|
|
51
|
+
size: "sm",
|
|
52
|
+
tone: n.badgeTone ?? "neutral",
|
|
53
|
+
children: n.badge
|
|
54
|
+
}) : null]
|
|
55
|
+
}), n.description ? /* @__PURE__ */ a("span", {
|
|
56
|
+
className: t.description,
|
|
57
|
+
children: n.description
|
|
58
|
+
}) : null]
|
|
59
|
+
}) : /* @__PURE__ */ o(i, { children: [/* @__PURE__ */ a("span", {
|
|
60
|
+
className: t.control,
|
|
61
|
+
"aria-hidden": !0,
|
|
62
|
+
children: /* @__PURE__ */ a("span", { className: t.dot })
|
|
63
|
+
}), /* @__PURE__ */ a("span", {
|
|
64
|
+
className: t.label,
|
|
65
|
+
children: n.label
|
|
66
|
+
})] }),
|
|
67
|
+
f === "card" ? /* @__PURE__ */ a("span", {
|
|
68
|
+
className: t.control,
|
|
69
|
+
"aria-hidden": !0,
|
|
70
|
+
children: /* @__PURE__ */ a("span", { className: t.dot })
|
|
71
|
+
}) : null
|
|
72
|
+
]
|
|
73
|
+
}, n.value);
|
|
74
|
+
})
|
|
75
|
+
}),
|
|
76
|
+
T ? /* @__PURE__ */ a("p", {
|
|
77
|
+
id: E,
|
|
78
|
+
className: `${t.message}${v ? ` ${t.messageError}` : ""}`,
|
|
79
|
+
children: T
|
|
80
|
+
}) : null
|
|
81
|
+
]
|
|
82
|
+
});
|
|
83
|
+
}
|
|
84
|
+
//#endregion
|
|
85
|
+
export { s as RadioGroup };
|
|
86
|
+
|
|
87
|
+
//# sourceMappingURL=RadioGroup.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RadioGroup.js","names":[],"sources":["../../../ui/RadioGroup/RadioGroup.tsx"],"sourcesContent":["\"use client\";\n\nimport { useId, useState } from \"react\";\nimport { Badge } from \"../Badge\";\nimport type { RadioGroupProps } from \"./RadioGroup.types\";\nimport styles from \"./RadioGroup.module.css\";\n\nexport type {\n RadioGroupProps,\n RadioGroupOption,\n RadioGroupOrientation,\n RadioGroupSize,\n RadioGroupLayout,\n} from \"./RadioGroup.types\";\n\nexport function RadioGroup({\n name,\n legend,\n hideLegend = false,\n size = \"md\",\n orientation = \"vertical\",\n layout = \"list\",\n options,\n defaultValue,\n value: valueProp,\n onChange,\n disabled = false,\n error,\n hint,\n}: RadioGroupProps) {\n const uid = useId();\n const isControlled = valueProp !== undefined;\n const [uncontrolled, setUncontrolled] = useState(defaultValue);\n const value = isControlled ? valueProp : uncontrolled;\n const message = error || hint;\n const messageId = message ? `${uid}-message` : undefined;\n\n function emit(next: string) {\n if (disabled) return;\n if (!isControlled) setUncontrolled(next);\n onChange?.(next);\n }\n\n return (\n <fieldset\n className={`${styles.group} ${styles[size]} ${layout === \"card\" ? styles.card : \"\"}${error ? ` ${styles.groupError}` : \"\"}`}\n disabled={disabled}\n aria-invalid={error ? true : undefined}\n aria-describedby={messageId}\n >\n <legend className={hideLegend ? styles.legendHidden : styles.legend}>{legend}</legend>\n <div\n className={`${styles.options} ${orientation === \"horizontal\" && layout !== \"card\" ? styles.horizontal : \"\"}`}\n >\n {options.map((option) => {\n const optionId = `${uid}-${option.value || \"empty\"}`;\n const optionDisabled = Boolean(disabled || option.disabled);\n const checked = value === option.value;\n return (\n <label\n key={option.value}\n className={styles.radio}\n htmlFor={optionId}\n data-checked={checked || undefined}\n data-disabled={optionDisabled || undefined}\n >\n <input\n id={optionId}\n className={styles.input}\n type=\"radio\"\n name={name}\n value={option.value}\n checked={checked}\n disabled={optionDisabled}\n aria-invalid={error ? true : undefined}\n onChange={() => emit(option.value)}\n />\n {layout === \"card\" ? (\n <span className={styles.copy}>\n <span className={styles.titleRow}>\n <span className={styles.label}>{option.label}</span>\n {option.badge ? (\n <Badge size=\"sm\" tone={option.badgeTone ?? \"neutral\"}>\n {option.badge}\n </Badge>\n ) : null}\n </span>\n {option.description ? (\n <span className={styles.description}>{option.description}</span>\n ) : null}\n </span>\n ) : (\n <>\n <span className={styles.control} aria-hidden>\n <span className={styles.dot} />\n </span>\n <span className={styles.label}>{option.label}</span>\n </>\n )}\n {layout === \"card\" ? (\n <span className={styles.control} aria-hidden>\n <span className={styles.dot} />\n </span>\n ) : null}\n </label>\n );\n })}\n </div>\n {message ? (\n <p id={messageId} className={`${styles.message}${error ? ` ${styles.messageError}` : \"\"}`}>\n {message}\n </p>\n ) : null}\n </fieldset>\n );\n}\n"],"mappings":";;;;;;AAeA,SAAgB,EAAW,EACzB,SACA,WACA,gBAAa,IACb,UAAO,MACP,iBAAc,YACd,YAAS,QACT,YACA,iBACA,OAAO,GACP,aACA,cAAW,IACX,UACA,WACkB;CAClB,IAAM,IAAM,EAAM,GACZ,IAAe,MAAc,KAAA,GAC7B,CAAC,GAAc,KAAmB,EAAS,CAAY,GACvD,IAAQ,IAAe,IAAY,GACnC,IAAU,KAAS,GACnB,IAAY,IAAU,GAAG,EAAI,YAAY,KAAA;CAE/C,SAAS,EAAK,GAAc;EACtB,MACC,KAAc,EAAgB,CAAI,GACvC,IAAW,CAAI;CACjB;CAEA,OACE,kBAAC,YAAD;EACE,WAAW,GAAG,EAAO,MAAM,GAAG,EAAO,GAAM,GAAG,MAAW,SAAS,EAAO,OAAO,KAAK,IAAQ,IAAI,EAAO,eAAe;EAC7G;EACV,gBAAc,IAAQ,KAAO,KAAA;EAC7B,oBAAkB;EAJpB,UAAA;GAME,kBAAC,UAAD;IAAQ,WAAW,IAAa,EAAO,eAAe,EAAO;IAAS,UAAA;GAAe,CAAA;GACrF,kBAAC,OAAD;IACE,WAAW,GAAG,EAAO,QAAQ,GAAG,MAAgB,gBAAgB,MAAW,SAAS,EAAO,aAAa;IAEvG,UAAA,EAAQ,KAAK,MAAW;KACvB,IAAM,IAAW,GAAG,EAAI,GAAG,EAAO,SAAS,WACrC,IAAiB,GAAQ,KAAY,EAAO,WAC5C,IAAU,MAAU,EAAO;KACjC,OACE,kBAAC,SAAD;MAEE,WAAW,EAAO;MAClB,SAAS;MACT,gBAAc,KAAW,KAAA;MACzB,iBAAe,KAAkB,KAAA;MALnC,UAAA;OAOE,kBAAC,SAAD;QACE,IAAI;QACJ,WAAW,EAAO;QAClB,MAAK;QACC;QACN,OAAO,EAAO;QACL;QACT,UAAU;QACV,gBAAc,IAAQ,KAAO,KAAA;QAC7B,gBAAgB,EAAK,EAAO,KAAK;OAClC,CAAA;OACA,MAAW,SACV,kBAAC,QAAD;QAAM,WAAW,EAAO;QAAxB,UAAA,CACE,kBAAC,QAAD;SAAM,WAAW,EAAO;SAAxB,UAAA,CACE,kBAAC,QAAD;UAAM,WAAW,EAAO;UAAQ,UAAA,EAAO;SAAY,CAAA,GAClD,EAAO,QACN,kBAAC,GAAD;UAAO,MAAK;UAAK,MAAM,EAAO,aAAa;UACxC,UAAA,EAAO;SACH,CAAA,IACL,IACA;QACL,CAAA,GAAA,EAAO,cACN,kBAAC,QAAD;SAAM,WAAW,EAAO;SAAc,UAAA,EAAO;QAAkB,CAAA,IAC7D,IACA;OAEN,CAAA,IAAA,kBAAA,GAAA,EAAA,UAAA,CACE,kBAAC,QAAD;QAAM,WAAW,EAAO;QAAS,eAAA;QAC/B,UAAA,kBAAC,QAAD,EAAM,WAAW,EAAO,IAAM,CAAA;OAC1B,CAAA,GACN,kBAAC,QAAD;QAAM,WAAW,EAAO;QAAQ,UAAA,EAAO;OAAY,CAAA,CACnD,EAAA,CAAA;OAEH,MAAW,SACV,kBAAC,QAAD;QAAM,WAAW,EAAO;QAAS,eAAA;QAC/B,UAAA,kBAAC,QAAD,EAAM,WAAW,EAAO,IAAM,CAAA;OAC1B,CAAA,IACJ;MACC;KA5CA,GAAA,EAAO,KA4CP;IAEX,CAAC;GACE,CAAA;GACJ,IACC,kBAAC,KAAD;IAAG,IAAI;IAAW,WAAW,GAAG,EAAO,UAAU,IAAQ,IAAI,EAAO,iBAAiB;IAClF,UAAA;GACA,CAAA,IACD;EACI;;AAEd"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.
|
|
1
|
+
._group_j5ooj_1 {
|
|
2
2
|
display: grid;
|
|
3
3
|
gap: var(--space-stack-md);
|
|
4
4
|
margin: 0;
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
min-inline-size: 0;
|
|
8
8
|
}
|
|
9
9
|
|
|
10
|
-
.
|
|
10
|
+
._legend_j5ooj_10 {
|
|
11
11
|
float: left;
|
|
12
12
|
width: 100%;
|
|
13
13
|
padding: 0;
|
|
@@ -19,19 +19,19 @@
|
|
|
19
19
|
line-height: var(--type-line-body);
|
|
20
20
|
}
|
|
21
21
|
|
|
22
|
-
.
|
|
22
|
+
._options_j5ooj_22 {
|
|
23
23
|
display: grid;
|
|
24
24
|
gap: var(--space-stack-md);
|
|
25
25
|
clear: both;
|
|
26
26
|
}
|
|
27
27
|
|
|
28
|
-
.
|
|
28
|
+
._horizontal_j5ooj_28 {
|
|
29
29
|
display: flex;
|
|
30
30
|
flex-wrap: wrap;
|
|
31
31
|
gap: var(--space-inline-lg);
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
.
|
|
34
|
+
._message_j5ooj_34 {
|
|
35
35
|
clear: both;
|
|
36
36
|
margin: 0;
|
|
37
37
|
color: var(--text-muted);
|
|
@@ -41,11 +41,11 @@
|
|
|
41
41
|
line-height: var(--type-line-body);
|
|
42
42
|
}
|
|
43
43
|
|
|
44
|
-
.
|
|
44
|
+
._messageError_j5ooj_44 {
|
|
45
45
|
color: var(--text-danger);
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
.
|
|
48
|
+
._radio_j5ooj_48 {
|
|
49
49
|
--radio-size: 1.15rem;
|
|
50
50
|
--radio-dot: 0.6rem;
|
|
51
51
|
display: inline-flex;
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
cursor: pointer;
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
.
|
|
57
|
+
._input_j5ooj_57 {
|
|
58
58
|
position: absolute;
|
|
59
59
|
width: 1px;
|
|
60
60
|
height: 1px;
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
border: 0;
|
|
67
67
|
}
|
|
68
68
|
|
|
69
|
-
.
|
|
69
|
+
._control_j5ooj_69 {
|
|
70
70
|
position: relative;
|
|
71
71
|
flex-shrink: 0;
|
|
72
72
|
box-sizing: border-box;
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
background-color var(--motion-interaction-duration) var(--motion-interaction-easing);
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
.
|
|
83
|
+
._dot_j5ooj_83 {
|
|
84
84
|
position: absolute;
|
|
85
85
|
top: 50%;
|
|
86
86
|
left: 50%;
|
|
@@ -95,38 +95,38 @@
|
|
|
95
95
|
opacity var(--motion-expand-duration) var(--motion-ease-spring);
|
|
96
96
|
}
|
|
97
97
|
|
|
98
|
-
.
|
|
98
|
+
._radio_j5ooj_48[data-checked] ._control_j5ooj_69 {
|
|
99
99
|
border-color: var(--action-primary);
|
|
100
100
|
background: var(--surface-page);
|
|
101
101
|
}
|
|
102
102
|
|
|
103
|
-
.
|
|
103
|
+
._radio_j5ooj_48[data-checked] ._dot_j5ooj_83 {
|
|
104
104
|
transform: translate(-50%, -50%) scale(1);
|
|
105
105
|
opacity: 1;
|
|
106
106
|
}
|
|
107
107
|
|
|
108
|
-
.
|
|
108
|
+
._groupError_j5ooj_108 ._radio_j5ooj_48:not([data-checked]) ._control_j5ooj_69 {
|
|
109
109
|
border-color: var(--status-danger);
|
|
110
110
|
}
|
|
111
111
|
|
|
112
|
-
.
|
|
112
|
+
._groupError_j5ooj_108 ._radio_j5ooj_48[data-checked] ._control_j5ooj_69 {
|
|
113
113
|
border-color: var(--action-danger);
|
|
114
114
|
background: var(--surface-page);
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
.
|
|
117
|
+
._groupError_j5ooj_108 ._radio_j5ooj_48[data-checked] ._dot_j5ooj_83 {
|
|
118
118
|
background: var(--action-danger);
|
|
119
119
|
}
|
|
120
120
|
|
|
121
|
-
.
|
|
121
|
+
._groupError_j5ooj_108 ._radio_j5ooj_48[data-checked]:hover:not([data-disabled]) ._control_j5ooj_69 {
|
|
122
122
|
border-color: var(--action-danger-hover);
|
|
123
123
|
}
|
|
124
124
|
|
|
125
|
-
.
|
|
125
|
+
._groupError_j5ooj_108 ._radio_j5ooj_48[data-checked]:hover:not([data-disabled]) ._dot_j5ooj_83 {
|
|
126
126
|
background: var(--action-danger-hover);
|
|
127
127
|
}
|
|
128
128
|
|
|
129
|
-
.
|
|
129
|
+
._label_j5ooj_129 {
|
|
130
130
|
color: var(--text-primary);
|
|
131
131
|
font-family: var(--font-sans);
|
|
132
132
|
font-size: var(--type-size-label);
|
|
@@ -134,92 +134,92 @@
|
|
|
134
134
|
line-height: var(--type-line-body);
|
|
135
135
|
}
|
|
136
136
|
|
|
137
|
-
.
|
|
137
|
+
._radio_j5ooj_48:hover:not([data-disabled]) ._control_j5ooj_69 {
|
|
138
138
|
border-color: var(--border-strong);
|
|
139
139
|
}
|
|
140
140
|
|
|
141
|
-
.
|
|
141
|
+
._radio_j5ooj_48[data-checked]:hover:not([data-disabled]) ._control_j5ooj_69 {
|
|
142
142
|
border-color: var(--action-primary-hover);
|
|
143
143
|
background: var(--surface-page);
|
|
144
144
|
}
|
|
145
145
|
|
|
146
|
-
.
|
|
146
|
+
._radio_j5ooj_48[data-checked]:hover:not([data-disabled]) ._dot_j5ooj_83 {
|
|
147
147
|
background: var(--action-primary-hover);
|
|
148
148
|
}
|
|
149
149
|
|
|
150
|
-
.
|
|
150
|
+
._radio_j5ooj_48:has(._input_j5ooj_57:focus-visible) ._control_j5ooj_69 {
|
|
151
151
|
outline: var(--border-focus-width) solid var(--focus-ring);
|
|
152
152
|
outline-offset: var(--space-inset-2xs);
|
|
153
153
|
}
|
|
154
154
|
|
|
155
|
-
.
|
|
155
|
+
._radio_j5ooj_48[data-disabled] {
|
|
156
156
|
cursor: not-allowed;
|
|
157
157
|
}
|
|
158
158
|
|
|
159
|
-
.
|
|
159
|
+
._radio_j5ooj_48[data-disabled] ._control_j5ooj_69 {
|
|
160
160
|
opacity: var(--opacity-disabled);
|
|
161
161
|
}
|
|
162
162
|
|
|
163
|
-
.
|
|
163
|
+
._radio_j5ooj_48[data-disabled] ._label_j5ooj_129 {
|
|
164
164
|
color: var(--text-disabled);
|
|
165
165
|
}
|
|
166
166
|
|
|
167
|
-
.
|
|
167
|
+
._group_j5ooj_1:disabled ._radio_j5ooj_48 {
|
|
168
168
|
cursor: not-allowed;
|
|
169
169
|
}
|
|
170
170
|
|
|
171
|
-
.
|
|
172
|
-
.
|
|
171
|
+
._sm_j5ooj_171,
|
|
172
|
+
._sm_j5ooj_171 ._options_j5ooj_22 {
|
|
173
173
|
gap: var(--space-stack-sm);
|
|
174
174
|
}
|
|
175
175
|
|
|
176
|
-
.
|
|
176
|
+
._sm_j5ooj_171 ._radio_j5ooj_48 {
|
|
177
177
|
--radio-size: 0.95rem;
|
|
178
178
|
--radio-dot: 0.48rem;
|
|
179
179
|
gap: var(--space-inline-xs);
|
|
180
180
|
}
|
|
181
181
|
|
|
182
|
-
.
|
|
183
|
-
.
|
|
182
|
+
._sm_j5ooj_171 ._label_j5ooj_129,
|
|
183
|
+
._sm_j5ooj_171 ._legend_j5ooj_10 {
|
|
184
184
|
font-size: var(--type-size-caption);
|
|
185
185
|
}
|
|
186
186
|
|
|
187
|
-
.
|
|
187
|
+
._sm_j5ooj_171 ._legend_j5ooj_10 {
|
|
188
188
|
margin-bottom: var(--space-stack-xs);
|
|
189
189
|
}
|
|
190
190
|
|
|
191
|
-
.
|
|
191
|
+
._lg_j5ooj_191 {
|
|
192
192
|
gap: var(--space-stack-lg);
|
|
193
193
|
}
|
|
194
194
|
|
|
195
|
-
.
|
|
195
|
+
._lg_j5ooj_191 ._legend_j5ooj_10 {
|
|
196
196
|
margin-bottom: var(--space-stack-md);
|
|
197
197
|
}
|
|
198
198
|
|
|
199
|
-
.
|
|
199
|
+
._lg_j5ooj_191 ._options_j5ooj_22 {
|
|
200
200
|
gap: var(--space-stack-lg);
|
|
201
201
|
}
|
|
202
202
|
|
|
203
|
-
.
|
|
203
|
+
._lg_j5ooj_191 ._radio_j5ooj_48 {
|
|
204
204
|
--radio-size: 1.35rem;
|
|
205
205
|
--radio-dot: 0.72rem;
|
|
206
206
|
gap: var(--space-inline-md);
|
|
207
207
|
}
|
|
208
208
|
|
|
209
|
-
.
|
|
209
|
+
._lg_j5ooj_191 ._label_j5ooj_129 {
|
|
210
210
|
font-size: var(--type-size-body-sm);
|
|
211
211
|
}
|
|
212
212
|
|
|
213
213
|
@media (prefers-reduced-motion: reduce) {
|
|
214
|
-
.
|
|
215
|
-
.
|
|
216
|
-
.
|
|
214
|
+
._control_j5ooj_69,
|
|
215
|
+
._dot_j5ooj_83,
|
|
216
|
+
._message_j5ooj_34 {
|
|
217
217
|
transition: none;
|
|
218
218
|
animation: none;
|
|
219
219
|
}
|
|
220
220
|
}
|
|
221
221
|
|
|
222
|
-
.
|
|
222
|
+
._legendHidden_j5ooj_222 {
|
|
223
223
|
position: absolute;
|
|
224
224
|
width: 1px;
|
|
225
225
|
height: 1px;
|
|
@@ -231,16 +231,16 @@
|
|
|
231
231
|
border: 0;
|
|
232
232
|
}
|
|
233
233
|
|
|
234
|
-
.
|
|
234
|
+
._card_j5ooj_234 {
|
|
235
235
|
gap: var(--space-stack-sm);
|
|
236
236
|
}
|
|
237
237
|
|
|
238
|
-
.
|
|
238
|
+
._card_j5ooj_234 ._options_j5ooj_22 {
|
|
239
239
|
display: grid;
|
|
240
240
|
gap: var(--space-3);
|
|
241
241
|
}
|
|
242
242
|
|
|
243
|
-
.
|
|
243
|
+
._card_j5ooj_234 ._radio_j5ooj_48 {
|
|
244
244
|
display: flex;
|
|
245
245
|
align-items: center;
|
|
246
246
|
justify-content: space-between;
|
|
@@ -254,14 +254,14 @@
|
|
|
254
254
|
box-sizing: border-box;
|
|
255
255
|
}
|
|
256
256
|
|
|
257
|
-
.
|
|
257
|
+
._card_j5ooj_234 ._copy_j5ooj_257 {
|
|
258
258
|
display: grid;
|
|
259
259
|
gap: var(--space-1);
|
|
260
260
|
min-width: 0;
|
|
261
261
|
flex: 1;
|
|
262
262
|
}
|
|
263
263
|
|
|
264
|
-
.
|
|
264
|
+
._card_j5ooj_234 ._titleRow_j5ooj_264 {
|
|
265
265
|
display: flex;
|
|
266
266
|
align-items: center;
|
|
267
267
|
flex-wrap: wrap;
|
|
@@ -269,12 +269,12 @@
|
|
|
269
269
|
min-width: 0;
|
|
270
270
|
}
|
|
271
271
|
|
|
272
|
-
.
|
|
272
|
+
._card_j5ooj_234 ._label_j5ooj_129 {
|
|
273
273
|
font-size: var(--type-size-body);
|
|
274
274
|
font-weight: var(--type-weight-heading);
|
|
275
275
|
}
|
|
276
276
|
|
|
277
|
-
.
|
|
277
|
+
._card_j5ooj_234 ._description_j5ooj_277 {
|
|
278
278
|
color: var(--text-muted);
|
|
279
279
|
font-family: var(--font-sans);
|
|
280
280
|
font-size: var(--type-size-body-sm);
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import "./RadioGroup.module.css";
|
|
2
|
+
//#region ui/RadioGroup/RadioGroup.module.css
|
|
3
|
+
var e = "_group_j5ooj_1", t = "_legend_j5ooj_10", n = "_options_j5ooj_22", r = "_horizontal_j5ooj_28", i = "_message_j5ooj_34", a = "_messageError_j5ooj_44", o = "_radio_j5ooj_48", s = "_input_j5ooj_57", c = "_control_j5ooj_69", l = "_dot_j5ooj_83", u = "_groupError_j5ooj_108", d = "_label_j5ooj_129", f = "_sm_j5ooj_171", p = "_lg_j5ooj_191", m = "_legendHidden_j5ooj_222", h = "_card_j5ooj_234", g = "_copy_j5ooj_257", _ = "_titleRow_j5ooj_264", v = "_description_j5ooj_277", y = {
|
|
4
|
+
group: e,
|
|
5
|
+
legend: t,
|
|
6
|
+
options: n,
|
|
7
|
+
horizontal: r,
|
|
8
|
+
message: i,
|
|
9
|
+
messageError: a,
|
|
10
|
+
radio: o,
|
|
11
|
+
input: s,
|
|
12
|
+
control: c,
|
|
13
|
+
dot: l,
|
|
14
|
+
groupError: u,
|
|
15
|
+
label: d,
|
|
16
|
+
sm: f,
|
|
17
|
+
lg: p,
|
|
18
|
+
legendHidden: m,
|
|
19
|
+
card: h,
|
|
20
|
+
copy: g,
|
|
21
|
+
titleRow: _,
|
|
22
|
+
description: v
|
|
23
|
+
};
|
|
24
|
+
//#endregion
|
|
25
|
+
export { h as card, c as control, g as copy, y as default, v as description, l as dot, e as group, u as groupError, r as horizontal, s as input, d as label, t as legend, m as legendHidden, p as lg, i as message, a as messageError, n as options, o as radio, f as sm, _ as titleRow };
|
|
26
|
+
|
|
27
|
+
//# sourceMappingURL=RadioGroup.module.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RadioGroup.module.js","names":[],"sources":["../../../ui/RadioGroup/RadioGroup.module.css"],"sourcesContent":[".group {\n display: grid;\n gap: var(--space-stack-md);\n margin: 0;\n padding: 0;\n border: 0;\n min-inline-size: 0;\n}\n\n.legend {\n float: left;\n width: 100%;\n padding: 0;\n margin: 0 0 var(--space-stack-sm);\n color: var(--text-primary);\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-body);\n}\n\n.options {\n display: grid;\n gap: var(--space-stack-md);\n clear: both;\n}\n\n.horizontal {\n display: flex;\n flex-wrap: wrap;\n gap: var(--space-inline-lg);\n}\n\n.message {\n clear: both;\n margin: 0;\n color: var(--text-muted);\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}\n\n.messageError {\n color: var(--text-danger);\n}\n\n.radio {\n --radio-size: 1.15rem;\n --radio-dot: 0.6rem;\n display: inline-flex;\n align-items: center;\n gap: var(--space-inline-sm);\n cursor: pointer;\n}\n\n.input {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border: 0;\n}\n\n.control {\n position: relative;\n flex-shrink: 0;\n box-sizing: border-box;\n width: var(--radio-size);\n height: var(--radio-size);\n border: var(--border-control) solid var(--border-strong);\n border-radius: var(--radius-pill);\n background: var(--surface-page);\n transition:\n border-color var(--motion-interaction-duration) var(--motion-interaction-easing),\n background-color var(--motion-interaction-duration) var(--motion-interaction-easing);\n}\n\n.dot {\n position: absolute;\n top: 50%;\n left: 50%;\n width: var(--radio-dot);\n height: var(--radio-dot);\n border-radius: var(--radius-pill);\n background: var(--action-primary);\n transform: translate(-50%, -50%) scale(0);\n opacity: 0;\n transition:\n transform var(--motion-expand-duration) var(--motion-ease-spring),\n opacity var(--motion-expand-duration) var(--motion-ease-spring);\n}\n\n.radio[data-checked] .control {\n border-color: var(--action-primary);\n background: var(--surface-page);\n}\n\n.radio[data-checked] .dot {\n transform: translate(-50%, -50%) scale(1);\n opacity: 1;\n}\n\n.groupError .radio:not([data-checked]) .control {\n border-color: var(--status-danger);\n}\n\n.groupError .radio[data-checked] .control {\n border-color: var(--action-danger);\n background: var(--surface-page);\n}\n\n.groupError .radio[data-checked] .dot {\n background: var(--action-danger);\n}\n\n.groupError .radio[data-checked]:hover:not([data-disabled]) .control {\n border-color: var(--action-danger-hover);\n}\n\n.groupError .radio[data-checked]:hover:not([data-disabled]) .dot {\n background: var(--action-danger-hover);\n}\n\n.label {\n color: var(--text-primary);\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-body);\n}\n\n.radio:hover:not([data-disabled]) .control {\n border-color: var(--border-strong);\n}\n\n.radio[data-checked]:hover:not([data-disabled]) .control {\n border-color: var(--action-primary-hover);\n background: var(--surface-page);\n}\n\n.radio[data-checked]:hover:not([data-disabled]) .dot {\n background: var(--action-primary-hover);\n}\n\n.radio:has(.input:focus-visible) .control {\n outline: var(--border-focus-width) solid var(--focus-ring);\n outline-offset: var(--space-inset-2xs);\n}\n\n.radio[data-disabled] {\n cursor: not-allowed;\n}\n\n.radio[data-disabled] .control {\n opacity: var(--opacity-disabled);\n}\n\n.radio[data-disabled] .label {\n color: var(--text-disabled);\n}\n\n.group:disabled .radio {\n cursor: not-allowed;\n}\n\n.sm,\n.sm .options {\n gap: var(--space-stack-sm);\n}\n\n.sm .radio {\n --radio-size: 0.95rem;\n --radio-dot: 0.48rem;\n gap: var(--space-inline-xs);\n}\n\n.sm .label,\n.sm .legend {\n font-size: var(--type-size-caption);\n}\n\n.sm .legend {\n margin-bottom: var(--space-stack-xs);\n}\n\n.lg {\n gap: var(--space-stack-lg);\n}\n\n.lg .legend {\n margin-bottom: var(--space-stack-md);\n}\n\n.lg .options {\n gap: var(--space-stack-lg);\n}\n\n.lg .radio {\n --radio-size: 1.35rem;\n --radio-dot: 0.72rem;\n gap: var(--space-inline-md);\n}\n\n.lg .label {\n font-size: var(--type-size-body-sm);\n}\n\n@media (prefers-reduced-motion: reduce) {\n .control,\n .dot,\n .message {\n transition: none;\n animation: none;\n }\n}\n\n.legendHidden {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border: 0;\n}\n\n.card {\n gap: var(--space-stack-sm);\n}\n\n.card .options {\n display: grid;\n gap: var(--space-3);\n}\n\n.card .radio {\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: var(--space-4);\n width: 100%;\n margin: 0;\n padding: var(--space-4);\n border: var(--border-highlight) solid var(--border-faint);\n border-radius: var(--radius-surface-md);\n background: var(--surface-card);\n box-sizing: border-box;\n}\n\n.card .copy {\n display: grid;\n gap: var(--space-1);\n min-width: 0;\n flex: 1;\n}\n\n.card .titleRow {\n display: flex;\n align-items: center;\n flex-wrap: wrap;\n gap: var(--space-2);\n min-width: 0;\n}\n\n.card .label {\n font-size: var(--type-size-body);\n font-weight: var(--type-weight-heading);\n}\n\n.card .description {\n color: var(--text-muted);\n font-family: var(--font-sans);\n font-size: var(--type-size-body-sm);\n font-weight: var(--type-weight-caption);\n line-height: var(--type-line-body);\n}\n\n"],"mappings":""}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { BadgeTone } from '../Badge/Badge.types';
|
|
2
|
+
export type RadioGroupSize = "sm" | "md" | "lg";
|
|
3
|
+
export type RadioGroupOrientation = "vertical" | "horizontal";
|
|
4
|
+
export type RadioGroupLayout = "list" | "card";
|
|
5
|
+
export interface RadioGroupOption {
|
|
6
|
+
value: string;
|
|
7
|
+
label: string;
|
|
8
|
+
description?: string;
|
|
9
|
+
badge?: string;
|
|
10
|
+
badgeTone?: BadgeTone;
|
|
11
|
+
disabled?: boolean;
|
|
12
|
+
}
|
|
13
|
+
export interface RadioGroupProps {
|
|
14
|
+
name: string;
|
|
15
|
+
legend: string;
|
|
16
|
+
hideLegend?: boolean;
|
|
17
|
+
size?: RadioGroupSize;
|
|
18
|
+
orientation?: RadioGroupOrientation;
|
|
19
|
+
layout?: RadioGroupLayout;
|
|
20
|
+
options: RadioGroupOption[];
|
|
21
|
+
defaultValue?: string;
|
|
22
|
+
value?: string;
|
|
23
|
+
onChange?: (value: string) => void;
|
|
24
|
+
disabled?: boolean;
|
|
25
|
+
error?: string;
|
|
26
|
+
hint?: string;
|
|
27
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { Carousel as e } from "../Carousel/Carousel.js";
|
|
2
|
+
import { Scorecard as t } from "../Scorecard/Scorecard.js";
|
|
3
|
+
import n from "./Scoreboard.module.js";
|
|
4
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
5
|
+
//#region ui/Scoreboard/Scoreboard.tsx
|
|
6
|
+
var i = 4;
|
|
7
|
+
function a({ items: a, "aria-label": o = "Key metrics", className: s = "" }) {
|
|
8
|
+
let c = a.map((e) => /* @__PURE__ */ r(t, {
|
|
9
|
+
...e,
|
|
10
|
+
fill: !0
|
|
11
|
+
}, e.label));
|
|
12
|
+
if (a.length > i) return /* @__PURE__ */ r("div", {
|
|
13
|
+
className: `${n.overflow} ${s}`.trim(),
|
|
14
|
+
children: /* @__PURE__ */ r(e, {
|
|
15
|
+
items: c,
|
|
16
|
+
slidesPerView: 4,
|
|
17
|
+
ariaLabel: o
|
|
18
|
+
})
|
|
19
|
+
});
|
|
20
|
+
let l = a.length <= 1 ? n.count1 : a.length === 2 ? n.count2 : a.length === 3 ? n.count3 : n.count4;
|
|
21
|
+
return /* @__PURE__ */ r("section", {
|
|
22
|
+
className: n.scoreboard,
|
|
23
|
+
"aria-label": o,
|
|
24
|
+
children: /* @__PURE__ */ r("div", {
|
|
25
|
+
className: `${n.grid} ${l} ${s}`.trim(),
|
|
26
|
+
children: c
|
|
27
|
+
})
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
//#endregion
|
|
31
|
+
export { a as Scoreboard };
|
|
32
|
+
|
|
33
|
+
//# sourceMappingURL=Scoreboard.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Scoreboard.js","names":[],"sources":["../../../ui/Scoreboard/Scoreboard.tsx"],"sourcesContent":["import { Carousel } from \"../Carousel\";\nimport { Scorecard } from \"../Scorecard\";\nimport type { ScoreboardProps } from \"./Scoreboard.types\";\nimport styles from \"./Scoreboard.module.css\";\n\nexport type { ScoreboardProps } from \"./Scoreboard.types\";\n\nconst STRIP_MAX = 4;\n\nexport function Scoreboard({\n items,\n \"aria-label\": ariaLabel = \"Key metrics\",\n className = \"\",\n}: ScoreboardProps) {\n const cards = items.map((item) => (\n <Scorecard key={item.label} {...item} fill />\n ));\n\n if (items.length > STRIP_MAX) {\n return (\n <div className={`${styles.overflow} ${className}`.trim()}>\n <Carousel items={cards} slidesPerView={4} ariaLabel={ariaLabel} />\n </div>\n );\n }\n\n const countClass =\n items.length <= 1\n ? styles.count1\n : items.length === 2\n ? styles.count2\n : items.length === 3\n ? styles.count3\n : styles.count4;\n\n return (\n <section className={styles.scoreboard} aria-label={ariaLabel}>\n <div className={`${styles.grid} ${countClass} ${className}`.trim()}>{cards}</div>\n </section>\n );\n}\n"],"mappings":";;;;;AAOA,IAAM,IAAY;AAElB,SAAgB,EAAW,EACzB,UACA,cAAc,IAAY,eAC1B,eAAY,MACM;CAClB,IAAM,IAAQ,EAAM,KAAK,MACvB,kBAAC,GAAD;EAA4B,GAAI;EAAM,MAAA;CAAM,GAA5B,EAAK,KAAuB,CAC7C;CAED,IAAI,EAAM,SAAS,GACjB,OACE,kBAAC,OAAD;EAAK,WAAW,GAAG,EAAO,SAAS,GAAG,IAAY,KAAK;EACrD,UAAA,kBAAC,GAAD;GAAU,OAAO;GAAO,eAAe;GAAc;EAAY,CAAA;CAC9D,CAAA;CAIT,IAAM,IACJ,EAAM,UAAU,IACZ,EAAO,SACP,EAAM,WAAW,IACf,EAAO,SACP,EAAM,WAAW,IACf,EAAO,SACP,EAAO;CAEjB,OACE,kBAAC,WAAD;EAAS,WAAW,EAAO;EAAY,cAAY;EACjD,UAAA,kBAAC,OAAD;GAAK,WAAW,GAAG,EAAO,KAAK,GAAG,EAAW,GAAG,IAAY,KAAK;GAAI,UAAA;EAAW,CAAA;CACzE,CAAA;AAEb"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
.
|
|
1
|
+
._scoreboard_v3qsg_1 {
|
|
2
2
|
width: 100%;
|
|
3
3
|
min-width: 0;
|
|
4
4
|
container-type: inline-size;
|
|
5
5
|
container-name: scoreboard;
|
|
6
6
|
}
|
|
7
7
|
|
|
8
|
-
.
|
|
8
|
+
._grid_v3qsg_8 {
|
|
9
9
|
display: grid;
|
|
10
10
|
gap: var(--space-4);
|
|
11
11
|
width: 100%;
|
|
@@ -13,39 +13,39 @@
|
|
|
13
13
|
align-items: stretch;
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
-
.
|
|
16
|
+
._count1_v3qsg_16 {
|
|
17
17
|
grid-template-columns: minmax(0, 1fr);
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
-
.
|
|
21
|
-
.
|
|
20
|
+
._count2_v3qsg_20,
|
|
21
|
+
._count4_v3qsg_21 {
|
|
22
22
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
23
23
|
}
|
|
24
24
|
|
|
25
|
-
.
|
|
25
|
+
._count3_v3qsg_25 {
|
|
26
26
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
@container scoreboard (max-width: calc(2 * var(--layout-metrics-min) + var(--space-4))) {
|
|
30
|
-
.
|
|
31
|
-
.
|
|
30
|
+
._count2_v3qsg_20,
|
|
31
|
+
._count4_v3qsg_21 {
|
|
32
32
|
grid-template-columns: minmax(0, 1fr);
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
@container scoreboard (max-width: calc(3 * var(--layout-metrics-min) + 2 * var(--space-4))) {
|
|
37
|
-
.
|
|
37
|
+
._count3_v3qsg_25 {
|
|
38
38
|
grid-template-columns: minmax(0, 1fr);
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
|
|
42
42
|
@container scoreboard (min-width: calc(4 * var(--layout-metrics-min) + 3 * var(--space-4))) {
|
|
43
|
-
.
|
|
43
|
+
._count4_v3qsg_21 {
|
|
44
44
|
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
.
|
|
48
|
+
._overflow_v3qsg_48 {
|
|
49
49
|
width: 100%;
|
|
50
50
|
min-width: 0;
|
|
51
51
|
padding-inline: var(--space-12);
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import "./Scoreboard.module.css";
|
|
2
|
+
//#region ui/Scoreboard/Scoreboard.module.css
|
|
3
|
+
var e = "_scoreboard_v3qsg_1", t = "_grid_v3qsg_8", n = "_count1_v3qsg_16", r = "_count2_v3qsg_20", i = "_count4_v3qsg_21", a = "_count3_v3qsg_25", o = "_overflow_v3qsg_48", s = {
|
|
4
|
+
scoreboard: e,
|
|
5
|
+
grid: t,
|
|
6
|
+
count1: n,
|
|
7
|
+
count2: r,
|
|
8
|
+
count4: i,
|
|
9
|
+
count3: a,
|
|
10
|
+
overflow: o
|
|
11
|
+
};
|
|
12
|
+
//#endregion
|
|
13
|
+
export { n as count1, r as count2, a as count3, i as count4, s as default, t as grid, o as overflow, e as scoreboard };
|
|
14
|
+
|
|
15
|
+
//# sourceMappingURL=Scoreboard.module.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Scoreboard.module.js","names":[],"sources":["../../../ui/Scoreboard/Scoreboard.module.css"],"sourcesContent":[".scoreboard {\n width: 100%;\n min-width: 0;\n container-type: inline-size;\n container-name: scoreboard;\n}\n\n.grid {\n display: grid;\n gap: var(--space-4);\n width: 100%;\n min-width: 0;\n align-items: stretch;\n}\n\n.count1 {\n grid-template-columns: minmax(0, 1fr);\n}\n\n.count2,\n.count4 {\n grid-template-columns: repeat(2, minmax(0, 1fr));\n}\n\n.count3 {\n grid-template-columns: repeat(3, minmax(0, 1fr));\n}\n\n@container scoreboard (max-width: calc(2 * var(--layout-metrics-min) + var(--space-4))) {\n .count2,\n .count4 {\n grid-template-columns: minmax(0, 1fr);\n }\n}\n\n@container scoreboard (max-width: calc(3 * var(--layout-metrics-min) + 2 * var(--space-4))) {\n .count3 {\n grid-template-columns: minmax(0, 1fr);\n }\n}\n\n@container scoreboard (min-width: calc(4 * var(--layout-metrics-min) + 3 * var(--space-4))) {\n .count4 {\n grid-template-columns: repeat(4, minmax(0, 1fr));\n }\n}\n\n.overflow {\n width: 100%;\n min-width: 0;\n padding-inline: var(--space-12);\n box-sizing: border-box;\n}\n"],"mappings":""}
|