gd-design-library 1.8.2 → 1.8.3
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 +121 -478
- package/ai/README.md +119 -64
- package/ai/a2ui/component-map.cjs +1 -1
- package/ai/a2ui/component-map.d.cts +138 -0
- package/ai/a2ui/component-map.d.ts +1 -1
- package/ai/a2ui/image-policy.d.cts +7 -0
- package/ai/a2ui/index.d.cts +22 -0
- package/ai/a2ui/index.d.ts +4 -4
- package/ai/a2ui/spec-schema.cjs +1 -1
- package/ai/a2ui/spec-schema.d.cts +2220 -0
- package/ai/a2ui/spec-schema.d.ts +10 -2
- package/ai/a2ui/spec-schema.js +6 -1
- package/ai/a2ui/system-prompt.cjs +11 -10
- package/ai/a2ui/system-prompt.d.cts +86 -0
- package/ai/a2ui/system-prompt.d.ts +2 -2
- package/ai/a2ui/system-prompt.js +152 -30
- package/ai/a2ui/ui-specification-schema.json +7 -2
- package/ai/discovery.cjs +1 -1
- package/ai/discovery.d.cts +48 -0
- package/ai/discovery.d.ts +1 -1
- package/ai/figma-maps/figma-color-map.cjs +1 -0
- package/ai/figma-maps/figma-color-map.js +601 -0
- package/ai/figma-maps/figma-color-map.json +1037 -0
- package/ai/figma-maps/figma-color-map.json.d.cts +1040 -0
- package/ai/figma-maps/figma-color-map.json.d.ts +1040 -0
- package/ai/figma-maps/figma-font-map.cjs +1 -0
- package/ai/figma-maps/figma-font-map.js +331 -0
- package/ai/figma-maps/figma-font-map.json +329 -0
- package/ai/figma-maps/figma-font-map.json.d.cts +332 -0
- package/ai/figma-maps/figma-font-map.json.d.ts +332 -0
- package/ai/figma-maps/figma-icon-map.cjs +1 -0
- package/ai/figma-maps/figma-icon-map.js +415 -0
- package/ai/figma-maps/figma-icon-map.json +404 -0
- package/ai/figma-maps/figma-icon-map.json.d.cts +407 -0
- package/ai/figma-maps/figma-icon-map.json.d.ts +407 -0
- package/ai/figma-maps/figma-radius-map.cjs +1 -0
- package/ai/figma-maps/figma-radius-map.js +96 -0
- package/ai/figma-maps/figma-radius-map.json +97 -0
- package/ai/figma-maps/figma-radius-map.json.d.cts +100 -0
- package/ai/figma-maps/figma-radius-map.json.d.ts +100 -0
- package/ai/figma-maps/figma-shadow-map.cjs +1 -0
- package/ai/figma-maps/figma-shadow-map.js +169 -0
- package/ai/figma-maps/figma-shadow-map.json +167 -0
- package/ai/figma-maps/figma-shadow-map.json.d.cts +170 -0
- package/ai/figma-maps/figma-shadow-map.json.d.ts +170 -0
- package/ai/figma-maps/figma-spacing-map.cjs +1 -0
- package/ai/figma-maps/figma-spacing-map.js +249 -0
- package/ai/figma-maps/figma-spacing-map.json +247 -0
- package/ai/figma-maps/figma-spacing-map.json.d.cts +250 -0
- package/ai/figma-maps/figma-spacing-map.json.d.ts +250 -0
- package/ai/figma-maps/index.cjs +1 -0
- package/ai/figma-maps/index.d.cts +4458 -0
- package/ai/figma-maps/index.d.ts +4458 -0
- package/ai/figma-maps/index.js +17 -0
- package/ai/index.cjs +1 -1
- package/ai/index.d.cts +8 -0
- package/ai/index.d.ts +8 -7
- package/ai/index.js +3 -2
- package/ai/prompts.cjs +1 -1
- package/ai/prompts.d.cts +49 -0
- package/ai/prompts.d.ts +1 -1
- package/ai/schemas/components/Accordion.d.cts +191 -0
- package/ai/schemas/components/AttachmentFile.cjs +1 -1
- package/ai/schemas/components/AttachmentFile.d.cts +45 -0
- package/ai/schemas/components/AttachmentFile.js +21 -22
- package/ai/schemas/components/Avatar.cjs +1 -1
- package/ai/schemas/components/Avatar.d.cts +71 -0
- package/ai/schemas/components/Avatar.js +26 -9
- package/ai/schemas/components/AvatarUser.cjs +1 -1
- package/ai/schemas/components/AvatarUser.d.cts +51 -0
- package/ai/schemas/components/AvatarUser.js +25 -2
- package/ai/schemas/components/Badge.d.cts +53 -0
- package/ai/schemas/components/Box.d.cts +95 -0
- package/ai/schemas/components/Breadcrumbs.d.cts +69 -0
- package/ai/schemas/components/Button.cjs +1 -1
- package/ai/schemas/components/Button.d.cts +94 -0
- package/ai/schemas/components/Button.js +12 -2
- package/ai/schemas/components/Card.d.cts +294 -0
- package/ai/schemas/components/Carousel.d.cts +60 -0
- package/ai/schemas/components/Chart.d.cts +49 -0
- package/ai/schemas/components/ChatBubble.cjs +1 -1
- package/ai/schemas/components/ChatBubble.d.cts +103 -0
- package/ai/schemas/components/ChatBubble.d.ts +24 -0
- package/ai/schemas/components/ChatBubble.js +27 -0
- package/ai/schemas/components/ChatContainer.d.cts +27 -0
- package/ai/schemas/components/Checkbox.cjs +1 -1
- package/ai/schemas/components/Checkbox.d.cts +37 -0
- package/ai/schemas/components/Checkbox.d.ts +0 -1
- package/ai/schemas/components/Checkbox.js +2 -3
- package/ai/schemas/components/Column.d.cts +65 -0
- package/ai/schemas/components/ContentCarousel.d.cts +96 -0
- package/ai/schemas/components/Counter.d.cts +27 -0
- package/ai/schemas/components/DragAndDrop.d.cts +50 -0
- package/ai/schemas/components/DragAndDropFiles.d.cts +27 -0
- package/ai/schemas/components/Dropdown.d.cts +24 -0
- package/ai/schemas/components/DropdownItem.d.cts +24 -0
- package/ai/schemas/components/FlexContainer.d.cts +44 -0
- package/ai/schemas/components/Form.d.cts +33 -0
- package/ai/schemas/components/Header.d.cts +19 -0
- package/ai/schemas/components/Icon.d.cts +117 -0
- package/ai/schemas/components/Image.d.cts +41 -0
- package/ai/schemas/components/ImagePreview.d.cts +39 -0
- package/ai/schemas/components/InlineNotification.d.cts +35 -0
- package/ai/schemas/components/Input.cjs +1 -1
- package/ai/schemas/components/Input.d.cts +38 -0
- package/ai/schemas/components/Input.js +14 -2
- package/ai/schemas/components/InputArea.d.cts +51 -0
- package/ai/schemas/components/InputFile.d.cts +27 -0
- package/ai/schemas/components/Label.d.cts +33 -0
- package/ai/schemas/components/Link.cjs +1 -1
- package/ai/schemas/components/Link.d.cts +65 -0
- package/ai/schemas/components/Link.d.ts +6 -0
- package/ai/schemas/components/Link.js +41 -4
- package/ai/schemas/components/List.d.cts +38 -0
- package/ai/schemas/components/Loader.d.cts +59 -0
- package/ai/schemas/components/Menu.d.cts +58 -0
- package/ai/schemas/components/Modal.d.cts +33 -0
- package/ai/schemas/components/Portal.d.cts +58 -0
- package/ai/schemas/components/Price.d.cts +41 -0
- package/ai/schemas/components/ProgressBar.d.cts +27 -0
- package/ai/schemas/components/RadioGroup.d.cts +51 -0
- package/ai/schemas/components/Rating.d.cts +33 -0
- package/ai/schemas/components/Row.d.cts +65 -0
- package/ai/schemas/components/Scroll.d.cts +51 -0
- package/ai/schemas/components/Search.d.cts +27 -0
- package/ai/schemas/components/SearchModal.d.cts +19 -0
- package/ai/schemas/components/Select.d.cts +41 -0
- package/ai/schemas/components/Separator.d.cts +59 -0
- package/ai/schemas/components/Sidebar.d.cts +25 -0
- package/ai/schemas/components/Skeleton.d.cts +33 -0
- package/ai/schemas/components/Slider.d.cts +27 -0
- package/ai/schemas/components/SliderDots.d.cts +41 -0
- package/ai/schemas/components/Snackbar.d.cts +47 -0
- package/ai/schemas/components/SnackbarManager.d.cts +22 -0
- package/ai/schemas/components/Stepper.d.cts +33 -0
- package/ai/schemas/components/Switch.cjs +1 -1
- package/ai/schemas/components/Switch.d.cts +35 -0
- package/ai/schemas/components/Switch.js +12 -13
- package/ai/schemas/components/Table.d.cts +47 -0
- package/ai/schemas/components/Tabs.d.cts +33 -0
- package/ai/schemas/components/Textarea.d.cts +60 -0
- package/ai/schemas/components/Toggle.d.cts +33 -0
- package/ai/schemas/components/Tooltip.d.cts +44 -0
- package/ai/schemas/components/Truncate.d.cts +33 -0
- package/ai/schemas/components/Typography.cjs +1 -1
- package/ai/schemas/components/Typography.d.cts +59 -0
- package/ai/schemas/components/Typography.js +1 -1
- package/ai/schemas/components/Wrapper.d.cts +35 -0
- package/ai/schemas/components.cjs +1 -1
- package/ai/schemas/components.d.cts +51 -0
- package/ai/schemas/hooks/useTheme.d.cts +47 -0
- package/ai/schemas/index.cjs +1 -1
- package/ai/schemas/index.d.cts +28 -0
- package/ai/testing_prompts/atomic_prompts.md +84 -65
- package/ai/testing_prompts/index.d.cts +1139 -0
- package/ai/testing_prompts/index.d.ts +1139 -0
- package/ai/testing_prompts/layouts_template_prompts.md +39 -33
- package/ai/testing_prompts/molecular_prompts.md +63 -21
- package/ai/testing_prompts/organisms_prompts.md +68 -66
- package/ai/validation.cjs +1 -1
- package/ai/validation.d.cts +35 -0
- package/ai/validation.d.ts +1 -1
- package/ai/validation.js +1 -1
- package/assets/icons/account_circle.cjs +1 -1
- package/assets/icons/account_circle.d.cts +5 -0
- package/assets/icons/arrow-down.cjs +1 -1
- package/assets/icons/arrow-down.d.cts +5 -0
- package/assets/icons/arrow-forward.cjs +1 -1
- package/assets/icons/arrow-forward.d.cts +5 -0
- package/assets/icons/attachment.cjs +1 -1
- package/assets/icons/attachment.d.cts +5 -0
- package/assets/icons/chat-bubble.cjs +1 -1
- package/assets/icons/chat-bubble.d.cts +5 -0
- package/assets/icons/chat.cjs +1 -1
- package/assets/icons/chat.d.cts +5 -0
- package/assets/icons/check.cjs +1 -1
- package/assets/icons/check.d.cts +5 -0
- package/assets/icons/chevron-left.cjs +1 -1
- package/assets/icons/chevron-left.d.cts +5 -0
- package/assets/icons/chevron-right.cjs +1 -1
- package/assets/icons/chevron-right.d.cts +5 -0
- package/assets/icons/content-copy.cjs +1 -1
- package/assets/icons/content-copy.d.cts +5 -0
- package/assets/icons/cross.cjs +1 -1
- package/assets/icons/cross.d.cts +5 -0
- package/assets/icons/delete_outlined.cjs +1 -1
- package/assets/icons/delete_outlined.d.cts +5 -0
- package/assets/icons/dot.cjs +1 -1
- package/assets/icons/dot.d.cts +5 -0
- package/assets/icons/edit.cjs +1 -1
- package/assets/icons/edit.d.cts +5 -0
- package/assets/icons/error_outline.cjs +1 -1
- package/assets/icons/error_outline.d.cts +5 -0
- package/assets/icons/eye.cjs +1 -1
- package/assets/icons/eye.d.cts +5 -0
- package/assets/icons/favorite.cjs +1 -1
- package/assets/icons/favorite.d.cts +5 -0
- package/assets/icons/favorite_outlined.cjs +1 -1
- package/assets/icons/favorite_outlined.d.cts +5 -0
- package/assets/icons/file-copy.cjs +1 -1
- package/assets/icons/file-copy.d.cts +5 -0
- package/assets/icons/filter.cjs +1 -1
- package/assets/icons/filter.d.cts +5 -0
- package/assets/icons/folder.cjs +1 -1
- package/assets/icons/folder.d.cts +5 -0
- package/assets/icons/folderOpen.cjs +1 -1
- package/assets/icons/folderOpen.d.cts +5 -0
- package/assets/icons/fullscreen-exit.cjs +1 -1
- package/assets/icons/fullscreen-exit.d.cts +4 -0
- package/assets/icons/fullscreen.cjs +1 -1
- package/assets/icons/fullscreen.d.cts +4 -0
- package/assets/icons/home.cjs +1 -1
- package/assets/icons/home.d.cts +5 -0
- package/assets/icons/keyboard_arrow_down.cjs +1 -1
- package/assets/icons/keyboard_arrow_down.d.cts +5 -0
- package/assets/icons/keyboard_arrow_up.cjs +1 -1
- package/assets/icons/keyboard_arrow_up.d.cts +5 -0
- package/assets/icons/local_shipping.cjs +1 -1
- package/assets/icons/local_shipping.d.cts +5 -0
- package/assets/icons/mic.cjs +1 -1
- package/assets/icons/mic.d.cts +5 -0
- package/assets/icons/minus.cjs +1 -1
- package/assets/icons/minus.d.cts +5 -0
- package/assets/icons/mobile_menu_button.cjs +1 -1
- package/assets/icons/mobile_menu_button.d.cts +5 -0
- package/assets/icons/paymentCard.cjs +1 -1
- package/assets/icons/paymentCard.d.cts +5 -0
- package/assets/icons/phone.cjs +1 -1
- package/assets/icons/phone.d.cts +5 -0
- package/assets/icons/plus.cjs +1 -1
- package/assets/icons/plus.d.cts +5 -0
- package/assets/icons/portrait.cjs +1 -1
- package/assets/icons/portrait.d.cts +5 -0
- package/assets/icons/processing.cjs +1 -1
- package/assets/icons/processing.d.cts +5 -0
- package/assets/icons/ruler.cjs +1 -1
- package/assets/icons/ruler.d.cts +5 -0
- package/assets/icons/search.cjs +1 -1
- package/assets/icons/search.d.cts +5 -0
- package/assets/icons/send.cjs +1 -1
- package/assets/icons/send.d.cts +5 -0
- package/assets/icons/shopping_bag.cjs +1 -1
- package/assets/icons/shopping_bag.d.cts +5 -0
- package/assets/icons/slash.cjs +1 -1
- package/assets/icons/slash.d.cts +5 -0
- package/assets/icons/star.cjs +1 -1
- package/assets/icons/star.d.cts +5 -0
- package/assets/icons/starHalf.cjs +1 -1
- package/assets/icons/starHalf.d.cts +5 -0
- package/assets/icons/starOutlined.cjs +1 -1
- package/assets/icons/starOutlined.d.cts +5 -0
- package/assets/icons/thumb-down-filled.cjs +1 -1
- package/assets/icons/thumb-down-filled.d.cts +5 -0
- package/assets/icons/thumb-down.cjs +1 -1
- package/assets/icons/thumb-down.d.cts +5 -0
- package/assets/icons/thumb-up-filled.cjs +1 -1
- package/assets/icons/thumb-up-filled.d.cts +5 -0
- package/assets/icons/thumb-up.cjs +1 -1
- package/assets/icons/thumb-up.d.cts +5 -0
- package/assets/icons/toast_error.cjs +1 -1
- package/assets/icons/toast_error.d.cts +5 -0
- package/assets/icons/toast_info.cjs +1 -1
- package/assets/icons/toast_info.d.cts +5 -0
- package/assets/icons/toast_success.cjs +1 -1
- package/assets/icons/toast_success.d.cts +5 -0
- package/assets/icons/toast_warning.cjs +1 -1
- package/assets/icons/toast_warning.d.cts +5 -0
- package/assets/icons/upload.cjs +1 -1
- package/assets/icons/upload.d.cts +5 -0
- package/assets/icons/volume-up.cjs +1 -1
- package/assets/icons/volume-up.d.cts +5 -0
- package/assets/icons/wifiTethering.cjs +1 -1
- package/assets/icons/wifiTethering.d.cts +5 -0
- package/assets/index.d.cts +55 -0
- package/assets/index.d.ts +55 -55
- package/components/atoms/Avatar/Avatar.cjs +1 -1
- package/components/atoms/Avatar/Avatar.d.cts +9 -0
- package/components/atoms/Avatar/Avatar.d.ts +2 -2
- package/components/atoms/Avatar/Avatar.types.d.cts +45 -0
- package/components/atoms/Avatar/Avatar.types.d.ts +3 -2
- package/components/atoms/Avatar/AvatarStyled.cjs +1 -1
- package/components/atoms/Avatar/AvatarStyled.d.cts +6 -0
- package/components/atoms/Avatar/AvatarStyled.d.ts +1 -1
- package/components/atoms/Avatar/AvatarStyled.js +13 -14
- package/components/atoms/Avatar/constants.d.cts +3 -0
- package/components/atoms/Avatar/index.d.cts +2 -0
- package/components/atoms/Avatar/index.d.ts +2 -2
- package/components/atoms/Badge/Badge.cjs +1 -1
- package/components/atoms/Badge/Badge.d.cts +2 -0
- package/components/atoms/Badge/Badge.d.ts +1 -1
- package/components/atoms/Badge/Badge.types.d.cts +20 -0
- package/components/atoms/Badge/Badge.types.d.ts +2 -2
- package/components/atoms/Badge/BadgeStyled.cjs +1 -1
- package/components/atoms/Badge/BadgeStyled.d.cts +5 -0
- package/components/atoms/Badge/BadgeStyled.d.ts +1 -1
- package/components/atoms/Badge/constants.d.cts +1 -0
- package/components/atoms/Badge/index.d.cts +2 -0
- package/components/atoms/Badge/index.d.ts +2 -2
- package/components/atoms/Box/Box.cjs +1 -1
- package/components/atoms/Box/Box.d.cts +2 -0
- package/components/atoms/Box/Box.d.ts +1 -1
- package/components/atoms/Box/Box.types.d.cts +18 -0
- package/components/atoms/Box/Box.types.d.ts +2 -2
- package/components/atoms/Box/BoxStyled.cjs +1 -1
- package/components/atoms/Box/BoxStyled.d.cts +2 -0
- package/components/atoms/Box/BoxStyled.d.ts +1 -1
- package/components/atoms/Box/constants.d.cts +1 -0
- package/components/atoms/Box/index.d.cts +2 -0
- package/components/atoms/Box/index.d.ts +2 -2
- package/components/atoms/Button/Button.cjs +1 -1
- package/components/atoms/Button/Button.d.cts +2 -0
- package/components/atoms/Button/Button.d.ts +1 -1
- package/components/atoms/Button/Button.js +6 -5
- package/components/atoms/Button/Button.types.d.cts +29 -0
- package/components/atoms/Button/Button.types.d.ts +2 -2
- package/components/atoms/Button/ButtonStyled.cjs +1 -1
- package/components/atoms/Button/ButtonStyled.d.cts +5 -0
- package/components/atoms/Button/ButtonStyled.d.ts +1 -1
- package/components/atoms/Button/constants.d.cts +1 -0
- package/components/atoms/Button/index.d.cts +2 -0
- package/components/atoms/Button/index.d.ts +2 -2
- package/components/atoms/Checkbox/Checkbox.cjs +1 -1
- package/components/atoms/Checkbox/Checkbox.d.cts +2 -0
- package/components/atoms/Checkbox/Checkbox.d.ts +1 -1
- package/components/atoms/Checkbox/Checkbox.types.d.cts +25 -0
- package/components/atoms/Checkbox/Checkbox.types.d.ts +1 -1
- package/components/atoms/Checkbox/CheckboxStyled.cjs +1 -1
- package/components/atoms/Checkbox/CheckboxStyled.d.cts +4 -0
- package/components/atoms/Checkbox/CheckboxStyled.d.ts +1 -1
- package/components/atoms/Checkbox/constants.d.cts +1 -0
- package/components/atoms/Checkbox/index.d.cts +2 -0
- package/components/atoms/Checkbox/index.d.ts +2 -2
- package/components/atoms/Icon/Icon.cjs +1 -1
- package/components/atoms/Icon/Icon.d.cts +4 -0
- package/components/atoms/Icon/Icon.d.ts +1 -1
- package/components/atoms/Icon/Icon.types.d.cts +12 -0
- package/components/atoms/Icon/Icon.types.d.ts +2 -2
- package/components/atoms/Icon/constants.cjs +1 -1
- package/components/atoms/Icon/constants.d.cts +276 -0
- package/components/atoms/Icon/index.d.cts +2 -0
- package/components/atoms/Icon/index.d.ts +2 -2
- package/components/atoms/Image/Image.cjs +1 -1
- package/components/atoms/Image/Image.d.cts +2 -0
- package/components/atoms/Image/Image.d.ts +1 -1
- package/components/atoms/Image/Image.types.d.cts +34 -0
- package/components/atoms/Image/Image.types.d.ts +1 -1
- package/components/atoms/Image/ImageStyled.cjs +1 -1
- package/components/atoms/Image/ImageStyled.d.cts +5 -0
- package/components/atoms/Image/ImageStyled.d.ts +1 -1
- package/components/atoms/Image/constants.d.cts +1 -0
- package/components/atoms/Image/index.d.cts +2 -0
- package/components/atoms/Image/index.d.ts +2 -2
- package/components/atoms/Input/Input.cjs +1 -1
- package/components/atoms/Input/Input.d.cts +2 -0
- package/components/atoms/Input/Input.d.ts +2 -2
- package/components/atoms/Input/Input.types.d.cts +74 -0
- package/components/atoms/Input/Input.types.d.ts +2 -2
- package/components/atoms/Input/InputAdornment/InputAdornment.cjs +1 -1
- package/components/atoms/Input/InputAdornment/InputAdornment.d.cts +2 -0
- package/components/atoms/Input/InputAdornment/InputAdornment.d.ts +1 -1
- package/components/atoms/Input/InputAdornment/InputAdornmentStyled.cjs +1 -1
- package/components/atoms/Input/InputAdornment/InputAdornmentStyled.d.cts +2 -0
- package/components/atoms/Input/InputAdornment/InputAdornmentStyled.d.ts +1 -1
- package/components/atoms/Input/InputAdornment/constants.d.cts +1 -0
- package/components/atoms/Input/InputAdornment/index.d.cts +1 -0
- package/components/atoms/Input/InputAdornment/index.d.ts +1 -1
- package/components/atoms/Input/InputHelper/InputHelper.cjs +1 -1
- package/components/atoms/Input/InputHelper/InputHelper.d.cts +2 -0
- package/components/atoms/Input/InputHelper/InputHelper.d.ts +1 -1
- package/components/atoms/Input/InputHelper/InputHelperStyled.cjs +1 -1
- package/components/atoms/Input/InputHelper/InputHelperStyled.d.cts +2 -0
- package/components/atoms/Input/InputHelper/InputHelperStyled.d.ts +1 -1
- package/components/atoms/Input/InputHelper/constants.d.cts +1 -0
- package/components/atoms/Input/InputHelper/index.d.cts +1 -0
- package/components/atoms/Input/InputHelper/index.d.ts +1 -1
- package/components/atoms/Input/InputStyled.cjs +1 -1
- package/components/atoms/Input/InputStyled.d.cts +2 -0
- package/components/atoms/Input/InputStyled.d.ts +1 -1
- package/components/atoms/Input/InputWrapper/InputWrapper.cjs +1 -1
- package/components/atoms/Input/InputWrapper/InputWrapper.d.cts +2 -0
- package/components/atoms/Input/InputWrapper/InputWrapper.d.ts +1 -1
- package/components/atoms/Input/InputWrapper/InputWrapperStyled.cjs +1 -1
- package/components/atoms/Input/InputWrapper/InputWrapperStyled.d.cts +2 -0
- package/components/atoms/Input/InputWrapper/InputWrapperStyled.d.ts +1 -1
- package/components/atoms/Input/InputWrapper/constants.d.cts +1 -0
- package/components/atoms/Input/InputWrapper/index.d.cts +1 -0
- package/components/atoms/Input/InputWrapper/index.d.ts +1 -1
- package/components/atoms/Input/constants.cjs +1 -1
- package/components/atoms/Input/constants.d.cts +11 -0
- package/components/atoms/Input/constants.d.ts +1 -1
- package/components/atoms/Input/index.d.cts +2 -0
- package/components/atoms/Input/index.d.ts +2 -2
- package/components/atoms/Input/useInputHandlers.cjs +1 -1
- package/components/atoms/Input/useInputHandlers.d.cts +17 -0
- package/components/atoms/InputFile/InputFile.cjs +1 -1
- package/components/atoms/InputFile/InputFile.d.cts +6 -0
- package/components/atoms/InputFile/InputFile.d.ts +1 -1
- package/components/atoms/InputFile/InputFile.js +41 -43
- package/components/atoms/InputFile/InputFile.types.d.cts +18 -0
- package/components/atoms/InputFile/InputFile.types.d.ts +1 -1
- package/components/atoms/InputFile/InputFileStyled.cjs +1 -1
- package/components/atoms/InputFile/InputFileStyled.d.cts +3 -0
- package/components/atoms/InputFile/InputFileStyled.d.ts +1 -1
- package/components/atoms/InputFile/constants.d.cts +3 -0
- package/components/atoms/InputFile/index.d.cts +2 -0
- package/components/atoms/InputFile/index.d.ts +2 -2
- package/components/atoms/Label/Label.cjs +1 -1
- package/components/atoms/Label/Label.d.cts +2 -0
- package/components/atoms/Label/Label.d.ts +1 -1
- package/components/atoms/Label/Label.types.d.cts +10 -0
- package/components/atoms/Label/Label.types.d.ts +1 -1
- package/components/atoms/Label/LabelStyled.cjs +1 -1
- package/components/atoms/Label/LabelStyled.d.cts +2 -0
- package/components/atoms/Label/LabelStyled.d.ts +1 -1
- package/components/atoms/Label/constants.d.cts +1 -0
- package/components/atoms/Label/index.d.cts +2 -0
- package/components/atoms/Label/index.d.ts +2 -2
- package/components/atoms/Link/Link.cjs +1 -1
- package/components/atoms/Link/Link.d.cts +2 -0
- package/components/atoms/Link/Link.d.ts +1 -1
- package/components/atoms/Link/Link.js +15 -14
- package/components/atoms/Link/Link.types.d.cts +28 -0
- package/components/atoms/Link/Link.types.d.ts +4 -2
- package/components/atoms/Link/LinkStyled.cjs +1 -1
- package/components/atoms/Link/LinkStyled.d.cts +2 -0
- package/components/atoms/Link/LinkStyled.d.ts +1 -1
- package/components/atoms/Link/LinkStyled.js +19 -18
- package/components/atoms/Link/constants.d.cts +1 -0
- package/components/atoms/Link/index.d.cts +2 -0
- package/components/atoms/Link/index.d.ts +2 -2
- package/components/atoms/Loader/Loader.cjs +1 -1
- package/components/atoms/Loader/Loader.d.cts +2 -0
- package/components/atoms/Loader/Loader.d.ts +1 -1
- package/components/atoms/Loader/Loader.types.d.cts +20 -0
- package/components/atoms/Loader/Loader.types.d.ts +2 -2
- package/components/atoms/Loader/LoaderStyled.cjs +1 -1
- package/components/atoms/Loader/LoaderStyled.d.cts +2 -0
- package/components/atoms/Loader/LoaderStyled.d.ts +1 -1
- package/components/atoms/Loader/constants.cjs +1 -1
- package/components/atoms/Loader/constants.d.cts +2 -0
- package/components/atoms/Loader/index.d.cts +2 -0
- package/components/atoms/Loader/index.d.ts +2 -2
- package/components/atoms/Loader/utils.cjs +1 -1
- package/components/atoms/Loader/utils.d.cts +11 -0
- package/components/atoms/Loader/utils.js +3 -3
- package/components/atoms/Select/Select.cjs +1 -1
- package/components/atoms/Select/Select.d.cts +2 -0
- package/components/atoms/Select/Select.d.ts +1 -1
- package/components/atoms/Select/Select.types.d.cts +75 -0
- package/components/atoms/Select/Select.types.d.ts +3 -3
- package/components/atoms/Select/SelectStyled.cjs +1 -1
- package/components/atoms/Select/SelectStyled.d.cts +7 -0
- package/components/atoms/Select/SelectStyled.d.ts +1 -1
- package/components/atoms/Select/constants.d.cts +2 -0
- package/components/atoms/Select/hooks/index.d.cts +1 -0
- package/components/atoms/Select/hooks/index.d.ts +1 -1
- package/components/atoms/Select/hooks/useSelectContext.cjs +1 -1
- package/components/atoms/Select/hooks/useSelectContext.d.cts +3 -0
- package/components/atoms/Select/hooks/useSelectContext.d.ts +1 -1
- package/components/atoms/Select/index.d.cts +3 -0
- package/components/atoms/Select/index.d.ts +3 -3
- package/components/atoms/Separator/Separator.cjs +1 -1
- package/components/atoms/Separator/Separator.d.cts +2 -0
- package/components/atoms/Separator/Separator.d.ts +1 -1
- package/components/atoms/Separator/Separator.types.d.cts +34 -0
- package/components/atoms/Separator/Separator.types.d.ts +3 -3
- package/components/atoms/Separator/SeparatorStyled.cjs +1 -1
- package/components/atoms/Separator/SeparatorStyled.d.cts +4 -0
- package/components/atoms/Separator/SeparatorStyled.d.ts +1 -1
- package/components/atoms/Separator/constants.d.cts +1 -0
- package/components/atoms/Separator/index.d.cts +2 -0
- package/components/atoms/Separator/index.d.ts +2 -2
- package/components/atoms/Skeleton/Skeleton.cjs +1 -1
- package/components/atoms/Skeleton/Skeleton.d.cts +2 -0
- package/components/atoms/Skeleton/Skeleton.d.ts +1 -1
- package/components/atoms/Skeleton/Skeleton.types.d.cts +19 -0
- package/components/atoms/Skeleton/Skeleton.types.d.ts +2 -2
- package/components/atoms/Skeleton/SkeletonStyled.cjs +1 -1
- package/components/atoms/Skeleton/SkeletonStyled.d.cts +2 -0
- package/components/atoms/Skeleton/SkeletonStyled.d.ts +1 -1
- package/components/atoms/Skeleton/constants.cjs +1 -1
- package/components/atoms/Skeleton/constants.d.cts +2 -0
- package/components/atoms/Skeleton/index.d.cts +2 -0
- package/components/atoms/Skeleton/index.d.ts +2 -2
- package/components/atoms/Slider/Slider.cjs +1 -1
- package/components/atoms/Slider/Slider.d.cts +20 -0
- package/components/atoms/Slider/Slider.d.ts +1 -1
- package/components/atoms/Slider/Slider.types.d.cts +17 -0
- package/components/atoms/Slider/Slider.types.d.ts +1 -1
- package/components/atoms/Slider/SliderStyled.cjs +1 -1
- package/components/atoms/Slider/SliderStyled.d.cts +2 -0
- package/components/atoms/Slider/SliderStyled.d.ts +1 -1
- package/components/atoms/Slider/constants.d.cts +3 -0
- package/components/atoms/Slider/index.d.cts +3 -0
- package/components/atoms/Slider/index.d.ts +3 -3
- package/components/atoms/SliderDots/SliderDots.cjs +1 -1
- package/components/atoms/SliderDots/SliderDots.d.cts +2 -0
- package/components/atoms/SliderDots/SliderDots.d.ts +1 -1
- package/components/atoms/SliderDots/SliderDots.types.d.cts +7 -0
- package/components/atoms/SliderDots/SliderDots.types.d.ts +1 -1
- package/components/atoms/SliderDots/SliderDotsStyled.cjs +1 -1
- package/components/atoms/SliderDots/SliderDotsStyled.d.cts +2 -0
- package/components/atoms/SliderDots/SliderDotsStyled.d.ts +1 -1
- package/components/atoms/SliderDots/constants.d.cts +1 -0
- package/components/atoms/SliderDots/index.d.cts +2 -0
- package/components/atoms/SliderDots/index.d.ts +2 -2
- package/components/atoms/Switch/Switch.cjs +1 -1
- package/components/atoms/Switch/Switch.d.cts +2 -0
- package/components/atoms/Switch/Switch.d.ts +1 -1
- package/components/atoms/Switch/Switch.types.d.cts +22 -0
- package/components/atoms/Switch/Switch.types.d.ts +1 -1
- package/components/atoms/Switch/SwitchStyled.cjs +1 -1
- package/components/atoms/Switch/SwitchStyled.d.cts +6 -0
- package/components/atoms/Switch/SwitchStyled.d.ts +1 -1
- package/components/atoms/Switch/constants.d.cts +1 -0
- package/components/atoms/Switch/index.d.cts +2 -0
- package/components/atoms/Switch/index.d.ts +2 -2
- package/components/atoms/Textarea/Textarea.cjs +1 -1
- package/components/atoms/Textarea/Textarea.d.cts +2 -0
- package/components/atoms/Textarea/Textarea.d.ts +1 -1
- package/components/atoms/Textarea/Textarea.types.d.cts +36 -0
- package/components/atoms/Textarea/Textarea.types.d.ts +2 -2
- package/components/atoms/Textarea/TextareaStyled.cjs +1 -1
- package/components/atoms/Textarea/TextareaStyled.d.cts +2 -0
- package/components/atoms/Textarea/TextareaStyled.d.ts +1 -1
- package/components/atoms/Textarea/constants.d.cts +1 -0
- package/components/atoms/Textarea/hooks/index.d.cts +2 -0
- package/components/atoms/Textarea/hooks/index.d.ts +2 -2
- package/components/atoms/Textarea/hooks/useDynamicHeightAdjustment.cjs +1 -1
- package/components/atoms/Textarea/hooks/useDynamicHeightAdjustment.d.cts +2 -0
- package/components/atoms/Textarea/hooks/useResizeObserver.cjs +1 -1
- package/components/atoms/Textarea/hooks/useResizeObserver.d.cts +2 -0
- package/components/atoms/Textarea/hooks/useResizeObserver.d.ts +1 -1
- package/components/atoms/Textarea/index.d.cts +2 -0
- package/components/atoms/Textarea/index.d.ts +2 -2
- package/components/atoms/Toggle/Toggle.cjs +1 -1
- package/components/atoms/Toggle/Toggle.d.cts +2 -0
- package/components/atoms/Toggle/Toggle.d.ts +1 -1
- package/components/atoms/Toggle/Toggle.types.d.cts +16 -0
- package/components/atoms/Toggle/Toggle.types.d.ts +1 -1
- package/components/atoms/Toggle/ToggleStyled.cjs +1 -1
- package/components/atoms/Toggle/ToggleStyled.d.cts +2 -0
- package/components/atoms/Toggle/ToggleStyled.d.ts +1 -1
- package/components/atoms/Toggle/constants.d.cts +1 -0
- package/components/atoms/Toggle/index.d.cts +2 -0
- package/components/atoms/Toggle/index.d.ts +2 -2
- package/components/atoms/Truncate/Truncate.cjs +1 -1
- package/components/atoms/Truncate/Truncate.d.cts +2 -0
- package/components/atoms/Truncate/Truncate.d.ts +1 -1
- package/components/atoms/Truncate/Truncate.types.d.cts +12 -0
- package/components/atoms/Truncate/Truncate.types.d.ts +1 -1
- package/components/atoms/Truncate/TruncateStyled.cjs +1 -1
- package/components/atoms/Truncate/TruncateStyled.d.cts +2 -0
- package/components/atoms/Truncate/TruncateStyled.d.ts +1 -1
- package/components/atoms/Truncate/constants.d.cts +1 -0
- package/components/atoms/Truncate/index.d.cts +2 -0
- package/components/atoms/Truncate/index.d.ts +2 -2
- package/components/atoms/Typography/Typography.cjs +1 -1
- package/components/atoms/Typography/Typography.d.cts +2 -0
- package/components/atoms/Typography/Typography.d.ts +1 -1
- package/components/atoms/Typography/Typography.types.d.cts +20 -0
- package/components/atoms/Typography/Typography.types.d.ts +2 -2
- package/components/atoms/Typography/TypographyStyled.cjs +1 -1
- package/components/atoms/Typography/TypographyStyled.d.cts +2 -0
- package/components/atoms/Typography/TypographyStyled.d.ts +1 -1
- package/components/atoms/Typography/TypographyStyled.js +8 -16
- package/components/atoms/Typography/constants.d.cts +1 -0
- package/components/atoms/Typography/index.d.cts +2 -0
- package/components/atoms/Typography/index.d.ts +2 -2
- package/components/atoms/Wrapper/Wrapper.cjs +1 -1
- package/components/atoms/Wrapper/Wrapper.d.cts +3 -0
- package/components/atoms/Wrapper/Wrapper.d.ts +1 -1
- package/components/atoms/Wrapper/Wrapper.types.d.cts +11 -0
- package/components/atoms/Wrapper/Wrapper.types.d.ts +2 -2
- package/components/atoms/Wrapper/WrapperStyled.cjs +1 -1
- package/components/atoms/Wrapper/WrapperStyled.d.cts +2 -0
- package/components/atoms/Wrapper/WrapperStyled.d.ts +1 -1
- package/components/atoms/Wrapper/constants.d.cts +1 -0
- package/components/atoms/Wrapper/index.d.cts +2 -0
- package/components/atoms/Wrapper/index.d.ts +2 -2
- package/components/atoms/index.d.cts +24 -0
- package/components/atoms/index.d.ts +24 -24
- package/components/atoms/types/events.types.d.cts +7 -0
- package/components/atoms/types/events.types.d.ts +1 -1
- package/components/atoms/types/index.types.d.cts +2 -0
- package/components/atoms/types/index.types.d.ts +2 -2
- package/components/atoms/types/roles.types.d.cts +4 -0
- package/components/index.d.cts +6 -0
- package/components/index.d.ts +6 -6
- package/components/index.types.d.cts +130 -0
- package/components/index.types.d.ts +2 -2
- package/components/layout/ChatContainer/ChatContainer.cjs +1 -1
- package/components/layout/ChatContainer/ChatContainer.d.cts +2 -0
- package/components/layout/ChatContainer/ChatContainer.d.ts +1 -1
- package/components/layout/ChatContainer/ChatContainer.types.d.cts +28 -0
- package/components/layout/ChatContainer/ChatContainer.types.d.ts +1 -1
- package/components/layout/ChatContainer/ChatContainerStyled.cjs +1 -1
- package/components/layout/ChatContainer/ChatContainerStyled.d.cts +11 -0
- package/components/layout/ChatContainer/ChatContainerStyled.d.ts +1 -1
- package/components/layout/ChatContainer/constants.d.cts +1 -0
- package/components/layout/ChatContainer/index.d.cts +2 -0
- package/components/layout/ChatContainer/index.d.ts +2 -2
- package/components/layout/Column/Column.cjs +1 -1
- package/components/layout/Column/Column.d.cts +2 -0
- package/components/layout/Column/Column.d.ts +1 -1
- package/components/layout/Column/Column.types.d.cts +8 -0
- package/components/layout/Column/Column.types.d.ts +1 -1
- package/components/layout/Column/ColumnStyled.cjs +1 -1
- package/components/layout/Column/ColumnStyled.d.cts +2 -0
- package/components/layout/Column/ColumnStyled.d.ts +1 -1
- package/components/layout/Column/constants.d.cts +1 -0
- package/components/layout/Column/index.d.cts +2 -0
- package/components/layout/Column/index.d.ts +2 -2
- package/components/layout/FlexContainer/FlexContainer.cjs +1 -1
- package/components/layout/FlexContainer/FlexContainer.d.cts +2 -0
- package/components/layout/FlexContainer/FlexContainer.d.ts +1 -1
- package/components/layout/FlexContainer/FlexContainer.types.d.cts +6 -0
- package/components/layout/FlexContainer/FlexContainer.types.d.ts +1 -1
- package/components/layout/FlexContainer/FlexContainerStyled.cjs +1 -1
- package/components/layout/FlexContainer/FlexContainerStyled.d.cts +2 -0
- package/components/layout/FlexContainer/FlexContainerStyled.d.ts +1 -1
- package/components/layout/FlexContainer/constants.d.cts +1 -0
- package/components/layout/FlexContainer/index.d.cts +2 -0
- package/components/layout/FlexContainer/index.d.ts +2 -2
- package/components/layout/FlexContainer/utils.d.cts +2 -0
- package/components/layout/FlexContainer/utils.d.ts +1 -1
- package/components/layout/Portal/Portal.cjs +1 -1
- package/components/layout/Portal/Portal.d.cts +2 -0
- package/components/layout/Portal/Portal.d.ts +1 -1
- package/components/layout/Portal/Portal.js +5 -3
- package/components/layout/Portal/Portal.types.d.cts +10 -0
- package/components/layout/Portal/Portal.types.d.ts +2 -2
- package/components/layout/Portal/constants.d.cts +1 -0
- package/components/layout/Portal/index.d.cts +2 -0
- package/components/layout/Portal/index.d.ts +2 -2
- package/components/layout/Row/Row.cjs +1 -1
- package/components/layout/Row/Row.d.cts +3 -0
- package/components/layout/Row/Row.d.ts +1 -1
- package/components/layout/Row/Row.types.d.cts +8 -0
- package/components/layout/Row/Row.types.d.ts +1 -1
- package/components/layout/Row/RowStyled.cjs +1 -1
- package/components/layout/Row/RowStyled.d.cts +2 -0
- package/components/layout/Row/RowStyled.d.ts +1 -1
- package/components/layout/Row/constants.d.cts +1 -0
- package/components/layout/Row/index.d.cts +2 -0
- package/components/layout/Row/index.d.ts +2 -2
- package/components/layout/Scroll/Scroll.cjs +1 -1
- package/components/layout/Scroll/Scroll.d.cts +25 -0
- package/components/layout/Scroll/Scroll.d.ts +1 -1
- package/components/layout/Scroll/Scroll.types.d.cts +24 -0
- package/components/layout/Scroll/Scroll.types.d.ts +1 -1
- package/components/layout/Scroll/ScrollBar.cjs +1 -1
- package/components/layout/Scroll/ScrollBar.d.cts +2 -0
- package/components/layout/Scroll/ScrollBar.d.ts +1 -1
- package/components/layout/Scroll/ScrollStyled.cjs +1 -1
- package/components/layout/Scroll/ScrollStyled.d.cts +6 -0
- package/components/layout/Scroll/ScrollStyled.d.ts +1 -1
- package/components/layout/Scroll/constants.d.cts +5 -0
- package/components/layout/Scroll/index.d.cts +2 -0
- package/components/layout/Scroll/index.d.ts +2 -2
- package/components/layout/Scroll/utils.d.cts +5 -0
- package/components/layout/Scroll/utils.d.ts +1 -1
- package/components/layout/index.d.cts +6 -0
- package/components/layout/index.d.ts +6 -6
- package/components/molecules/Accordion/Accordion.cjs +1 -1
- package/components/molecules/Accordion/Accordion.d.cts +2 -0
- package/components/molecules/Accordion/Accordion.d.ts +1 -1
- package/components/molecules/Accordion/Accordion.types.d.cts +31 -0
- package/components/molecules/Accordion/Accordion.types.d.ts +1 -1
- package/components/molecules/Accordion/AccordionContent/AccordionContent.cjs +1 -1
- package/components/molecules/Accordion/AccordionContent/AccordionContent.d.cts +2 -0
- package/components/molecules/Accordion/AccordionContent/AccordionContent.d.ts +1 -1
- package/components/molecules/Accordion/AccordionContent/index.d.cts +1 -0
- package/components/molecules/Accordion/AccordionContent/index.d.ts +1 -1
- package/components/molecules/Accordion/AccordionHeader/AccordionHeader.cjs +1 -1
- package/components/molecules/Accordion/AccordionHeader/AccordionHeader.d.cts +2 -0
- package/components/molecules/Accordion/AccordionHeader/AccordionHeader.d.ts +1 -1
- package/components/molecules/Accordion/AccordionHeader/index.d.cts +1 -0
- package/components/molecules/Accordion/AccordionHeader/index.d.ts +1 -1
- package/components/molecules/Accordion/AccordionItem/AccordionItem.cjs +1 -1
- package/components/molecules/Accordion/AccordionItem/AccordionItem.d.cts +2 -0
- package/components/molecules/Accordion/AccordionItem/AccordionItem.d.ts +1 -1
- package/components/molecules/Accordion/AccordionItem/index.d.cts +1 -0
- package/components/molecules/Accordion/AccordionItem/index.d.ts +1 -1
- package/components/molecules/Accordion/AccordionStyled.cjs +1 -1
- package/components/molecules/Accordion/AccordionStyled.d.cts +5 -0
- package/components/molecules/Accordion/AccordionStyled.d.ts +1 -1
- package/components/molecules/Accordion/constants.d.cts +10 -0
- package/components/molecules/Accordion/hooks/index.d.cts +1 -0
- package/components/molecules/Accordion/hooks/index.d.ts +1 -1
- package/components/molecules/Accordion/hooks/useAccordion.cjs +1 -1
- package/components/molecules/Accordion/hooks/useAccordion.d.cts +3 -0
- package/components/molecules/Accordion/hooks/useAccordion.d.ts +1 -1
- package/components/molecules/Accordion/index.d.cts +5 -0
- package/components/molecules/Accordion/index.d.ts +5 -5
- package/components/molecules/AttachmentFile/AttachmentFile.cjs +1 -1
- package/components/molecules/AttachmentFile/AttachmentFile.d.cts +2 -0
- package/components/molecules/AttachmentFile/AttachmentFile.d.ts +1 -1
- package/components/molecules/AttachmentFile/AttachmentFile.js +45 -53
- package/components/molecules/AttachmentFile/AttachmentFile.types.d.cts +16 -0
- package/components/molecules/AttachmentFile/AttachmentFile.types.d.ts +1 -1
- package/components/molecules/AttachmentFile/AttachmentFileStyled.cjs +1 -1
- package/components/molecules/AttachmentFile/AttachmentFileStyled.d.cts +14 -0
- package/components/molecules/AttachmentFile/AttachmentFileStyled.d.ts +3 -4
- package/components/molecules/AttachmentFile/AttachmentFileStyled.js +2 -8
- package/components/molecules/AttachmentFile/constants.d.cts +1 -0
- package/components/molecules/AttachmentFile/index.d.cts +2 -0
- package/components/molecules/AttachmentFile/index.d.ts +2 -2
- package/components/molecules/AvatarUser/AvatarUser.cjs +1 -1
- package/components/molecules/AvatarUser/AvatarUser.d.cts +2 -0
- package/components/molecules/AvatarUser/AvatarUser.d.ts +1 -1
- package/components/molecules/AvatarUser/AvatarUser.js +29 -28
- package/components/molecules/AvatarUser/AvatarUserStyled.cjs +1 -1
- package/components/molecules/AvatarUser/AvatarUserStyled.d.cts +2 -0
- package/components/molecules/AvatarUser/AvatarUserStyled.d.ts +1 -1
- package/components/molecules/AvatarUser/constants.d.cts +1 -0
- package/components/molecules/AvatarUser/index.d.cts +1 -0
- package/components/molecules/AvatarUser/index.d.ts +1 -1
- package/components/molecules/Breadcrumbs/Breadcrumbs.cjs +1 -1
- package/components/molecules/Breadcrumbs/Breadcrumbs.d.cts +2 -0
- package/components/molecules/Breadcrumbs/Breadcrumbs.d.ts +1 -1
- package/components/molecules/Breadcrumbs/Breadcrumbs.types.d.cts +14 -0
- package/components/molecules/Breadcrumbs/Breadcrumbs.types.d.ts +1 -1
- package/components/molecules/Breadcrumbs/BreadcrumbsStyled.cjs +1 -1
- package/components/molecules/Breadcrumbs/BreadcrumbsStyled.d.cts +6 -0
- package/components/molecules/Breadcrumbs/BreadcrumbsStyled.d.ts +1 -1
- package/components/molecules/Breadcrumbs/constants.d.cts +1 -0
- package/components/molecules/Breadcrumbs/index.d.cts +2 -0
- package/components/molecules/Breadcrumbs/index.d.ts +2 -2
- package/components/molecules/Counter/Counter.cjs +1 -1
- package/components/molecules/Counter/Counter.d.cts +2 -0
- package/components/molecules/Counter/Counter.d.ts +1 -1
- package/components/molecules/Counter/Counter.types.d.cts +15 -0
- package/components/molecules/Counter/Counter.types.d.ts +2 -2
- package/components/molecules/Counter/CounterStyled.cjs +1 -1
- package/components/molecules/Counter/CounterStyled.d.cts +3 -0
- package/components/molecules/Counter/CounterStyled.d.ts +1 -1
- package/components/molecules/Counter/constants.d.cts +5 -0
- package/components/molecules/Counter/index.d.cts +2 -0
- package/components/molecules/Counter/index.d.ts +2 -2
- package/components/molecules/Dropdown/Dropdown.cjs +1 -1
- package/components/molecules/Dropdown/Dropdown.d.cts +3 -0
- package/components/molecules/Dropdown/Dropdown.d.ts +1 -1
- package/components/molecules/Dropdown/Dropdown.types.d.cts +8 -0
- package/components/molecules/Dropdown/Dropdown.types.d.ts +2 -2
- package/components/molecules/Dropdown/DropdownStyled.cjs +1 -1
- package/components/molecules/Dropdown/DropdownStyled.d.cts +2 -0
- package/components/molecules/Dropdown/DropdownStyled.d.ts +1 -1
- package/components/molecules/Dropdown/constants.d.cts +5 -0
- package/components/molecules/Dropdown/hooks/index.d.cts +1 -0
- package/components/molecules/Dropdown/hooks/index.d.ts +1 -1
- package/components/molecules/Dropdown/hooks/useDropdown.cjs +1 -1
- package/components/molecules/Dropdown/hooks/useDropdown.d.cts +3 -0
- package/components/molecules/Dropdown/hooks/useDropdown.d.ts +1 -1
- package/components/molecules/Dropdown/index.d.cts +3 -0
- package/components/molecules/Dropdown/index.d.ts +3 -3
- package/components/molecules/DropdownItem/DropdownItem.cjs +1 -1
- package/components/molecules/DropdownItem/DropdownItem.d.cts +2 -0
- package/components/molecules/DropdownItem/DropdownItem.d.ts +1 -1
- package/components/molecules/DropdownItem/DropdownItem.types.d.cts +9 -0
- package/components/molecules/DropdownItem/DropdownItem.types.d.ts +1 -1
- package/components/molecules/DropdownItem/DropdownItemStyled.cjs +1 -1
- package/components/molecules/DropdownItem/DropdownItemStyled.d.cts +2 -0
- package/components/molecules/DropdownItem/DropdownItemStyled.d.ts +1 -1
- package/components/molecules/DropdownItem/constants.d.cts +1 -0
- package/components/molecules/DropdownItem/index.d.cts +2 -0
- package/components/molecules/DropdownItem/index.d.ts +2 -2
- package/components/molecules/Form/Form.cjs +1 -1
- package/components/molecules/Form/Form.d.cts +2 -0
- package/components/molecules/Form/Form.d.ts +1 -1
- package/components/molecules/Form/Form.types.d.cts +31 -0
- package/components/molecules/Form/Form.types.d.ts +1 -1
- package/components/molecules/Form/FormStyled.cjs +1 -1
- package/components/molecules/Form/FormStyled.d.cts +2 -0
- package/components/molecules/Form/FormStyled.d.ts +1 -1
- package/components/molecules/Form/constants.d.cts +1 -0
- package/components/molecules/Form/index.d.cts +2 -0
- package/components/molecules/Form/index.d.ts +2 -2
- package/components/molecules/Form/utils.cjs +1 -1
- package/components/molecules/Form/utils.d.cts +3 -0
- package/components/molecules/Form/utils.d.ts +1 -1
- package/components/molecules/InlineNotification/InlineNotification.cjs +1 -1
- package/components/molecules/InlineNotification/InlineNotification.d.cts +2 -0
- package/components/molecules/InlineNotification/InlineNotification.d.ts +1 -1
- package/components/molecules/InlineNotification/InlineNotification.types.d.cts +9 -0
- package/components/molecules/InlineNotification/InlineNotification.types.d.ts +1 -1
- package/components/molecules/InlineNotification/InlineNotificationStyled.cjs +1 -1
- package/components/molecules/InlineNotification/InlineNotificationStyled.d.cts +3 -0
- package/components/molecules/InlineNotification/InlineNotificationStyled.d.ts +1 -1
- package/components/molecules/InlineNotification/constants.d.cts +16 -0
- package/components/molecules/InlineNotification/index.d.cts +2 -0
- package/components/molecules/InlineNotification/index.d.ts +2 -2
- package/components/molecules/List/List.cjs +1 -1
- package/components/molecules/List/List.d.cts +3 -0
- package/components/molecules/List/List.d.ts +1 -1
- package/components/molecules/List/List.types.d.cts +13 -0
- package/components/molecules/List/List.types.d.ts +2 -2
- package/components/molecules/List/ListStyled.cjs +1 -1
- package/components/molecules/List/ListStyled.d.cts +3 -0
- package/components/molecules/List/ListStyled.d.ts +1 -1
- package/components/molecules/List/constants.d.cts +1 -0
- package/components/molecules/List/index.d.cts +2 -0
- package/components/molecules/List/index.d.ts +2 -2
- package/components/molecules/Menu/Menu.cjs +1 -1
- package/components/molecules/Menu/Menu.d.cts +2 -0
- package/components/molecules/Menu/Menu.d.ts +1 -1
- package/components/molecules/Menu/Menu.types.d.cts +24 -0
- package/components/molecules/Menu/Menu.types.d.ts +1 -1
- package/components/molecules/Menu/MenuStyled.cjs +1 -1
- package/components/molecules/Menu/MenuStyled.d.cts +3 -0
- package/components/molecules/Menu/MenuStyled.d.ts +1 -1
- package/components/molecules/Menu/MenuStyled.js +1 -1
- package/components/molecules/Menu/constants.d.cts +2 -0
- package/components/molecules/Menu/index.d.cts +2 -0
- package/components/molecules/Menu/index.d.ts +2 -2
- package/components/molecules/Price/Price.cjs +1 -1
- package/components/molecules/Price/Price.d.cts +4 -0
- package/components/molecules/Price/Price.d.ts +1 -1
- package/components/molecules/Price/Price.types.d.cts +22 -0
- package/components/molecules/Price/Price.types.d.ts +1 -1
- package/components/molecules/Price/PriceStyled.cjs +1 -1
- package/components/molecules/Price/PriceStyled.d.cts +4 -0
- package/components/molecules/Price/PriceStyled.d.ts +1 -1
- package/components/molecules/Price/constants.d.cts +1 -0
- package/components/molecules/Price/index.d.cts +2 -0
- package/components/molecules/Price/index.d.ts +2 -2
- package/components/molecules/ProgressBar/ProgressBar.cjs +1 -1
- package/components/molecules/ProgressBar/ProgressBar.d.cts +4 -0
- package/components/molecules/ProgressBar/ProgressBar.d.ts +1 -1
- package/components/molecules/ProgressBar/ProgressBar.types.d.cts +36 -0
- package/components/molecules/ProgressBar/ProgressBar.types.d.ts +2 -2
- package/components/molecules/ProgressBar/ProgressBarStyled.cjs +1 -1
- package/components/molecules/ProgressBar/ProgressBarStyled.d.cts +6 -0
- package/components/molecules/ProgressBar/ProgressBarStyled.d.ts +1 -1
- package/components/molecules/ProgressBar/constants.d.cts +4 -0
- package/components/molecules/ProgressBar/index.d.cts +2 -0
- package/components/molecules/ProgressBar/index.d.ts +2 -2
- package/components/molecules/RadioGroup/RadioGroup.cjs +1 -1
- package/components/molecules/RadioGroup/RadioGroup.d.cts +4 -0
- package/components/molecules/RadioGroup/RadioGroup.d.ts +1 -1
- package/components/molecules/RadioGroup/RadioGroup.types.d.cts +77 -0
- package/components/molecules/RadioGroup/RadioGroup.types.d.ts +2 -2
- package/components/molecules/RadioGroup/RadioGroupItem/RadioGroupItem.cjs +1 -1
- package/components/molecules/RadioGroup/RadioGroupItem/RadioGroupItem.d.cts +5 -0
- package/components/molecules/RadioGroup/RadioGroupItem/RadioGroupItem.d.ts +1 -1
- package/components/molecules/RadioGroup/RadioGroupItem/index.d.cts +1 -0
- package/components/molecules/RadioGroup/RadioGroupItem/index.d.ts +1 -1
- package/components/molecules/RadioGroup/RadioGroupStyled.cjs +1 -1
- package/components/molecules/RadioGroup/RadioGroupStyled.d.cts +6 -0
- package/components/molecules/RadioGroup/RadioGroupStyled.d.ts +1 -1
- package/components/molecules/RadioGroup/constants.d.cts +2 -0
- package/components/molecules/RadioGroup/index.d.cts +2 -0
- package/components/molecules/RadioGroup/index.d.ts +2 -2
- package/components/molecules/Rating/Rating.cjs +1 -1
- package/components/molecules/Rating/Rating.d.cts +2 -0
- package/components/molecules/Rating/Rating.d.ts +1 -1
- package/components/molecules/Rating/Rating.types.d.cts +20 -0
- package/components/molecules/Rating/Rating.types.d.ts +1 -1
- package/components/molecules/Rating/RatingStyled.cjs +1 -1
- package/components/molecules/Rating/RatingStyled.d.cts +5 -0
- package/components/molecules/Rating/RatingStyled.d.ts +1 -1
- package/components/molecules/Rating/constants.d.cts +6 -0
- package/components/molecules/Rating/index.d.cts +2 -0
- package/components/molecules/Rating/index.d.ts +2 -2
- package/components/molecules/Snackbar/Snackbar.cjs +1 -1
- package/components/molecules/Snackbar/Snackbar.d.cts +2 -0
- package/components/molecules/Snackbar/Snackbar.d.ts +1 -1
- package/components/molecules/Snackbar/Snackbar.types.d.cts +35 -0
- package/components/molecules/Snackbar/Snackbar.types.d.ts +2 -2
- package/components/molecules/Snackbar/SnackbarManager.cjs +1 -1
- package/components/molecules/Snackbar/SnackbarManager.d.cts +3 -0
- package/components/molecules/Snackbar/SnackbarManager.d.ts +1 -1
- package/components/molecules/Snackbar/SnackbarStyled.cjs +1 -1
- package/components/molecules/Snackbar/SnackbarStyled.d.cts +12 -0
- package/components/molecules/Snackbar/SnackbarStyled.d.ts +2 -2
- package/components/molecules/Snackbar/constants.cjs +1 -1
- package/components/molecules/Snackbar/constants.d.cts +8 -0
- package/components/molecules/Snackbar/constants.d.ts +1 -1
- package/components/molecules/Snackbar/index.d.cts +4 -0
- package/components/molecules/Snackbar/index.d.ts +4 -4
- package/components/molecules/Stepper/Stepper.cjs +1 -1
- package/components/molecules/Stepper/Stepper.d.cts +2 -0
- package/components/molecules/Stepper/Stepper.d.ts +1 -1
- package/components/molecules/Stepper/Stepper.types.d.cts +31 -0
- package/components/molecules/Stepper/Stepper.types.d.ts +3 -3
- package/components/molecules/Stepper/StepperStyled.cjs +1 -1
- package/components/molecules/Stepper/StepperStyled.d.cts +6 -0
- package/components/molecules/Stepper/StepperStyled.d.ts +1 -1
- package/components/molecules/Stepper/constants.cjs +1 -1
- package/components/molecules/Stepper/constants.d.cts +36 -0
- package/components/molecules/Stepper/index.d.cts +2 -0
- package/components/molecules/Stepper/index.d.ts +2 -2
- package/components/molecules/Stepper/utils.cjs +1 -1
- package/components/molecules/Stepper/utils.d.cts +2 -0
- package/components/molecules/Stepper/utils.d.ts +1 -1
- package/components/molecules/Table/Table.cjs +1 -1
- package/components/molecules/Table/Table.d.cts +2 -0
- package/components/molecules/Table/Table.d.ts +1 -1
- package/components/molecules/Table/Table.types.d.cts +98 -0
- package/components/molecules/Table/Table.types.d.ts +1 -1
- package/components/molecules/Table/TableBody.cjs +1 -1
- package/components/molecules/Table/TableBody.d.cts +2 -0
- package/components/molecules/Table/TableBody.d.ts +1 -1
- package/components/molecules/Table/TableCell.cjs +1 -1
- package/components/molecules/Table/TableCell.d.cts +2 -0
- package/components/molecules/Table/TableCell.d.ts +1 -1
- package/components/molecules/Table/TableFooter.cjs +1 -1
- package/components/molecules/Table/TableFooter.d.cts +2 -0
- package/components/molecules/Table/TableFooter.d.ts +1 -1
- package/components/molecules/Table/TableHead.cjs +1 -1
- package/components/molecules/Table/TableHead.d.cts +2 -0
- package/components/molecules/Table/TableHead.d.ts +1 -1
- package/components/molecules/Table/TableHeaderCell.cjs +1 -1
- package/components/molecules/Table/TableHeaderCell.d.cts +2 -0
- package/components/molecules/Table/TableHeaderCell.d.ts +1 -1
- package/components/molecules/Table/TablePagination.cjs +1 -1
- package/components/molecules/Table/TablePagination.d.cts +2 -0
- package/components/molecules/Table/TablePagination.d.ts +1 -1
- package/components/molecules/Table/TableRow.cjs +1 -1
- package/components/molecules/Table/TableRow.d.cts +2 -0
- package/components/molecules/Table/TableRow.d.ts +1 -1
- package/components/molecules/Table/TableStyled.cjs +1 -1
- package/components/molecules/Table/TableStyled.d.cts +15 -0
- package/components/molecules/Table/TableStyled.d.ts +3 -3
- package/components/molecules/Table/constants.d.cts +9 -0
- package/components/molecules/Table/index.d.cts +9 -0
- package/components/molecules/Table/index.d.ts +9 -9
- package/components/molecules/Tabs/Tabs.cjs +1 -1
- package/components/molecules/Tabs/Tabs.d.cts +2 -0
- package/components/molecules/Tabs/Tabs.d.ts +1 -1
- package/components/molecules/Tabs/Tabs.types.d.cts +26 -0
- package/components/molecules/Tabs/Tabs.types.d.ts +3 -3
- package/components/molecules/Tabs/TabsStyled.cjs +1 -1
- package/components/molecules/Tabs/TabsStyled.d.cts +8 -0
- package/components/molecules/Tabs/TabsStyled.d.ts +1 -1
- package/components/molecules/Tabs/constants.d.cts +6 -0
- package/components/molecules/Tabs/index.d.cts +2 -0
- package/components/molecules/Tabs/index.d.ts +2 -2
- package/components/molecules/Tooltip/Tooltip.cjs +1 -1
- package/components/molecules/Tooltip/Tooltip.d.cts +7 -0
- package/components/molecules/Tooltip/Tooltip.d.ts +1 -1
- package/components/molecules/Tooltip/Tooltip.types.d.cts +17 -0
- package/components/molecules/Tooltip/Tooltip.types.d.ts +2 -2
- package/components/molecules/Tooltip/TooltipStyled.cjs +1 -1
- package/components/molecules/Tooltip/TooltipStyled.d.cts +3 -0
- package/components/molecules/Tooltip/TooltipStyled.d.ts +1 -1
- package/components/molecules/Tooltip/constants.d.cts +3 -0
- package/components/molecules/Tooltip/index.d.cts +2 -0
- package/components/molecules/Tooltip/index.d.ts +2 -2
- package/components/molecules/Tooltip/utils.cjs +1 -1
- package/components/molecules/Tooltip/utils.d.cts +22 -0
- package/components/molecules/Tooltip/utils.d.ts +2 -2
- package/components/molecules/index.d.cts +20 -0
- package/components/molecules/index.d.ts +20 -20
- package/components/organisms/Card/Card.cjs +1 -1
- package/components/organisms/Card/Card.d.cts +20 -0
- package/components/organisms/Card/Card.d.ts +12 -12
- package/components/organisms/Card/Card.types.d.cts +49 -0
- package/components/organisms/Card/Card.types.d.ts +2 -2
- package/components/organisms/Card/CardBadge/CardBadge.cjs +1 -1
- package/components/organisms/Card/CardBadge/CardBadge.d.cts +2 -0
- package/components/organisms/Card/CardBadge/CardBadge.d.ts +1 -1
- package/components/organisms/Card/CardBadge/CardBadgeStyled.cjs +1 -1
- package/components/organisms/Card/CardBadge/CardBadgeStyled.d.cts +2 -0
- package/components/organisms/Card/CardBadge/CardBadgeStyled.d.ts +1 -1
- package/components/organisms/Card/CardBadge/constants.d.cts +1 -0
- package/components/organisms/Card/CardBadge/index.d.cts +1 -0
- package/components/organisms/Card/CardBadge/index.d.ts +1 -1
- package/components/organisms/Card/CardButton/CardButton.cjs +1 -1
- package/components/organisms/Card/CardButton/CardButton.d.cts +4 -0
- package/components/organisms/Card/CardButton/CardButton.d.ts +1 -1
- package/components/organisms/Card/CardButton/CardButtonStyled.cjs +1 -1
- package/components/organisms/Card/CardButton/CardButtonStyled.d.cts +2 -0
- package/components/organisms/Card/CardButton/CardButtonStyled.d.ts +1 -1
- package/components/organisms/Card/CardButton/constants.d.cts +1 -0
- package/components/organisms/Card/CardButton/index.d.cts +1 -0
- package/components/organisms/Card/CardButton/index.d.ts +1 -1
- package/components/organisms/Card/CardCounter/CardCounter.cjs +1 -1
- package/components/organisms/Card/CardCounter/CardCounter.d.cts +4 -0
- package/components/organisms/Card/CardCounter/CardCounter.d.ts +1 -1
- package/components/organisms/Card/CardCounter/CardCounterStyled.cjs +1 -1
- package/components/organisms/Card/CardCounter/CardCounterStyled.d.cts +2 -0
- package/components/organisms/Card/CardCounter/CardCounterStyled.d.ts +1 -1
- package/components/organisms/Card/CardCounter/constants.d.cts +1 -0
- package/components/organisms/Card/CardCounter/index.d.cts +1 -0
- package/components/organisms/Card/CardCounter/index.d.ts +1 -1
- package/components/organisms/Card/CardDescription/CardDescription.cjs +1 -1
- package/components/organisms/Card/CardDescription/CardDescription.d.cts +2 -0
- package/components/organisms/Card/CardDescription/CardDescription.d.ts +1 -1
- package/components/organisms/Card/CardDescription/CardDescriptionStyled.cjs +1 -1
- package/components/organisms/Card/CardDescription/CardDescriptionStyled.d.cts +2 -0
- package/components/organisms/Card/CardDescription/CardDescriptionStyled.d.ts +1 -1
- package/components/organisms/Card/CardDescription/constants.cjs +1 -1
- package/components/organisms/Card/CardDescription/constants.d.cts +6 -0
- package/components/organisms/Card/CardDescription/constants.d.ts +1 -1
- package/components/organisms/Card/CardDescription/index.d.cts +1 -0
- package/components/organisms/Card/CardDescription/index.d.ts +1 -1
- package/components/organisms/Card/CardImage/CardImage.cjs +1 -1
- package/components/organisms/Card/CardImage/CardImage.d.cts +2 -0
- package/components/organisms/Card/CardImage/CardImage.d.ts +1 -1
- package/components/organisms/Card/CardImage/CardImageStyled.cjs +1 -1
- package/components/organisms/Card/CardImage/CardImageStyled.d.cts +2 -0
- package/components/organisms/Card/CardImage/CardImageStyled.d.ts +1 -1
- package/components/organisms/Card/CardImage/constants.d.cts +1 -0
- package/components/organisms/Card/CardImage/index.d.cts +1 -0
- package/components/organisms/Card/CardImage/index.d.ts +1 -1
- package/components/organisms/Card/CardPrice/CardPrice.cjs +1 -1
- package/components/organisms/Card/CardPrice/CardPrice.d.cts +2 -0
- package/components/organisms/Card/CardPrice/CardPrice.d.ts +1 -1
- package/components/organisms/Card/CardPrice/CardPriceStyled.cjs +1 -1
- package/components/organisms/Card/CardPrice/CardPriceStyled.d.cts +2 -0
- package/components/organisms/Card/CardPrice/CardPriceStyled.d.ts +1 -1
- package/components/organisms/Card/CardPrice/constants.d.cts +1 -0
- package/components/organisms/Card/CardPrice/index.d.cts +1 -0
- package/components/organisms/Card/CardPrice/index.d.ts +1 -1
- package/components/organisms/Card/CardRating/CardRating.cjs +1 -1
- package/components/organisms/Card/CardRating/CardRating.d.cts +2 -0
- package/components/organisms/Card/CardRating/CardRating.d.ts +1 -1
- package/components/organisms/Card/CardRating/CardRatingStyled.cjs +1 -1
- package/components/organisms/Card/CardRating/CardRatingStyled.d.cts +2 -0
- package/components/organisms/Card/CardRating/CardRatingStyled.d.ts +1 -1
- package/components/organisms/Card/CardRating/constants.d.cts +3 -0
- package/components/organisms/Card/CardRating/index.d.cts +1 -0
- package/components/organisms/Card/CardRating/index.d.ts +1 -1
- package/components/organisms/Card/CardTitle/CardTitle.cjs +1 -1
- package/components/organisms/Card/CardTitle/CardTitle.d.cts +4 -0
- package/components/organisms/Card/CardTitle/CardTitle.d.ts +1 -1
- package/components/organisms/Card/CardTitle/CardTitleStyled.cjs +1 -1
- package/components/organisms/Card/CardTitle/CardTitleStyled.d.cts +2 -0
- package/components/organisms/Card/CardTitle/CardTitleStyled.d.ts +1 -1
- package/components/organisms/Card/CardTitle/constants.cjs +1 -1
- package/components/organisms/Card/CardTitle/constants.d.cts +6 -0
- package/components/organisms/Card/CardTitle/constants.d.ts +1 -1
- package/components/organisms/Card/CardTitle/index.d.cts +1 -0
- package/components/organisms/Card/CardTitle/index.d.ts +1 -1
- package/components/organisms/Card/CardWishlist/CardWishlist.cjs +1 -1
- package/components/organisms/Card/CardWishlist/CardWishlist.d.cts +2 -0
- package/components/organisms/Card/CardWishlist/CardWishlist.d.ts +1 -1
- package/components/organisms/Card/CardWishlist/CardWishlistStyled.cjs +1 -1
- package/components/organisms/Card/CardWishlist/CardWishlistStyled.d.cts +2 -0
- package/components/organisms/Card/CardWishlist/CardWishlistStyled.d.ts +1 -1
- package/components/organisms/Card/CardWishlist/constants.d.cts +1 -0
- package/components/organisms/Card/CardWishlist/index.d.cts +1 -0
- package/components/organisms/Card/CardWishlist/index.d.ts +1 -1
- package/components/organisms/Card/constants.d.cts +1 -0
- package/components/organisms/Card/index.d.cts +11 -0
- package/components/organisms/Card/index.d.ts +11 -11
- package/components/organisms/Carousel/Carousel.cjs +1 -1
- package/components/organisms/Carousel/Carousel.d.cts +14 -0
- package/components/organisms/Carousel/Carousel.d.ts +7 -5
- package/components/organisms/Carousel/Carousel.js +110 -105
- package/components/organisms/Carousel/Carousel.types.d.cts +36 -0
- package/components/organisms/Carousel/Carousel.types.d.ts +3 -3
- package/components/organisms/Carousel/CarouselStyled.cjs +1 -1
- package/components/organisms/Carousel/CarouselStyled.d.cts +19 -0
- package/components/organisms/Carousel/CarouselStyled.d.ts +5 -1
- package/components/organisms/Carousel/CarouselStyled.js +25 -1
- package/components/organisms/Carousel/constants.d.cts +1 -0
- package/components/organisms/Carousel/index.d.cts +2 -0
- package/components/organisms/Carousel/index.d.ts +2 -2
- package/components/organisms/Chart/AreaChart.cjs +1 -1
- package/components/organisms/Chart/AreaChart.d.cts +1 -0
- package/components/organisms/Chart/AreaChart.d.ts +1 -1
- package/components/organisms/Chart/BarChart.cjs +1 -1
- package/components/organisms/Chart/BarChart.d.cts +1 -0
- package/components/organisms/Chart/BarChart.d.ts +1 -1
- package/components/organisms/Chart/Chart.cjs +1 -1
- package/components/organisms/Chart/Chart.d.cts +2 -0
- package/components/organisms/Chart/Chart.d.ts +1 -1
- package/components/organisms/Chart/Chart.types.d.cts +148 -0
- package/components/organisms/Chart/Chart.types.d.ts +2 -2
- package/components/organisms/Chart/ChartBase.cjs +1 -1
- package/components/organisms/Chart/ChartBase.d.cts +2 -0
- package/components/organisms/Chart/ChartBase.d.ts +1 -1
- package/components/organisms/Chart/ChartCartesian.cjs +1 -1
- package/components/organisms/Chart/ChartCartesian.d.cts +2 -0
- package/components/organisms/Chart/ChartCartesian.d.ts +1 -1
- package/components/organisms/Chart/ChartLegend.cjs +1 -1
- package/components/organisms/Chart/ChartLegend.d.cts +10 -0
- package/components/organisms/Chart/ChartLegend.d.ts +2 -2
- package/components/organisms/Chart/ChartPie.cjs +1 -1
- package/components/organisms/Chart/ChartPie.d.cts +17 -0
- package/components/organisms/Chart/ChartPie.d.ts +2 -2
- package/components/organisms/Chart/ChartStyled.cjs +1 -1
- package/components/organisms/Chart/ChartStyled.d.cts +4 -0
- package/components/organisms/Chart/ChartStyled.d.ts +1 -1
- package/components/organisms/Chart/ChartTooltip.cjs +1 -1
- package/components/organisms/Chart/ChartTooltip.d.cts +11 -0
- package/components/organisms/Chart/ChartTooltip.d.ts +2 -2
- package/components/organisms/Chart/ChartTooltip.js +1 -1
- package/components/organisms/Chart/LineChart.cjs +1 -1
- package/components/organisms/Chart/LineChart.d.cts +2 -0
- package/components/organisms/Chart/LineChart.d.ts +1 -1
- package/components/organisms/Chart/PieChart.cjs +1 -1
- package/components/organisms/Chart/PieChart.d.cts +2 -0
- package/components/organisms/Chart/PieChart.d.ts +1 -1
- package/components/organisms/Chart/constants.d.cts +10 -0
- package/components/organisms/Chart/index.d.cts +6 -0
- package/components/organisms/Chart/index.d.ts +6 -6
- package/components/organisms/Chart/useChartTheme.cjs +1 -1
- package/components/organisms/Chart/useChartTheme.d.cts +10215 -0
- package/components/organisms/Chart/useChartTheme.d.ts +81 -81
- package/components/organisms/ChatBubble/ChatBubble.cjs +1 -1
- package/components/organisms/ChatBubble/ChatBubble.d.cts +5 -0
- package/components/organisms/ChatBubble/ChatBubble.d.ts +3 -3
- package/components/organisms/ChatBubble/ChatBubble.types.d.cts +38 -0
- package/components/organisms/ChatBubble/ChatBubble.types.d.ts +1 -1
- package/components/organisms/ChatBubble/ChatBubbleStyled.cjs +1 -1
- package/components/organisms/ChatBubble/ChatBubbleStyled.d.cts +4 -0
- package/components/organisms/ChatBubble/ChatBubbleStyled.d.ts +1 -1
- package/components/organisms/ChatBubble/ChatImageGallery/ChatImageGallery.cjs +1 -1
- package/components/organisms/ChatBubble/ChatImageGallery/ChatImageGallery.d.cts +2 -0
- package/components/organisms/ChatBubble/ChatImageGallery/ChatImageGallery.d.ts +1 -1
- package/components/organisms/ChatBubble/ChatImageGallery/ChatImageGalleryStyled.cjs +1 -1
- package/components/organisms/ChatBubble/ChatImageGallery/ChatImageGalleryStyled.d.cts +2 -0
- package/components/organisms/ChatBubble/ChatImageGallery/ChatImageGalleryStyled.d.ts +1 -1
- package/components/organisms/ChatBubble/ChatImageGallery/constants.d.cts +1 -0
- package/components/organisms/ChatBubble/ChatImageGallery/index.d.cts +1 -0
- package/components/organisms/ChatBubble/ChatImageGallery/index.d.ts +1 -1
- package/components/organisms/ChatBubble/ChatLinkPreview/ChatLinkPreview.cjs +1 -1
- package/components/organisms/ChatBubble/ChatLinkPreview/ChatLinkPreview.d.cts +2 -0
- package/components/organisms/ChatBubble/ChatLinkPreview/ChatLinkPreview.d.ts +1 -1
- package/components/organisms/ChatBubble/ChatLinkPreview/ChatLinkPreviewStyled.cjs +1 -1
- package/components/organisms/ChatBubble/ChatLinkPreview/ChatLinkPreviewStyled.d.cts +2 -0
- package/components/organisms/ChatBubble/ChatLinkPreview/ChatLinkPreviewStyled.d.ts +1 -1
- package/components/organisms/ChatBubble/ChatLinkPreview/constants.d.cts +1 -0
- package/components/organisms/ChatBubble/ChatLinkPreview/index.d.cts +1 -0
- package/components/organisms/ChatBubble/ChatLinkPreview/index.d.ts +1 -1
- package/components/organisms/ChatBubble/constants.d.cts +1 -0
- package/components/organisms/ChatBubble/index.d.cts +4 -0
- package/components/organisms/ChatBubble/index.d.ts +4 -4
- package/components/organisms/ContentCarousel/ContentCarousel.cjs +1 -1
- package/components/organisms/ContentCarousel/ContentCarousel.d.cts +2 -0
- package/components/organisms/ContentCarousel/ContentCarousel.d.ts +1 -1
- package/components/organisms/ContentCarousel/ContentCarousel.types.d.cts +20 -0
- package/components/organisms/ContentCarousel/ContentCarousel.types.d.ts +1 -1
- package/components/organisms/ContentCarousel/ContentCarouselStyled.cjs +1 -1
- package/components/organisms/ContentCarousel/ContentCarouselStyled.d.cts +8 -0
- package/components/organisms/ContentCarousel/ContentCarouselStyled.d.ts +1 -1
- package/components/organisms/ContentCarousel/constants.d.cts +1 -0
- package/components/organisms/ContentCarousel/index.d.cts +2 -0
- package/components/organisms/ContentCarousel/index.d.ts +2 -2
- package/components/organisms/DragAndDropFiles/DragAndDropFiles.cjs +1 -1
- package/components/organisms/DragAndDropFiles/DragAndDropFiles.d.cts +4 -0
- package/components/organisms/DragAndDropFiles/DragAndDropFiles.d.ts +1 -1
- package/components/organisms/DragAndDropFiles/DragAndDropFiles.types.d.cts +21 -0
- package/components/organisms/DragAndDropFiles/DragAndDropFiles.types.d.ts +1 -1
- package/components/organisms/DragAndDropFiles/DragAndDropFilesStyled.cjs +1 -1
- package/components/organisms/DragAndDropFiles/DragAndDropFilesStyled.d.cts +2 -0
- package/components/organisms/DragAndDropFiles/DragAndDropFilesStyled.d.ts +1 -1
- package/components/organisms/DragAndDropFiles/constants.d.cts +1 -0
- package/components/organisms/DragAndDropFiles/hooks/useDragAndDrop/index.d.cts +1 -0
- package/components/organisms/DragAndDropFiles/hooks/useDragAndDrop/index.d.ts +1 -1
- package/components/organisms/DragAndDropFiles/hooks/useDragAndDrop/useDragAndDrop.cjs +1 -1
- package/components/organisms/DragAndDropFiles/hooks/useDragAndDrop/useDragAndDrop.d.cts +19 -0
- package/components/organisms/DragAndDropFiles/index.d.cts +2 -0
- package/components/organisms/DragAndDropFiles/index.d.ts +2 -2
- package/components/organisms/Header/Header.cjs +1 -1
- package/components/organisms/Header/Header.d.cts +2 -0
- package/components/organisms/Header/Header.d.ts +1 -1
- package/components/organisms/Header/Header.types.d.cts +31 -0
- package/components/organisms/Header/Header.types.d.ts +2 -2
- package/components/organisms/Header/HeaderStyled.cjs +1 -1
- package/components/organisms/Header/HeaderStyled.d.cts +14 -0
- package/components/organisms/Header/HeaderStyled.d.ts +1 -1
- package/components/organisms/Header/constants.d.cts +1 -0
- package/components/organisms/Header/index.d.cts +1 -0
- package/components/organisms/Header/index.d.ts +1 -1
- package/components/organisms/ImagePreview/ImagePreview.cjs +1 -1
- package/components/organisms/ImagePreview/ImagePreview.d.cts +2 -0
- package/components/organisms/ImagePreview/ImagePreview.d.ts +1 -1
- package/components/organisms/ImagePreview/ImagePreview.types.d.cts +23 -0
- package/components/organisms/ImagePreview/ImagePreview.types.d.ts +1 -1
- package/components/organisms/ImagePreview/ImagePreviewLightbox.cjs +1 -1
- package/components/organisms/ImagePreview/ImagePreviewLightbox.d.cts +5 -0
- package/components/organisms/ImagePreview/ImagePreviewLightbox.d.ts +1 -1
- package/components/organisms/ImagePreview/ImagePreviewStyled.cjs +1 -1
- package/components/organisms/ImagePreview/ImagePreviewStyled.d.cts +2 -0
- package/components/organisms/ImagePreview/ImagePreviewStyled.d.ts +1 -1
- package/components/organisms/ImagePreview/constants.d.cts +1 -0
- package/components/organisms/ImagePreview/index.d.cts +3 -0
- package/components/organisms/ImagePreview/index.d.ts +3 -3
- package/components/organisms/InputArea/InputArea.cjs +1 -1
- package/components/organisms/InputArea/InputArea.d.cts +2 -0
- package/components/organisms/InputArea/InputArea.d.ts +1 -1
- package/components/organisms/InputArea/InputArea.types.d.cts +41 -0
- package/components/organisms/InputArea/InputArea.types.d.ts +1 -1
- package/components/organisms/InputArea/InputAreaStyled.cjs +1 -1
- package/components/organisms/InputArea/InputAreaStyled.d.cts +38 -0
- package/components/organisms/InputArea/InputAreaStyled.d.ts +3 -3
- package/components/organisms/InputArea/constants.d.cts +1 -0
- package/components/organisms/InputArea/index.d.cts +2 -0
- package/components/organisms/InputArea/index.d.ts +2 -2
- package/components/organisms/Modal/Modal.cjs +1 -1
- package/components/organisms/Modal/Modal.d.cts +2 -0
- package/components/organisms/Modal/Modal.d.ts +1 -1
- package/components/organisms/Modal/Modal.types.d.cts +19 -0
- package/components/organisms/Modal/Modal.types.d.ts +1 -1
- package/components/organisms/Modal/ModalStyled.cjs +1 -1
- package/components/organisms/Modal/ModalStyled.d.cts +8 -0
- package/components/organisms/Modal/ModalStyled.d.ts +1 -1
- package/components/organisms/Modal/constants.d.cts +1 -0
- package/components/organisms/Modal/index.d.cts +2 -0
- package/components/organisms/Modal/index.d.ts +2 -2
- package/components/organisms/Search/Search.cjs +1 -1
- package/components/organisms/Search/Search.d.cts +3 -0
- package/components/organisms/Search/Search.d.ts +2 -2
- package/components/organisms/Search/Search.types.d.cts +23 -0
- package/components/organisms/Search/Search.types.d.ts +2 -9
- package/components/organisms/Search/SearchStyled.cjs +1 -1
- package/components/organisms/Search/SearchStyled.d.cts +2 -0
- package/components/organisms/Search/SearchStyled.d.ts +1 -4
- package/components/organisms/Search/constants.d.cts +4 -0
- package/components/organisms/Search/index.d.cts +2 -0
- package/components/organisms/Search/index.d.ts +2 -2
- package/components/organisms/SearchModal/SearchInput/SearchInput.cjs +1 -1
- package/components/organisms/SearchModal/SearchInput/SearchInput.d.cts +5 -0
- package/components/organisms/SearchModal/SearchInput/SearchInput.d.ts +1 -1
- package/components/organisms/SearchModal/SearchInput/SearchInputStyled.cjs +1 -1
- package/components/organisms/SearchModal/SearchInput/SearchInputStyled.d.cts +4 -0
- package/components/organisms/SearchModal/SearchInput/SearchInputStyled.d.ts +2 -2
- package/components/organisms/SearchModal/SearchInput/constants.d.cts +3 -0
- package/components/organisms/SearchModal/SearchInput/index.d.cts +1 -0
- package/components/organisms/SearchModal/SearchInput/index.d.ts +1 -1
- package/components/organisms/SearchModal/SearchItems/SearchItems.cjs +1 -1
- package/components/organisms/SearchModal/SearchItems/SearchItems.d.cts +5 -0
- package/components/organisms/SearchModal/SearchItems/SearchItems.d.ts +1 -1
- package/components/organisms/SearchModal/SearchItems/SearchItemsStyled.cjs +1 -1
- package/components/organisms/SearchModal/SearchItems/SearchItemsStyled.d.cts +10 -0
- package/components/organisms/SearchModal/SearchItems/SearchItemsStyled.d.ts +2 -2
- package/components/organisms/SearchModal/SearchItems/constants.d.cts +7 -0
- package/components/organisms/SearchModal/SearchItems/index.d.cts +1 -0
- package/components/organisms/SearchModal/SearchItems/index.d.ts +1 -1
- package/components/organisms/SearchModal/SearchItems/utils.cjs +1 -1
- package/components/organisms/SearchModal/SearchItems/utils.d.cts +2 -0
- package/components/organisms/SearchModal/SearchLoader/SearchLoader.cjs +1 -1
- package/components/organisms/SearchModal/SearchLoader/SearchLoader.d.cts +5 -0
- package/components/organisms/SearchModal/SearchLoader/SearchLoader.d.ts +1 -1
- package/components/organisms/SearchModal/SearchLoader/SearchLoaderStyled.cjs +1 -1
- package/components/organisms/SearchModal/SearchLoader/SearchLoaderStyled.d.cts +3 -0
- package/components/organisms/SearchModal/SearchLoader/SearchLoaderStyled.d.ts +1 -1
- package/components/organisms/SearchModal/SearchLoader/constants.d.cts +1 -0
- package/components/organisms/SearchModal/SearchLoader/index.d.cts +1 -0
- package/components/organisms/SearchModal/SearchLoader/index.d.ts +1 -1
- package/components/organisms/SearchModal/SearchModal.cjs +1 -1
- package/components/organisms/SearchModal/SearchModal.d.cts +4 -0
- package/components/organisms/SearchModal/SearchModal.d.ts +1 -1
- package/components/organisms/SearchModal/SearchModal.types.d.cts +55 -0
- package/components/organisms/SearchModal/SearchModal.types.d.ts +2 -2
- package/components/organisms/SearchModal/SearchModalStyled.cjs +1 -1
- package/components/organisms/SearchModal/SearchModalStyled.d.cts +3 -0
- package/components/organisms/SearchModal/SearchModalStyled.d.ts +1 -1
- package/components/organisms/SearchModal/constants.d.cts +5 -0
- package/components/organisms/SearchModal/index.d.cts +2 -0
- package/components/organisms/SearchModal/index.d.ts +2 -2
- package/components/organisms/Sidebar/Sidebar.cjs +1 -1
- package/components/organisms/Sidebar/Sidebar.d.cts +2 -0
- package/components/organisms/Sidebar/Sidebar.d.ts +1 -1
- package/components/organisms/Sidebar/Sidebar.types.d.cts +42 -0
- package/components/organisms/Sidebar/Sidebar.types.d.ts +1 -1
- package/components/organisms/Sidebar/SidebarItem.cjs +1 -1
- package/components/organisms/Sidebar/SidebarItem.d.cts +2 -0
- package/components/organisms/Sidebar/SidebarItem.d.ts +1 -1
- package/components/organisms/Sidebar/SidebarStyled.cjs +1 -1
- package/components/organisms/Sidebar/SidebarStyled.d.cts +16 -0
- package/components/organisms/Sidebar/SidebarStyled.d.ts +1 -1
- package/components/organisms/Sidebar/constants.d.cts +1 -0
- package/components/organisms/Sidebar/index.d.cts +2 -0
- package/components/organisms/Sidebar/index.d.ts +2 -2
- package/components/organisms/index.d.cts +13 -0
- package/components/organisms/index.d.ts +13 -13
- package/components/widget/DragAndDrop/DragAndDrop.cjs +1 -1
- package/components/widget/DragAndDrop/DragAndDrop.d.cts +4 -0
- package/components/widget/DragAndDrop/DragAndDrop.d.ts +1 -1
- package/components/widget/DragAndDrop/DragAndDrop.types.d.cts +35 -0
- package/components/widget/DragAndDrop/DragAndDrop.types.d.ts +2 -2
- package/components/widget/DragAndDrop/DragAndDropStyled.cjs +1 -1
- package/components/widget/DragAndDrop/DragAndDropStyled.d.cts +6 -0
- package/components/widget/DragAndDrop/DragAndDropStyled.d.ts +1 -1
- package/components/widget/DragAndDrop/constants.d.cts +1 -0
- package/components/widget/DragAndDrop/index.d.cts +2 -0
- package/components/widget/DragAndDrop/index.d.ts +2 -2
- package/components/widget/DragAndDrop/utils/index.d.cts +1 -0
- package/components/widget/DragAndDrop/utils/index.d.ts +1 -1
- package/components/widget/DragAndDrop/utils/validators.d.cts +5 -0
- package/components/widget/index.d.cts +1 -0
- package/components/widget/index.d.ts +1 -1
- package/constants/index.d.cts +2 -0
- package/constants/index.d.ts +2 -2
- package/constants/keyboard.d.cts +8 -0
- package/constants/timers.d.cts +2 -0
- package/hooks/index.d.cts +7 -0
- package/hooks/index.d.ts +7 -7
- package/hooks/useAutoFocus/index.d.cts +1 -0
- package/hooks/useAutoFocus/index.d.ts +1 -1
- package/hooks/useAutoFocus/useAutoFocus.cjs +1 -1
- package/hooks/useAutoFocus/useAutoFocus.d.cts +2 -0
- package/hooks/useCarousel/index.d.cts +1 -0
- package/hooks/useCarousel/index.d.ts +1 -1
- package/hooks/useCarousel/useCarousel.cjs +1 -1
- package/hooks/useCarousel/useCarousel.d.cts +14 -0
- package/hooks/useCarousel/useCarousel.d.ts +1 -1
- package/hooks/useClickOutside/index.d.cts +1 -0
- package/hooks/useClickOutside/index.d.ts +1 -1
- package/hooks/useClickOutside/useClickOutside.cjs +1 -1
- package/hooks/useClickOutside/useClickOutside.d.cts +1 -0
- package/hooks/useKeyControls/index.d.cts +1 -0
- package/hooks/useKeyControls/index.d.ts +1 -1
- package/hooks/useKeyControls/useKeyControls.cjs +1 -1
- package/hooks/useKeyControls/useKeyControls.d.cts +2 -0
- package/hooks/useKeyControls/useKeyControls.d.ts +1 -1
- package/hooks/useLogger/NoOpLogger.d.cts +11 -0
- package/hooks/useLogger/NoOpLogger.d.ts +1 -1
- package/hooks/useLogger/index.d.cts +2 -0
- package/hooks/useLogger/index.d.ts +2 -2
- package/hooks/useLogger/useLogger.cjs +1 -1
- package/hooks/useLogger/useLogger.d.cts +4 -0
- package/hooks/useLogger/useLogger.d.ts +1 -1
- package/hooks/useLogger/useLogger.types.d.cts +30 -0
- package/hooks/useMediaQuery/index.d.cts +1 -0
- package/hooks/useMediaQuery/index.d.ts +1 -1
- package/hooks/useMediaQuery/useMediaQuery.cjs +1 -1
- package/hooks/useMediaQuery/useMediaQuery.d.cts +1 -0
- package/hooks/useTheme/NoOpTheme.cjs +1 -1
- package/hooks/useTheme/NoOpTheme.d.cts +5870 -0
- package/hooks/useTheme/NoOpTheme.d.ts +76 -40
- package/hooks/useTheme/index.d.cts +4 -0
- package/hooks/useTheme/index.d.ts +4 -4
- package/hooks/useTheme/useTheme.cjs +1 -1
- package/hooks/useTheme/useTheme.d.cts +3 -0
- package/hooks/useTheme/useTheme.d.ts +1 -1
- package/hooks/useTheme/useTheme.types.d.cts +16 -0
- package/hooks/useTheme/useTheme.types.d.ts +1 -1
- package/hooks/useTheme/utils.cjs +1 -1
- package/hooks/useTheme/utils.d.cts +7 -0
- package/hooks/useTheme/utils.d.ts +1 -1
- package/index.cjs +1 -1
- package/index.d.cts +5 -0
- package/index.d.ts +5 -5
- package/llms.txt +116 -25
- package/package.json +27 -11
- package/tokens/accordion.cjs +1 -1
- package/tokens/accordion.d.cts +88 -0
- package/tokens/animations.d.cts +70 -0
- package/tokens/attachmentFile.cjs +1 -1
- package/tokens/attachmentFile.d.cts +67 -0
- package/tokens/attachmentFile.d.ts +3 -0
- package/tokens/attachmentFile.js +4 -1
- package/tokens/avatar.cjs +1 -1
- package/tokens/avatar.d.cts +168 -0
- package/tokens/avatar.d.ts +8 -9
- package/tokens/avatar.js +21 -23
- package/tokens/badge.cjs +1 -1
- package/tokens/badge.d.cts +244 -0
- package/tokens/borders.cjs +1 -1
- package/tokens/borders.d.cts +9 -0
- package/tokens/box.cjs +1 -1
- package/tokens/box.d.cts +46 -0
- package/tokens/breadcrumbs.cjs +1 -1
- package/tokens/breadcrumbs.d.cts +27 -0
- package/tokens/breakpoints.cjs +1 -1
- package/tokens/breakpoints.d.cts +8 -0
- package/tokens/button.cjs +1 -1
- package/tokens/button.d.cts +141 -0
- package/tokens/card.cjs +1 -1
- package/tokens/card.d.cts +198 -0
- package/tokens/carousel.cjs +1 -1
- package/tokens/carousel.d.cts +305 -0
- package/tokens/carousel.d.ts +34 -1
- package/tokens/carousel.js +33 -0
- package/tokens/chart.cjs +1 -1
- package/tokens/chart.d.cts +172 -0
- package/tokens/chat.cjs +1 -1
- package/tokens/chat.d.cts +156 -0
- package/tokens/chatbubble.cjs +1 -1
- package/tokens/chatbubble.d.cts +163 -0
- package/tokens/chatbubble.d.ts +1 -1
- package/tokens/chatbubble.js +2 -2
- package/tokens/checkbox.cjs +1 -1
- package/tokens/checkbox.d.cts +80 -0
- package/tokens/checkbox.js +2 -2
- package/tokens/colors.d.cts +285 -0
- package/tokens/column.d.cts +6 -0
- package/tokens/constants.d.cts +1 -0
- package/tokens/counter.cjs +1 -1
- package/tokens/counter.d.cts +38 -0
- package/tokens/counter.d.ts +1 -1
- package/tokens/cursors.d.cts +17 -0
- package/tokens/defaultTheme.cjs +1 -1
- package/tokens/defaultTheme.d.cts +5861 -0
- package/tokens/defaultTheme.d.ts +75 -39
- package/tokens/display.d.cts +16 -0
- package/tokens/draganddrop.cjs +1 -1
- package/tokens/draganddrop.d.cts +60 -0
- package/tokens/draganddropfiles.d.cts +3 -0
- package/tokens/flexContainer.cjs +1 -1
- package/tokens/flexContainer.d.cts +9 -0
- package/tokens/flexContainer.d.ts +1 -1
- package/tokens/font.d.cts +54 -0
- package/tokens/form.d.cts +3 -0
- package/tokens/header.cjs +1 -1
- package/tokens/header.d.cts +107 -0
- package/tokens/icon.cjs +1 -1
- package/tokens/icon.d.cts +28 -0
- package/tokens/image.cjs +1 -1
- package/tokens/image.d.cts +31 -0
- package/tokens/image.d.ts +1 -1
- package/tokens/imagePreview.cjs +1 -1
- package/tokens/imagePreview.d.cts +177 -0
- package/tokens/index.cjs +1 -1
- package/tokens/index.d.cts +5061 -0
- package/tokens/index.d.ts +133 -97
- package/tokens/inlineNotification.cjs +1 -1
- package/tokens/inlineNotification.d.cts +62 -0
- package/tokens/input.cjs +1 -1
- package/tokens/input.d.cts +219 -0
- package/tokens/inputArea.cjs +1 -1
- package/tokens/inputArea.d.cts +154 -0
- package/tokens/inputfile.cjs +1 -1
- package/tokens/inputfile.d.cts +14 -0
- package/tokens/label.cjs +1 -1
- package/tokens/label.d.cts +6 -0
- package/tokens/link.cjs +1 -1
- package/tokens/link.d.cts +116 -0
- package/tokens/link.d.ts +1 -1
- package/tokens/link.js +4 -4
- package/tokens/list.cjs +1 -1
- package/tokens/list.d.cts +97 -0
- package/tokens/loader.cjs +1 -1
- package/tokens/loader.d.cts +147 -0
- package/tokens/menu.cjs +1 -1
- package/tokens/menu.d.cts +20 -0
- package/tokens/modal.cjs +1 -1
- package/tokens/modal.d.cts +92 -0
- package/tokens/price.cjs +1 -1
- package/tokens/price.d.cts +47 -0
- package/tokens/price.js +2 -2
- package/tokens/progressbar.cjs +1 -1
- package/tokens/progressbar.d.cts +51 -0
- package/tokens/radiogroup.cjs +1 -1
- package/tokens/radiogroup.d.cts +92 -0
- package/tokens/radiogroup.d.ts +1 -1
- package/tokens/radius.cjs +1 -1
- package/tokens/radius.d.cts +10 -0
- package/tokens/radius.js +1 -1
- package/tokens/rating.cjs +1 -1
- package/tokens/rating.d.cts +73 -0
- package/tokens/reset.d.cts +1 -0
- package/tokens/row.d.cts +5 -0
- package/tokens/scroll.cjs +1 -1
- package/tokens/scroll.d.cts +108 -0
- package/tokens/search.cjs +1 -1
- package/tokens/search.d.cts +39 -0
- package/tokens/searchModal.cjs +1 -1
- package/tokens/searchModal.d.cts +167 -0
- package/tokens/searchModal.d.ts +1 -1
- package/tokens/searchModal.js +1 -1
- package/tokens/select.cjs +1 -1
- package/tokens/select.d.cts +125 -0
- package/tokens/select.d.ts +1 -1
- package/tokens/separator.cjs +1 -1
- package/tokens/separator.d.cts +60 -0
- package/tokens/shadow.d.cts +20 -0
- package/tokens/shadow.d.ts +0 -1
- package/tokens/sidebar.cjs +1 -1
- package/tokens/sidebar.d.cts +123 -0
- package/tokens/sidebar.js +2 -2
- package/tokens/skeleton.cjs +1 -1
- package/tokens/skeleton.d.cts +68 -0
- package/tokens/slider.cjs +1 -1
- package/tokens/slider.d.cts +58 -0
- package/tokens/sliderDots.cjs +1 -1
- package/tokens/sliderDots.d.cts +33 -0
- package/tokens/snackbar.cjs +1 -1
- package/tokens/snackbar.d.cts +173 -0
- package/tokens/snackbar.js +1 -1
- package/tokens/spacing.d.cts +32 -0
- package/tokens/stepper.cjs +1 -1
- package/tokens/stepper.d.cts +128 -0
- package/tokens/switch.cjs +1 -1
- package/tokens/switch.d.cts +78 -0
- package/tokens/table.cjs +1 -1
- package/tokens/table.d.cts +145 -0
- package/tokens/tabs.cjs +1 -1
- package/tokens/tabs.d.cts +90 -0
- package/tokens/textarea.cjs +1 -1
- package/tokens/textarea.d.cts +96 -0
- package/tokens/toggle.cjs +1 -1
- package/tokens/toggle.d.cts +12 -0
- package/tokens/tooltip.cjs +1 -1
- package/tokens/tooltip.d.cts +68 -0
- package/tokens/tooltip.js +7 -8
- package/tokens/truncate.d.cts +9 -0
- package/tokens/types/index.types.d.cts +14 -0
- package/tokens/types/index.types.d.ts +1 -1
- package/tokens/typography.cjs +1 -1
- package/tokens/typography.d.cts +144 -0
- package/tokens/utils.cjs +1 -1
- package/tokens/utils.d.cts +50 -0
- package/tokens/utils.d.ts +4 -4
- package/tokens/utils.js +6 -2
- package/tokens/values.cjs +1 -1
- package/tokens/values.d.cts +94 -0
- package/tokens/wrapper.cjs +1 -1
- package/tokens/wrapper.d.cts +29 -0
- package/tokens/zIndex.d.cts +9 -0
- package/types/accesability.d.cts +5 -0
- package/types/button.d.cts +20 -0
- package/types/card.d.cts +8 -0
- package/types/carousel.d.cts +23 -0
- package/types/carousel.d.ts +1 -1
- package/types/common.d.cts +12 -0
- package/types/cursors.d.cts +14 -0
- package/types/index.d.cts +19 -0
- package/types/index.d.ts +19 -19
- package/types/input.d.cts +26 -0
- package/types/keys.d.cts +8 -0
- package/types/layout.d.cts +8 -0
- package/types/link.d.cts +18 -0
- package/types/list.d.cts +6 -0
- package/types/misc.d.cts +14 -0
- package/types/misc.d.ts +0 -3
- package/types/separator.d.cts +10 -0
- package/types/skeleton.d.cts +5 -0
- package/types/snackbar.d.cts +14 -0
- package/types/stepper.d.cts +9 -0
- package/types/styles.d.cts +4 -0
- package/types/typography.d.cts +48 -0
- package/types/wrapper.d.cts +5 -0
- package/utils/a2ui/constants.d.cts +7 -0
- package/utils/a2ui/contexts.cjs +1 -0
- package/utils/a2ui/contexts.d.cts +1 -0
- package/utils/a2ui/contexts.d.ts +1 -0
- package/utils/a2ui/contexts.js +5 -0
- package/utils/a2ui/helpers/attributes.d.cts +11 -0
- package/utils/a2ui/helpers/attributes.d.ts +1 -1
- package/utils/a2ui/helpers/index.d.cts +4 -0
- package/utils/a2ui/helpers/index.d.ts +4 -4
- package/utils/a2ui/helpers/misc.cjs +1 -1
- package/utils/a2ui/helpers/misc.d.cts +19 -0
- package/utils/a2ui/helpers/misc.d.ts +2 -2
- package/utils/a2ui/helpers/misc.js +1 -8
- package/utils/a2ui/helpers/options.cjs +1 -1
- package/utils/a2ui/helpers/options.d.cts +48 -0
- package/utils/a2ui/helpers/options.d.ts +1 -1
- package/utils/a2ui/helpers/styling.cjs +1 -1
- package/utils/a2ui/helpers/styling.d.cts +7 -0
- package/utils/a2ui/helpers/styling.d.ts +2 -2
- package/utils/a2ui/index.d.cts +2 -0
- package/utils/a2ui/index.d.ts +2 -2
- package/utils/a2ui/render.cjs +1 -1
- package/utils/a2ui/render.d.cts +5 -0
- package/utils/a2ui/render.d.ts +2 -2
- package/utils/a2ui/render.js +3 -3
- package/utils/a2ui/renderers/accordion.cjs +1 -1
- package/utils/a2ui/renderers/accordion.d.cts +8 -0
- package/utils/a2ui/renderers/accordion.d.ts +1 -1
- package/utils/a2ui/renderers/attachment-file.cjs +1 -0
- package/utils/a2ui/renderers/attachment-file.d.cts +6 -0
- package/utils/a2ui/renderers/attachment-file.d.ts +6 -0
- package/utils/a2ui/renderers/attachment-file.js +28 -0
- package/utils/a2ui/renderers/avatar.cjs +1 -1
- package/utils/a2ui/renderers/avatar.d.cts +10 -0
- package/utils/a2ui/renderers/avatar.d.ts +3 -3
- package/utils/a2ui/renderers/avatar.js +1 -0
- package/utils/a2ui/renderers/badge.cjs +1 -1
- package/utils/a2ui/renderers/badge.d.cts +4 -0
- package/utils/a2ui/renderers/badge.d.ts +1 -1
- package/utils/a2ui/renderers/box.cjs +1 -1
- package/utils/a2ui/renderers/box.d.cts +5 -0
- package/utils/a2ui/renderers/box.d.ts +2 -2
- package/utils/a2ui/renderers/breadcrumbs.cjs +1 -1
- package/utils/a2ui/renderers/breadcrumbs.d.cts +4 -0
- package/utils/a2ui/renderers/breadcrumbs.d.ts +1 -1
- package/utils/a2ui/renderers/button.cjs +1 -1
- package/utils/a2ui/renderers/button.d.cts +5 -0
- package/utils/a2ui/renderers/button.d.ts +2 -2
- package/utils/a2ui/renderers/button.js +32 -19
- package/utils/a2ui/renderers/card.cjs +1 -1
- package/utils/a2ui/renderers/card.d.cts +14 -0
- package/utils/a2ui/renderers/card.d.ts +3 -3
- package/utils/a2ui/renderers/carousel.cjs +1 -1
- package/utils/a2ui/renderers/carousel.d.cts +6 -0
- package/utils/a2ui/renderers/carousel.d.ts +1 -1
- package/utils/a2ui/renderers/carousel.js +44 -28
- package/utils/a2ui/renderers/chart.cjs +1 -1
- package/utils/a2ui/renderers/chart.d.cts +4 -0
- package/utils/a2ui/renderers/chart.d.ts +1 -1
- package/utils/a2ui/renderers/chat.cjs +1 -1
- package/utils/a2ui/renderers/chat.d.cts +7 -0
- package/utils/a2ui/renderers/chat.d.ts +2 -1
- package/utils/a2ui/renderers/chat.js +30 -8
- package/utils/a2ui/renderers/checkbox.cjs +1 -1
- package/utils/a2ui/renderers/checkbox.d.cts +11 -0
- package/utils/a2ui/renderers/checkbox.d.ts +2 -2
- package/utils/a2ui/renderers/content-carousel.cjs +1 -1
- package/utils/a2ui/renderers/content-carousel.d.cts +5 -0
- package/utils/a2ui/renderers/content-carousel.d.ts +1 -1
- package/utils/a2ui/renderers/counter.cjs +1 -1
- package/utils/a2ui/renderers/counter.d.cts +5 -0
- package/utils/a2ui/renderers/counter.d.ts +2 -2
- package/utils/a2ui/renderers/drag-and-drop.cjs +1 -1
- package/utils/a2ui/renderers/drag-and-drop.d.cts +7 -0
- package/utils/a2ui/renderers/drag-and-drop.d.ts +2 -2
- package/utils/a2ui/renderers/dropdown.cjs +1 -1
- package/utils/a2ui/renderers/dropdown.d.cts +6 -0
- package/utils/a2ui/renderers/dropdown.d.ts +2 -2
- package/utils/a2ui/renderers/form.cjs +1 -1
- package/utils/a2ui/renderers/form.d.cts +9 -0
- package/utils/a2ui/renderers/form.d.ts +6 -6
- package/utils/a2ui/renderers/form.js +30 -22
- package/utils/a2ui/renderers/header.cjs +1 -1
- package/utils/a2ui/renderers/header.d.cts +5 -0
- package/utils/a2ui/renderers/header.d.ts +2 -2
- package/utils/a2ui/renderers/icon.cjs +1 -1
- package/utils/a2ui/renderers/icon.d.cts +5 -0
- package/utils/a2ui/renderers/icon.d.ts +2 -2
- package/utils/a2ui/renderers/image.cjs +1 -1
- package/utils/a2ui/renderers/image.d.cts +1025 -0
- package/utils/a2ui/renderers/image.d.ts +11 -11
- package/utils/a2ui/renderers/index.cjs +1 -1
- package/utils/a2ui/renderers/index.d.cts +3 -0
- package/utils/a2ui/renderers/index.d.ts +2 -2
- package/utils/a2ui/renderers/index.js +51 -49
- package/utils/a2ui/renderers/label.cjs +1 -1
- package/utils/a2ui/renderers/label.d.cts +5 -0
- package/utils/a2ui/renderers/label.d.ts +1 -1
- package/utils/a2ui/renderers/layout.cjs +1 -1
- package/utils/a2ui/renderers/layout.d.cts +10 -0
- package/utils/a2ui/renderers/layout.d.ts +2 -2
- package/utils/a2ui/renderers/link.cjs +1 -1
- package/utils/a2ui/renderers/link.d.cts +5 -0
- package/utils/a2ui/renderers/link.d.ts +2 -2
- package/utils/a2ui/renderers/link.js +5 -2
- package/utils/a2ui/renderers/list.cjs +1 -1
- package/utils/a2ui/renderers/list.d.cts +4 -0
- package/utils/a2ui/renderers/list.d.ts +1 -1
- package/utils/a2ui/renderers/loader.cjs +1 -1
- package/utils/a2ui/renderers/loader.d.cts +4 -0
- package/utils/a2ui/renderers/loader.d.ts +1 -1
- package/utils/a2ui/renderers/menu.cjs +1 -1
- package/utils/a2ui/renderers/menu.d.cts +5 -0
- package/utils/a2ui/renderers/menu.d.ts +2 -2
- package/utils/a2ui/renderers/modal.cjs +1 -1
- package/utils/a2ui/renderers/modal.d.cts +6 -0
- package/utils/a2ui/renderers/modal.d.ts +2 -2
- package/utils/a2ui/renderers/modal.js +30 -16
- package/utils/a2ui/renderers/notification.cjs +1 -1
- package/utils/a2ui/renderers/notification.d.cts +6 -0
- package/utils/a2ui/renderers/notification.d.ts +1 -1
- package/utils/a2ui/renderers/price.cjs +1 -1
- package/utils/a2ui/renderers/price.d.cts +4 -0
- package/utils/a2ui/renderers/price.d.ts +1 -1
- package/utils/a2ui/renderers/progress-bar.cjs +1 -1
- package/utils/a2ui/renderers/progress-bar.d.cts +4 -0
- package/utils/a2ui/renderers/progress-bar.d.ts +1 -1
- package/utils/a2ui/renderers/radio-group.cjs +1 -1
- package/utils/a2ui/renderers/radio-group.d.cts +5 -0
- package/utils/a2ui/renderers/radio-group.d.ts +2 -2
- package/utils/a2ui/renderers/rating.cjs +1 -1
- package/utils/a2ui/renderers/rating.d.cts +5 -0
- package/utils/a2ui/renderers/rating.d.ts +2 -2
- package/utils/a2ui/renderers/search.cjs +1 -1
- package/utils/a2ui/renderers/search.d.cts +6 -0
- package/utils/a2ui/renderers/search.d.ts +3 -3
- package/utils/a2ui/renderers/select.cjs +1 -1
- package/utils/a2ui/renderers/select.d.cts +5 -0
- package/utils/a2ui/renderers/select.d.ts +2 -2
- package/utils/a2ui/renderers/separator.cjs +1 -1
- package/utils/a2ui/renderers/separator.d.cts +4 -0
- package/utils/a2ui/renderers/separator.d.ts +1 -1
- package/utils/a2ui/renderers/sidebar.cjs +1 -1
- package/utils/a2ui/renderers/sidebar.d.cts +5 -0
- package/utils/a2ui/renderers/sidebar.d.ts +2 -2
- package/utils/a2ui/renderers/skeleton.cjs +1 -1
- package/utils/a2ui/renderers/skeleton.d.cts +5 -0
- package/utils/a2ui/renderers/skeleton.d.ts +1 -1
- package/utils/a2ui/renderers/slider.cjs +1 -1
- package/utils/a2ui/renderers/slider.d.cts +6 -0
- package/utils/a2ui/renderers/slider.d.ts +3 -3
- package/utils/a2ui/renderers/stepper.cjs +1 -1
- package/utils/a2ui/renderers/stepper.d.cts +5 -0
- package/utils/a2ui/renderers/stepper.d.ts +2 -2
- package/utils/a2ui/renderers/switch.cjs +1 -1
- package/utils/a2ui/renderers/switch.d.cts +5 -0
- package/utils/a2ui/renderers/switch.d.ts +2 -2
- package/utils/a2ui/renderers/switch.js +19 -15
- package/utils/a2ui/renderers/table.cjs +1 -1
- package/utils/a2ui/renderers/table.d.cts +5 -0
- package/utils/a2ui/renderers/table.d.ts +1 -1
- package/utils/a2ui/renderers/table.js +110 -26
- package/utils/a2ui/renderers/tabs.cjs +1 -1
- package/utils/a2ui/renderers/tabs.d.cts +5 -0
- package/utils/a2ui/renderers/tabs.d.ts +2 -2
- package/utils/a2ui/renderers/toggle.cjs +1 -1
- package/utils/a2ui/renderers/toggle.d.cts +5 -0
- package/utils/a2ui/renderers/toggle.d.ts +2 -2
- package/utils/a2ui/renderers/tooltip.cjs +1 -1
- package/utils/a2ui/renderers/tooltip.d.cts +5 -0
- package/utils/a2ui/renderers/tooltip.d.ts +1 -1
- package/utils/a2ui/renderers/truncate.cjs +1 -1
- package/utils/a2ui/renderers/truncate.d.cts +4 -0
- package/utils/a2ui/renderers/truncate.d.ts +1 -1
- package/utils/a2ui/renderers/typography.cjs +1 -1
- package/utils/a2ui/renderers/typography.d.cts +4 -0
- package/utils/a2ui/renderers/typography.d.ts +1 -1
- package/utils/a2ui/types.d.cts +19 -0
- package/utils/a2ui/types.d.ts +3 -3
- package/utils/a2ui.d.cts +2 -0
- package/utils/a2ui.d.ts +2 -2
- package/utils/animationFrame.cjs +1 -1
- package/utils/animationFrame.d.cts +15 -0
- package/utils/commands/vitest-a11y-command.d.cts +29 -0
- package/utils/commands/vitest-a11y-command.d.ts +29 -0
- package/utils/commands/vitest-a2ui-judge-command.d.cts +25 -0
- package/utils/commands/vitest-a2ui-judge-command.d.ts +25 -0
- package/utils/commands/vitest-a2ui-llm-command.d.cts +5 -0
- package/utils/commands/vitest-a2ui-llm-command.d.ts +5 -0
- package/utils/commands/vitest-a2ui-schema-command.d.cts +6 -0
- package/utils/commands/vitest-a2ui-schema-command.d.ts +6 -0
- package/utils/common.d.cts +3 -0
- package/utils/date.d.cts +9 -0
- package/utils/focus.d.cts +32 -0
- package/utils/getContrastColor.d.cts +2 -0
- package/utils/helpers.d.cts +21 -0
- package/utils/index.d.cts +10 -0
- package/utils/index.d.ts +10 -11
- package/utils/layout.d.cts +6 -0
- package/utils/layout.d.ts +1 -1
- package/utils/math.d.cts +6 -0
- package/utils/setInRange.d.cts +5 -0
- package/utils/uniqueKeys.d.cts +1 -0
- package/ai/codegen.d.ts +0 -0
- package/components/atoms/Icon/utils.d.ts +0 -3
- package/components/core/index.d.ts +0 -54
- package/components/domainSpecific/index.d.ts +0 -36
- package/components/templates/index.d.ts +0 -0
- package/utils/getCharCount.d.ts +0 -3
package/ai/a2ui/spec-schema.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A2UI_COMPONENT_TYPES, A2UI_BUTTON_VARIANTS } from './component-map';
|
|
1
|
+
import { A2UI_COMPONENT_TYPES, A2UI_BUTTON_VARIANTS } from './component-map.js';
|
|
2
2
|
/**
|
|
3
3
|
* Full A2UI specification schema.
|
|
4
4
|
*
|
|
@@ -1310,12 +1310,17 @@ export declare const A2UI_SPEC_SCHEMA: {
|
|
|
1310
1310
|
readonly description: "Accessible aria-label for the AttachmentFile remove button.";
|
|
1311
1311
|
readonly default: "Remove file";
|
|
1312
1312
|
};
|
|
1313
|
+
readonly isLoading: {
|
|
1314
|
+
readonly type: "boolean";
|
|
1315
|
+
readonly description: "Shows a spinner in place of the remove button while uploading. Only takes effect when actions[] is also provided.";
|
|
1316
|
+
readonly default: false;
|
|
1317
|
+
};
|
|
1313
1318
|
readonly actions: {
|
|
1314
1319
|
readonly type: "array";
|
|
1315
1320
|
readonly items: {
|
|
1316
1321
|
readonly type: "string";
|
|
1317
1322
|
};
|
|
1318
|
-
readonly description: "Action IDs from ui.actions to
|
|
1323
|
+
readonly description: "Action IDs from ui.actions to trigger when the remove button is clicked. The remove button is only rendered when this array is non-empty. Maps to onRemove in TSX.";
|
|
1319
1324
|
};
|
|
1320
1325
|
readonly validation: {
|
|
1321
1326
|
readonly type: "array";
|
|
@@ -2066,6 +2071,7 @@ export type A2UIComponent = {
|
|
|
2066
2071
|
virtualized?: boolean;
|
|
2067
2072
|
rowHeight?: number;
|
|
2068
2073
|
minVisibleRange?: number;
|
|
2074
|
+
expandableRows?: boolean;
|
|
2069
2075
|
title?: string;
|
|
2070
2076
|
description?: string;
|
|
2071
2077
|
status?: 'pending' | 'fulfilled' | 'rejected';
|
|
@@ -2128,6 +2134,8 @@ export type A2UIComponent = {
|
|
|
2128
2134
|
activeItemId?: string;
|
|
2129
2135
|
collapsed?: boolean;
|
|
2130
2136
|
collapsedWidth?: string;
|
|
2137
|
+
cursor?: string;
|
|
2138
|
+
role?: string;
|
|
2131
2139
|
};
|
|
2132
2140
|
export type A2UIMetadata = {
|
|
2133
2141
|
agentId: string;
|
package/ai/a2ui/spec-schema.js
CHANGED
|
@@ -1342,10 +1342,15 @@ var t = {
|
|
|
1342
1342
|
description: "Accessible aria-label for the AttachmentFile remove button.",
|
|
1343
1343
|
default: "Remove file"
|
|
1344
1344
|
},
|
|
1345
|
+
isLoading: {
|
|
1346
|
+
type: "boolean",
|
|
1347
|
+
description: "Shows a spinner in place of the remove button while uploading. Only takes effect when actions[] is also provided.",
|
|
1348
|
+
default: !1
|
|
1349
|
+
},
|
|
1345
1350
|
actions: {
|
|
1346
1351
|
type: "array",
|
|
1347
1352
|
items: { type: "string" },
|
|
1348
|
-
description: "Action IDs from ui.actions to
|
|
1353
|
+
description: "Action IDs from ui.actions to trigger when the remove button is clicked. The remove button is only rendered when this array is non-empty. Maps to onRemove in TSX."
|
|
1349
1354
|
},
|
|
1350
1355
|
validation: {
|
|
1351
1356
|
type: "array",
|
|
@@ -1,15 +1,16 @@
|
|
|
1
|
-
const e=require(
|
|
2
|
-
`)}function
|
|
3
|
-
`)}function
|
|
4
|
-
`)}function
|
|
5
|
-
`)}function
|
|
6
|
-
`)}function
|
|
1
|
+
const e=require("./image-policy.cjs"),t=require("./component-map.cjs"),n=require("../figma-maps/index.cjs");var r=`a2ui-agent`,i=`Grid Dynamics Assistant`;function a(t){let{agentId:n=r,agentName:a=i,provider:s,scenario:c,segment:u,theme:h=`light`,imageSources:_,locale:v,context:y,customGuardrails:b=[],customRules:x=[],actions:S=[],customComponents:C=[],priceFormat:w}=t??{},T=o(),E=d(C),D=p(_,b),O=l(S),k=e.normalizeImageSources(_),A=[`You are an AI assistant that generates UI specifications in A2UI (Agent-to-UI) format.`,``,`A2UI is a JSON-based protocol that enables AI agents to describe interactive user interfaces.`,`The client application renders these specs using the GridKit design system (gd-design-library)`,`from Grid Dynamics — a library of 52 modular, accessible, themeable React components.`,``];return y&&A.push(`## USE CASE CONTEXT`,``,y,``),(s||c||u)&&(A.push(`## ORCHESTRATION CONTEXT`,``),s&&A.push(`- Provider: ${s}`),c&&A.push(`- Scenario: ${c}`),u&&A.push(`- Segment: ${u}`),A.push(``,`If metadata.provider, metadata.scenario, or metadata.segment are included, use exactly these values.`,``)),A.push(``,`## GENERATION RULES`,``,g(x),`## RESPONSE FORMAT`,``,`Always respond with a single valid JSON object matching this structure exactly:`,`metadata.provider, metadata.scenario, and metadata.segment are optional.`,`Include them only when the application provides them or when the orchestration context is explicitly known.`,``,JSON.stringify({version:`1.0.0`,metadata:{agentId:n,agentName:a,timestamp:`<ISO 8601 timestamp>`,theme:h,...s?{provider:s}:{},...c?{scenario:c}:{},...u?{segment:u}:{},...v?{locale:v}:{}},ui:{layout:{type:`vertical`,spacing:`16px`},components:[`...see COMPONENT JSON SHAPE below...`],actions:[`...see ACTION JSON SHAPE below...`]}},null,2),``,`### COMPONENT JSON SHAPE`,``,`Every entry in ui.components (and recursively in children[]) follows this shape.`,`Only include fields that are relevant to the component — omit all unused fields.`,``,JSON.stringify({id:`unique_snake_case_id`,type:`<see AVAILABLE COMPONENT TYPES>`,label:`<primary visible text>`,value:`<component value — type depends on component: string | number | boolean | array>`,caption:`<optional image caption>`,placeholder:`<input placeholder text>`,helpText:`<helper text shown below inputs>`,title:`<widget/upload heading>`,description:`<supporting widget/upload copy>`,ariaLabel:`<accessible label when visible text is not enough>`,required:!1,disabled:!1,readOnly:!1,checked:!1,variant:`<visual variant — see component definition>`,appearance:`<secondary appearance modifier — see component definition>`,size:`"xs" | "sm" | "md" | "lg" | "xl"`,styleVariant:`"bold" | ["semibold", "italic"]`,icon:`<icon name from available icons list>`,iconStart:`<optional leading icon name>`,iconEnd:`<optional trailing icon name>`,buttonType:`"button" | "submit" | "reset"`,labelSide:`"left" | "right"`,rounded:`"none" | "default" | "round" | "xs" | "sm" | "md" | "lg" | "xl"`,withWrapper:!0,wrapperVariant:`"inline" | "section" | "fullPage"`,WrapperView:`"div" | "section" | "aside"`,container:`<optional CSS selector for portal target, e.g. "#portal-root">`,blocksScroll:!1,animationProps:`<custom CSS animation shorthand>`,fullWidth:!1,isIcon:!1,isOpen:!1,showSidebarAsideControl:!0,showSidebarHeaderControl:!0,vertical:`"hidden" | "visible" | "auto"`,horizontal:`"hidden" | "visible" | "auto"`,autoHide:!1,multiple:!1,searchable:!1,searchPlaceholder:`<select search placeholder>`,accept:`<file MIME types or extensions>`,capture:`"user" | "environment" | true | false`,inputFileButtonLabel:`<drag-and-drop button label>`,acceptedFileTypes:[`image/png`,`application/pdf`],maxFileSize:1e7,maxFiles:3,errors:[`<inline validation message>`],files:[{name:`proposal.pdf`,size:124e4,type:`application/pdf`}],className:`<optional CSS hook>`,tabIndex:0,htmlFor:`<associated form control id>`,lines:2,isBordered:!1,isHighlighted:!1,withShadowHover:!1,gap:`<CSS gap for flex-container, e.g. "12px">`,gutter:`<CSS gap between card children, e.g. "12px">`,padding:`<CSS inner card padding, e.g. "16px">`,align:`"start" | "center" | "end" | "stretch"`,justify:`"start" | "center" | "end" | "space-between" | "space-around"`,isWrap:!0,flex:`<CSS flex shorthand, e.g. "1 1 auto">`,isReversed:!1,flexDirection:`"row" | "column" | "row-reverse" | "column-reverse"`,alignItems:`<CSS align-items value>`,justifyContent:`<CSS justify-content value>`,options:[{value:`val`,label:`Label`,disabled:!1,icon:`iconName`,href:`/path`}],columns:[{key:`col_key`,label:`Column Header`,sortable:!1,width:`120px`}],rows:[{col_key:`cell value`}],attributes:{src:`https://...`,alt:`...`,min:0,max:100,initial:1},actions:[`action_id_1`],children:[`<nested A2UIComponent objects>`],headerContent:[`<chat header A2UIComponent objects>`],sidebarContent:[`<chat sidebar A2UIComponent objects>`],sidebarMinifiedContent:[`<collapsed chat sidebar A2UIComponent objects>`],sidebarHeaderContent:[`<chat sidebar header A2UIComponent objects>`],dragOverContent:[`<nested A2UIComponent objects>`],loadingOverlay:[`<nested A2UIComponent objects>`],styling:{margin:`0 0 16px 0`,marginTop:`8px`,marginBottom:`12px`,padding:`16px`,paddingTop:`8px`,width:`100%`,height:`auto`,maxWidth:`480px`,minWidth:`200px`,maxHeight:`300px`,minHeight:`120px`,color:`#333`,backgroundColor:`#fff`,fontSize:`14px`,fontWeight:`600`,letterSpacing:`-0.02em`,lineHeight:`1.5`,textAlign:`left`,display:`flex`,flexDirection:`column`,flex:`1`,flexWrap:`nowrap`,flexShrink:`0`,alignItems:`center`,justifyContent:`space-between`,gap:`8px`,borderRadius:`8px`,border:`1px solid #e0e0e0`,boxShadow:`0 1px 3px rgba(0,0,0,0.1)`,cursor:`pointer`,overflow:`hidden`,opacity:`1`}},null,2),``,`### ACTION JSON SHAPE`,``,`Every entry in ui.actions follows this shape.`,`Reference an action in a component by placing its id string in the component's actions[] array.`,``,JSON.stringify({id:`unique_action_id`,type:`<type string from ACTION TYPES>`,trigger:`"click" | "change" | "submit" | "load" | "blur" | "focus" | "custom"`,label:`<optional human-readable label>`,payload:{"<key>":`<value — data passed to the action handler>`}},null,2),``,`## AVAILABLE COMPONENT TYPES`,``,`All types map to gd-design-library (GridKit) React components. Use snake_case for all IDs.`,``,T,...E?[E]:[],`## AVAILABLE LAYOUT TYPES`,``,`These values are ONLY valid for ui.layout.type — they are NOT component types.`,`NEVER use these as "type" on a component in ui.components[].`,``,`- "vertical": Stack components top to bottom (default). Best for forms and sequential content.`,`- "horizontal": Stack components left to right. Best for toolbars and inline action groups.`,` WARNING: "grid" is NOT a component type. Do not put { "type": "grid" } in ui.components[].`,``,`Additional layout options:`,` spacing (string CSS, e.g. "16px") — gap between top-level components`,` alignment ("start"|"center"|"end"|"stretch"|"baseline") — cross-axis alignment of children`,` justification ("start"|"center"|"end"|"space-between"|"space-around"|"space-evenly") — main-axis distribution`,``,`## ACTION TYPES`,``,O,``,`## CRITICAL GUARDRAILS`,``,D,``,`## FORBIDDEN — NEVER DO THESE`,``,f(),``,`## CSS VALUE RULES — STRICTLY ENFORCED`,``,`ALL values for spacing, margin, padding, width, height, gap, and any sizing/positioning`,`MUST be real CSS values. NEVER use design token strings.`,``,`ALLOWED — real CSS units:`,` "16px", "1rem", "0.5rem", "50%", "100%", "24px", "0", "auto", "8px 16px", "1rem 0"`,``,`FORBIDDEN — design token strings (INVALID, will cause schema validation failure and retry):`,` "xs", "sm", "md", "lg", "xl", "none", "small", "medium", "large"`,``,`Applies to: layout.spacing, styling.margin, styling.padding, styling.width, styling.height,`,`styling.maxHeight, styling.minHeight, styling.gap, gutter and padding props on card.`,``,`## IMAGE URL RULES — STRICTLY ENFORCED`,``,...k===null?[`For image components, attributes.src MUST be a direct browser-loadable image file URL from any public CDN.`,`Prefer URLs that clearly point to an image asset, ideally ending in .jpg, .jpeg, .png, .webp, or .gif.`,`Do not link to page URLs, search results, or hotlink-protected content.`,`If you are not highly confident that a direct image URL will render publicly, do NOT guess. Omit the image component entirely.`]:k.length===0?[`Do not include image components with remote src URLs — no image sources are configured.`]:[`For image components, attributes.src MUST be a direct browser-loadable image file URL.`,``,`ALLOWED HOSTS ONLY:`,...k.map(e=>` ${e}`),``,`FORBIDDEN: Any image URL from any other host, plus page URLs, search links, or hotlink-protected content.`,`If you are not highly confident that a direct image URL will render publicly, do NOT guess. Omit the image component entirely.`],``,`## ACCESSIBILITY RULES`,``,`1. Always set a meaningful alt text on image components (attributes.alt).`,`2. Always add a label to: input, textarea, select, switch, toggle, slider, radio-group.`,`3. Use semantic typography variants — h1–h6 for headings, "p" or "span" for body text.`,`4. Use variant="h1" at most once per page.`,`5. Interactive cards should have tabIndex set for keyboard accessibility.`,`6. Disabled form controls must still have a visible label.`,``,`## PRICE & CURRENCY FORMATTING RULES`,``,m(v,w)),A.join(`
|
|
2
|
+
`)}function o(){let e=[],n=new Map,r=new Set([`Widgets`]);for(let[e,i]of Object.entries(t.A2UI_COMPONENT_MAP)){let t=`### ${i.category??`Other`}`;n.has(t)||n.set(t,[]);let a=s(e,i.props);if(n.get(t).push(`- "${e}": ${i.description}${a}`),i.category&&r.has(i.category)){let e=c(i.props);e.length>0&&n.get(t).push(` Prop details:`,...e)}i.notes&&i.notes.forEach(e=>n.get(t).push(` → ${e}`))}for(let[t,r]of n)e.push(t,...r,``);return e.join(`
|
|
3
|
+
`)}function s(e,t){let n=new Set([`styling`]),r=[];for(let[e,i]of Object.entries(t)){if(n.has(e))continue;let t=i.trim(),a;if(t.startsWith(`"`))a=t.split(` — `)[0].replace(/\s*\(default\)/gi,``).trim();else if(t.startsWith(`boolean`))a=`bool`;else if(t.startsWith(`number`))a=`number`;else if(t.includes(`Component[]`))a=`Component[]`;else if(t.startsWith(`string[]`))a=`string[]`;else if(t.startsWith(`Array<`))a=t.split(` — `)[0].trim();else if(t.startsWith(`string`))a=`string`;else if(t.startsWith(`object`)){let e=t.match(/\{[^}]+\}/);a=e?e[0]:`object`}else a=t.split(` — `)[0].trim();r.push(`${e} (${a})`)}return r.length===0?``:`\n Props: ${r.join(`, `)}`}function c(e){let t=new Set([`styling`]);return Object.entries(e).filter(([e])=>!t.has(e)).map(([e,t])=>` - ${e}: ${t}`)}function l(e=[]){return e.length===0?`No action types are configured for this application. Do NOT include ui.actions in the spec.`:[`### ACTION TYPES`,``,`The following action types are available for this application. Include only the actions that are relevant to the UI you are generating — do NOT include actions that have no meaningful place in the current response.`,``,`For each action you include:`," 1. Add an entry to ui.actions[] with its `type`, a unique snake_case `id`, the correct `trigger`, and a `payload` containing the static data the handler needs."," 2. Wire it to the appropriate component via that component's `actions[]` array.",` 3. Choose the component and trigger that best match the action description.`,``,`TRIGGER SELECTION RULES:`,` - trigger: "click" → button, card-button, link, dropdown-item, sidebar, header, image-preview, search-modal — for actions described as: add, submit, confirm, view, navigate, remove, open, close, select`,` - trigger: "change" → card-counter, counter, switch, toggle, select, slider, radio-group, search — for actions described as: update quantity, adjust, change, increment, decrement, toggle a value, or react to typed search input`,` - trigger: "submit" → form (paired with a submit button) — for actions described as: save, register, login, send form`,` - trigger: "load" → any container component — for actions described as: initialise, prefetch, load data on mount`,` - trigger: "custom" → drag-and-drop, drag-and-drop-files, input-area — when payloads represent dropped files or differentiated send/attachment events`,``,`PAYLOAD RULES:`,` - Always include a payload object with the data the handler needs (e.g. product id, name, price).`,` - For counter/quantity actions, include the static context (e.g. product id) in the spec payload;`,` the renderer automatically merges the live { qty } value at runtime — do NOT put qty in the spec payload.`,``,...e.map(e=>`- "${e.type}": ${e.description}`)].join(`
|
|
4
|
+
`)}function u(e){let n=new Set(Object.keys(t.A2UI_COMPONENT_MAP)),r=[];for(let t of e)n.has(t.type)||(n.add(t.type),r.push(t));return r}function d(e){let t=u(e);if(t.length===0)return``;let n=[],r=new Map;for(let e of t){let t=`### ${e.category??`Custom`}`;r.has(t)||r.set(t,[]);let n=e.props?s(e.type,e.props):``;r.get(t).push(`- "${e.type}": ${e.description}${n}`),e.notes&&e.notes.forEach(e=>r.get(t).push(` → ${e}`))}for(let[e,t]of r)n.push(e,...t,``);return n.join(`
|
|
5
|
+
`)}function f(){return[`1. NEVER use design token strings for CSS values ("xs", "sm", "md", "lg", "xl", "none").`,` Use real CSS like "8px", "1rem", "16px 24px", "0" instead.`,``,`2. NEVER use a button variant outside of: primary, secondary, tertiary, outlined, text, inherit.`,` These are ButtonVariant values — always lowercase.`,` NEVER use capitalized forms: Primary, Secondary, Tertiary, Outlined, Text, Inherit.`,` NEVER use: danger, success, warning, error, info, default, contained.`,``,`3. NEVER use an icon name not listed in the CRITICAL GUARDRAILS icon list.`,` NEVER invent icon names. When in doubt, omit the icon.`,``,`4. NEVER use duplicate component IDs. Every id must be unique across the entire spec,`,` including nested children.`,``,`5. NEVER place children[] inside non-container components.`,` Only these support children[]: box, wrapper, portal, card, modal, accordion, accordion-item,`,` accordion-content, tooltip, scroll, tabs, carousel, content-carousel, dropdown, dropdown-item,`,` label, header, search-modal, sidebar, image-preview, input-area, drag-and-drop-files, form,`,` row, column, flex-container, chat-bubble, chat-container,`,` card-row, card-column.`,` chat-container also supports headerContent[], sidebarContent[], sidebarMinifiedContent[],`,` and sidebarHeaderContent[] named slot arrays.`,``,`6. NEVER use an image URL that is not a direct public asset URL.`,` NEVER use webpage URLs, product pages, search result pages, or URLs requiring auth or redirects.`,``,`7. NEVER include markdown syntax, HTML tags, or code fences inside JSON string values.`,` All string values must be plain text.`,``,`8. NEVER use a component type not listed in AVAILABLE COMPONENT TYPES.`,` NEVER invent new type names.`,``,`9. NEVER use variant="h1" more than once per page.`,``,`10. NEVER omit the required fields: id and type on every component; id and type on every action.`,``,`11. NEVER use "heading" or "paragraph" as component types — use "typography" instead.`,` Set the variant prop ("h1"–"h6" for headings, "p" for paragraphs).`,``,`12. NEVER set attributes.width or attributes.height on an image component.`,` Image size is determined solely by the parent container.`,` Use styling.width="100%" and styling.height="auto" for responsive sizing if needed.`,``,`13. NEVER omit attributes.xAxis.tickCount on charts with >8 x-axis data points.`,` Always cap xAxis.tickCount at 8 or fewer to prevent label overlap.`,``,`14. NEVER use "grid" as a component type in ui.components[].`,` "grid" is ONLY valid for ui.layout.type — it controls the page-level layout grid.`,` To arrange components in a multi-column grid, use "row" with children[] or "flex-container"`,` with styling.display="grid" and styling.gap set appropriately.`,` WRONG: { "type": "grid", "gridColumns": 3, "children": [...] }`,` RIGHT: { "type": "row", "children": [...] } or use ui.layout.type = "grid" with gridColumns.`,``,`15. NEVER use generic component types (typography, button, rating, price, counter, image, etc.)`,` as children of a card. Inside a card, ONLY use card-* subcomponent types:`,` card-title, card-description, card-image, card-price, card-button, card-counter,`,` card-row, card-column, card-rating.`,` WRONG: { "type": "card", "children": [{ "type": "typography" }, { "type": "button" }] }`,` RIGHT: { "type": "card", "children": [{ "type": "card-title" }, { "type": "card-button" }] }`,``,`16. card-* subcomponent types (card-title, card-description, card-image, card-price,`,` card-button, card-counter, card-row, card-column, card-rating) are ONLY valid inside`,` a card context. NEVER use them outside of a card.`,``,`17. NEVER emit a card component without both padding and gutter props set.`,` Both are REQUIRED — use "0" explicitly if no spacing is desired.`,``,`18. NEVER omit a defined action type from the spec.`,` Every action listed in ACTION TYPES MUST appear in ui.actions[] AND be wired`,` to at least one component via that component's actions[] array.`,` WRONG: defining "add-to-cart" but not including it in any component's actions[].`,` RIGHT: every defined action type has a corresponding entry in ui.actions and a wired component.`,``,`19. NEVER use typography variant="caption" inside normal div/card/row/column/flex layouts without an as override.`,` Typography variant="caption" renders a real HTML <caption> element by default.`,` Outside true table captions, set as="div" for block metadata or as="span" for inline metadata.`,``,`20. NEVER embed an icon inside a button's label text or as a raw child alongside text.`,` For a button with visible text and a leading or trailing icon, ALWAYS use iconStart or iconEnd`,` with the icon name string. The renderer handles icon sizing automatically.`,` WRONG: { "type": "button", "label": "← Undo" }`,` WRONG: { "type": "button", "label": "Undo", "children": [{ "type": "icon", "icon": "arrowLeft" }] }`,` RIGHT: { "type": "button", "label": "Undo", "iconStart": "arrowLeft" }`,` RIGHT: { "type": "button", "label": "Redo", "iconEnd": "arrowRight" }`,``,`21. Icon-only buttons MUST set isIcon: true and provide the icon via iconStart.`,` NEVER pass a bare icon as children without isIcon, and NEVER omit isIcon on a button that has no label text.`,` WRONG: { "type": "button", "children": [{ "type": "icon", "icon": "search" }] }`,` RIGHT: { "type": "button", "isIcon": true, "iconStart": "search", "ariaLabel": "Search" }`,``,`22. NEVER use JavaScript expressions, function calls, or computed values in any JSON field.`,` Every value must be a valid JSON literal: string, number, boolean, array, or object.`,` This is the most common source of JSON parse failures — the output is always pure JSON,`,` never a mix of JSON and JavaScript.`,` WRONG: "value": Math.round((1284590/1500000)*100)`,` WRONG: "value": parseInt("86", 10)`,` WRONG: "value": 1284590/1500000*100`,` RIGHT: "value": 86`,``,`23. table rows[] MUST include an "id" field on every row object.`,` WRONG: { "orderId": "#ORD-7291", "customer": "Alice Johnson" }`,` RIGHT: { "id": "order_7291", "orderId": "#ORD-7291", "customer": "Alice Johnson" }`,``,`24. NEVER use typography variant names borrowed from other design systems (body1, body2, subtitle1,`,` subtitle2, overline, body, inherit, display, bold, italic).`,` These are internal TypeScript enum key names, NOT valid A2UI variant values.`,` WRONG: { "type": "typography", "variant": "body1" }`,` WRONG: { "type": "typography", "variant": "body2" }`,` WRONG: { "type": "typography", "variant": "inherit" }`,` RIGHT: { "type": "typography", "variant": "p" } // body paragraph`,` RIGHT: { "type": "typography", "variant": "small" } // secondary/smaller body text`,` RIGHT: { "type": "typography", "variant": "span" } // inline/neutral text`,` Valid typography variants: h1|h2|h3|h4|h5|h6|p|span|small|strong|i|code|kbd|caption|header|sup|sub|div`,``,`25. For switch, label is LabelPosition (position), NOT text content.`,` Put visible text in value. Put the side ("left"|"right") in label.`,` WRONG: { "type": "switch", "label": "Dark mode" } // "Dark mode" is text, not a position`,` WRONG: { "type": "switch", "value": "left" } // "left" is a position, not text`,` RIGHT: { "type": "switch", "value": "Dark mode", "label": "left" }`,` RIGHT: { "type": "switch", "value": "Enable notifications" } // label defaults to "right"`,` Valid label (LabelPosition) values: "left" | "right". Default: "right".`,` NEVER use: start, end, top, bottom, before, after.`,``,`26. "chat-image-gallery" is ONLY valid as a direct child of "chat-bubble".`,` NEVER place it elsewhere in the spec.`,` Conversely, NEVER place "image-preview" inside a "chat-bubble" — use "chat-image-gallery"`,` for any image gallery / photo grid rendered inside a chat message.`,` WRONG: chat-bubble > image-preview`,` RIGHT: chat-bubble > chat-image-gallery (with images[] array)`].join(`
|
|
6
|
+
`)}function p(n,r=[]){let i=t.A2UI_AVAILABLE_ICONS.join(`, `),a=t.A2UI_BUTTON_VARIANTS.join(` | `),o=e.normalizeImageSources(n),s=[`1. button variant MUST be one of: ${a} — NO other values allowed.`,` Do NOT use: "danger", "success", "warning", "error", "info", "default", "contained".`,``,`2. icon label MUST be one of these exact names:`,` ${i}`,` Do NOT use: "add" (use "plus"), "settings", "close" (use "cross"), "chevronRight" (use "arrowRight").`,``,` Icon semantic guide (choose the right icon by use case):`,...Object.entries(t.A2UI_ICON_CATALOG).flatMap(([e,t])=>[` ${e}:`,...Object.entries(t).map(([e,t])=>` "${e}": ${t}`)]),``,`3. counter uses top-level initial (not "value") for the starting count.`,` attributes.initial is accepted only as a backward-compatible fallback.`,``,`4. card withShadowHover requires styling.backgroundColor (e.g. "#fff") to be visible.`,` Pair with styling.cursor = "pointer" for interactive cards.`,``,`5. All component IDs must be unique and use snake_case (e.g. "submit_button", "user_card").`,``,`6. Nest components using children[] inside: box, wrapper, portal, card, modal, accordion,`,` accordion-item, accordion-content, tooltip, scroll, tabs, carousel, content-carousel,`,` dropdown, dropdown-item, label, header, search-modal, form, row, column, flex-container,`,` chat-bubble, chat-container, card-row, card-column.`,` chat-container also supports headerContent[], sidebarContent[], sidebarMinifiedContent[],`,` and sidebarHeaderContent[] as named slots.`,``,`7. Only use action types listed in ACTION TYPES.`,` If no action types are listed, omit ui.actions entirely.`,` Reference actions by ID string in component actions[] arrays.`,``,o===null?`8. Image src values MUST be direct browser-loadable image asset URLs from any public CDN.
|
|
7
7
|
Do not use page URLs, search results, or hotlink-protected links.
|
|
8
|
-
If uncertain, omit the image instead of inventing one.`:o.length===0?`8. No image sources are configured — do NOT include any image components with remote src URLs.`:`8. Image src values MUST be direct image asset URLs, not webpage URLs.\n Allowed hosts only: ${o.join(`, `)}.\n If a stable direct image URL is uncertain, omit the image instead of inventing one.`,``,`9. menu uses options[] for dropdown items — each item: { value: string, label: string }.`,` Do NOT use children[] inside menu; use options[] instead.`,``,`10. select and radio-group both use options[]: [{ value: string|number, label: string }].`,``,`11. table requires both columns[] and rows[].`,` columns: [{ key: string, label: string, sortable?: boolean, width?: string }].`,` rows: array of objects — each row MUST include an "id" field plus keys matching the column keys.`,` WRONG: { "customer": "Alice Johnson", "amount": "$2,400" }`,` RIGHT: { "id": "order_7291", "customer": "Alice Johnson", "amount": "$2,400" }`,``,`12. accordion uses children[] of accordion-item objects, and each accordion-item should include`,` an accordion-header plus accordion-content child. tabs support children[] for panel content.`,` For tabs, also provide options[] to define the tab labels and values.`,``,`13. drag-and-drop is a standalone file upload zone.`,` Do not nest it inside other form components.`,` Use top-level inputFileButtonLabel, acceptedFileTypes, maxFiles, maxFileSize, errors, files,`,` dragOverContent, and loadingOverlay for widget behaviour. NEVER emit React callbacks or refs`,` such as onFilesChanged, onError, onDrop, targetRef, or triggerRef. Use actions[] instead.`,``,`14. header is for full page navigation shells only.`,` For section headings, use typography with variant="h2" or "h3".`,``,`15. search-modal visibility is controlled by open-modal and close-modal actions.`,` Always pair it with a button that has an open-modal action targeting its id.`,``,`16. Image size is always controlled by the parent container — NEVER set attributes.width or`,` attributes.height on an image component. Use styling.width="100%" and styling.height="auto"`,` for responsive images. Use styling.objectFit="cover" when cropping to a fixed aspect ratio.`,``,`17. chart components with >8 data points on the x-axis MUST set attributes.xAxis.tickCount to`,` a value ≤ 8 (e.g. 6) to prevent x-axis label overlap and truncation.`,` For charts with many series or long x-axis labels, prefer a higher chartHeight (≥ 350) and`,` fewer tick marks so labels remain legible without overlapping.`,``,`18. counter components MUST be wrapped in a container (row or flex-container) that has`,` overflow set appropriately. Never place a bare counter at the top level of a scrollable`,` list — wrap it with other sibling elements (e.g. a button) inside a row so layout is`,` stable and does not trigger unintended page scroll on +/- click.`,``,`19. Card children MUST exclusively use card-* subcomponent types: card-row, card-column,`,` card-image, card-title, card-description, card-price, card-button, card-counter, card-rating.`,` NEVER place generic types (typography, button, rating, price, counter, image, badge, etc.)`,` directly inside a card. card-* types are INVALID outside of a card context.`,` Standard product card pattern:`,` card > card-image + card-column > card-title + card-description + card-rating`,` + card-row > card-price + card-counter`,` + card-button`,``,`20. ALWAYS set both padding and gutter on the card root — NEVER omit either prop.`,` padding: "0" when card-image is the first child (image stretches to card edges);`,` "16px" or "20px" for content-only cards without an image.`,` gutter: gap between direct card children — use "12px" or "16px" for standard spacing.`,` WRONG: { "type": "card", "isBordered": true, "children": [...] }`,` RIGHT: { "type": "card", "isBordered": true, "padding": "16px", "gutter": "12px", "children": [...] }`,``,`21. select, toggle, and radio-group use options[] for choice data.`,` NEVER emit React-only items[] arrays or render functions in A2UI JSON.`,``,`22. button uses buttonType for submit/reset semantics.`,` The top-level type field must ALWAYS stay the A2UI component type string.`,``,`23. label,
|
|
8
|
+
If uncertain, omit the image instead of inventing one.`:o.length===0?`8. No image sources are configured — do NOT include any image components with remote src URLs.`:`8. Image src values MUST be direct image asset URLs, not webpage URLs.\n Allowed hosts only: ${o.join(`, `)}.\n If a stable direct image URL is uncertain, omit the image instead of inventing one.`,``,`9. menu uses options[] for dropdown items — each item: { value: string, label: string }.`,` Do NOT use children[] inside menu; use options[] instead.`,``,`10. select and radio-group both use options[]: [{ value: string|number, label: string }].`,``,`11. table requires both columns[] and rows[].`,` columns: [{ key: string, label: string, sortable?: boolean, width?: string }].`,` rows: array of objects — each row MUST include an "id" field plus keys matching the column keys.`,` WRONG: { "customer": "Alice Johnson", "amount": "$2,400" }`,` RIGHT: { "id": "order_7291", "customer": "Alice Johnson", "amount": "$2,400" }`,``,`12. accordion uses children[] of accordion-item objects, and each accordion-item should include`,` an accordion-header plus accordion-content child. tabs support children[] for panel content.`,` For tabs, also provide options[] to define the tab labels and values.`,``,`13. drag-and-drop is a standalone file upload zone.`,` Do not nest it inside other form components.`,` Use top-level inputFileButtonLabel, acceptedFileTypes, maxFiles, maxFileSize, errors, files,`,` dragOverContent, and loadingOverlay for widget behaviour. NEVER emit React callbacks or refs`,` such as onFilesChanged, onError, onDrop, targetRef, or triggerRef. Use actions[] instead.`,``,`14. header is for full page navigation shells only.`,` For section headings, use typography with variant="h2" or "h3".`,``,`15. search-modal visibility is controlled by open-modal and close-modal actions.`,` Always pair it with a button that has an open-modal action targeting its id.`,``,`16. Image size is always controlled by the parent container — NEVER set attributes.width or`,` attributes.height on an image component. Use styling.width="100%" and styling.height="auto"`,` for responsive images. Use styling.objectFit="cover" when cropping to a fixed aspect ratio.`,``,`17. chart components with >8 data points on the x-axis MUST set attributes.xAxis.tickCount to`,` a value ≤ 8 (e.g. 6) to prevent x-axis label overlap and truncation.`,` For charts with many series or long x-axis labels, prefer a higher chartHeight (≥ 350) and`,` fewer tick marks so labels remain legible without overlapping.`,``,`18. counter components MUST be wrapped in a container (row or flex-container) that has`,` overflow set appropriately. Never place a bare counter at the top level of a scrollable`,` list — wrap it with other sibling elements (e.g. a button) inside a row so layout is`,` stable and does not trigger unintended page scroll on +/- click.`,``,`19. Card children MUST exclusively use card-* subcomponent types: card-row, card-column,`,` card-image, card-title, card-description, card-price, card-button, card-counter, card-rating.`,` NEVER place generic types (typography, button, rating, price, counter, image, badge, etc.)`,` directly inside a card. card-* types are INVALID outside of a card context.`,` Standard product card pattern:`,` card > card-image + card-column > card-title + card-description + card-rating`,` + card-row > card-price + card-counter`,` + card-button`,``,`20. ALWAYS set both padding and gutter on the card root — NEVER omit either prop.`,` padding: "0" when card-image is the first child (image stretches to card edges);`,` "16px" or "20px" for content-only cards without an image.`,` gutter: gap between direct card children — use "12px" or "16px" for standard spacing.`,` WRONG: { "type": "card", "isBordered": true, "children": [...] }`,` RIGHT: { "type": "card", "isBordered": true, "padding": "16px", "gutter": "12px", "children": [...] }`,``,`21. select, toggle, and radio-group use options[] for choice data.`,` NEVER emit React-only items[] arrays or render functions in A2UI JSON.`,``,`22. button uses buttonType for submit/reset semantics.`,` The top-level type field must ALWAYS stay the A2UI component type string.`,``,`23. label, truncate, and input-file use top-level label for visible text.`,` Do NOT put their display text in children unless you are nesting actual child components.`,``,`24. interactive icon, link, slider, and slider-dots components use actions[] for behavior.`,` NEVER emit onClick, onChange, or onDotClick callback props in A2UI JSON.`,``,`25. label uses top-level htmlFor, and typography styleVariant may be a single string or an array of strings.`,``,`26. progress-bar value MUST be a literal integer 0–100. Never compute it inline.`,` Pre-calculate the percentage yourself and output the plain number.`,` WRONG: "value": Math.round((1284590/1500000)*100)`,` RIGHT: "value": 86`,``,`27. For an ALWAYS-VISIBLE inline dropdown list with checkboxes (embedded directly in the page, never collapsible),`,` use: dropdown → dropdown-item (with children[]) → label (with children[]) → input (variant="checkbox").`,` The label top-level label field provides the visible text; the input child provides the checkbox.`,` Do NOT use this pattern for collapsible pickers — use select with multiple: true instead (see rule 24 in GENERATION RULES).`,` WRONG: { "type": "menu", "children": [{ "type": "checkbox" }] }`,` RIGHT (always-visible inline list):`,` { "type": "dropdown", "children": [`,` { "type": "dropdown-item", "id": "item_opt1", "value": "opt1", "label": "Option 1",`,` "children": [{ "type": "label", "id": "label_opt1", "label": "Option 1",`,` "children": [{ "type": "input", "id": "input_opt1", "variant": "checkbox" }] }] }`,` ] }`,``,`28. For standalone checkbox controls, ALWAYS use { "type": "input", "variant": "checkbox" }.`,` Use checked (boolean) for the checked state and indeterminate (boolean) for mixed/partial state.`,` Use label for the visible text next to the checkbox. Wire interactions through actions[].`,` NEVER emit { "type": "checkbox" } — it is not a valid A2UI component type.`,` WRONG: { "type": "checkbox", "label": "Accept terms", "checked": false }`,` RIGHT: { "type": "input", "variant": "checkbox", "label": "Accept terms", "checked": false }`];return r.length===0?s.join(`
|
|
9
9
|
`):[...s,``,`### ADDITIONAL GUARDRAILS (application-specific)`,``,...r].join(`
|
|
10
|
-
`)}function
|
|
10
|
+
`)}function m(e,t){let n;n=t??(e!=null&&/^(de|fr|it|nl|es|pt|pl|cs|sk|hu|ro|bg|hr|sl|et|lv|lt|fi|sv|da|nb|no|el|uk|ru)\b/i.test(e)?`eu`:`us`);let r=t==null?e?`inferred from locale "${e}"`:`default`:`explicit priceFormat option`;if(n===`eu`)return[`Price convention: EU (${r}).`,``,`Number format:`,` - Thousands separator: space (e.g. 1 299, not 1,299)`,` - Decimal separator: comma (e.g. 1 299,99, not 1 299.99)`,` - No trailing zeros: "99" not "99,00"; "1 299" not "1 299,00"`,``,`Currency symbol position: AFTER the value with a space (e.g. "99 €", "1 299,99 €").`,``,`Price component props:`,` currencySymbolPosition: "after"`,` currencySymbol: "€" (or "zł", "kr", etc.)`,` currentValue: formatted numeric string without the symbol`,``,`Examples:`,` { currentValue: "99", currencySymbol: "€", currencySymbolPosition: "after" } → "99 €"`,` { currentValue: "1 299", currencySymbol: "€", currencySymbolPosition: "after" } → "1 299 €"`,` { currentValue: "29,99", currencySymbol: "€", currencySymbolPosition: "after" } → "29,99 €"`,` { currentValue: "1 299,99", currencySymbol: "€", currencySymbolPosition: "after" } → "1 299,99 €"`].join(`
|
|
11
11
|
`);if(n===`us`)return[`Price convention: US (${r}).`,``,`Number format:`,` - Thousands separator: comma (e.g. 1,299, not 1 299)`,` - Decimal separator: period (e.g. 1,299.99, not 1,299,99)`,` - No trailing zeros: "99" not "99.00"; "1,299" not "1,299.00"`,``,`Currency symbol position: BEFORE the value (e.g. "$99", "$1,299.99").`,``,`Price component props:`,` currencySymbolPosition: "before" (or omit — it is the default)`,` currencySymbol: "$" (or "€", "£", etc.)`,` currentValue: formatted numeric string without the symbol`,``,`Examples:`,` { currentValue: "99", currencySymbol: "$" } → "$99"`,` { currentValue: "1,299", currencySymbol: "$" } → "$1,299"`,` { currentValue: "29.99", currencySymbol: "$" } → "$29.99"`,` { currentValue: "1,299.99", currencySymbol: "$" } → "$1,299.99"`].join(`
|
|
12
12
|
`);let i=n,a=i.symbolPosition??`before`,o=i.decimalSeparator??`.`,s=i.thousandsSeparator??`,`,c=i.trailingZeros??!1,l=s===` `?`1 299`:s===`.`?`1.299`:`1,299`,u=`${l}${o}99`,d=a===`before`,f=d?`"$${u}"`:`"${u} €"`,p=c?d?`"$${l}${o}00"`:`"${l}${o}00 €"`:d?`"$${l}"`:`"${l} €"`;return[`Price convention: custom (${r}).`,``,`Number format:`,` - Thousands separator: "${s===` `?`space`:s}"`,` - Decimal separator: "${o}"`,` - Trailing zeros for whole amounts: ${c?`YES — always show 2 decimal places`:'NO — omit trailing zeros (e.g. "99" not "99${dec}00")'}`,``,`Currency symbol position: ${a===`after`?`AFTER the value with a space`:`BEFORE the value`}.`,``,`Price component props:`,` currencySymbolPosition: "${a}"`,` currencySymbol: your symbol string`,` currentValue: formatted numeric string without the symbol`,``,`Examples:`,` Whole number: ${p}`,` With decimals: ${f}`,` Large price: ${d?`"$${u}"`:`"${u} €"`}`].join(`
|
|
13
|
-
`)}function
|
|
13
|
+
`)}function h(){let e=[` ⚠ tokenPath is theme-invariant — ALWAYS use it in specs, never hardcode [default:...] values.`,` Default-theme values are shown for context only; they change per active theme.`,``,` Colors (Figma variable → tokenPath [default hex]):`],t=n.FIGMA_COLOR_MAP;for(let n of[`bg`,`border`,`text`,`icon`]){let r=t[n];if(!(!r||typeof r!=`object`))for(let[t,n]of Object.entries(r))!n?.tokenPath||!n?.hex||e.push(` ${t} → ${n.tokenPath} [default: ${n.hex}]`)}let r=t.neutral;if(r&&typeof r==`object`){let t=Object.entries(r).slice(0,6);for(let[n,r]of t)!r?.tokenPath||!r?.hex||e.push(` ${n} → ${r.tokenPath} [default: ${r.hex}]`);e.push(` ... (plus palette: yellow/orange/red/blue/lightBlue/green/teal/pink/purple, 5–100 steps each)`)}e.push(``,` Spacing (Figma variable → tokenPath [default px — may vary per theme]):`);let i=n.FIGMA_SPACING_MAP.spacing;if(i&&typeof i==`object`)for(let[t,n]of Object.entries(i))!n?.tokenPath||!n?.value||e.push(` ${t} → ${n.tokenPath} [default: ${n.value}]`);e.push(``,` Radius (Figma variable → tokenPath [default px — may vary per theme]):`);let a=n.FIGMA_RADIUS_MAP.radius;if(a&&typeof a==`object`)for(let[t,n]of Object.entries(a))!n?.tokenPath||!n?.value||e.push(` ${t} → ${n.tokenPath} [default: ${n.value}]`);e.push(``,` Shadows — light theme only (dark theme shadows have no GridKit tokens):`);let o=n.FIGMA_SHADOW_MAP,s=o.light;if(s&&typeof s==`object`)for(let[t,n]of Object.entries(s))!n?.tokenPath||!n?.tokenValue||!n?.elevation||e.push(` ${t} → ${n.tokenPath} — ${n.elevation}`);let c=o.elevationDecisionGuide;if(c&&typeof c==`object`){e.push(` Elevation guide (use-case → recommended token):`);for(let[t,n]of Object.entries(c))t.startsWith(`$`)||e.push(` ${t}: ${n}`)}e.push(``,` Typography (Figma variable → tokenPath [default value]):`);let l=n.FIGMA_FONT_MAP;for(let[t,n]of[[`size`,`font sizes`],[`lineHeight`,`line heights`],[`weight`,`font weights`],[`family`,`font families`]]){let r=l[t];if(!(!r||typeof r!=`object`)){e.push(` ${n}:`);for(let[t,n]of Object.entries(r)){if(t.startsWith(`$`))continue;let r=n;if(!r?.tokenPath)continue;let i=r.value===void 0?``:` [default: ${r.value}]`,a=r.role?` — ${r.role}`:``;e.push(` ${t} → ${r.tokenPath}${i}${a}`)}}}let u=l.knownGaps;if(u&&typeof u==`object`){let t=Object.entries(u).filter(([e])=>!e.startsWith(`$`));if(t.length){e.push(` font token gaps (no GridKit token — record as unmatched:<value> in tokenBindings):`);for(let[n,r]of t)e.push(` ${n}: ${r}`)}}e.push(``,` Icons (Figma icon name → GridKit <Icon name="..."> value):`);let d=n.FIGMA_ICON_MAP.figmaNameIndex;if(d&&typeof d==`object`)for(let[t,n]of Object.entries(d))t.startsWith(`$`)||e.push(` ${t} → ${n}`);return e.join(`
|
|
14
|
+
`)}function g(e=[]){let t=[`1. Output ONLY valid JSON — no markdown, no extra text, no code fences.`,`2. Always set version to "1.0.0" and populate all required metadata fields.`,`3. metadata.provider, metadata.scenario, and metadata.segment are optional.`,` These optional metadata fields support knowledge sharing, tracing, and orchestration across any LLM vendor.`,`4. Create meaningful, rich UI that directly addresses the user's request.`,`5. Use card containers to group related content (set isBordered: true for visual separation).`,`6. For dashboards and overviews: use grid layout with gridColumns: 2 or 3.`,`7. For forms and sequential content: use vertical layout.`,`8. Add interactive buttons with actions wired to the types listed in ACTION TYPES.`,`9. All component IDs must be unique across the entire spec.`,`10. Timestamp must be a valid ISO 8601 datetime string.`,`11. For image src values, return only direct image asset URLs that are likely to render publicly.`,`12. Prefer typography over inline-notification for descriptive content.`,` Use inline-notification only for contextual alerts (success, warning, error, info).`,`13. Use separator to visually divide distinct content sections.`,` separator with no extra props renders a full-width solid horizontal line (the most common case).`,` Add variant="dash"|"dot" for softer dividers. Add label="OR" for branching actions.`,` For vertical dividers between inline items, set orientation="vertical" and an explicit length.`,`14. Use nested children[] arrays for structural grouping — do not rely on flat lists alone.`,`15. Omit optional fields that are at their default value or not needed by the component.`,`16. Never set attributes.width or attributes.height on image components.`,` Image dimensions are determined by the parent container. Use styling.width="100%" and`,` styling.height="auto" for responsive images.`,`17. For charts with many x-axis categories (>8), set attributes.xAxis.tickCount ≤ 8.`,` This prevents axis label collision. The renderer will show a tooltip on label hover automatically.`,`18. counter + button siblings should always be wrapped in a row component to stabilize layout.`,`19. Every card component MUST have both padding and gutter set.`,` Content-only cards: padding="16px", gutter="12px".`,` Cards with card-image first child: padding="0", gutter="0"; set padding on card-column for content.`,` Every direct card child except card-image MUST have padding set (standard: "16px"; compact: "8px").`,`20. For rating components: max and value are TOP-LEVEL props (not inside attributes).`,` Only set max when a non-standard star count is explicitly requested (default is 5).`,` Use readOnly: false only when the user must interactively select a rating.`,`21. Typography styleVariant applies text modifiers ON TOP of the chosen variant.`,` Single modifier: styleVariant="bold". Multiple: styleVariant=["semibold","italic"].`,` Weight: "light" < "normal" < "semibold" < "bold".`,` Decoration: "underline" for links/emphasis, "strike" for crossed-out text (e.g. old prices).`,` Transform: "uppercase" for labels/badges, "lowercase" for normalisation.`,` Do NOT use styleVariant to change font size — use size (Display only) or a smaller variant instead.`,`22. For any free-form component color props such as Icon.fill/fillSvg, Typography.color, Avatar backgroundColor/badgeColor,`,` Separator color/labelColor, Header.bgColor, ProgressBar fillColor/backgroundColor, Chart colors and series[].color,`,` RadioGroup options[].hex, and AvatarUser.badgeColor, prefer theme color token paths`,` before using raw CSS or hex colors.`,` Available GridKit tokens — use tokenPath in specs (default-theme values shown for reference only; use tokenPath, never hardcode hex/px):`,h(),`23. Choose the right component based on the request — keyword matching is strict:`,` KEYWORD → COMPONENT mapping (apply the FIRST match from top to bottom):`,``,` "... context carousel for ..." / "context carousel of ..." / "content carousel ..."`,` → Use "content-carousel". Trigger: the phrase "context carousel" or "content carousel" anywhere in the request.`,` Use for: horizontally scrolling repeated-item collections where items are cards, blocks, or mixed content.`,` Use all explicitly requested props: showArrows, showDots, isFocusable, visibleItems, scrollStep,`,` scrollAlignment, and styling. Slide content MUST go in children[]; NEVER emit React-only fields like`,` items or renderItem. If the request is vertical, use "carousel" instead.`,``,` "chat bubble ... image gallery ..." / "image gallery in a chat bubble" / "chat bubble with N images"`,` → Use "chat-image-gallery". Trigger: ANY request for a gallery, image gallery, photo gallery,`,` photo grid, or image collection that is placed inside a chat-bubble — even if the user only says`,` "gallery" or "images" without the word "chat".`,` Renders the ChatBubble.ImageGallery component — a compact 2x2 image grid with a "+N" overflow`,` indicator on the last visible tile.`,` Pass images via the top-level "images" array: [{ src: "...", alt: "..." }, ...]. Optional: maxVisible (default 4).`,` NEVER use "image-preview" as a child of chat-bubble — "image-preview" is a full preview / lightbox`,` UI and is wrong inside chat messages.`,``,` "... preview for images ..." / "image preview ..." / "preview of images ..."`,` → Use "image-preview". Trigger: "preview for images", "preview of images", "image preview", or`,` any phrase where "preview" is paired with "images" or "photos".`,` Also use "image-preview" for: gallery, image gallery, photo gallery, photo grid, image collection,`,` "N images layout vertical", "show images", "image viewer", or any request to display a static`,` collection of images — even when the user says "vertical layout".`,` NOTE: this routing applies ONLY OUTSIDE of a chat-bubble. Inside a chat-bubble, use`,` "chat-image-gallery" instead (see clause above).`,` Pass images via the top-level "images" array prop: [{ src: "...", alt: "...", caption: "..." }, ...].`,` NEVER use children[] or nested carousel-slide components — image-preview only uses "images".`,` Recommended props: showArrows, showThumbnails, showCounter, thumbnailPosition ("bottom" or "left").`,``,` "... carousel for ..." / "carousel of ..." / "carousel ..."`,` → Use "carousel". Trigger: the word "carousel" WITHOUT the prefix "context" or "content".`,` Use for: slider, slideshow, animated transition, or any plain carousel interaction — especially`,` image-only carousels. Carousel children MUST be carousel-slide components.`,` Use props: layout, showArrows, showDots, thumbs, isFocusable, styling.`,``,` DISAMBIGUATION EXAMPLES:`,` "create a context carousel for product cards" → "content-carousel"`,` "create a carousel for images" → "carousel"`,` "create a preview for images" → "image-preview"`,` "carousel of cards" → "content-carousel"`,` "image gallery" → "image-preview"`,` "chat bubble component with image gallery containing 2 random images" → "chat-image-gallery" (inside "chat-bubble")`,` "chat bubble with 4 photos" → "chat-image-gallery" (inside "chat-bubble")`,` "generate carousel 7 images" → "carousel"`,``,`24. Use "select" (with multiple: true) for any collapsible picker with checkbox-style multi-selection.`,` This includes requests like: "multi-select", "select with checkbox options", "dropdown select",`,` "select multiple", "combobox with checkboxes", "select with checkboxes". select is a form control`,` with a trigger button that opens a floating list on click; its options are driven by options[].`,` Use "dropdown" (with dropdown-item children) ONLY for an always-visible scrollable list that is`,` embedded directly and permanently in the page — not a collapsible picker.`,` WRONG (collapsible picker): { "type": "dropdown", "children": [{ "type": "dropdown-item" }] }`,` RIGHT (collapsible picker): { "type": "select", "multiple": true, "options": [{ "value": "drop", "label": "Drop" }, { "value": "up", "label": "Up" }] }`];if(e.length===0)return t.join(`
|
|
14
15
|
`);let n=e.map((e,n)=>`${t.length+1+n}. ${e}`);return[...t,``,`### APPLICATION-SPECIFIC RULES — HIGHEST PRIORITY — OVERRIDE DEFAULTS WHERE THEY CONFLICT`,`These rules are set by the application and MUST be followed exactly for every response:`,``,...n].join(`
|
|
15
|
-
`)}function
|
|
16
|
+
`)}function _(e,t){return{contents:[{parts:[{text:`${a(t)}\n\nUser request: ${e}`}]}],generationConfig:{responseMimeType:`application/json`,temperature:.7}}}exports.buildA2UIGeminiRequest=_,exports.buildA2UISystemPrompt=a;
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import { A2UIImageSources } from './image-policy.js';
|
|
2
|
+
import { A2UIActionDefinition, A2UICustomComponentMeta } from './spec-schema.js';
|
|
3
|
+
/**
|
|
4
|
+
* Fine-grained price formatting overrides for `priceFormat`.
|
|
5
|
+
* Any omitted field falls back to its default value.
|
|
6
|
+
*/
|
|
7
|
+
export type PriceFormatCustom = {
|
|
8
|
+
/** Where the currency symbol appears relative to the value.
|
|
9
|
+
* `'before'` (default) → `"$99.99"` · `'after'` → `"99,99 €"` */
|
|
10
|
+
symbolPosition?: 'before' | 'after';
|
|
11
|
+
/** Decimal separator character. Default: `'.'` */
|
|
12
|
+
decimalSeparator?: '.' | ',';
|
|
13
|
+
/** Thousands separator character. Default: `','` */
|
|
14
|
+
thousandsSeparator?: ',' | ' ' | '.';
|
|
15
|
+
/** Whether to keep trailing zeros for whole amounts.
|
|
16
|
+
* `false` (default) → `"99"` not `"99.00"` */
|
|
17
|
+
trailingZeros?: boolean;
|
|
18
|
+
};
|
|
19
|
+
export type A2UISystemPromptOptions = {
|
|
20
|
+
agentId?: string;
|
|
21
|
+
agentName?: string;
|
|
22
|
+
provider?: string;
|
|
23
|
+
scenario?: string;
|
|
24
|
+
segment?: string;
|
|
25
|
+
theme?: 'light' | 'dark' | 'auto';
|
|
26
|
+
imageSources?: A2UIImageSources;
|
|
27
|
+
/** BCP 47 locale code for generated content (e.g. "en-US", "de-DE"). */
|
|
28
|
+
locale?: string;
|
|
29
|
+
/** Free-form description of the use case or application context injected near the top of the prompt. */
|
|
30
|
+
context?: string;
|
|
31
|
+
/** Additional guardrail rules appended to the system-defined guardrails. */
|
|
32
|
+
customGuardrails?: string[];
|
|
33
|
+
/** Additional generation rules appended to the system-defined rules. */
|
|
34
|
+
customRules?: string[];
|
|
35
|
+
/**
|
|
36
|
+
* Application-defined actions available to the LLM.
|
|
37
|
+
* Pass the same array to `renderA2UISpec` to wire up runtime handlers.
|
|
38
|
+
* This is the ONLY way to make action types available — no built-in action types exist.
|
|
39
|
+
*/
|
|
40
|
+
actions?: A2UIActionDefinition[];
|
|
41
|
+
/**
|
|
42
|
+
* Custom React components to make available to the LLM and the renderer.
|
|
43
|
+
*
|
|
44
|
+
* Pass an array of `A2UICustomComponentDefinition` objects (which extend this meta type).
|
|
45
|
+
* The prompt will list them under a "Custom Components" section so the LLM knows they exist.
|
|
46
|
+
* Pass the same array to `renderA2UISpec` to wire up runtime rendering.
|
|
47
|
+
* Built-in component types always win on type collisions.
|
|
48
|
+
*/
|
|
49
|
+
customComponents?: A2UICustomComponentMeta[];
|
|
50
|
+
/**
|
|
51
|
+
* Explicit price and currency formatting convention for `price` components.
|
|
52
|
+
*
|
|
53
|
+
* - `'us'` — symbol before, period decimal, comma thousands: `$1,299.99`
|
|
54
|
+
* - `'eu'` — symbol after with space, comma decimal, space thousands: `1 299,99 €`
|
|
55
|
+
* - object — fine-grained control: `{ symbolPosition, decimalSeparator, thousandsSeparator, trailingZeros }`
|
|
56
|
+
*
|
|
57
|
+
* When provided, this **overrides** any locale-based price formatting detection.
|
|
58
|
+
* When omitted, formatting is inferred from `locale` (EU languages → EU convention, else US).
|
|
59
|
+
*/
|
|
60
|
+
priceFormat?: 'us' | 'eu' | PriceFormatCustom;
|
|
61
|
+
};
|
|
62
|
+
/**
|
|
63
|
+
* Build the complete A2UI system instruction string.
|
|
64
|
+
*
|
|
65
|
+
* The instruction is derived from the live component map, so it stays in sync
|
|
66
|
+
* automatically whenever `component-map.ts` is updated.
|
|
67
|
+
*/
|
|
68
|
+
export declare function buildA2UISystemPrompt(options?: A2UISystemPromptOptions): string;
|
|
69
|
+
/**
|
|
70
|
+
* Convenience: build a Gemini-compatible request object for A2UI generation.
|
|
71
|
+
*
|
|
72
|
+
* Usage:
|
|
73
|
+
* const model = genAI.getGenerativeModel({ model: 'gemini-2.5-flash', ... });
|
|
74
|
+
* const result = await model.generateContent(buildA2UIGeminiRequest('Show a product card'));
|
|
75
|
+
*/
|
|
76
|
+
export declare function buildA2UIGeminiRequest(userMessage: string, options?: Parameters<typeof buildA2UISystemPrompt>[0]): {
|
|
77
|
+
contents: {
|
|
78
|
+
parts: {
|
|
79
|
+
text: string;
|
|
80
|
+
}[];
|
|
81
|
+
}[];
|
|
82
|
+
generationConfig: {
|
|
83
|
+
responseMimeType: string;
|
|
84
|
+
temperature: number;
|
|
85
|
+
};
|
|
86
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A2UIImageSources } from './image-policy';
|
|
2
|
-
import { A2UIActionDefinition, A2UICustomComponentMeta } from './spec-schema';
|
|
1
|
+
import { A2UIImageSources } from './image-policy.js';
|
|
2
|
+
import { A2UIActionDefinition, A2UICustomComponentMeta } from './spec-schema.js';
|
|
3
3
|
/**
|
|
4
4
|
* Fine-grained price formatting overrides for `priceFormat`.
|
|
5
5
|
* Any omitted field falls back to its default value.
|