@gunkin/uiify 0.0.19-alpha → 0.0.22-alpha
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/agents/components.md +14 -1
- package/agents/index.md +32 -1
- package/agents/reference/components/alert.md +44 -0
- package/agents/reference/components/aspect-ratio.md +26 -0
- package/agents/reference/components/avatar.md +32 -0
- package/agents/reference/components/badge.md +31 -0
- package/agents/reference/components/breadcrumb.md +11 -1
- package/agents/reference/components/button.md +4 -4
- package/agents/reference/components/candle-chart.md +20 -1
- package/agents/reference/components/card.md +24 -0
- package/agents/reference/components/carousel.md +3 -2
- package/agents/reference/components/checkbox.md +2 -0
- package/agents/reference/components/combobox.md +2 -1
- package/agents/reference/components/date-picker.md +23 -0
- package/agents/reference/components/description-list.md +38 -0
- package/agents/reference/components/drawer.md +8 -1
- package/agents/reference/components/dropdown-menu.md +1 -1
- package/agents/reference/components/empty.md +45 -0
- package/agents/reference/components/fieldset.md +31 -0
- package/agents/reference/components/file-upload.md +12 -1
- package/agents/reference/components/form-error-summary.md +33 -0
- package/agents/reference/components/input-group.md +33 -0
- package/agents/reference/components/item.md +52 -0
- package/agents/reference/components/line-chart.md +1 -0
- package/agents/reference/components/modal.md +8 -1
- package/agents/reference/components/number-field.md +14 -3
- package/agents/reference/components/pagination.md +22 -1
- package/agents/reference/components/progress.md +16 -0
- package/agents/reference/components/slider.md +9 -1
- package/agents/reference/components/spinner.md +8 -1
- package/agents/reference/components/toast.md +14 -1
- package/dist/components/alert/Alert.d.ts +15 -0
- package/dist/components/alert/Alert.d.ts.map +1 -0
- package/dist/components/alert/Alert.js +61 -0
- package/dist/components/alert/Alert.js.map +1 -0
- package/dist/components/alert/index.d.ts +3 -0
- package/dist/components/alert/index.d.ts.map +1 -0
- package/dist/components/alert/index.js +7 -0
- package/dist/components/alert/index.js.map +1 -0
- package/dist/components/alert/types.d.ts +20 -0
- package/dist/components/alert/types.d.ts.map +1 -0
- package/dist/components/alert/types.js +1 -0
- package/dist/components/alert/types.js.map +1 -0
- package/dist/components/alert.d.ts +1 -0
- package/dist/components/alert.js +1 -0
- package/dist/components/aspect-ratio/AspectRatio.d.ts +7 -0
- package/dist/components/aspect-ratio/AspectRatio.d.ts.map +1 -0
- package/dist/components/aspect-ratio/AspectRatio.js +26 -0
- package/dist/components/aspect-ratio/AspectRatio.js.map +1 -0
- package/dist/components/aspect-ratio/index.d.ts +3 -0
- package/dist/components/aspect-ratio/index.d.ts.map +1 -0
- package/dist/components/aspect-ratio/index.js +5 -0
- package/dist/components/aspect-ratio/index.js.map +1 -0
- package/dist/components/aspect-ratio/types.d.ts +9 -0
- package/dist/components/aspect-ratio/types.d.ts.map +1 -0
- package/dist/components/aspect-ratio/types.js +1 -0
- package/dist/components/aspect-ratio/types.js.map +1 -0
- package/dist/components/aspect-ratio.d.ts +1 -0
- package/dist/components/aspect-ratio.js +1 -0
- package/dist/components/avatar/Avatar.d.ts +7 -0
- package/dist/components/avatar/Avatar.d.ts.map +1 -0
- package/dist/components/avatar/Avatar.js +24 -0
- package/dist/components/avatar/Avatar.js.map +1 -0
- package/dist/components/avatar/index.d.ts +3 -0
- package/dist/components/avatar/index.d.ts.map +1 -0
- package/dist/components/avatar/index.js +5 -0
- package/dist/components/avatar/index.js.map +1 -0
- package/dist/components/avatar/types.d.ts +12 -0
- package/dist/components/avatar/types.d.ts.map +1 -0
- package/dist/components/avatar/types.js +1 -0
- package/dist/components/avatar/types.js.map +1 -0
- package/dist/components/avatar.d.ts +1 -0
- package/dist/components/avatar.js +1 -0
- package/dist/components/badge/Badge.d.ts +7 -0
- package/dist/components/badge/Badge.d.ts.map +1 -0
- package/dist/components/badge/Badge.js +21 -0
- package/dist/components/badge/Badge.js.map +1 -0
- package/dist/components/badge/index.d.ts +3 -0
- package/dist/components/badge/index.d.ts.map +1 -0
- package/dist/components/badge/index.js +5 -0
- package/dist/components/badge/index.js.map +1 -0
- package/dist/components/badge/types.d.ts +11 -0
- package/dist/components/badge/types.d.ts.map +1 -0
- package/dist/components/badge/types.js +1 -0
- package/dist/components/badge/types.js.map +1 -0
- package/dist/components/badge.d.ts +1 -0
- package/dist/components/badge.js +1 -0
- package/dist/components/behavior.css +21 -9
- package/dist/components/behavior.css.map +1 -1
- package/dist/components/breadcrumb/Breadcrumb.d.ts.map +1 -1
- package/dist/components/breadcrumb/Breadcrumb.js +21 -4
- package/dist/components/breadcrumb/Breadcrumb.js.map +1 -1
- package/dist/components/breadcrumb/index.d.ts +1 -1
- package/dist/components/breadcrumb/index.d.ts.map +1 -1
- package/dist/components/breadcrumb/index.js.map +1 -1
- package/dist/components/breadcrumb/types.d.ts +7 -0
- package/dist/components/breadcrumb/types.d.ts.map +1 -1
- package/dist/components/button/types.d.ts +4 -0
- package/dist/components/button/types.d.ts.map +1 -1
- package/dist/components/candle-chart/CandleChart.d.ts +1 -1
- package/dist/components/candle-chart/CandleChart.d.ts.map +1 -1
- package/dist/components/candle-chart/CandleChart.js +81 -46
- package/dist/components/candle-chart/CandleChart.js.map +1 -1
- package/dist/components/candle-chart/client/CandleChartClient.d.ts.map +1 -1
- package/dist/components/candle-chart/client/CandleChartClient.js +5 -0
- package/dist/components/candle-chart/client/CandleChartClient.js.map +1 -1
- package/dist/components/candle-chart/index.d.ts +1 -1
- package/dist/components/candle-chart/index.d.ts.map +1 -1
- package/dist/components/candle-chart/index.js.map +1 -1
- package/dist/components/candle-chart/types.d.ts +17 -0
- package/dist/components/candle-chart/types.d.ts.map +1 -1
- package/dist/components/card/Card.d.ts +7 -0
- package/dist/components/card/Card.d.ts.map +1 -0
- package/dist/components/card/Card.js +16 -0
- package/dist/components/card/Card.js.map +1 -0
- package/dist/components/card/index.d.ts +3 -0
- package/dist/components/card/index.d.ts.map +1 -0
- package/dist/components/card/index.js +5 -0
- package/dist/components/card/index.js.map +1 -0
- package/dist/components/card/types.d.ts +7 -0
- package/dist/components/card/types.d.ts.map +1 -0
- package/dist/components/card/types.js +1 -0
- package/dist/components/card/types.js.map +1 -0
- package/dist/components/card.d.ts +1 -0
- package/dist/components/card.js +1 -0
- package/dist/components/carousel/CarouselMarkup.d.ts.map +1 -1
- package/dist/components/carousel/CarouselMarkup.js +20 -3
- package/dist/components/carousel/CarouselMarkup.js.map +1 -1
- package/dist/components/carousel/carousel-markup.js +2 -2
- package/dist/components/carousel/carousel-markup.js.map +1 -1
- package/dist/components/carousel/types.d.ts +3 -2
- package/dist/components/carousel/types.d.ts.map +1 -1
- package/dist/components/checkbox/types.d.ts +2 -0
- package/dist/components/checkbox/types.d.ts.map +1 -1
- package/dist/components/combobox/Combobox.d.ts.map +1 -1
- package/dist/components/combobox/Combobox.js +37 -23
- package/dist/components/combobox/Combobox.js.map +1 -1
- package/dist/components/combobox/combobox-store.d.ts.map +1 -1
- package/dist/components/combobox/combobox-store.js +5 -2
- package/dist/components/combobox/combobox-store.js.map +1 -1
- package/dist/components/combobox/types.d.ts +2 -3
- package/dist/components/combobox/types.d.ts.map +1 -1
- package/dist/components/context-menu/ContextMenu.d.ts.map +1 -1
- package/dist/components/context-menu/ContextMenu.js +25 -5
- package/dist/components/context-menu/ContextMenu.js.map +1 -1
- package/dist/components/date-picker/DatePicker.d.ts +7 -0
- package/dist/components/date-picker/DatePicker.d.ts.map +1 -0
- package/dist/components/date-picker/DatePicker.js +19 -0
- package/dist/components/date-picker/DatePicker.js.map +1 -0
- package/dist/components/date-picker/index.d.ts +3 -0
- package/dist/components/date-picker/index.d.ts.map +1 -0
- package/dist/components/date-picker/index.js +5 -0
- package/dist/components/date-picker/index.js.map +1 -0
- package/dist/components/date-picker/types.d.ts +5 -0
- package/dist/components/date-picker/types.d.ts.map +1 -0
- package/dist/components/date-picker/types.js +1 -0
- package/dist/components/date-picker/types.js.map +1 -0
- package/dist/components/date-picker.d.ts +1 -0
- package/dist/components/date-picker.js +1 -0
- package/dist/components/description-list/DescriptionList.d.ts +15 -0
- package/dist/components/description-list/DescriptionList.d.ts.map +1 -0
- package/dist/components/description-list/DescriptionList.js +48 -0
- package/dist/components/description-list/DescriptionList.js.map +1 -0
- package/dist/components/description-list/index.d.ts +3 -0
- package/dist/components/description-list/index.d.ts.map +1 -0
- package/dist/components/description-list/index.js +7 -0
- package/dist/components/description-list/index.js.map +1 -0
- package/dist/components/description-list/types.d.ts +15 -0
- package/dist/components/description-list/types.d.ts.map +1 -0
- package/dist/components/description-list/types.js +1 -0
- package/dist/components/description-list/types.js.map +1 -0
- package/dist/components/description-list.d.ts +1 -0
- package/dist/components/description-list.js +1 -0
- package/dist/components/drawer/DrawerNative.d.ts +1 -1
- package/dist/components/drawer/DrawerNative.d.ts.map +1 -1
- package/dist/components/drawer/DrawerNative.js +5 -2
- package/dist/components/drawer/DrawerNative.js.map +1 -1
- package/dist/components/drawer/index.d.ts +1 -1
- package/dist/components/drawer/index.d.ts.map +1 -1
- package/dist/components/drawer/index.js.map +1 -1
- package/dist/components/drawer/types.d.ts +4 -0
- package/dist/components/drawer/types.d.ts.map +1 -1
- package/dist/components/dropdown-menu/DropdownMenu.d.ts.map +1 -1
- package/dist/components/dropdown-menu/DropdownMenu.js +31 -15
- package/dist/components/dropdown-menu/DropdownMenu.js.map +1 -1
- package/dist/components/dropdown-menu/DropdownMenuBar.d.ts.map +1 -1
- package/dist/components/dropdown-menu/DropdownMenuBar.js +7 -5
- package/dist/components/dropdown-menu/DropdownMenuBar.js.map +1 -1
- package/dist/components/dropdown-menu/types.d.ts +1 -1
- package/dist/components/dropdown-menu/types.d.ts.map +1 -1
- package/dist/components/empty/Empty.d.ts +19 -0
- package/dist/components/empty/Empty.d.ts.map +1 -0
- package/dist/components/empty/Empty.js +56 -0
- package/dist/components/empty/Empty.js.map +1 -0
- package/dist/components/empty/index.d.ts +3 -0
- package/dist/components/empty/index.d.ts.map +1 -0
- package/dist/components/empty/index.js +8 -0
- package/dist/components/empty/index.js.map +1 -0
- package/dist/components/empty/types.d.ts +19 -0
- package/dist/components/empty/types.d.ts.map +1 -0
- package/dist/components/empty/types.js +1 -0
- package/dist/components/empty/types.js.map +1 -0
- package/dist/components/empty.d.ts +1 -0
- package/dist/components/empty.js +1 -0
- package/dist/components/fieldset/Fieldset.d.ts +11 -0
- package/dist/components/fieldset/Fieldset.d.ts.map +1 -0
- package/dist/components/fieldset/Fieldset.js +38 -0
- package/dist/components/fieldset/Fieldset.js.map +1 -0
- package/dist/components/fieldset/index.d.ts +3 -0
- package/dist/components/fieldset/index.d.ts.map +1 -0
- package/dist/components/fieldset/index.js +6 -0
- package/dist/components/fieldset/index.js.map +1 -0
- package/dist/components/fieldset/types.d.ts +11 -0
- package/dist/components/fieldset/types.d.ts.map +1 -0
- package/dist/components/fieldset/types.js +1 -0
- package/dist/components/fieldset/types.js.map +1 -0
- package/dist/components/fieldset.d.ts +1 -0
- package/dist/components/fieldset.js +1 -0
- package/dist/components/file-upload/FileUpload.d.ts.map +1 -1
- package/dist/components/file-upload/FileUpload.js +11 -4
- package/dist/components/file-upload/FileUpload.js.map +1 -1
- package/dist/components/file-upload/FileUploadRoot.d.ts +1 -1
- package/dist/components/file-upload/FileUploadRoot.d.ts.map +1 -1
- package/dist/components/file-upload/FileUploadRoot.js +9 -0
- package/dist/components/file-upload/FileUploadRoot.js.map +1 -1
- package/dist/components/file-upload/index.d.ts +1 -1
- package/dist/components/file-upload/index.d.ts.map +1 -1
- package/dist/components/file-upload/index.js.map +1 -1
- package/dist/components/file-upload/types.d.ts +8 -0
- package/dist/components/file-upload/types.d.ts.map +1 -1
- package/dist/components/form-error-summary/FormErrorSummary.d.ts +7 -0
- package/dist/components/form-error-summary/FormErrorSummary.d.ts.map +1 -0
- package/dist/components/form-error-summary/FormErrorSummary.js +25 -0
- package/dist/components/form-error-summary/FormErrorSummary.js.map +1 -0
- package/dist/components/form-error-summary/index.d.ts +3 -0
- package/dist/components/form-error-summary/index.d.ts.map +1 -0
- package/dist/components/form-error-summary/index.js +5 -0
- package/dist/components/form-error-summary/index.js.map +1 -0
- package/dist/components/form-error-summary/types.d.ts +12 -0
- package/dist/components/form-error-summary/types.d.ts.map +1 -0
- package/dist/components/form-error-summary/types.js +1 -0
- package/dist/components/form-error-summary/types.js.map +1 -0
- package/dist/components/form-error-summary.d.ts +1 -0
- package/dist/components/form-error-summary.js +1 -0
- package/dist/components/index.d.ts +13 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +13 -0
- package/dist/components/index.js.map +1 -1
- package/dist/components/input-group/InputGroup.d.ts +5 -0
- package/dist/components/input-group/InputGroup.d.ts.map +1 -0
- package/dist/components/input-group/InputGroup.js +37 -0
- package/dist/components/input-group/InputGroup.js.map +1 -0
- package/dist/components/input-group/index.d.ts +3 -0
- package/dist/components/input-group/index.d.ts.map +1 -0
- package/dist/components/input-group/index.js +6 -0
- package/dist/components/input-group/index.js.map +1 -0
- package/dist/components/input-group/types.d.ts +12 -0
- package/dist/components/input-group/types.d.ts.map +1 -0
- package/dist/components/input-group/types.js +1 -0
- package/dist/components/input-group/types.js.map +1 -0
- package/dist/components/input-group.d.ts +1 -0
- package/dist/components/input-group.js +1 -0
- package/dist/components/internal/native-check-control/NativeCheckControl.d.ts.map +1 -1
- package/dist/components/internal/native-check-control/NativeCheckControl.js +4 -0
- package/dist/components/internal/native-check-control/NativeCheckControl.js.map +1 -1
- package/dist/components/internal/native-check-control/types.d.ts +2 -0
- package/dist/components/internal/native-check-control/types.d.ts.map +1 -1
- package/dist/components/item/Item.d.ts +23 -0
- package/dist/components/item/Item.d.ts.map +1 -0
- package/dist/components/item/Item.js +64 -0
- package/dist/components/item/Item.js.map +1 -0
- package/dist/components/item/index.d.ts +3 -0
- package/dist/components/item/index.d.ts.map +1 -0
- package/dist/components/item/index.js +9 -0
- package/dist/components/item/index.js.map +1 -0
- package/dist/components/item/types.d.ts +23 -0
- package/dist/components/item/types.d.ts.map +1 -0
- package/dist/components/item/types.js +1 -0
- package/dist/components/item/types.js.map +1 -0
- package/dist/components/item.d.ts +1 -0
- package/dist/components/item.js +1 -0
- package/dist/components/line-chart/LineChart.d.ts.map +1 -1
- package/dist/components/line-chart/LineChart.js +3 -2
- package/dist/components/line-chart/LineChart.js.map +1 -1
- package/dist/components/line-chart/line-chart-geometry.d.ts +2 -2
- package/dist/components/line-chart/line-chart-geometry.d.ts.map +1 -1
- package/dist/components/line-chart/line-chart-geometry.js +6 -6
- package/dist/components/line-chart/line-chart-geometry.js.map +1 -1
- package/dist/components/line-chart/types.d.ts +2 -0
- package/dist/components/line-chart/types.d.ts.map +1 -1
- package/dist/components/modal/Modal.d.ts +1 -1
- package/dist/components/modal/Modal.d.ts.map +1 -1
- package/dist/components/modal/Modal.js +5 -2
- package/dist/components/modal/Modal.js.map +1 -1
- package/dist/components/modal/index.d.ts +1 -1
- package/dist/components/modal/index.d.ts.map +1 -1
- package/dist/components/modal/index.js.map +1 -1
- package/dist/components/modal/types.d.ts +4 -0
- package/dist/components/modal/types.d.ts.map +1 -1
- package/dist/components/number-field/NumberField.d.ts +1 -1
- package/dist/components/number-field/NumberField.d.ts.map +1 -1
- package/dist/components/number-field/NumberField.js +25 -5
- package/dist/components/number-field/NumberField.js.map +1 -1
- package/dist/components/number-field/format.d.ts +1 -1
- package/dist/components/number-field/format.d.ts.map +1 -1
- package/dist/components/number-field/format.js +32 -7
- package/dist/components/number-field/format.js.map +1 -1
- package/dist/components/number-field/index.d.ts +1 -1
- package/dist/components/number-field/index.d.ts.map +1 -1
- package/dist/components/number-field/index.js.map +1 -1
- package/dist/components/number-field/types.d.ts +11 -2
- package/dist/components/number-field/types.d.ts.map +1 -1
- package/dist/components/otp-input/OtpInput.d.ts.map +1 -1
- package/dist/components/otp-input/OtpInput.js +2 -0
- package/dist/components/otp-input/OtpInput.js.map +1 -1
- package/dist/components/pagination/Pagination.d.ts.map +1 -1
- package/dist/components/pagination/Pagination.js +93 -29
- package/dist/components/pagination/Pagination.js.map +1 -1
- package/dist/components/pagination/PaginationShell.d.ts +2 -1
- package/dist/components/pagination/PaginationShell.d.ts.map +1 -1
- package/dist/components/pagination/PaginationShell.js +44 -9
- package/dist/components/pagination/PaginationShell.js.map +1 -1
- package/dist/components/pagination/index.d.ts +1 -1
- package/dist/components/pagination/index.d.ts.map +1 -1
- package/dist/components/pagination/index.js.map +1 -1
- package/dist/components/pagination/types.d.ts +18 -0
- package/dist/components/pagination/types.d.ts.map +1 -1
- package/dist/components/progress/Progress.d.ts +7 -0
- package/dist/components/progress/Progress.d.ts.map +1 -0
- package/dist/components/progress/Progress.js +9 -0
- package/dist/components/progress/Progress.js.map +1 -0
- package/dist/components/progress/index.d.ts +3 -0
- package/dist/components/progress/index.d.ts.map +1 -0
- package/dist/components/progress/index.js +5 -0
- package/dist/components/progress/index.js.map +1 -0
- package/dist/components/progress/types.d.ts +3 -0
- package/dist/components/progress/types.d.ts.map +1 -0
- package/dist/components/progress/types.js +1 -0
- package/dist/components/progress/types.js.map +1 -0
- package/dist/components/progress.d.ts +1 -0
- package/dist/components/progress.js +1 -0
- package/dist/components/slider/client/SliderClient.d.ts.map +1 -1
- package/dist/components/slider/client/SliderClient.js +11 -2
- package/dist/components/slider/client/SliderClient.js.map +1 -1
- package/dist/components/slider/index.d.ts +1 -1
- package/dist/components/slider/index.d.ts.map +1 -1
- package/dist/components/slider/index.js.map +1 -1
- package/dist/components/slider/types.d.ts +5 -0
- package/dist/components/slider/types.d.ts.map +1 -1
- package/dist/components/spinner/Spinner.d.ts.map +1 -1
- package/dist/components/spinner/Spinner.js +6 -3
- package/dist/components/spinner/Spinner.js.map +1 -1
- package/dist/components/spinner/index.d.ts +1 -1
- package/dist/components/spinner/index.d.ts.map +1 -1
- package/dist/components/spinner/index.js.map +1 -1
- package/dist/components/spinner/types.d.ts +4 -0
- package/dist/components/spinner/types.d.ts.map +1 -1
- package/dist/components/tags-input/TagsInput.d.ts.map +1 -1
- package/dist/components/tags-input/TagsInput.js +2 -0
- package/dist/components/tags-input/TagsInput.js.map +1 -1
- package/dist/components/toast/Toast.d.ts +1 -1
- package/dist/components/toast/Toast.d.ts.map +1 -1
- package/dist/components/toast/Toast.js +33 -29
- package/dist/components/toast/Toast.js.map +1 -1
- package/dist/components/toast/ToastElements.d.ts.map +1 -1
- package/dist/components/toast/ToastElements.js +24 -12
- package/dist/components/toast/ToastElements.js.map +1 -1
- package/dist/components/toast/index.d.ts +1 -1
- package/dist/components/toast/index.d.ts.map +1 -1
- package/dist/components/toast/index.js.map +1 -1
- package/dist/components/toast/types.d.ts +10 -0
- package/dist/components/toast/types.d.ts.map +1 -1
- package/dist/components/toolbar/Toolbar.d.ts +2 -2
- package/dist/components/toolbar/Toolbar.d.ts.map +1 -1
- package/dist/components/toolbar/Toolbar.js +8 -4
- package/dist/components/toolbar/Toolbar.js.map +1 -1
- package/dist/core/direction.d.ts +2 -0
- package/dist/core/direction.d.ts.map +1 -1
- package/dist/core/direction.js +8 -3
- package/dist/core/direction.js.map +1 -1
- package/dist/core/dismissable-layer-registry.d.ts.map +1 -1
- package/dist/core/dismissable-layer-registry.js +3 -1
- package/dist/core/dismissable-layer-registry.js.map +1 -1
- package/dist/core/format-label.d.ts +2 -0
- package/dist/core/format-label.d.ts.map +1 -0
- package/dist/core/format-label.js +13 -0
- package/dist/core/format-label.js.map +1 -0
- package/dist/core/ime.d.ts +16 -0
- package/dist/core/ime.d.ts.map +1 -0
- package/dist/core/ime.js +7 -0
- package/dist/core/ime.js.map +1 -0
- package/dist/core/index.d.ts +3 -0
- package/dist/core/index.d.ts.map +1 -1
- package/dist/core/index.js +3 -0
- package/dist/core/index.js.map +1 -1
- package/dist/core/roving-focus-store.d.ts +3 -2
- package/dist/core/roving-focus-store.d.ts.map +1 -1
- package/dist/core/roving-focus-store.js +5 -3
- package/dist/core/roving-focus-store.js.map +1 -1
- package/dist/core/roving-focus.d.ts.map +1 -1
- package/dist/core/roving-focus.js +10 -5
- package/dist/core/roving-focus.js.map +1 -1
- package/dist/core/text-direction.d.ts +7 -0
- package/dist/core/text-direction.d.ts.map +1 -0
- package/dist/core/text-direction.js +7 -0
- package/dist/core/text-direction.js.map +1 -0
- package/dist/styles/index.css +1 -1
- package/package.json +2 -1
- package/skills/uiify/SKILL.md +43 -34
- package/skills/uiify/references/elements/alert-modal.md +5 -5
- package/skills/uiify/references/elements/aspect-ratio.md +59 -0
- package/skills/uiify/references/elements/avatar.md +10 -19
- package/skills/uiify/references/elements/badge.md +11 -19
- package/skills/uiify/references/elements/button.md +5 -5
- package/skills/uiify/references/elements/candle-chart.md +2 -0
- package/skills/uiify/references/elements/card.md +10 -21
- package/skills/uiify/references/elements/carousel.md +2 -0
- package/skills/uiify/references/elements/checkbox.md +1 -1
- package/skills/uiify/references/elements/date-picker.md +11 -15
- package/skills/uiify/references/elements/description-list.md +38 -0
- package/skills/uiify/references/elements/empty-state.md +12 -23
- package/skills/uiify/references/elements/field.md +2 -2
- package/skills/uiify/references/elements/fieldset.md +39 -0
- package/skills/uiify/references/elements/form-error-summary.md +39 -0
- package/skills/uiify/references/elements/inline-alert.md +11 -19
- package/skills/uiify/references/elements/input-group.md +39 -0
- package/skills/uiify/references/elements/item.md +39 -0
- package/skills/uiify/references/elements/modal.md +1 -1
- package/skills/uiify/references/elements/number-field.md +2 -0
- package/skills/uiify/references/elements/pagination.md +2 -0
- package/skills/uiify/references/elements/progress-bar.md +11 -20
- package/skills/uiify/references/elements/select.md +1 -1
- package/skills/uiify/references/examples/alert-confirmation.md +21 -9
- package/skills/uiify/references/examples/field-validation.md +2 -2
- package/skills/uiify/references/examples/select-basic.md +1 -1
- package/skills/uiify/references/examples/table-controls.md +3 -2
- package/skills/uiify/references/guides/i18n.md +21 -0
- package/skills/uiify/references/guides/verification.md +9 -0
- package/skills/uiify/scripts/static.mjs +79 -0
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
<!-- Generated from the package source. Do not edit by hand. -->
|
|
2
|
+
# form-error-summary
|
|
3
|
+
|
|
4
|
+
- Import: `@gunkin/uiify/components/form-error-summary`
|
|
5
|
+
- Tier 0 (RSC — zero client JavaScript); state source none; native element `section + heading + ul + links`
|
|
6
|
+
- Without JavaScript: full
|
|
7
|
+
- Types file: `dist/components/form-error-summary.d.ts`
|
|
8
|
+
- Note: Static server-rendered error links; no alert or focus script.
|
|
9
|
+
|
|
10
|
+
## Exports
|
|
11
|
+
|
|
12
|
+
- Runtime: `FormErrorSummary`
|
|
13
|
+
- Types: `FormErrorSummaryError`, `FormErrorSummaryOwnProps`, `FormErrorSummaryProps`
|
|
14
|
+
|
|
15
|
+
## Props and shapes
|
|
16
|
+
|
|
17
|
+
### FormErrorSummaryError
|
|
18
|
+
|
|
19
|
+
| Member | Type | Required | Description |
|
|
20
|
+
| --- | --- | --- | --- |
|
|
21
|
+
| `href` | `string` | yes | |
|
|
22
|
+
| `message` | `ReactNode` | yes | |
|
|
23
|
+
|
|
24
|
+
### FormErrorSummaryOwnProps
|
|
25
|
+
|
|
26
|
+
| Member | Type | Required | Description |
|
|
27
|
+
| --- | --- | --- | --- |
|
|
28
|
+
| `title` | `ReactNode` | yes | |
|
|
29
|
+
| `errors` | `readonly FormErrorSummaryError[]` | yes | |
|
|
30
|
+
|
|
31
|
+
## Other types
|
|
32
|
+
|
|
33
|
+
- `FormErrorSummaryProps<TAs>`: `RenderableProps<TAs, FormErrorSummaryOwnProps, Record<string, never>, HTMLElement>`
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
<!-- Generated from the package source. Do not edit by hand. -->
|
|
2
|
+
# input-group
|
|
3
|
+
|
|
4
|
+
- Import: `@gunkin/uiify/components/input-group`
|
|
5
|
+
- Tier 0 (RSC — zero client JavaScript); state source none; native element `div + native controls`
|
|
6
|
+
- Without JavaScript: full
|
|
7
|
+
- Types file: `dist/components/input-group.d.ts`
|
|
8
|
+
- Note: Static form component; keeps independently labeled native input and action.
|
|
9
|
+
|
|
10
|
+
## Exports
|
|
11
|
+
|
|
12
|
+
- Runtime: `InputGroup`, `InputGroupAddon`
|
|
13
|
+
- Types: `InputGroupAddonOwnProps`, `InputGroupAddonProps`, `InputGroupRootOwnProps`, `InputGroupRootProps`
|
|
14
|
+
|
|
15
|
+
## Props and shapes
|
|
16
|
+
|
|
17
|
+
### InputGroupRootOwnProps
|
|
18
|
+
|
|
19
|
+
| Member | Type | Required | Description |
|
|
20
|
+
| --- | --- | --- | --- |
|
|
21
|
+
| `children` | `ReactNode` | no | |
|
|
22
|
+
|
|
23
|
+
### InputGroupAddonOwnProps
|
|
24
|
+
|
|
25
|
+
| Member | Type | Required | Description |
|
|
26
|
+
| --- | --- | --- | --- |
|
|
27
|
+
| `align` | `"start" \| "end"` | yes | |
|
|
28
|
+
| `children` | `ReactNode` | no | |
|
|
29
|
+
|
|
30
|
+
## Other types
|
|
31
|
+
|
|
32
|
+
- `InputGroupRootProps<TAs>`: `RenderableProps<TAs, InputGroupRootOwnProps, Record<string, never>, HTMLDivElement>`
|
|
33
|
+
- `InputGroupAddonProps<TAs>`: `RenderableProps<TAs, InputGroupAddonOwnProps, Record<string, never>, HTMLSpanElement>`
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
<!-- Generated from the package source. Do not edit by hand. -->
|
|
2
|
+
# item
|
|
3
|
+
|
|
4
|
+
- Import: `@gunkin/uiify/components/item`
|
|
5
|
+
- Tier 0 (RSC — zero client JavaScript); state source none; native element `li`
|
|
6
|
+
- Without JavaScript: full
|
|
7
|
+
- Types file: `dist/components/item.d.ts`
|
|
8
|
+
|
|
9
|
+
## Exports
|
|
10
|
+
|
|
11
|
+
- Runtime: `Item`, `ItemActions`, `ItemContent`, `ItemMedia`, `ItemMetadata`
|
|
12
|
+
- Types: `ItemActionsOwnProps`, `ItemActionsProps`, `ItemContentOwnProps`, `ItemContentProps`, `ItemMediaOwnProps`, `ItemMediaProps`, `ItemMetadataOwnProps`, `ItemMetadataProps`, `ItemOwnProps`, `ItemProps`
|
|
13
|
+
|
|
14
|
+
## Props and shapes
|
|
15
|
+
|
|
16
|
+
### ItemOwnProps
|
|
17
|
+
|
|
18
|
+
| Member | Type | Required | Description |
|
|
19
|
+
| --- | --- | --- | --- |
|
|
20
|
+
| `children` | `ReactNode` | no | |
|
|
21
|
+
|
|
22
|
+
### ItemMediaOwnProps
|
|
23
|
+
|
|
24
|
+
| Member | Type | Required | Description |
|
|
25
|
+
| --- | --- | --- | --- |
|
|
26
|
+
| `children` | `ReactNode` | no | |
|
|
27
|
+
|
|
28
|
+
### ItemContentOwnProps
|
|
29
|
+
|
|
30
|
+
| Member | Type | Required | Description |
|
|
31
|
+
| --- | --- | --- | --- |
|
|
32
|
+
| `children` | `ReactNode` | no | |
|
|
33
|
+
|
|
34
|
+
### ItemMetadataOwnProps
|
|
35
|
+
|
|
36
|
+
| Member | Type | Required | Description |
|
|
37
|
+
| --- | --- | --- | --- |
|
|
38
|
+
| `children` | `ReactNode` | no | |
|
|
39
|
+
|
|
40
|
+
### ItemActionsOwnProps
|
|
41
|
+
|
|
42
|
+
| Member | Type | Required | Description |
|
|
43
|
+
| --- | --- | --- | --- |
|
|
44
|
+
| `children` | `ReactNode` | no | |
|
|
45
|
+
|
|
46
|
+
## Other types
|
|
47
|
+
|
|
48
|
+
- `ItemProps<TAs>`: `RenderableProps<TAs, ItemOwnProps, Record<string, never>, HTMLElement>`
|
|
49
|
+
- `ItemMediaProps<TAs>`: `RenderableProps<TAs, ItemMediaOwnProps, Record<string, never>, HTMLElement>`
|
|
50
|
+
- `ItemContentProps<TAs>`: `RenderableProps<TAs, ItemContentOwnProps, Record<string, never>, HTMLElement>`
|
|
51
|
+
- `ItemMetadataProps<TAs>`: `RenderableProps<TAs, ItemMetadataOwnProps, Record<string, never>, HTMLElement>`
|
|
52
|
+
- `ItemActionsProps<TAs>`: `RenderableProps<TAs, ItemActionsOwnProps, Record<string, never>, HTMLElement>`
|
|
@@ -44,6 +44,7 @@
|
|
|
44
44
|
| `cursorY` | `number` | no | |
|
|
45
45
|
| `data` | `readonly LineChartData[]` | yes | |
|
|
46
46
|
| `interactive` | `boolean` | no | |
|
|
47
|
+
| `locale` | `string` | no | BCP 47 locale for default axis labels. Defaults to `"en-US"`. |
|
|
47
48
|
| `onPointClick` | `(index: number) => void` | no | |
|
|
48
49
|
| `onPointPointerLeave` | `() => void` | no | |
|
|
49
50
|
| `onPointPointerMove` | `(position: LineChartPointerPosition) => void` | no | |
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
## Exports
|
|
11
11
|
|
|
12
12
|
- Runtime: `Modal`, `ModalBody`, `ModalClose`, `ModalContent`, `ModalDescription`, `ModalFooter`, `ModalGrabber`, `ModalHeader`, `ModalTitle`, `ModalTrigger`
|
|
13
|
-
- Types: `ModalAlign`, `ModalAppearanceProps`, `ModalBackdrop`, `ModalBodyProps`, `ModalCloseOwnProps`, `ModalCloseProps`, `ModalContentOwnProps`, `ModalContentProps`, `ModalDescriptionProps`, `ModalDismiss`, `ModalFooterProps`, `ModalGrabberProps`, `ModalHeaderProps`, `ModalProps`, `ModalSize`, `ModalTitleProps`, `ModalTriggerOwnProps`, `ModalTriggerProps`
|
|
13
|
+
- Types: `ModalAlign`, `ModalAppearanceProps`, `ModalBackdrop`, `ModalBodyProps`, `ModalCloseOwnProps`, `ModalCloseProps`, `ModalContentOwnProps`, `ModalContentProps`, `ModalDescriptionProps`, `ModalDismiss`, `ModalFooterProps`, `ModalGrabberProps`, `ModalHeaderProps`, `ModalProps`, `ModalLabels`, `ModalSize`, `ModalTitleProps`, `ModalTriggerOwnProps`, `ModalTriggerProps`
|
|
14
14
|
|
|
15
15
|
## Values
|
|
16
16
|
|
|
@@ -42,9 +42,16 @@ Extends: `ModalAppearanceProps`
|
|
|
42
42
|
| `description` | `ReactNode` | no | |
|
|
43
43
|
| `children` | `ReactNode` | no | |
|
|
44
44
|
| `closeLabel` | `string` | no | Accessible name of the header close icon. |
|
|
45
|
+
| `labels` | `Partial<ModalLabels>` | no | |
|
|
45
46
|
| `footer` | `ReactNode` | no | Actions row pinned under the body. |
|
|
46
47
|
| `className` | `string` | no | |
|
|
47
48
|
|
|
49
|
+
### ModalLabels
|
|
50
|
+
|
|
51
|
+
| Member | Type | Required | Description |
|
|
52
|
+
| --- | --- | --- | --- |
|
|
53
|
+
| `close` | `string` | yes | |
|
|
54
|
+
|
|
48
55
|
### ModalTriggerOwnProps
|
|
49
56
|
|
|
50
57
|
Own props of the native `show-modal` invoker.
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
# number-field
|
|
3
3
|
|
|
4
4
|
- Import: `@gunkin/uiify/components/number-field`
|
|
5
|
-
- Tier 1 (RSC shell + thin client island); state source S1; native element `input[type=
|
|
5
|
+
- Tier 1 (RSC shell + thin client island); state source S1; native element `input[type=text][role=spinbutton]`
|
|
6
6
|
- Without JavaScript: degraded-documented
|
|
7
7
|
- Types file: `dist/components/number-field.d.ts`
|
|
8
8
|
|
|
9
9
|
## Exports
|
|
10
10
|
|
|
11
11
|
- Runtime: `NumberField`, `NumberFieldDecrement`, `NumberFieldGroup`, `NumberFieldIncrement`, `NumberFieldInput`, `NumberFieldRoot`
|
|
12
|
-
- Types: `NumberFieldDecrementProps`, `NumberFieldGroupProps`, `NumberFieldIncrementProps`, `NumberFieldInputProps`, `NumberFieldRootOwnProps`, `NumberFieldRootProps`
|
|
12
|
+
- Types: `NumberFieldDecrementProps`, `NumberFieldGroupProps`, `NumberFieldIncrementProps`, `NumberFieldInputOwnProps`, `NumberFieldInputProps`, `NumberFieldRootOwnProps`, `NumberFieldRootProps`
|
|
13
13
|
|
|
14
14
|
## Props and shapes
|
|
15
15
|
|
|
@@ -43,6 +43,7 @@
|
|
|
43
43
|
| `defaultValue` | `number` | no | |
|
|
44
44
|
| `disabled` | `boolean` | no | |
|
|
45
45
|
| `formatOptions` | `Intl.NumberFormatOptions` | no | |
|
|
46
|
+
| `locale` | `string` | no | BCP 47 locale used to format and parse the value. Defaults to `"en-US"`. |
|
|
46
47
|
| `max` | `number` | no | |
|
|
47
48
|
| `min` | `number` | no | |
|
|
48
49
|
| `onValueChange` | `(value: number \| undefined) => void` | no | |
|
|
@@ -51,10 +52,20 @@
|
|
|
51
52
|
| `step` | `number` | no | |
|
|
52
53
|
| `value` | `number` | no | |
|
|
53
54
|
|
|
55
|
+
### NumberFieldInputOwnProps
|
|
56
|
+
|
|
57
|
+
| Member | Type | Required | Description |
|
|
58
|
+
| --- | --- | --- | --- |
|
|
59
|
+
| `id` | `string` | no | |
|
|
60
|
+
| `onBlur` | `FocusEventHandler<HTMLInputElement>` | no | |
|
|
61
|
+
| `onChange` | `ChangeEventHandler<HTMLInputElement>` | no | |
|
|
62
|
+
| `onFocus` | `FocusEventHandler<HTMLInputElement>` | no | |
|
|
63
|
+
| `onKeyDown` | `KeyboardEventHandler<HTMLInputElement>` | no | |
|
|
64
|
+
|
|
54
65
|
## Other types
|
|
55
66
|
|
|
56
67
|
- `NumberFieldRootProps<TAs>`: `RenderableProps<TAs, NumberFieldRootOwnProps, NumberFieldRootOwnProps, HTMLElement>`
|
|
57
68
|
- `NumberFieldGroupProps<TAs>`: `RenderableProps<TAs, { readonly children?: ReactNode }, { disabled: boolean }, HTMLElement>`
|
|
58
|
-
- `NumberFieldInputProps<TAs>`: `RenderableProps<TAs,
|
|
69
|
+
- `NumberFieldInputProps<TAs>`: `RenderableProps<TAs, NumberFieldInputOwnProps, { disabled: boolean; readOnly: boolean; required: boolean }, HTMLInputElement>`
|
|
59
70
|
- `NumberFieldIncrementProps<TAs>`: `RenderableProps<TAs, { readonly children?: ReactNode }, { disabled: boolean }, HTMLButtonElement>`
|
|
60
71
|
- `NumberFieldDecrementProps<TAs>`: `RenderableProps<TAs, { readonly children?: ReactNode }, { disabled: boolean }, HTMLButtonElement>`
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
## Exports
|
|
10
10
|
|
|
11
11
|
- Runtime: `buildPaginationItems`, `Pagination`, `PaginationEllipsis`, `PaginationItem`, `PaginationLink`, `PaginationList`, `PaginationRoot`
|
|
12
|
-
- Types: `PaginationItemDescriptor`, `PaginationItemType`, `UsePaginationParams`, `PaginationEllipsisProps`, `PaginationEllipsisOwnProps`, `PaginationItemProps`, `PaginationItemOwnProps`, `PaginationLinkOwnProps`, `PaginationLinkProps`, `PaginationListOwnProps`, `PaginationListProps`, `PaginationRootOwnProps`, `PaginationRootProps`
|
|
12
|
+
- Types: `PaginationItemDescriptor`, `PaginationItemType`, `UsePaginationParams`, `PaginationEllipsisProps`, `PaginationEllipsisOwnProps`, `PaginationItemProps`, `PaginationItemOwnProps`, `PaginationLinkOwnProps`, `PaginationLinkProps`, `PaginationListOwnProps`, `PaginationListProps`, `PaginationRootOwnProps`, `PaginationRootProps`, `PaginationLabels`
|
|
13
13
|
|
|
14
14
|
## Values
|
|
15
15
|
|
|
@@ -35,6 +35,21 @@
|
|
|
35
35
|
| `selected` | `false` | yes | |
|
|
36
36
|
| `type` | `Exclude<PaginationItemType, "page">` | yes | |
|
|
37
37
|
|
|
38
|
+
### PaginationLabels
|
|
39
|
+
|
|
40
|
+
| Member | Type | Required | Description |
|
|
41
|
+
| --- | --- | --- | --- |
|
|
42
|
+
| `root` | `string` | yes | |
|
|
43
|
+
| `page` | `string` | yes | |
|
|
44
|
+
| `previous` | `string` | yes | |
|
|
45
|
+
| `next` | `string` | yes | |
|
|
46
|
+
| `first` | `string` | yes | |
|
|
47
|
+
| `last` | `string` | yes | |
|
|
48
|
+
| `previousText` | `string` | yes | |
|
|
49
|
+
| `nextText` | `string` | yes | |
|
|
50
|
+
| `firstText` | `string` | yes | |
|
|
51
|
+
| `lastText` | `string` | yes | |
|
|
52
|
+
|
|
38
53
|
### UsePaginationParams
|
|
39
54
|
|
|
40
55
|
| Member | Type | Required | Description |
|
|
@@ -62,6 +77,8 @@
|
|
|
62
77
|
| --- | --- | --- | --- |
|
|
63
78
|
| `count` | `number` | yes | |
|
|
64
79
|
| `items` | `readonly PaginationItem[]` | yes | |
|
|
80
|
+
| `labels` | `PaginationLabels` | yes | |
|
|
81
|
+
| `locale` | `string` | no | |
|
|
65
82
|
| `page` | `number` | yes | |
|
|
66
83
|
| `setPage` | `(page: number) => void` | yes | |
|
|
67
84
|
|
|
@@ -74,6 +91,8 @@ Extends: `UsePaginationParams`
|
|
|
74
91
|
| `"aria-label"` | `string` | no | |
|
|
75
92
|
| `children` | `ReactNode` | no | |
|
|
76
93
|
| `getPageHref` | `(page: number) => string` | no | |
|
|
94
|
+
| `labels` | `Partial<PaginationLabels>` | no | |
|
|
95
|
+
| `locale` | `string` | no | |
|
|
77
96
|
|
|
78
97
|
### PaginationListOwnProps
|
|
79
98
|
|
|
@@ -93,6 +112,8 @@ Extends: `UsePaginationParams`
|
|
|
93
112
|
| --- | --- | --- | --- |
|
|
94
113
|
| `disabled` | `boolean` | no | |
|
|
95
114
|
| `getPageHref` | `(page: number) => string` | no | |
|
|
115
|
+
| `locale` | `string` | no | |
|
|
116
|
+
| `pageLabelTemplate` | `string` | no | |
|
|
96
117
|
| `page` | `number` | yes | |
|
|
97
118
|
| `selected` | `boolean` | no | |
|
|
98
119
|
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
<!-- Generated from the package source. Do not edit by hand. -->
|
|
2
|
+
# progress
|
|
3
|
+
|
|
4
|
+
- Import: `@gunkin/uiify/components/progress`
|
|
5
|
+
- Tier 0 (RSC — zero client JavaScript); state source S1; native element `progress`
|
|
6
|
+
- Without JavaScript: full
|
|
7
|
+
- Types file: `dist/components/progress.d.ts`
|
|
8
|
+
|
|
9
|
+
## Exports
|
|
10
|
+
|
|
11
|
+
- Runtime: `Progress`
|
|
12
|
+
- Types: `ProgressProps`
|
|
13
|
+
|
|
14
|
+
## Other types
|
|
15
|
+
|
|
16
|
+
- `ProgressProps`: `ComponentPropsWithRef<"progress">`
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
## Exports
|
|
10
10
|
|
|
11
11
|
- Runtime: `Slider`
|
|
12
|
-
- Types: `SliderOwnProps`, `SliderProps`
|
|
12
|
+
- Types: `SliderLabels`, `SliderOwnProps`, `SliderProps`
|
|
13
13
|
|
|
14
14
|
## Props and shapes
|
|
15
15
|
|
|
@@ -45,10 +45,18 @@
|
|
|
45
45
|
| `disabled` | `boolean` | no | |
|
|
46
46
|
| `orientation` | `"horizontal" \| "vertical"` | no | |
|
|
47
47
|
| `marks` | `readonly SliderMark[]` | no | |
|
|
48
|
+
| `labels` | `Partial<SliderLabels>` | no | |
|
|
48
49
|
| `thumbLabels` | `readonly [string, string]` | no | |
|
|
49
50
|
| `"aria-label"` | `string` | no | |
|
|
50
51
|
| `"aria-labelledby"` | `string` | no | |
|
|
51
52
|
|
|
53
|
+
### SliderLabels
|
|
54
|
+
|
|
55
|
+
| Member | Type | Required | Description |
|
|
56
|
+
| --- | --- | --- | --- |
|
|
57
|
+
| `minimum` | `string` | yes | |
|
|
58
|
+
| `maximum` | `string` | yes | |
|
|
59
|
+
|
|
52
60
|
### SliderClientRenderState
|
|
53
61
|
|
|
54
62
|
| Member | Type | Required | Description |
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
## Exports
|
|
10
10
|
|
|
11
11
|
- Runtime: `Spinner`
|
|
12
|
-
- Types: `SpinnerAlign`, `SpinnerOwnProps`, `SpinnerProps`, `SpinnerSize`
|
|
12
|
+
- Types: `SpinnerAlign`, `SpinnerLabels`, `SpinnerOwnProps`, `SpinnerProps`, `SpinnerSize`
|
|
13
13
|
|
|
14
14
|
## Values
|
|
15
15
|
|
|
@@ -18,6 +18,12 @@
|
|
|
18
18
|
|
|
19
19
|
## Props and shapes
|
|
20
20
|
|
|
21
|
+
### SpinnerLabels
|
|
22
|
+
|
|
23
|
+
| Member | Type | Required | Description |
|
|
24
|
+
| --- | --- | --- | --- |
|
|
25
|
+
| `loading` | `string` | yes | |
|
|
26
|
+
|
|
21
27
|
### SpinnerOwnProps
|
|
22
28
|
|
|
23
29
|
| Member | Type | Required | Description |
|
|
@@ -26,6 +32,7 @@
|
|
|
26
32
|
| `children` | `ReactNode` | no | |
|
|
27
33
|
| `delay` | `number` | no | |
|
|
28
34
|
| `label` | `string` | no | |
|
|
35
|
+
| `labels` | `Partial<SpinnerLabels>` | no | |
|
|
29
36
|
| `showLabel` | `boolean` | no | |
|
|
30
37
|
| `size` | `SpinnerSize` | no | |
|
|
31
38
|
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
## Exports
|
|
10
10
|
|
|
11
11
|
- Runtime: `Toast`, `ToastAction`, `ToastClose`, `ToastDescription`, `ToastProvider`, `ToastRoot`, `ToastTitle`, `ToastViewport`, `useToast`
|
|
12
|
-
- Types: `ToastActionOwnProps`, `ToastActionProps`, `ToastCloseOwnProps`, `ToastCloseProps`, `ToastDescriptionOwnProps`, `ToastProviderOwnProps`, `ToastRootOwnProps`, `ToastTitleOwnProps`, `ToastViewportOwnProps`, `ToastInput`, `ToastPriority`, `ToastRecord`, `ToastStore`
|
|
12
|
+
- Types: `ToastActionOwnProps`, `ToastActionProps`, `ToastCloseOwnProps`, `ToastCloseProps`, `ToastLabels`, `ToastDescriptionOwnProps`, `ToastProviderOwnProps`, `ToastRootOwnProps`, `ToastTitleOwnProps`, `ToastViewportOwnProps`, `ToastInput`, `ToastPriority`, `ToastRecord`, `ToastStore`
|
|
13
13
|
|
|
14
14
|
## Values
|
|
15
15
|
|
|
@@ -17,6 +17,14 @@
|
|
|
17
17
|
|
|
18
18
|
## Props and shapes
|
|
19
19
|
|
|
20
|
+
### ToastLabels
|
|
21
|
+
|
|
22
|
+
| Member | Type | Required | Description |
|
|
23
|
+
| --- | --- | --- | --- |
|
|
24
|
+
| `region` | `string` | yes | |
|
|
25
|
+
| `notification` | `string` | yes | |
|
|
26
|
+
| `close` | `string` | yes | |
|
|
27
|
+
|
|
20
28
|
### ToastAction
|
|
21
29
|
|
|
22
30
|
| Member | Type | Required | Description |
|
|
@@ -82,12 +90,14 @@
|
|
|
82
90
|
| `pause` | `(id: string) => void` | yes | |
|
|
83
91
|
| `resume` | `(id: string) => void` | yes | |
|
|
84
92
|
| `store` | `ToastStore` | yes | |
|
|
93
|
+
| `labels` | `ToastLabels` | yes | |
|
|
85
94
|
|
|
86
95
|
### ToastProviderOwnProps
|
|
87
96
|
|
|
88
97
|
| Member | Type | Required | Description |
|
|
89
98
|
| --- | --- | --- | --- |
|
|
90
99
|
| `children` | `ReactNode` | no | |
|
|
100
|
+
| `labels` | `Partial<ToastLabels>` | no | |
|
|
91
101
|
| `limit` | `number` | no | |
|
|
92
102
|
|
|
93
103
|
### ToastViewportOwnProps
|
|
@@ -97,6 +107,7 @@
|
|
|
97
107
|
| `"aria-label"` | `string` | no | |
|
|
98
108
|
| `children` | `ReactNode` | no | |
|
|
99
109
|
| `className` | `string` | no | |
|
|
110
|
+
| `labels` | `Partial<ToastLabels>` | no | |
|
|
100
111
|
| `popover` | `"manual"` | no | Set by the live client viewport (@gunkin/uiify/components/toast/Toast.js) to `"manual"` so the queue's rendered surface sits in the top layer. The structural shell (this file's own re-exported ToastViewport, used directly by "Toast server shell" tests and any no-JS render) leaves it unset, since there is no queue-driven show/hide to wire up there. |
|
|
101
112
|
| `ref` | `Ref<HTMLElement>` | no | |
|
|
102
113
|
|
|
@@ -104,6 +115,7 @@
|
|
|
104
115
|
|
|
105
116
|
| Member | Type | Required | Description |
|
|
106
117
|
| --- | --- | --- | --- |
|
|
118
|
+
| `labels` | `Partial<ToastLabels>` | no | |
|
|
107
119
|
| `toast` | `ToastRecord` | yes | |
|
|
108
120
|
|
|
109
121
|
### ToastTitleOwnProps
|
|
@@ -141,6 +153,7 @@ Extends: `ToastActionOwnProps`
|
|
|
141
153
|
| --- | --- | --- | --- |
|
|
142
154
|
| `children` | `ReactNode` | no | |
|
|
143
155
|
| `className` | `string` | no | |
|
|
156
|
+
| `labels` | `Partial<ToastLabels>` | no | |
|
|
144
157
|
|
|
145
158
|
### ToastCloseProps
|
|
146
159
|
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { ElementType, ReactElement } from "react";
|
|
2
|
+
import type { AlertDescriptionProps, AlertProps, AlertTitleProps } from "./types.js";
|
|
3
|
+
export declare function Alert<TAs extends ElementType = "div">(props: AlertProps<TAs>): ReactElement | null;
|
|
4
|
+
export declare namespace Alert {
|
|
5
|
+
var displayName: string;
|
|
6
|
+
}
|
|
7
|
+
export declare function AlertTitle<TAs extends ElementType = "div">(props: AlertTitleProps<TAs>): ReactElement | null;
|
|
8
|
+
export declare namespace AlertTitle {
|
|
9
|
+
var displayName: string;
|
|
10
|
+
}
|
|
11
|
+
export declare function AlertDescription<TAs extends ElementType = "div">(props: AlertDescriptionProps<TAs>): ReactElement | null;
|
|
12
|
+
export declare namespace AlertDescription {
|
|
13
|
+
var displayName: string;
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=Alert.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Alert.d.ts","sourceRoot":"","sources":["../../../src/components/alert/Alert.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAEvD,OAAO,KAAK,EAAE,qBAAqB,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAIrF,wBAAgB,KAAK,CAAC,GAAG,SAAS,WAAW,GAAG,KAAK,EACnD,KAAK,EAAE,UAAU,CAAC,GAAG,CAAC,GACrB,YAAY,GAAG,IAAI,CA8BrB;yBAhCe,KAAK;;;AAoCrB,wBAAgB,UAAU,CAAC,GAAG,SAAS,WAAW,GAAG,KAAK,EACxD,KAAK,EAAE,eAAe,CAAC,GAAG,CAAC,GAC1B,YAAY,GAAG,IAAI,CASrB;yBAXe,UAAU;;;AAa1B,wBAAgB,gBAAgB,CAAC,GAAG,SAAS,WAAW,GAAG,KAAK,EAC9D,KAAK,EAAE,qBAAqB,CAAC,GAAG,CAAC,GAChC,YAAY,GAAG,IAAI,CAarB;yBAfe,gBAAgB"}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { useRenderElement } from "@gunkin/uiify/core/render";
|
|
3
|
+
const symbols = { secondary: "\u24D8", success: "\u2713", warning: "\u26A0\uFE0E", destructive: "\xD7" };
|
|
4
|
+
function Alert(props) {
|
|
5
|
+
const {
|
|
6
|
+
as,
|
|
7
|
+
render,
|
|
8
|
+
variant = "secondary",
|
|
9
|
+
symbol = symbols[variant],
|
|
10
|
+
children,
|
|
11
|
+
...consumerProps
|
|
12
|
+
} = props;
|
|
13
|
+
return useRenderElement({
|
|
14
|
+
as,
|
|
15
|
+
defaultTag: "div",
|
|
16
|
+
props: {
|
|
17
|
+
...consumerProps,
|
|
18
|
+
"data-uiify-alert": "",
|
|
19
|
+
"data-variant": variant,
|
|
20
|
+
children: /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
21
|
+
symbol !== false && /* @__PURE__ */ jsx("span", { "data-part": "symbol", "aria-hidden": "true", children: symbol }),
|
|
22
|
+
children
|
|
23
|
+
] })
|
|
24
|
+
},
|
|
25
|
+
render,
|
|
26
|
+
state: {}
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
Alert.displayName = "Alert";
|
|
30
|
+
function AlertTitle(props) {
|
|
31
|
+
const { as, render, ...consumerProps } = props;
|
|
32
|
+
return useRenderElement({
|
|
33
|
+
as,
|
|
34
|
+
defaultTag: "div",
|
|
35
|
+
props: { ...consumerProps, "data-uiify-alert-title": "", "data-part": "title" },
|
|
36
|
+
render,
|
|
37
|
+
state: {}
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
function AlertDescription(props) {
|
|
41
|
+
const { as, render, ...consumerProps } = props;
|
|
42
|
+
return useRenderElement({
|
|
43
|
+
as,
|
|
44
|
+
defaultTag: "div",
|
|
45
|
+
props: {
|
|
46
|
+
...consumerProps,
|
|
47
|
+
"data-uiify-alert-description": "",
|
|
48
|
+
"data-part": "description"
|
|
49
|
+
},
|
|
50
|
+
render,
|
|
51
|
+
state: {}
|
|
52
|
+
});
|
|
53
|
+
}
|
|
54
|
+
AlertTitle.displayName = "AlertTitle";
|
|
55
|
+
AlertDescription.displayName = "AlertDescription";
|
|
56
|
+
export {
|
|
57
|
+
Alert,
|
|
58
|
+
AlertDescription,
|
|
59
|
+
AlertTitle
|
|
60
|
+
};
|
|
61
|
+
//# sourceMappingURL=Alert.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/components/alert/Alert.tsx"],"sourcesContent":["import type { ElementType, ReactElement } from \"react\";\nimport { useRenderElement } from \"@gunkin/uiify/core/render\";\nimport type { AlertDescriptionProps, AlertProps, AlertTitleProps } from \"./types.js\";\n\nconst symbols = { secondary: \"ⓘ\", success: \"✓\", warning: \"⚠︎\", destructive: \"×\" };\n\nexport function Alert<TAs extends ElementType = \"div\">(\n props: AlertProps<TAs>,\n): ReactElement | null {\n const {\n as,\n render,\n variant = \"secondary\",\n symbol = symbols[variant],\n children,\n ...consumerProps\n } = props as AlertProps<\"div\">;\n return useRenderElement({\n as,\n defaultTag: \"div\",\n props: {\n ...consumerProps,\n \"data-uiify-alert\": \"\",\n \"data-variant\": variant,\n children: (\n <>\n {symbol !== false && (\n <span data-part=\"symbol\" aria-hidden=\"true\">\n {symbol}\n </span>\n )}\n {children}\n </>\n ),\n },\n render,\n state: {},\n });\n}\n\nAlert.displayName = \"Alert\";\n\nexport function AlertTitle<TAs extends ElementType = \"div\">(\n props: AlertTitleProps<TAs>,\n): ReactElement | null {\n const { as, render, ...consumerProps } = props as AlertTitleProps<\"div\">;\n return useRenderElement({\n as,\n defaultTag: \"div\",\n props: { ...consumerProps, \"data-uiify-alert-title\": \"\", \"data-part\": \"title\" },\n render,\n state: {},\n });\n}\n\nexport function AlertDescription<TAs extends ElementType = \"div\">(\n props: AlertDescriptionProps<TAs>,\n): ReactElement | null {\n const { as, render, ...consumerProps } = props as AlertDescriptionProps<\"div\">;\n return useRenderElement({\n as,\n defaultTag: \"div\",\n props: {\n ...consumerProps,\n \"data-uiify-alert-description\": \"\",\n \"data-part\": \"description\",\n },\n render,\n state: {},\n });\n}\n\nAlertTitle.displayName = \"AlertTitle\";\nAlertDescription.displayName = \"AlertDescription\";\n"],"mappings":"AAyBQ,mBAEI,KAFJ;AAxBR,SAAS,wBAAwB;AAGjC,MAAM,UAAU,EAAE,WAAW,UAAK,SAAS,UAAK,SAAS,gBAAM,aAAa,OAAI;AAEzE,SAAS,MACd,OACqB;AACrB,QAAM;AAAA,IACJ;AAAA,IACA;AAAA,IACA,UAAU;AAAA,IACV,SAAS,QAAQ,OAAO;AAAA,IACxB;AAAA,IACA,GAAG;AAAA,EACL,IAAI;AACJ,SAAO,iBAAiB;AAAA,IACtB;AAAA,IACA,YAAY;AAAA,IACZ,OAAO;AAAA,MACL,GAAG;AAAA,MACH,oBAAoB;AAAA,MACpB,gBAAgB;AAAA,MAChB,UACE,iCACG;AAAA,mBAAW,SACV,oBAAC,UAAK,aAAU,UAAS,eAAY,QAClC,kBACH;AAAA,QAED;AAAA,SACH;AAAA,IAEJ;AAAA,IACA;AAAA,IACA,OAAO,CAAC;AAAA,EACV,CAAC;AACH;AAEA,MAAM,cAAc;AAEb,SAAS,WACd,OACqB;AACrB,QAAM,EAAE,IAAI,QAAQ,GAAG,cAAc,IAAI;AACzC,SAAO,iBAAiB;AAAA,IACtB;AAAA,IACA,YAAY;AAAA,IACZ,OAAO,EAAE,GAAG,eAAe,0BAA0B,IAAI,aAAa,QAAQ;AAAA,IAC9E;AAAA,IACA,OAAO,CAAC;AAAA,EACV,CAAC;AACH;AAEO,SAAS,iBACd,OACqB;AACrB,QAAM,EAAE,IAAI,QAAQ,GAAG,cAAc,IAAI;AACzC,SAAO,iBAAiB;AAAA,IACtB;AAAA,IACA,YAAY;AAAA,IACZ,OAAO;AAAA,MACL,GAAG;AAAA,MACH,gCAAgC;AAAA,MAChC,aAAa;AAAA,IACf;AAAA,IACA;AAAA,IACA,OAAO,CAAC;AAAA,EACV,CAAC;AACH;AAEA,WAAW,cAAc;AACzB,iBAAiB,cAAc;","names":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/alert/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,gBAAgB,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AACjE,YAAY,EACV,wBAAwB,EACxB,qBAAqB,EACrB,aAAa,EACb,UAAU,EACV,kBAAkB,EAClB,eAAe,EACf,YAAY,GACb,MAAM,YAAY,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/components/alert/index.ts"],"sourcesContent":["export { Alert, AlertDescription, AlertTitle } from \"./Alert.js\";\nexport type {\n AlertDescriptionOwnProps,\n AlertDescriptionProps,\n AlertOwnProps,\n AlertProps,\n AlertTitleOwnProps,\n AlertTitleProps,\n AlertVariant,\n} from \"./types.js\";\n"],"mappings":"AAAA,SAAS,OAAO,kBAAkB,kBAAkB;","names":[]}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { ElementType, ReactNode } from "react";
|
|
2
|
+
import type { RenderableProps } from "@gunkin/uiify/core/render";
|
|
3
|
+
export type AlertVariant = "secondary" | "success" | "warning" | "destructive";
|
|
4
|
+
export interface AlertOwnProps {
|
|
5
|
+
readonly children?: ReactNode;
|
|
6
|
+
/** Visual status. Defaults to secondary without adding a live role. */
|
|
7
|
+
readonly variant?: AlertVariant;
|
|
8
|
+
/** Override the decorative text symbol, or hide it with false. */
|
|
9
|
+
readonly symbol?: string | false;
|
|
10
|
+
}
|
|
11
|
+
export type AlertProps<TAs extends ElementType = "div"> = RenderableProps<TAs, AlertOwnProps, Record<string, never>, HTMLElement>;
|
|
12
|
+
export interface AlertTitleOwnProps {
|
|
13
|
+
readonly children?: ReactNode;
|
|
14
|
+
}
|
|
15
|
+
export type AlertTitleProps<TAs extends ElementType = "div"> = RenderableProps<TAs, AlertTitleOwnProps, Record<string, never>, HTMLElement>;
|
|
16
|
+
export interface AlertDescriptionOwnProps {
|
|
17
|
+
readonly children?: ReactNode;
|
|
18
|
+
}
|
|
19
|
+
export type AlertDescriptionProps<TAs extends ElementType = "div"> = RenderableProps<TAs, AlertDescriptionOwnProps, Record<string, never>, HTMLElement>;
|
|
20
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/alert/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACpD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAEjE,MAAM,MAAM,YAAY,GAAG,WAAW,GAAG,SAAS,GAAG,SAAS,GAAG,aAAa,CAAC;AAE/E,MAAM,WAAW,aAAa;IAC5B,QAAQ,CAAC,QAAQ,CAAC,EAAE,SAAS,CAAC;IAC9B,uEAAuE;IACvE,QAAQ,CAAC,OAAO,CAAC,EAAE,YAAY,CAAC;IAChC,kEAAkE;IAClE,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC;CAClC;AAED,MAAM,MAAM,UAAU,CAAC,GAAG,SAAS,WAAW,GAAG,KAAK,IAAI,eAAe,CACvE,GAAG,EACH,aAAa,EACb,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,EACrB,WAAW,CACZ,CAAC;AAEF,MAAM,WAAW,kBAAkB;IACjC,QAAQ,CAAC,QAAQ,CAAC,EAAE,SAAS,CAAC;CAC/B;AAED,MAAM,MAAM,eAAe,CAAC,GAAG,SAAS,WAAW,GAAG,KAAK,IAAI,eAAe,CAC5E,GAAG,EACH,kBAAkB,EAClB,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,EACrB,WAAW,CACZ,CAAC;AAEF,MAAM,WAAW,wBAAwB;IACvC,QAAQ,CAAC,QAAQ,CAAC,EAAE,SAAS,CAAC;CAC/B;AAED,MAAM,MAAM,qBAAqB,CAAC,GAAG,SAAS,WAAW,GAAG,KAAK,IAAI,eAAe,CAClF,GAAG,EACH,wBAAwB,EACxB,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,EACrB,WAAW,CACZ,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./alert/index.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./alert/index.js";
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { ElementType, ReactElement } from "react";
|
|
2
|
+
import type { AspectRatioProps } from "./types.js";
|
|
3
|
+
export declare function AspectRatio<TAs extends ElementType = "div">(props: AspectRatioProps<TAs>): ReactElement | null;
|
|
4
|
+
export declare namespace AspectRatio {
|
|
5
|
+
var displayName: string;
|
|
6
|
+
}
|
|
7
|
+
//# sourceMappingURL=AspectRatio.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AspectRatio.d.ts","sourceRoot":"","sources":["../../../src/components/aspect-ratio/AspectRatio.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAiB,WAAW,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAEtE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAEnD,wBAAgB,WAAW,CAAC,GAAG,SAAS,WAAW,GAAG,KAAK,EACzD,KAAK,EAAE,gBAAgB,CAAC,GAAG,CAAC,GAC3B,YAAY,GAAG,IAAI,CAqBrB;yBAvBe,WAAW"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import { useRenderElement } from "@gunkin/uiify/core/render";
|
|
3
|
+
function AspectRatio(props) {
|
|
4
|
+
const { as, render, ratio, children, ...consumerProps } = props;
|
|
5
|
+
const style = consumerProps.style;
|
|
6
|
+
return useRenderElement({
|
|
7
|
+
as,
|
|
8
|
+
defaultTag: "div",
|
|
9
|
+
props: {
|
|
10
|
+
...consumerProps,
|
|
11
|
+
"data-uiify-aspect-ratio": "",
|
|
12
|
+
style: {
|
|
13
|
+
...style,
|
|
14
|
+
...ratio !== void 0 ? { "--uiify-aspect-ratio": Number.isFinite(ratio) && ratio > 0 ? ratio : 1 } : {}
|
|
15
|
+
},
|
|
16
|
+
children: /* @__PURE__ */ jsx("div", { "data-part": "content", children })
|
|
17
|
+
},
|
|
18
|
+
render,
|
|
19
|
+
state: {}
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
AspectRatio.displayName = "AspectRatio";
|
|
23
|
+
export {
|
|
24
|
+
AspectRatio
|
|
25
|
+
};
|
|
26
|
+
//# sourceMappingURL=AspectRatio.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/components/aspect-ratio/AspectRatio.tsx"],"sourcesContent":["// API research: Radix UI Aspect Ratio; independently authored from UIify design notes.\nimport type { CSSProperties, ElementType, ReactElement } from \"react\";\nimport { useRenderElement } from \"@gunkin/uiify/core/render\";\nimport type { AspectRatioProps } from \"./types.js\";\n\nexport function AspectRatio<TAs extends ElementType = \"div\">(\n props: AspectRatioProps<TAs>,\n): ReactElement | null {\n const { as, render, ratio, children, ...consumerProps } = props as AspectRatioProps<\"div\">;\n const style = (consumerProps as { style?: CSSProperties }).style;\n\n return useRenderElement({\n as,\n defaultTag: \"div\",\n props: {\n ...consumerProps,\n \"data-uiify-aspect-ratio\": \"\",\n style: {\n ...style,\n ...(ratio !== undefined\n ? { \"--uiify-aspect-ratio\": Number.isFinite(ratio) && ratio > 0 ? ratio : 1 }\n : {}),\n } as CSSProperties,\n children: <div data-part=\"content\">{children}</div>,\n },\n render,\n state: {},\n });\n}\nAspectRatio.displayName = \"AspectRatio\";\n"],"mappings":"AAuBgB;AArBhB,SAAS,wBAAwB;AAG1B,SAAS,YACd,OACqB;AACrB,QAAM,EAAE,IAAI,QAAQ,OAAO,UAAU,GAAG,cAAc,IAAI;AAC1D,QAAM,QAAS,cAA4C;AAE3D,SAAO,iBAAiB;AAAA,IACtB;AAAA,IACA,YAAY;AAAA,IACZ,OAAO;AAAA,MACL,GAAG;AAAA,MACH,2BAA2B;AAAA,MAC3B,OAAO;AAAA,QACL,GAAG;AAAA,QACH,GAAI,UAAU,SACV,EAAE,wBAAwB,OAAO,SAAS,KAAK,KAAK,QAAQ,IAAI,QAAQ,EAAE,IAC1E,CAAC;AAAA,MACP;AAAA,MACA,UAAU,oBAAC,SAAI,aAAU,WAAW,UAAS;AAAA,IAC/C;AAAA,IACA;AAAA,IACA,OAAO,CAAC;AAAA,EACV,CAAC;AACH;AACA,YAAY,cAAc;","names":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/aspect-ratio/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAC/C,YAAY,EAAE,mBAAmB,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/components/aspect-ratio/index.ts"],"sourcesContent":["export { AspectRatio } from \"./AspectRatio.js\";\nexport type { AspectRatioOwnProps, AspectRatioProps } from \"./types.js\";\n"],"mappings":"AAAA,SAAS,mBAAmB;","names":[]}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { ElementType, ReactNode } from "react";
|
|
2
|
+
import type { RenderableProps } from "@gunkin/uiify/core/render";
|
|
3
|
+
export interface AspectRatioOwnProps {
|
|
4
|
+
/** Positive finite width / height ratio. Omit to use the CSS default (square). */
|
|
5
|
+
readonly ratio?: number;
|
|
6
|
+
readonly children?: ReactNode;
|
|
7
|
+
}
|
|
8
|
+
export type AspectRatioProps<TAs extends ElementType = "div"> = RenderableProps<TAs, AspectRatioOwnProps, Record<string, never>, HTMLElement>;
|
|
9
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/aspect-ratio/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACpD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAEjE,MAAM,WAAW,mBAAmB;IAClC,kFAAkF;IAClF,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,QAAQ,CAAC,EAAE,SAAS,CAAC;CAC/B;AAED,MAAM,MAAM,gBAAgB,CAAC,GAAG,SAAS,WAAW,GAAG,KAAK,IAAI,eAAe,CAC7E,GAAG,EACH,mBAAmB,EACnB,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,EACrB,WAAW,CACZ,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./aspect-ratio/index.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./aspect-ratio/index.js";
|