@gyramais/gyra-design 0.2.21 → 0.2.23
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/dist/components/AiParecer/AiParecer.d.ts +75 -0
- package/dist/components/AiParecer/index.d.ts +1 -0
- package/dist/components/AiParecer/index.js +7 -0
- package/dist/components/AiParecer/index.js.map +1 -0
- package/dist/components/Email/Email.d.ts +26 -0
- package/dist/components/Email/index.d.ts +2 -0
- package/dist/components/Email/index.js +2 -0
- package/dist/components/Email/index.js.map +1 -0
- package/dist/components/Gauge/Gauge.d.ts +28 -0
- package/dist/components/Gauge/index.d.ts +2 -0
- package/dist/components/Gauge/index.js +7 -0
- package/dist/components/Gauge/index.js.map +1 -0
- package/dist/emails/balance-sheet-finalized/components/AiParecer/AiParecer.d.ts +75 -0
- package/dist/emails/balance-sheet-finalized/components/AiParecer/index.d.ts +1 -0
- package/dist/emails/balance-sheet-finalized/components/Avatar/Avatar.d.ts +10 -0
- package/dist/emails/balance-sheet-finalized/components/Avatar/index.d.ts +1 -0
- package/dist/emails/balance-sheet-finalized/components/Brasil/Brasil.d.ts +10 -0
- package/dist/emails/balance-sheet-finalized/components/Brasil/index.d.ts +1 -0
- package/dist/emails/balance-sheet-finalized/components/Button/Button.d.ts +19 -0
- package/dist/emails/balance-sheet-finalized/components/Button/index.d.ts +1 -0
- package/dist/emails/balance-sheet-finalized/components/Card/Card.d.ts +27 -0
- package/dist/emails/balance-sheet-finalized/components/Card/index.d.ts +1 -0
- package/dist/emails/balance-sheet-finalized/components/Chart/Chart.d.ts +43 -0
- package/dist/emails/balance-sheet-finalized/components/Chart/index.d.ts +1 -0
- package/dist/emails/balance-sheet-finalized/components/ChatWidget/ChatMessageBubble.d.ts +7 -0
- package/dist/emails/balance-sheet-finalized/components/ChatWidget/ChatWidget.d.ts +30 -0
- package/dist/emails/balance-sheet-finalized/components/ChatWidget/index.d.ts +3 -0
- package/dist/emails/balance-sheet-finalized/components/ChatWidget/types.d.ts +18 -0
- package/dist/emails/balance-sheet-finalized/components/Checkbox/Checkbox.d.ts +12 -0
- package/dist/emails/balance-sheet-finalized/components/Checkbox/index.d.ts +1 -0
- package/dist/emails/balance-sheet-finalized/components/Col/Col.d.ts +17 -0
- package/dist/emails/balance-sheet-finalized/components/Col/index.d.ts +1 -0
- package/dist/emails/balance-sheet-finalized/components/Collapse/Collapse.d.ts +10 -0
- package/dist/emails/balance-sheet-finalized/components/Collapse/CollapseIcon.d.ts +10 -0
- package/dist/emails/balance-sheet-finalized/components/Collapse/index.d.ts +2 -0
- package/dist/emails/balance-sheet-finalized/components/ContextMenu/ContextMenu.d.ts +45 -0
- package/dist/emails/balance-sheet-finalized/components/ContextMenu/index.d.ts +1 -0
- package/dist/emails/balance-sheet-finalized/components/DistributionBar/DistributionBar.d.ts +28 -0
- package/dist/emails/balance-sheet-finalized/components/DistributionBar/index.d.ts +1 -0
- package/dist/emails/balance-sheet-finalized/components/Divider/Divider.d.ts +10 -0
- package/dist/emails/balance-sheet-finalized/components/Divider/index.d.ts +1 -0
- package/dist/emails/balance-sheet-finalized/components/Drawer/Drawer.d.ts +16 -0
- package/dist/emails/balance-sheet-finalized/components/Drawer/index.d.ts +1 -0
- package/dist/emails/balance-sheet-finalized/components/DropdownMenu/DropdownMenu.d.ts +21 -0
- package/dist/emails/balance-sheet-finalized/components/DropdownMenu/index.d.ts +1 -0
- package/dist/emails/balance-sheet-finalized/components/Email/Email.d.ts +26 -0
- package/dist/emails/balance-sheet-finalized/components/Email/index.d.ts +2 -0
- package/dist/emails/balance-sheet-finalized/components/Empty/Empty.d.ts +10 -0
- package/dist/emails/balance-sheet-finalized/components/Empty/index.d.ts +1 -0
- package/dist/emails/balance-sheet-finalized/components/Filter/Filter.d.ts +21 -0
- package/dist/emails/balance-sheet-finalized/components/Filter/MultipleFilter.d.ts +27 -0
- package/dist/emails/balance-sheet-finalized/components/Filter/UniqueFilter.d.ts +27 -0
- package/dist/emails/balance-sheet-finalized/components/Filter/index.d.ts +3 -0
- package/dist/emails/balance-sheet-finalized/components/FloatingCard/FloatingCard.d.ts +12 -0
- package/dist/emails/balance-sheet-finalized/components/FloatingCard/index.d.ts +1 -0
- package/dist/emails/balance-sheet-finalized/components/Form/Form.d.ts +3 -0
- package/dist/emails/balance-sheet-finalized/components/Form/Item.d.ts +11 -0
- package/dist/emails/balance-sheet-finalized/components/Form/index.d.ts +1 -0
- package/dist/emails/balance-sheet-finalized/components/HoverCard/HoverCard.d.ts +14 -0
- package/dist/emails/balance-sheet-finalized/components/HoverCard/index.d.ts +1 -0
- package/dist/emails/balance-sheet-finalized/components/Icon/Icon.d.ts +11 -0
- package/dist/emails/balance-sheet-finalized/components/Icon/index.d.ts +1 -0
- package/dist/emails/balance-sheet-finalized/components/IconDisplay/IconDisplay.d.ts +10 -0
- package/dist/emails/balance-sheet-finalized/components/IconDisplay/index.d.ts +1 -0
- package/dist/emails/balance-sheet-finalized/components/Information/Information.d.ts +10 -0
- package/dist/emails/balance-sheet-finalized/components/Information/index.d.ts +1 -0
- package/dist/emails/balance-sheet-finalized/components/Input/Input.d.ts +55 -0
- package/dist/emails/balance-sheet-finalized/components/Input/Mention.d.ts +5 -0
- package/dist/emails/balance-sheet-finalized/components/Input/index.d.ts +1 -0
- package/dist/emails/balance-sheet-finalized/components/Label/Label.d.ts +5 -0
- package/dist/emails/balance-sheet-finalized/components/Label/index.d.ts +1 -0
- package/dist/emails/balance-sheet-finalized/components/Layout/Content.d.ts +9 -0
- package/dist/emails/balance-sheet-finalized/components/Layout/Footer.d.ts +9 -0
- package/dist/emails/balance-sheet-finalized/components/Layout/Header.d.ts +9 -0
- package/dist/emails/balance-sheet-finalized/components/Layout/Layout.d.ts +10 -0
- package/dist/emails/balance-sheet-finalized/components/Layout/Sider.d.ts +9 -0
- package/dist/emails/balance-sheet-finalized/components/Layout/index.d.ts +5 -0
- package/dist/emails/balance-sheet-finalized/components/List/List.d.ts +18 -0
- package/dist/emails/balance-sheet-finalized/components/List/index.d.ts +1 -0
- package/dist/emails/balance-sheet-finalized/components/Loading/Loading.d.ts +10 -0
- package/dist/emails/balance-sheet-finalized/components/Loading/index.d.ts +1 -0
- package/dist/emails/balance-sheet-finalized/components/Logo/Logo.d.ts +12 -0
- package/dist/emails/balance-sheet-finalized/components/Logo/index.d.ts +1 -0
- package/dist/emails/balance-sheet-finalized/components/Menubar/Menubar.d.ts +24 -0
- package/dist/emails/balance-sheet-finalized/components/Menubar/index.d.ts +1 -0
- package/dist/emails/balance-sheet-finalized/components/Modal/Modal.d.ts +25 -0
- package/dist/emails/balance-sheet-finalized/components/Modal/index.d.ts +1 -0
- package/dist/emails/balance-sheet-finalized/components/MultiSelectPicker/MultiSelectPicker.d.ts +42 -0
- package/dist/emails/balance-sheet-finalized/components/MultiSelectPicker/index.d.ts +1 -0
- package/dist/emails/balance-sheet-finalized/components/OperatorPicker/OperatorPicker.d.ts +26 -0
- package/dist/emails/balance-sheet-finalized/components/OperatorPicker/index.d.ts +1 -0
- package/dist/emails/balance-sheet-finalized/components/PickerPopover/PickerPopover.d.ts +56 -0
- package/dist/emails/balance-sheet-finalized/components/PickerPopover/index.d.ts +1 -0
- package/dist/emails/balance-sheet-finalized/components/Popover/Popover.d.ts +16 -0
- package/dist/emails/balance-sheet-finalized/components/Popover/index.d.ts +1 -0
- package/dist/emails/balance-sheet-finalized/components/ProcessingChip/ProcessingChip.d.ts +20 -0
- package/dist/emails/balance-sheet-finalized/components/ProcessingChip/index.d.ts +1 -0
- package/dist/emails/balance-sheet-finalized/components/Progress/Progress.d.ts +9 -0
- package/dist/emails/balance-sheet-finalized/components/Progress/index.d.ts +1 -0
- package/dist/emails/balance-sheet-finalized/components/RadioGroup/RadioGroup.d.ts +18 -0
- package/dist/emails/balance-sheet-finalized/components/RadioGroup/index.d.ts +1 -0
- package/dist/emails/balance-sheet-finalized/components/RichInput/RichInput.d.ts +15 -0
- package/dist/emails/balance-sheet-finalized/components/RichInput/images.d.ts +9 -0
- package/dist/emails/balance-sheet-finalized/components/RichInput/index.d.ts +1 -0
- package/dist/emails/balance-sheet-finalized/components/Row/Row.d.ts +18 -0
- package/dist/emails/balance-sheet-finalized/components/Row/index.d.ts +1 -0
- package/dist/emails/balance-sheet-finalized/components/RuleSearchPicker/RuleSearchPicker.d.ts +46 -0
- package/dist/emails/balance-sheet-finalized/components/RuleSearchPicker/index.d.ts +1 -0
- package/dist/emails/balance-sheet-finalized/components/ScoreBar/ScoreBar.d.ts +30 -0
- package/dist/emails/balance-sheet-finalized/components/ScoreBar/index.d.ts +1 -0
- package/dist/emails/balance-sheet-finalized/components/SegmentedPicker/SegmentedPicker.d.ts +27 -0
- package/dist/emails/balance-sheet-finalized/components/SegmentedPicker/index.d.ts +1 -0
- package/dist/emails/balance-sheet-finalized/components/SegmentedToggle/SegmentedToggle.d.ts +25 -0
- package/dist/emails/balance-sheet-finalized/components/SegmentedToggle/index.d.ts +1 -0
- package/dist/emails/balance-sheet-finalized/components/Select/Select.d.ts +27 -0
- package/dist/emails/balance-sheet-finalized/components/Select/index.d.ts +1 -0
- package/dist/emails/balance-sheet-finalized/components/SelectTree/SelectTree.d.ts +35 -0
- package/dist/emails/balance-sheet-finalized/components/SelectTree/index.d.ts +1 -0
- package/dist/emails/balance-sheet-finalized/components/Selector/Selector.d.ts +27 -0
- package/dist/emails/balance-sheet-finalized/components/Selector/index.d.ts +1 -0
- package/dist/emails/balance-sheet-finalized/components/StatusTag/StatusTag.d.ts +16 -0
- package/dist/emails/balance-sheet-finalized/components/StatusTag/index.d.ts +1 -0
- package/dist/emails/balance-sheet-finalized/components/Stepper/Stepper.d.ts +15 -0
- package/dist/emails/balance-sheet-finalized/components/Stepper/index.d.ts +1 -0
- package/dist/emails/balance-sheet-finalized/components/Switch/Switch.d.ts +11 -0
- package/dist/emails/balance-sheet-finalized/components/Switch/index.d.ts +1 -0
- package/dist/emails/balance-sheet-finalized/components/SyncChip/SyncChip.d.ts +17 -0
- package/dist/emails/balance-sheet-finalized/components/SyncChip/index.d.ts +1 -0
- package/dist/emails/balance-sheet-finalized/components/Table/Table.d.ts +29 -0
- package/dist/emails/balance-sheet-finalized/components/Table/index.d.ts +1 -0
- package/dist/emails/balance-sheet-finalized/components/Tabs/Tabs.d.ts +20 -0
- package/dist/emails/balance-sheet-finalized/components/Tabs/index.d.ts +1 -0
- package/dist/emails/balance-sheet-finalized/components/Tag/Tag.d.ts +10 -0
- package/dist/emails/balance-sheet-finalized/components/Tag/index.d.ts +1 -0
- package/dist/emails/balance-sheet-finalized/components/Toast/Toast.d.ts +4 -0
- package/dist/emails/balance-sheet-finalized/components/Toast/index.d.ts +1 -0
- package/dist/emails/balance-sheet-finalized/components/Tooltip/Tooltip.d.ts +16 -0
- package/dist/emails/balance-sheet-finalized/components/Tooltip/index.d.ts +1 -0
- package/dist/emails/balance-sheet-finalized/components/TourGuide/TourGuide.d.ts +39 -0
- package/dist/emails/balance-sheet-finalized/components/TourGuide/index.d.ts +1 -0
- package/dist/emails/balance-sheet-finalized/components/Waypoint/Waypoint.d.ts +7 -0
- package/dist/emails/balance-sheet-finalized/components/Waypoint/index.d.ts +1 -0
- package/dist/emails/balance-sheet-finalized/emails/balance-sheet-finalized/index.d.ts +33 -0
- package/dist/emails/balance-sheet-finalized/emails/email/index.d.ts +94 -0
- package/dist/emails/balance-sheet-finalized/index.d.ts +62 -0
- package/dist/emails/balance-sheet-finalized/index.esm.js +2 -0
- package/dist/emails/balance-sheet-finalized/index.esm.js.map +1 -0
- package/dist/emails/balance-sheet-finalized/index.js +2 -0
- package/dist/emails/balance-sheet-finalized/index.js.map +1 -0
- package/dist/emails/balance-sheet-finalized/shadcn/checkbox.d.ts +4 -0
- package/dist/emails/balance-sheet-finalized/shadcn/form.d.ts +23 -0
- package/dist/emails/balance-sheet-finalized/shadcn/hover-card.d.ts +6 -0
- package/dist/emails/balance-sheet-finalized/shadcn/label.d.ts +5 -0
- package/dist/emails/balance-sheet-finalized/shadcn/lib/utils.d.ts +2 -0
- package/dist/emails/balance-sheet-finalized/shadcn/menubar.d.ts +33 -0
- package/dist/emails/balance-sheet-finalized/shadcn/popover.d.ts +6 -0
- package/dist/emails/balance-sheet-finalized/shadcn/radio-group.d.ts +5 -0
- package/dist/emails/balance-sheet-finalized/shadcn/switch.d.ts +4 -0
- package/dist/emails/balance-sheet-finalized/shadcn/tabs.d.ts +7 -0
- package/dist/emails/balance-sheet-finalized/shadcn/tooltip.d.ts +7 -0
- package/dist/emails/balance-sheet-finalized/theme.d.ts +20 -0
- package/dist/emails/email/components/AiParecer/AiParecer.d.ts +75 -0
- package/dist/emails/email/components/AiParecer/index.d.ts +1 -0
- package/dist/emails/email/components/Avatar/Avatar.d.ts +10 -0
- package/dist/emails/email/components/Avatar/index.d.ts +1 -0
- package/dist/emails/email/components/Brasil/Brasil.d.ts +10 -0
- package/dist/emails/email/components/Brasil/index.d.ts +1 -0
- package/dist/emails/email/components/Button/Button.d.ts +19 -0
- package/dist/emails/email/components/Button/index.d.ts +1 -0
- package/dist/emails/email/components/Card/Card.d.ts +27 -0
- package/dist/emails/email/components/Card/index.d.ts +1 -0
- package/dist/emails/email/components/Chart/Chart.d.ts +43 -0
- package/dist/emails/email/components/Chart/index.d.ts +1 -0
- package/dist/emails/email/components/ChatWidget/ChatMessageBubble.d.ts +7 -0
- package/dist/emails/email/components/ChatWidget/ChatWidget.d.ts +30 -0
- package/dist/emails/email/components/ChatWidget/index.d.ts +3 -0
- package/dist/emails/email/components/ChatWidget/types.d.ts +18 -0
- package/dist/emails/email/components/Checkbox/Checkbox.d.ts +12 -0
- package/dist/emails/email/components/Checkbox/index.d.ts +1 -0
- package/dist/emails/email/components/Col/Col.d.ts +17 -0
- package/dist/emails/email/components/Col/index.d.ts +1 -0
- package/dist/emails/email/components/Collapse/Collapse.d.ts +10 -0
- package/dist/emails/email/components/Collapse/CollapseIcon.d.ts +10 -0
- package/dist/emails/email/components/Collapse/index.d.ts +2 -0
- package/dist/emails/email/components/ContextMenu/ContextMenu.d.ts +45 -0
- package/dist/emails/email/components/ContextMenu/index.d.ts +1 -0
- package/dist/emails/email/components/DistributionBar/DistributionBar.d.ts +28 -0
- package/dist/emails/email/components/DistributionBar/index.d.ts +1 -0
- package/dist/emails/email/components/Divider/Divider.d.ts +10 -0
- package/dist/emails/email/components/Divider/index.d.ts +1 -0
- package/dist/emails/email/components/Drawer/Drawer.d.ts +16 -0
- package/dist/emails/email/components/Drawer/index.d.ts +1 -0
- package/dist/emails/email/components/DropdownMenu/DropdownMenu.d.ts +21 -0
- package/dist/emails/email/components/DropdownMenu/index.d.ts +1 -0
- package/dist/emails/email/components/Email/Email.d.ts +26 -0
- package/dist/emails/email/components/Email/index.d.ts +2 -0
- package/dist/emails/email/components/Empty/Empty.d.ts +10 -0
- package/dist/emails/email/components/Empty/index.d.ts +1 -0
- package/dist/emails/email/components/Filter/Filter.d.ts +21 -0
- package/dist/emails/email/components/Filter/MultipleFilter.d.ts +27 -0
- package/dist/emails/email/components/Filter/UniqueFilter.d.ts +27 -0
- package/dist/emails/email/components/Filter/index.d.ts +3 -0
- package/dist/emails/email/components/FloatingCard/FloatingCard.d.ts +12 -0
- package/dist/emails/email/components/FloatingCard/index.d.ts +1 -0
- package/dist/emails/email/components/Form/Form.d.ts +3 -0
- package/dist/emails/email/components/Form/Item.d.ts +11 -0
- package/dist/emails/email/components/Form/index.d.ts +1 -0
- package/dist/emails/email/components/HoverCard/HoverCard.d.ts +14 -0
- package/dist/emails/email/components/HoverCard/index.d.ts +1 -0
- package/dist/emails/email/components/Icon/Icon.d.ts +11 -0
- package/dist/emails/email/components/Icon/index.d.ts +1 -0
- package/dist/emails/email/components/IconDisplay/IconDisplay.d.ts +10 -0
- package/dist/emails/email/components/IconDisplay/index.d.ts +1 -0
- package/dist/emails/email/components/Information/Information.d.ts +10 -0
- package/dist/emails/email/components/Information/index.d.ts +1 -0
- package/dist/emails/email/components/Input/Input.d.ts +55 -0
- package/dist/emails/email/components/Input/Mention.d.ts +5 -0
- package/dist/emails/email/components/Input/index.d.ts +1 -0
- package/dist/emails/email/components/Label/Label.d.ts +5 -0
- package/dist/emails/email/components/Label/index.d.ts +1 -0
- package/dist/emails/email/components/Layout/Content.d.ts +9 -0
- package/dist/emails/email/components/Layout/Footer.d.ts +9 -0
- package/dist/emails/email/components/Layout/Header.d.ts +9 -0
- package/dist/emails/email/components/Layout/Layout.d.ts +10 -0
- package/dist/emails/email/components/Layout/Sider.d.ts +9 -0
- package/dist/emails/email/components/Layout/index.d.ts +5 -0
- package/dist/emails/email/components/List/List.d.ts +18 -0
- package/dist/emails/email/components/List/index.d.ts +1 -0
- package/dist/emails/email/components/Loading/Loading.d.ts +10 -0
- package/dist/emails/email/components/Loading/index.d.ts +1 -0
- package/dist/emails/email/components/Logo/Logo.d.ts +12 -0
- package/dist/emails/email/components/Logo/index.d.ts +1 -0
- package/dist/emails/email/components/Menubar/Menubar.d.ts +24 -0
- package/dist/emails/email/components/Menubar/index.d.ts +1 -0
- package/dist/emails/email/components/Modal/Modal.d.ts +25 -0
- package/dist/emails/email/components/Modal/index.d.ts +1 -0
- package/dist/emails/email/components/MultiSelectPicker/MultiSelectPicker.d.ts +42 -0
- package/dist/emails/email/components/MultiSelectPicker/index.d.ts +1 -0
- package/dist/emails/email/components/OperatorPicker/OperatorPicker.d.ts +26 -0
- package/dist/emails/email/components/OperatorPicker/index.d.ts +1 -0
- package/dist/emails/email/components/PickerPopover/PickerPopover.d.ts +56 -0
- package/dist/emails/email/components/PickerPopover/index.d.ts +1 -0
- package/dist/emails/email/components/Popover/Popover.d.ts +16 -0
- package/dist/emails/email/components/Popover/index.d.ts +1 -0
- package/dist/emails/email/components/ProcessingChip/ProcessingChip.d.ts +20 -0
- package/dist/emails/email/components/ProcessingChip/index.d.ts +1 -0
- package/dist/emails/email/components/Progress/Progress.d.ts +9 -0
- package/dist/emails/email/components/Progress/index.d.ts +1 -0
- package/dist/emails/email/components/RadioGroup/RadioGroup.d.ts +18 -0
- package/dist/emails/email/components/RadioGroup/index.d.ts +1 -0
- package/dist/emails/email/components/RichInput/RichInput.d.ts +15 -0
- package/dist/emails/email/components/RichInput/images.d.ts +9 -0
- package/dist/emails/email/components/RichInput/index.d.ts +1 -0
- package/dist/emails/email/components/Row/Row.d.ts +18 -0
- package/dist/emails/email/components/Row/index.d.ts +1 -0
- package/dist/emails/email/components/RuleSearchPicker/RuleSearchPicker.d.ts +46 -0
- package/dist/emails/email/components/RuleSearchPicker/index.d.ts +1 -0
- package/dist/emails/email/components/ScoreBar/ScoreBar.d.ts +30 -0
- package/dist/emails/email/components/ScoreBar/index.d.ts +1 -0
- package/dist/emails/email/components/SegmentedPicker/SegmentedPicker.d.ts +27 -0
- package/dist/emails/email/components/SegmentedPicker/index.d.ts +1 -0
- package/dist/emails/email/components/SegmentedToggle/SegmentedToggle.d.ts +25 -0
- package/dist/emails/email/components/SegmentedToggle/index.d.ts +1 -0
- package/dist/emails/email/components/Select/Select.d.ts +27 -0
- package/dist/emails/email/components/Select/index.d.ts +1 -0
- package/dist/emails/email/components/SelectTree/SelectTree.d.ts +35 -0
- package/dist/emails/email/components/SelectTree/index.d.ts +1 -0
- package/dist/emails/email/components/Selector/Selector.d.ts +27 -0
- package/dist/emails/email/components/Selector/index.d.ts +1 -0
- package/dist/emails/email/components/StatusTag/StatusTag.d.ts +16 -0
- package/dist/emails/email/components/StatusTag/index.d.ts +1 -0
- package/dist/emails/email/components/Stepper/Stepper.d.ts +15 -0
- package/dist/emails/email/components/Stepper/index.d.ts +1 -0
- package/dist/emails/email/components/Switch/Switch.d.ts +11 -0
- package/dist/emails/email/components/Switch/index.d.ts +1 -0
- package/dist/emails/email/components/SyncChip/SyncChip.d.ts +17 -0
- package/dist/emails/email/components/SyncChip/index.d.ts +1 -0
- package/dist/emails/email/components/Table/Table.d.ts +29 -0
- package/dist/emails/email/components/Table/index.d.ts +1 -0
- package/dist/emails/email/components/Tabs/Tabs.d.ts +20 -0
- package/dist/emails/email/components/Tabs/index.d.ts +1 -0
- package/dist/emails/email/components/Tag/Tag.d.ts +10 -0
- package/dist/emails/email/components/Tag/index.d.ts +1 -0
- package/dist/emails/email/components/Toast/Toast.d.ts +4 -0
- package/dist/emails/email/components/Toast/index.d.ts +1 -0
- package/dist/emails/email/components/Tooltip/Tooltip.d.ts +16 -0
- package/dist/emails/email/components/Tooltip/index.d.ts +1 -0
- package/dist/emails/email/components/TourGuide/TourGuide.d.ts +39 -0
- package/dist/emails/email/components/TourGuide/index.d.ts +1 -0
- package/dist/emails/email/components/Waypoint/Waypoint.d.ts +7 -0
- package/dist/emails/email/components/Waypoint/index.d.ts +1 -0
- package/dist/emails/email/emails/balance-sheet-finalized/index.d.ts +33 -0
- package/dist/emails/email/emails/email/index.d.ts +94 -0
- package/dist/emails/email/index.d.ts +62 -0
- package/dist/emails/email/index.esm.js +2 -0
- package/dist/emails/email/index.esm.js.map +1 -0
- package/dist/emails/email/index.js +2 -0
- package/dist/emails/email/index.js.map +1 -0
- package/dist/emails/email/shadcn/checkbox.d.ts +4 -0
- package/dist/emails/email/shadcn/form.d.ts +23 -0
- package/dist/emails/email/shadcn/hover-card.d.ts +6 -0
- package/dist/emails/email/shadcn/label.d.ts +5 -0
- package/dist/emails/email/shadcn/lib/utils.d.ts +2 -0
- package/dist/emails/email/shadcn/menubar.d.ts +33 -0
- package/dist/emails/email/shadcn/popover.d.ts +6 -0
- package/dist/emails/email/shadcn/radio-group.d.ts +5 -0
- package/dist/emails/email/shadcn/switch.d.ts +4 -0
- package/dist/emails/email/shadcn/tabs.d.ts +7 -0
- package/dist/emails/email/shadcn/tooltip.d.ts +7 -0
- package/dist/emails/email/theme.d.ts +20 -0
- package/dist/index.css +289 -0
- package/package.json +1 -1
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import * as SwitchPrimitives from "@radix-ui/react-switch";
|
|
3
|
+
declare const Switch: React.ForwardRefExoticComponent<Omit<SwitchPrimitives.SwitchProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
4
|
+
export { Switch };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import * as TabsPrimitive from "@radix-ui/react-tabs";
|
|
3
|
+
declare const Tabs: React.ForwardRefExoticComponent<TabsPrimitive.TabsProps & React.RefAttributes<HTMLDivElement>>;
|
|
4
|
+
declare const TabsList: React.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsListProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
5
|
+
declare const TabsTrigger: React.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
6
|
+
declare const TabsContent: React.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
7
|
+
export { Tabs, TabsList, TabsTrigger, TabsContent };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import * as TooltipPrimitive from "@radix-ui/react-tooltip";
|
|
3
|
+
declare const TooltipProvider: React.FC<TooltipPrimitive.TooltipProviderProps>;
|
|
4
|
+
declare const Tooltip: React.FC<TooltipPrimitive.TooltipProps>;
|
|
5
|
+
declare const TooltipTrigger: React.ForwardRefExoticComponent<TooltipPrimitive.TooltipTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
6
|
+
declare const TooltipContent: React.ForwardRefExoticComponent<Omit<TooltipPrimitive.TooltipContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
7
|
+
export { Tooltip, TooltipTrigger, TooltipContent, TooltipProvider };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
interface Colors {
|
|
2
|
+
backgroundColor: string;
|
|
3
|
+
primaryButton: string;
|
|
4
|
+
secondaryButton: string;
|
|
5
|
+
linkButton: string;
|
|
6
|
+
}
|
|
7
|
+
interface Images {
|
|
8
|
+
whiteLogoUrl: string;
|
|
9
|
+
darkLogoUrl: string;
|
|
10
|
+
iconUrl: string;
|
|
11
|
+
}
|
|
12
|
+
declare const isColorDark: (hexColor: string) => boolean;
|
|
13
|
+
export { isColorDark, };
|
|
14
|
+
declare const _default: {
|
|
15
|
+
setTheme: ({ colors, images }: {
|
|
16
|
+
colors: Colors;
|
|
17
|
+
images: Images;
|
|
18
|
+
}) => void;
|
|
19
|
+
};
|
|
20
|
+
export default _default;
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import "./index.css";
|
|
3
|
+
export type AiParecerVerdictTone = "success" | "warning" | "danger" | "info";
|
|
4
|
+
type AiParecerProps = {
|
|
5
|
+
id?: string;
|
|
6
|
+
className?: string;
|
|
7
|
+
/**
|
|
8
|
+
* Chip de veredito exibido a direita do badge (ex: "Risco médio").
|
|
9
|
+
* Opcional.
|
|
10
|
+
*/
|
|
11
|
+
verdict?: React.ReactNode;
|
|
12
|
+
verdictTone?: AiParecerVerdictTone;
|
|
13
|
+
/**
|
|
14
|
+
* Score (ex: nota GYRA+ IA) exibido como pill a esquerda do chip de
|
|
15
|
+
* veredito. Aceita number ou node. Opcional.
|
|
16
|
+
*/
|
|
17
|
+
score?: React.ReactNode;
|
|
18
|
+
/** Rotulo do score. Default: "Score GYRA+ IA". */
|
|
19
|
+
scoreLabel?: string;
|
|
20
|
+
/**
|
|
21
|
+
* Conteudo do parecer: tipicamente um ou mais `<AiParecer.Topic>`
|
|
22
|
+
* (Resumo Executivo, Pontos de Atenção e Risco, etc).
|
|
23
|
+
*/
|
|
24
|
+
children?: React.ReactNode;
|
|
25
|
+
/**
|
|
26
|
+
* Fontes consultadas, exibidas no rodape com um icone de base de dados
|
|
27
|
+
* (ex: "Receita Federal · Quod · Serasa"). Opcional.
|
|
28
|
+
*/
|
|
29
|
+
sources?: React.ReactNode;
|
|
30
|
+
/**
|
|
31
|
+
* Grau de confianca do parecer, exibido no rodape (ex: "96%" vira
|
|
32
|
+
* "Confiança 96%"). Aceita number ou node. Opcional.
|
|
33
|
+
*/
|
|
34
|
+
confidence?: React.ReactNode;
|
|
35
|
+
/**
|
|
36
|
+
* Callbacks de feedback. Quando algum e' passado, o rodape mostra os
|
|
37
|
+
* botoes padrao (👍 / 👎 / regenerar) com icones SVG proprios — sem
|
|
38
|
+
* depender de nenhuma fonte de icone externa. O estado de "util/nao-util"
|
|
39
|
+
* fica destacado automaticamente.
|
|
40
|
+
*/
|
|
41
|
+
onFeedbackUp?: () => void;
|
|
42
|
+
onFeedbackDown?: () => void;
|
|
43
|
+
onRegenerate?: () => void;
|
|
44
|
+
/**
|
|
45
|
+
* Acoes customizadas do rodape. Quando presente, SUBSTITUI os botoes de
|
|
46
|
+
* feedback padrao. Use a classe `gyramais-ai-parecer__btn` pro estilo.
|
|
47
|
+
*/
|
|
48
|
+
actions?: React.ReactNode;
|
|
49
|
+
/**
|
|
50
|
+
* Rodape totalmente customizado. Quando presente, substitui o rodape
|
|
51
|
+
* padrao montado a partir de `sources` / `confidence` / acoes.
|
|
52
|
+
*/
|
|
53
|
+
footer?: React.ReactNode;
|
|
54
|
+
};
|
|
55
|
+
type AiParecerTopicProps = {
|
|
56
|
+
className?: string;
|
|
57
|
+
label: React.ReactNode;
|
|
58
|
+
/** Icone a esquerda do topico (ex: <DescriptionOutlinedIcon />). */
|
|
59
|
+
icon?: React.ReactNode;
|
|
60
|
+
/** `warning` destaca o topico (fundo + icone em tom de alerta). */
|
|
61
|
+
tone?: "default" | "warning";
|
|
62
|
+
children?: React.ReactNode;
|
|
63
|
+
};
|
|
64
|
+
declare const AiParecerTopic: ({ className, label, icon, tone, children, }: AiParecerTopicProps) => React.JSX.Element;
|
|
65
|
+
/**
|
|
66
|
+
* Faixa padrao "Parecer GYRA+ IA" usada em todas as seções de parecer
|
|
67
|
+
* gerado por IA (analise financeira etc). Badge roxo com gradiente, label
|
|
68
|
+
* em uppercase e chip de veredito opcional. O conteudo (topicos) vem como
|
|
69
|
+
* children. Use `AiParecer.Topic` para padronizar cada bloco.
|
|
70
|
+
*/
|
|
71
|
+
declare const AiParecer: {
|
|
72
|
+
({ id, className, verdict, verdictTone, score, scoreLabel, children, sources, confidence, onFeedbackUp, onFeedbackDown, onRegenerate, actions, footer, }: AiParecerProps): React.JSX.Element;
|
|
73
|
+
Topic: ({ className, label, icon, tone, children, }: AiParecerTopicProps) => React.JSX.Element;
|
|
74
|
+
};
|
|
75
|
+
export { AiParecer, AiParecerTopic };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./AiParecer";
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import "./index.css";
|
|
3
|
+
type AvatarProps = {
|
|
4
|
+
id?: string;
|
|
5
|
+
className?: string;
|
|
6
|
+
size?: number;
|
|
7
|
+
children?: React.ReactNode;
|
|
8
|
+
};
|
|
9
|
+
declare const Avatar: ({ id, className, size, children, }: AvatarProps) => React.JSX.Element;
|
|
10
|
+
export { Avatar };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./Avatar";
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
type BrasilUfs = "AC" | "AL" | "AP" | "AM" | "BA" | "CE" | "DF" | "ES" | "GO" | "MA" | "MT" | "MS" | "MG" | "PA" | "PB" | "PR" | "PE" | "PI" | "RJ" | "RN" | "RS" | "RO" | "RR" | "SC" | "SP" | "SE" | "TO";
|
|
3
|
+
type Brasil = {
|
|
4
|
+
data: {
|
|
5
|
+
[key in BrasilUfs]?: number;
|
|
6
|
+
};
|
|
7
|
+
size?: number;
|
|
8
|
+
};
|
|
9
|
+
declare const Brasil: ({ data, size }: Brasil) => React.JSX.Element;
|
|
10
|
+
export { Brasil };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./Brasil";
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import "./index.css";
|
|
3
|
+
export type ButtonProps = {
|
|
4
|
+
id?: string;
|
|
5
|
+
className?: string;
|
|
6
|
+
type?: "primary" | "secondary" | "white" | "dark" | "transparent";
|
|
7
|
+
size?: "small" | "medium" | "large";
|
|
8
|
+
htmlType?: "button" | "submit";
|
|
9
|
+
link?: boolean;
|
|
10
|
+
block?: boolean;
|
|
11
|
+
disabled?: boolean;
|
|
12
|
+
loading?: boolean;
|
|
13
|
+
icon?: React.ReactNode;
|
|
14
|
+
fab?: boolean;
|
|
15
|
+
onClick?: (event: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
|
|
16
|
+
children?: React.ReactNode;
|
|
17
|
+
};
|
|
18
|
+
declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<unknown>>;
|
|
19
|
+
export { Button };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./Button";
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import "./index.css";
|
|
3
|
+
type CardProps = {
|
|
4
|
+
id?: string;
|
|
5
|
+
className?: string;
|
|
6
|
+
type?: "shadow" | "shadow-inset" | "border";
|
|
7
|
+
title?: string | React.ReactNode;
|
|
8
|
+
subtitle?: string | React.ReactNode;
|
|
9
|
+
/**
|
|
10
|
+
* Elemento de mídia (ícone, badge, avatar) exibido à esquerda do bloco
|
|
11
|
+
* título/subtítulo no header. Padroniza o layout "ícone + título + subtítulo"
|
|
12
|
+
* sem cada consumer estilizar à mão. O conteúdo (cor/tamanho do badge) é do
|
|
13
|
+
* consumer; o Card só cuida do posicionamento.
|
|
14
|
+
*/
|
|
15
|
+
media?: React.ReactNode;
|
|
16
|
+
disabled?: boolean;
|
|
17
|
+
loading?: boolean;
|
|
18
|
+
collapsible?: boolean;
|
|
19
|
+
defaultCollapsed?: boolean;
|
|
20
|
+
collapsed?: boolean;
|
|
21
|
+
onCollapse?: (collapsed: boolean) => void;
|
|
22
|
+
onClick?: () => void;
|
|
23
|
+
headerContent?: React.ReactNode;
|
|
24
|
+
children?: React.ReactNode;
|
|
25
|
+
};
|
|
26
|
+
declare const Card: ({ id, type, className, title, subtitle, media, disabled, loading, collapsible, defaultCollapsed, collapsed, onCollapse, onClick, headerContent, children, }: CardProps) => React.JSX.Element;
|
|
27
|
+
export { Card };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./Card";
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import "./index.css";
|
|
3
|
+
type BarChartData = Array<{
|
|
4
|
+
[key: string]: number;
|
|
5
|
+
}>;
|
|
6
|
+
type PieChartData = Array<{
|
|
7
|
+
name: string;
|
|
8
|
+
value: string | number;
|
|
9
|
+
}>;
|
|
10
|
+
type LineChartData = Array<{
|
|
11
|
+
[key: string]: string;
|
|
12
|
+
}>;
|
|
13
|
+
type ChartProps = {
|
|
14
|
+
id?: string;
|
|
15
|
+
className?: string;
|
|
16
|
+
type?: 'bar' | 'pie' | 'line';
|
|
17
|
+
layout?: 'horizontal' | 'vertical';
|
|
18
|
+
barSize?: number;
|
|
19
|
+
barGap?: number;
|
|
20
|
+
barMaxValue?: number;
|
|
21
|
+
indexes?: Array<{
|
|
22
|
+
name: string;
|
|
23
|
+
key: string;
|
|
24
|
+
stackId?: string;
|
|
25
|
+
color?: string;
|
|
26
|
+
}>;
|
|
27
|
+
x?: {
|
|
28
|
+
key: string;
|
|
29
|
+
formatter?: (value: any) => string;
|
|
30
|
+
};
|
|
31
|
+
y?: {
|
|
32
|
+
indexes: Array<{
|
|
33
|
+
key: string;
|
|
34
|
+
name?: string;
|
|
35
|
+
color?: string;
|
|
36
|
+
}>;
|
|
37
|
+
formatter?: (value: any) => string;
|
|
38
|
+
};
|
|
39
|
+
data?: BarChartData | PieChartData | LineChartData;
|
|
40
|
+
tooltipFormatter?: (value: any) => string;
|
|
41
|
+
};
|
|
42
|
+
declare const Chart: ({ id, className, type, layout, barSize, barGap, barMaxValue, indexes, x, y, data, tooltipFormatter, }: ChartProps) => React.JSX.Element;
|
|
43
|
+
export { Chart };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./Chart";
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import "./index.css";
|
|
3
|
+
import { ChatMessage, ChatStatus, ChatTheme } from "./types";
|
|
4
|
+
export interface ChatWidgetProps {
|
|
5
|
+
open: boolean;
|
|
6
|
+
onOpenChange: (open: boolean) => void;
|
|
7
|
+
messages: ChatMessage[];
|
|
8
|
+
status: ChatStatus;
|
|
9
|
+
onSend: (text: string) => void | Promise<void>;
|
|
10
|
+
onReset?: () => void;
|
|
11
|
+
theme?: ChatTheme;
|
|
12
|
+
title?: string;
|
|
13
|
+
triggerLabel?: string;
|
|
14
|
+
placeholder?: string;
|
|
15
|
+
emptyTitle?: string;
|
|
16
|
+
emptySubtitle?: string;
|
|
17
|
+
suggestions?: string[];
|
|
18
|
+
collapsedHeight?: number | string;
|
|
19
|
+
expandedHeight?: number | string;
|
|
20
|
+
collapsedWidth?: number | string;
|
|
21
|
+
expandedWidth?: number | string;
|
|
22
|
+
defaultExpanded?: boolean;
|
|
23
|
+
expandable?: boolean;
|
|
24
|
+
className?: string;
|
|
25
|
+
zIndex?: number;
|
|
26
|
+
headerExtra?: React.ReactNode;
|
|
27
|
+
belowHeader?: React.ReactNode;
|
|
28
|
+
}
|
|
29
|
+
declare const ChatWidget: ({ open, onOpenChange, messages, status, onSend, onReset, theme, title, triggerLabel, placeholder, emptyTitle, emptySubtitle, suggestions, collapsedHeight, expandedHeight, collapsedWidth, expandedWidth, defaultExpanded, expandable, className, zIndex, headerExtra, belowHeader, }: ChatWidgetProps) => React.JSX.Element;
|
|
30
|
+
export { ChatWidget };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export type ChatRole = 'user' | 'assistant';
|
|
2
|
+
export type ChatStatus = 'idle' | 'streaming' | 'error';
|
|
3
|
+
export type ChatTheme = 'light' | 'dark';
|
|
4
|
+
export interface ChatToolCall {
|
|
5
|
+
name: string;
|
|
6
|
+
input: Record<string, unknown>;
|
|
7
|
+
}
|
|
8
|
+
export interface ChatCitation {
|
|
9
|
+
section: string;
|
|
10
|
+
excerpt: string;
|
|
11
|
+
url: string;
|
|
12
|
+
}
|
|
13
|
+
export interface ChatMessage {
|
|
14
|
+
role: ChatRole;
|
|
15
|
+
content: string;
|
|
16
|
+
toolCalls?: ChatToolCall[];
|
|
17
|
+
citations?: ChatCitation[];
|
|
18
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import "./index.css";
|
|
3
|
+
type CheckboxProps = {
|
|
4
|
+
id?: string;
|
|
5
|
+
className?: string;
|
|
6
|
+
name?: string;
|
|
7
|
+
checked?: boolean;
|
|
8
|
+
onCheckedChange?: (checked: boolean) => void;
|
|
9
|
+
children?: React.ReactNode;
|
|
10
|
+
};
|
|
11
|
+
declare const Checkbox: React.ForwardRefExoticComponent<CheckboxProps & React.RefAttributes<unknown>>;
|
|
12
|
+
export { Checkbox };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./Checkbox";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import "./index.css";
|
|
3
|
+
type Span = {
|
|
4
|
+
mobile?: 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
|
|
5
|
+
tablet?: 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
|
|
6
|
+
desktop?: 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
|
|
7
|
+
wide?: 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
|
|
8
|
+
};
|
|
9
|
+
type ColProps = {
|
|
10
|
+
id?: string;
|
|
11
|
+
className?: string;
|
|
12
|
+
span?: 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | Span;
|
|
13
|
+
onClick?: () => void;
|
|
14
|
+
children?: React.ReactNode;
|
|
15
|
+
};
|
|
16
|
+
declare const Col: ({ id, className, span, onClick, children, }: ColProps) => React.JSX.Element;
|
|
17
|
+
export { Col };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./Col";
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import "./index.css";
|
|
3
|
+
type CollapseProps = {
|
|
4
|
+
id?: string;
|
|
5
|
+
className?: string;
|
|
6
|
+
collapsed?: boolean;
|
|
7
|
+
children?: React.ReactNode;
|
|
8
|
+
};
|
|
9
|
+
declare const Collapse: ({ id, className, collapsed, children, }: CollapseProps) => React.JSX.Element;
|
|
10
|
+
export { Collapse };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import "./index.css";
|
|
3
|
+
type CollapseIconProps = {
|
|
4
|
+
id?: string;
|
|
5
|
+
className?: string;
|
|
6
|
+
collapsed?: boolean;
|
|
7
|
+
onCollapse?: (collapsed: boolean) => void;
|
|
8
|
+
};
|
|
9
|
+
declare const CollapseIcon: ({ id, className, collapsed, onCollapse, }: CollapseIconProps) => React.JSX.Element;
|
|
10
|
+
export { CollapseIcon };
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import "./index.css";
|
|
3
|
+
type ContextMenuProps = {
|
|
4
|
+
id?: string;
|
|
5
|
+
className?: string;
|
|
6
|
+
visible?: boolean;
|
|
7
|
+
align?: "start" | "center" | "end";
|
|
8
|
+
side?: "top" | "right" | "bottom" | "left";
|
|
9
|
+
sideOffset?: number;
|
|
10
|
+
width?: number | string;
|
|
11
|
+
trigger: React.ReactNode;
|
|
12
|
+
children?: React.ReactNode;
|
|
13
|
+
onPointerDownOutside?: () => void;
|
|
14
|
+
};
|
|
15
|
+
declare const ContextMenu: {
|
|
16
|
+
({ id, className, visible, align, side, sideOffset, width, trigger, children, onPointerDownOutside, }: ContextMenuProps): React.JSX.Element;
|
|
17
|
+
Section: ({ className, label, hint, children, }: {
|
|
18
|
+
className?: string;
|
|
19
|
+
label?: string;
|
|
20
|
+
/** Texto explicativo abaixo do label, antes do conteúdo. */
|
|
21
|
+
hint?: string | React.ReactNode;
|
|
22
|
+
children: React.ReactNode;
|
|
23
|
+
}) => React.JSX.Element;
|
|
24
|
+
Divider: () => React.JSX.Element;
|
|
25
|
+
RadioGroup: ({ value, onChange, children, }: {
|
|
26
|
+
value?: string;
|
|
27
|
+
onChange?: (value: string) => void;
|
|
28
|
+
children: React.ReactNode;
|
|
29
|
+
}) => React.JSX.Element;
|
|
30
|
+
RadioItem: ({ value, label, sublabel, icon, disabled, }: {
|
|
31
|
+
value: string;
|
|
32
|
+
label: string;
|
|
33
|
+
sublabel?: string;
|
|
34
|
+
icon?: React.ReactNode;
|
|
35
|
+
disabled?: boolean;
|
|
36
|
+
}) => React.JSX.Element;
|
|
37
|
+
DangerAction: ({ icon, onClick, disabled, children, }: {
|
|
38
|
+
icon?: React.ReactNode;
|
|
39
|
+
onClick?: () => void;
|
|
40
|
+
disabled?: boolean;
|
|
41
|
+
children: React.ReactNode;
|
|
42
|
+
}) => React.JSX.Element;
|
|
43
|
+
};
|
|
44
|
+
export { ContextMenu };
|
|
45
|
+
export type { ContextMenuProps };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./ContextMenu";
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import "./index.css";
|
|
3
|
+
export type DistributionVariant = "success" | "warning" | "danger" | "info" | "neutral";
|
|
4
|
+
export type DistributionSegment = {
|
|
5
|
+
key: string;
|
|
6
|
+
value: number;
|
|
7
|
+
label: string;
|
|
8
|
+
variant?: DistributionVariant;
|
|
9
|
+
icon?: React.ReactNode;
|
|
10
|
+
};
|
|
11
|
+
type DistributionBarProps = {
|
|
12
|
+
id?: string;
|
|
13
|
+
className?: string;
|
|
14
|
+
segments: DistributionSegment[];
|
|
15
|
+
/** When true, segments below this percentage hide their inline value/label
|
|
16
|
+
* (the sliver is too thin to fit text). Default: 8. */
|
|
17
|
+
minTextPercent?: number;
|
|
18
|
+
/** Replaces the bar with this node when every segment is zero. */
|
|
19
|
+
emptyState?: React.ReactNode;
|
|
20
|
+
/** Optional formatter for the inline numeric. Defaults to "{n}%". */
|
|
21
|
+
formatValue?: (value: number) => string;
|
|
22
|
+
/** Render the legend below the bar. Default: true when there is any data. */
|
|
23
|
+
showLegend?: boolean;
|
|
24
|
+
ariaLabel?: string;
|
|
25
|
+
};
|
|
26
|
+
declare const DistributionBar: ({ id, className, segments, minTextPercent, emptyState, formatValue, showLegend, ariaLabel, }: DistributionBarProps) => React.JSX.Element;
|
|
27
|
+
export { DistributionBar };
|
|
28
|
+
export type { DistributionBarProps };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./DistributionBar";
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import "./index.css";
|
|
3
|
+
type DividerProps = {
|
|
4
|
+
id?: string;
|
|
5
|
+
className?: string;
|
|
6
|
+
margin?: number;
|
|
7
|
+
children?: React.ReactNode;
|
|
8
|
+
};
|
|
9
|
+
declare const Divider: ({ id, className, margin, children, }: DividerProps) => React.JSX.Element;
|
|
10
|
+
export { Divider };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./Divider";
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import "./index.css";
|
|
3
|
+
type DrawerProps = {
|
|
4
|
+
className?: string;
|
|
5
|
+
title?: string | React.ReactNode;
|
|
6
|
+
subtitle?: string;
|
|
7
|
+
footer?: React.ReactNode;
|
|
8
|
+
visible?: boolean;
|
|
9
|
+
closable?: boolean;
|
|
10
|
+
onClose?: () => void;
|
|
11
|
+
direction?: "left" | "top" | "right" | "bottom";
|
|
12
|
+
width?: number | string;
|
|
13
|
+
children?: React.ReactNode;
|
|
14
|
+
};
|
|
15
|
+
declare const Drawer: ({ className, title, subtitle, footer, visible, closable, onClose, direction, width, children, }: DrawerProps) => React.JSX.Element;
|
|
16
|
+
export { Drawer };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./Drawer";
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import "./index.css";
|
|
3
|
+
type DropdownMenuProps = {
|
|
4
|
+
id?: string;
|
|
5
|
+
className?: string;
|
|
6
|
+
title?: string;
|
|
7
|
+
visible?: boolean;
|
|
8
|
+
align?: "start" | "center" | "end";
|
|
9
|
+
side?: "top" | "right" | "bottom" | "left";
|
|
10
|
+
sideOffset?: number;
|
|
11
|
+
items?: Array<{
|
|
12
|
+
key?: string;
|
|
13
|
+
title?: string | React.ReactNode;
|
|
14
|
+
disabled?: boolean;
|
|
15
|
+
separator?: boolean;
|
|
16
|
+
onClick?: () => void;
|
|
17
|
+
}>;
|
|
18
|
+
children?: React.ReactNode;
|
|
19
|
+
};
|
|
20
|
+
declare const DropdownMenu: ({ id, className, visible, align, side, sideOffset, items, children, }: DropdownMenuProps) => React.JSX.Element;
|
|
21
|
+
export { DropdownMenu };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./DropdownMenu";
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { EmailLayoutInput } from '../../emails/email';
|
|
3
|
+
/**
|
|
4
|
+
* Preview de email transacional Gyra+ — genérico, configurável.
|
|
5
|
+
*
|
|
6
|
+
* Renderiza o HTML produzido por `buildEmail(input)` dentro de um iframe
|
|
7
|
+
* com `sandbox="allow-popups"` pra isolar do CSS do Storybook e simular
|
|
8
|
+
* Gmail/Outlook com fidelidade — `allow-popups` deixa os botoes (links
|
|
9
|
+
* com target=_blank) abrirem no preview pra teste.
|
|
10
|
+
*
|
|
11
|
+
* **Uso**: passe qualquer combinação de campos opcionais (greeting, title
|
|
12
|
+
* obrigatório, paragraphs, highlights lado-a-lado, aiParecer, buttons,
|
|
13
|
+
* footerNote). É o mesmo `EmailLayoutInput` que o `buildEmail` aceita.
|
|
14
|
+
*
|
|
15
|
+
* Pra previsualizar um email transacional específico (ex: reset de senha,
|
|
16
|
+
* batch concluído, alerta), basta montar os props correspondentes — não
|
|
17
|
+
* precisa criar um componente novo por caso.
|
|
18
|
+
*/
|
|
19
|
+
export type EmailProps = EmailLayoutInput & {
|
|
20
|
+
/** Largura visual do iframe. Default 700px (cabe o card 600 + paddings). */
|
|
21
|
+
width?: number | string;
|
|
22
|
+
/** Altura visual do iframe. Default 1000px. Ajuste se o conteúdo crescer. */
|
|
23
|
+
height?: number | string;
|
|
24
|
+
};
|
|
25
|
+
export declare const Email: React.FC<EmailProps>;
|
|
26
|
+
export default Email;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import "./index.css";
|
|
3
|
+
type EmptyProps = {
|
|
4
|
+
id?: string;
|
|
5
|
+
className?: string;
|
|
6
|
+
icon?: React.ReactNode;
|
|
7
|
+
text?: string;
|
|
8
|
+
};
|
|
9
|
+
declare const Empty: ({ id, className, icon, text, }: EmptyProps) => React.JSX.Element;
|
|
10
|
+
export { Empty };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./Empty";
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import "./index.css";
|
|
3
|
+
type FilterType = "text" | "number" | "boolean" | "select" | "select-multiple" | "currency" | "date" | "month" | "date-range";
|
|
4
|
+
type FilterItem = {
|
|
5
|
+
key: string;
|
|
6
|
+
name: string;
|
|
7
|
+
type: FilterType;
|
|
8
|
+
options?: Array<{
|
|
9
|
+
value: string;
|
|
10
|
+
label: string;
|
|
11
|
+
}>;
|
|
12
|
+
};
|
|
13
|
+
type FilterProps = {
|
|
14
|
+
id?: string;
|
|
15
|
+
className?: string;
|
|
16
|
+
filters?: Array<FilterItem>;
|
|
17
|
+
onFilter: (values: any) => void;
|
|
18
|
+
value?: Record<string, Record<string, any>>;
|
|
19
|
+
};
|
|
20
|
+
declare const Filter: ({ id, className, filters, onFilter, value, }: FilterProps) => React.JSX.Element;
|
|
21
|
+
export { Filter };
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import "./index.css";
|
|
3
|
+
type MultipleFilterType = "text" | "number" | "boolean" | "select" | "select-multiple" | "currency" | "date" | "month" | "date-range";
|
|
4
|
+
type MultipleFilterCondition = "equalTo" | "notEqualTo" | "greatherThan" | "lessThan" | "greatherThanOrLessThan";
|
|
5
|
+
type MultipleFilterItem = {
|
|
6
|
+
key: string;
|
|
7
|
+
name: string;
|
|
8
|
+
type: MultipleFilterType;
|
|
9
|
+
options?: Array<{
|
|
10
|
+
value: string;
|
|
11
|
+
label: string;
|
|
12
|
+
}>;
|
|
13
|
+
};
|
|
14
|
+
type MultipleThreatedFilter = {
|
|
15
|
+
[key: string]: {
|
|
16
|
+
[key in MultipleFilterCondition | "type"]?: any;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
type MultipleFilterProps = {
|
|
20
|
+
id?: string;
|
|
21
|
+
className?: string;
|
|
22
|
+
filters?: Array<MultipleFilterItem>;
|
|
23
|
+
onFilter: (values: any) => void;
|
|
24
|
+
value?: MultipleThreatedFilter;
|
|
25
|
+
};
|
|
26
|
+
declare const MultipleFilter: ({ id, className, filters, onFilter, value, }: MultipleFilterProps) => React.JSX.Element;
|
|
27
|
+
export { MultipleFilter };
|