@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 @@
|
|
|
1
|
+
export * from "./RichInput";
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import "./index.css";
|
|
3
|
+
type Gap = {
|
|
4
|
+
mobile?: 0 | 4 | 8 | 12 | 16 | 20 | 24 | 28 | 32 | 36 | 40 | 44 | 48 | 52 | 56 | 60 | 64 | 68 | 72 | 76 | 80;
|
|
5
|
+
tablet?: 0 | 4 | 8 | 12 | 16 | 20 | 24 | 28 | 32 | 36 | 40 | 44 | 48 | 52 | 56 | 60 | 64 | 68 | 72 | 76 | 80;
|
|
6
|
+
desktop?: 0 | 4 | 8 | 12 | 16 | 20 | 24 | 28 | 32 | 36 | 40 | 44 | 48 | 52 | 56 | 60 | 64 | 68 | 72 | 76 | 80;
|
|
7
|
+
wide?: 0 | 4 | 8 | 12 | 16 | 20 | 24 | 28 | 32 | 36 | 40 | 44 | 48 | 52 | 56 | 60 | 64 | 68 | 72 | 76 | 80;
|
|
8
|
+
};
|
|
9
|
+
type RowProps = {
|
|
10
|
+
id?: string;
|
|
11
|
+
className?: string;
|
|
12
|
+
columns?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
|
|
13
|
+
gap?: 0 | 4 | 8 | 12 | 16 | 20 | 24 | 28 | 32 | 36 | 40 | 44 | 48 | 52 | 56 | 60 | 64 | 68 | 72 | 76 | 80 | Gap;
|
|
14
|
+
align?: 'start' | 'center' | 'end';
|
|
15
|
+
children: React.ReactNode;
|
|
16
|
+
};
|
|
17
|
+
declare const Row: ({ id, className, columns, gap, align, children, }: RowProps) => React.JSX.Element;
|
|
18
|
+
export { Row };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./Row";
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import "./index.css";
|
|
3
|
+
type RuleSearchItem = {
|
|
4
|
+
key: string;
|
|
5
|
+
label: string;
|
|
6
|
+
/** Descrição curta abaixo do label. */
|
|
7
|
+
sublabel?: string;
|
|
8
|
+
icon?: React.ReactNode;
|
|
9
|
+
/** Tag opcional à direita (ex.: "custom"). */
|
|
10
|
+
tag?: string | React.ReactNode;
|
|
11
|
+
disabled?: boolean;
|
|
12
|
+
};
|
|
13
|
+
type RuleSearchSection = {
|
|
14
|
+
key: string;
|
|
15
|
+
label: string;
|
|
16
|
+
items: RuleSearchItem[];
|
|
17
|
+
};
|
|
18
|
+
type RuleSearchPickerProps = {
|
|
19
|
+
id?: string;
|
|
20
|
+
className?: string;
|
|
21
|
+
visible?: boolean;
|
|
22
|
+
title?: string;
|
|
23
|
+
searchPlaceholder?: string;
|
|
24
|
+
sections: RuleSearchSection[];
|
|
25
|
+
onSelect?: (itemKey: string, sectionKey: string) => void;
|
|
26
|
+
trigger: React.ReactNode;
|
|
27
|
+
/** Quando true, fecha após seleção. Caller deve controlar `visible`. */
|
|
28
|
+
closeOnSelect?: boolean;
|
|
29
|
+
/** Callback chamado quando o popover quer ser fechado (esc, seleção). */
|
|
30
|
+
onClose?: () => void;
|
|
31
|
+
/** Filtro custom (substitui o default que olha label + sublabel + section). */
|
|
32
|
+
filter?: (item: RuleSearchItem, section: RuleSearchSection, query: string) => boolean;
|
|
33
|
+
width?: number | string;
|
|
34
|
+
align?: "start" | "center" | "end";
|
|
35
|
+
side?: "top" | "right" | "bottom" | "left";
|
|
36
|
+
/** Hint de teclado mostrado à direita do search. Default "↵ adicionar". */
|
|
37
|
+
searchAccessory?: React.ReactNode;
|
|
38
|
+
/** Hint do footer (esquerda). Default mostra ↑↓ navegar / ↵ adicionar / esc fechar. */
|
|
39
|
+
footerKeys?: React.ReactNode;
|
|
40
|
+
/** Texto à direita do footer (ex.: "9 regras"). Default = contagem. */
|
|
41
|
+
footerCount?: React.ReactNode;
|
|
42
|
+
onPointerDownOutside?: () => void;
|
|
43
|
+
};
|
|
44
|
+
declare const RuleSearchPicker: ({ id, className, visible, title, searchPlaceholder, sections, onSelect, trigger, closeOnSelect, onClose, filter, width, align, side, searchAccessory, footerKeys, footerCount, onPointerDownOutside, }: RuleSearchPickerProps) => React.JSX.Element;
|
|
45
|
+
export { RuleSearchPicker };
|
|
46
|
+
export type { RuleSearchItem, RuleSearchSection, RuleSearchPickerProps, };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./RuleSearchPicker";
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import "./index.css";
|
|
3
|
+
export type ScoreBarVariant = "success" | "warning" | "danger" | "info" | "neutral";
|
|
4
|
+
export type ScoreThreshold = {
|
|
5
|
+
/** Minimum value (inclusive) at which this variant applies. */
|
|
6
|
+
at: number;
|
|
7
|
+
variant: ScoreBarVariant;
|
|
8
|
+
};
|
|
9
|
+
type ScoreBarProps = {
|
|
10
|
+
id?: string;
|
|
11
|
+
className?: string;
|
|
12
|
+
value?: number | null;
|
|
13
|
+
/** Maximum value of the scale. Default 1000 (matches Brazilian credit bureaus). */
|
|
14
|
+
max?: number;
|
|
15
|
+
/** Thresholds, evaluated highest -> lowest. The first threshold whose `at`
|
|
16
|
+
* is <= value wins. Anything below the lowest threshold falls back to
|
|
17
|
+
* the bar's default `belowVariant`. */
|
|
18
|
+
thresholds?: ScoreThreshold[];
|
|
19
|
+
/** Variant when value is null/0 or below the lowest threshold. Default: "danger". */
|
|
20
|
+
belowVariant?: ScoreBarVariant;
|
|
21
|
+
/** Width of the inline bar in pixels. Default 36. */
|
|
22
|
+
barWidth?: number;
|
|
23
|
+
/** Render the numeric value next to the bar. Default true. */
|
|
24
|
+
showValue?: boolean;
|
|
25
|
+
/** Replaces the numeric when value is missing. Default "—". */
|
|
26
|
+
emptyText?: string;
|
|
27
|
+
};
|
|
28
|
+
declare const ScoreBar: ({ id, className, value, max, thresholds, belowVariant, barWidth, showValue, emptyText, }: ScoreBarProps) => React.JSX.Element;
|
|
29
|
+
export { ScoreBar };
|
|
30
|
+
export type { ScoreBarProps };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./ScoreBar";
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import "./index.css";
|
|
3
|
+
type SegmentedPickerOption = {
|
|
4
|
+
value: string;
|
|
5
|
+
title: string;
|
|
6
|
+
description?: string;
|
|
7
|
+
icon?: React.ReactNode;
|
|
8
|
+
className?: string;
|
|
9
|
+
/** When true, the option is recognized for the *current* selection
|
|
10
|
+
* lookup but is NOT shown in the dropdown menu. Useful for terminal
|
|
11
|
+
* states (e.g. NOT_APPLIED) that must be displayed when stored but
|
|
12
|
+
* shouldn't be offered as a manual choice. */
|
|
13
|
+
hidden?: boolean;
|
|
14
|
+
};
|
|
15
|
+
type SegmentedPickerProps = {
|
|
16
|
+
id?: string;
|
|
17
|
+
className?: string;
|
|
18
|
+
value?: string;
|
|
19
|
+
options: Array<SegmentedPickerOption>;
|
|
20
|
+
onChange?: (value: string) => void;
|
|
21
|
+
/** primary: solid filled trigger; secondary: outlined/ghost trigger. */
|
|
22
|
+
variant?: "primary" | "secondary";
|
|
23
|
+
disabled?: boolean;
|
|
24
|
+
};
|
|
25
|
+
declare const SegmentedPicker: ({ id, className, value, options, onChange, variant, disabled, }: SegmentedPickerProps) => React.JSX.Element | null;
|
|
26
|
+
export { SegmentedPicker };
|
|
27
|
+
export type { SegmentedPickerProps, SegmentedPickerOption };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./SegmentedPicker";
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import "./index.css";
|
|
3
|
+
type Kind = "primary" | "success" | "warning" | "danger" | "info" | "neutral";
|
|
4
|
+
type SegmentedToggleOption<T extends string> = {
|
|
5
|
+
value: T;
|
|
6
|
+
label: string;
|
|
7
|
+
icon?: React.ReactNode;
|
|
8
|
+
/** Cor aplicada quando a opção está ativa. */
|
|
9
|
+
kind?: Kind;
|
|
10
|
+
disabled?: boolean;
|
|
11
|
+
};
|
|
12
|
+
type SegmentedToggleProps<T extends string> = {
|
|
13
|
+
id?: string;
|
|
14
|
+
className?: string;
|
|
15
|
+
value: T;
|
|
16
|
+
options: Array<SegmentedToggleOption<T>>;
|
|
17
|
+
onChange?: (value: T) => void;
|
|
18
|
+
/** Tamanho do toggle. Default "md". */
|
|
19
|
+
size?: "sm" | "md";
|
|
20
|
+
/** Label invisível pra screen readers (a11y). */
|
|
21
|
+
ariaLabel?: string;
|
|
22
|
+
};
|
|
23
|
+
declare function SegmentedToggle<T extends string>({ id, className, value, options, onChange, size, ariaLabel, }: SegmentedToggleProps<T>): React.JSX.Element;
|
|
24
|
+
export { SegmentedToggle };
|
|
25
|
+
export type { SegmentedToggleOption, SegmentedToggleProps };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./SegmentedToggle";
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import "./index.css";
|
|
3
|
+
type SelectItem = {
|
|
4
|
+
label: string | React.ReactNode;
|
|
5
|
+
value?: any;
|
|
6
|
+
options?: Array<{
|
|
7
|
+
label: string;
|
|
8
|
+
value: any;
|
|
9
|
+
}>;
|
|
10
|
+
disabled?: boolean;
|
|
11
|
+
};
|
|
12
|
+
type SelectProps = {
|
|
13
|
+
id?: string;
|
|
14
|
+
className?: string;
|
|
15
|
+
menuClassName?: string;
|
|
16
|
+
loading?: boolean;
|
|
17
|
+
disabled?: boolean;
|
|
18
|
+
placeholder?: string;
|
|
19
|
+
floatingPlaceholder?: boolean;
|
|
20
|
+
mode?: "bordered" | "shadowed" | "table";
|
|
21
|
+
multiple?: boolean;
|
|
22
|
+
value?: any;
|
|
23
|
+
options: Array<SelectItem>;
|
|
24
|
+
onChange?: (value: any) => void;
|
|
25
|
+
};
|
|
26
|
+
declare const Select: ({ id, className, menuClassName, loading, disabled, placeholder, floatingPlaceholder, mode, multiple, value, options, onChange, }: SelectProps) => React.JSX.Element;
|
|
27
|
+
export { Select };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./Select";
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import "./index.css";
|
|
3
|
+
type TreeInputType = 'text' | 'number' | 'boolean' | 'select' | 'select-multiple' | 'currency' | 'date' | 'month' | 'date-range';
|
|
4
|
+
type TreeProps = {
|
|
5
|
+
key: string;
|
|
6
|
+
name: string;
|
|
7
|
+
input?: {
|
|
8
|
+
type: TreeInputType;
|
|
9
|
+
placeholder?: string;
|
|
10
|
+
options?: Array<{
|
|
11
|
+
label: string;
|
|
12
|
+
value: string;
|
|
13
|
+
}>;
|
|
14
|
+
};
|
|
15
|
+
value?: string;
|
|
16
|
+
tree?: Array<TreeProps>;
|
|
17
|
+
category?: string;
|
|
18
|
+
};
|
|
19
|
+
type SelectTreeProps = {
|
|
20
|
+
id?: string;
|
|
21
|
+
placeholder?: string;
|
|
22
|
+
className?: string;
|
|
23
|
+
tree: Array<TreeProps>;
|
|
24
|
+
initialValue?: {
|
|
25
|
+
keys?: Array<string>;
|
|
26
|
+
value?: any;
|
|
27
|
+
};
|
|
28
|
+
onChange?: (params: {
|
|
29
|
+
keys: Array<string>;
|
|
30
|
+
value: any;
|
|
31
|
+
}) => void;
|
|
32
|
+
rows?: number;
|
|
33
|
+
};
|
|
34
|
+
declare const SelectTree: ({ id, placeholder, className, tree, initialValue: controlledValue, onChange, rows, }: SelectTreeProps) => React.JSX.Element;
|
|
35
|
+
export { SelectTree };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./SelectTree";
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import "./index.css";
|
|
3
|
+
type SelectorItem = {
|
|
4
|
+
key: string;
|
|
5
|
+
title?: string | React.ReactNode;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
separator?: boolean;
|
|
8
|
+
items?: Array<{
|
|
9
|
+
key: string;
|
|
10
|
+
title?: string | React.ReactNode;
|
|
11
|
+
disabled?: boolean;
|
|
12
|
+
separator?: boolean;
|
|
13
|
+
items?: Array<SelectorItem>;
|
|
14
|
+
}>;
|
|
15
|
+
};
|
|
16
|
+
type SelectorProps = {
|
|
17
|
+
id?: string;
|
|
18
|
+
className?: string;
|
|
19
|
+
borderless?: boolean;
|
|
20
|
+
orientation?: 'horizontal' | 'vertical';
|
|
21
|
+
side?: 'top' | 'right' | 'bottom' | 'left';
|
|
22
|
+
items?: Array<SelectorItem>;
|
|
23
|
+
onClick?: (keys: Array<string>) => void;
|
|
24
|
+
children: React.ReactNode;
|
|
25
|
+
};
|
|
26
|
+
declare const Selector: ({ id, className, side, items, onClick, children, }: SelectorProps) => React.JSX.Element;
|
|
27
|
+
export { Selector };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./Selector";
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import "./index.css";
|
|
3
|
+
type StatusTagVariant = 'success' | 'danger' | 'warning' | 'info' | 'neutral' | 'primary';
|
|
4
|
+
type StatusTagProps = {
|
|
5
|
+
id?: string;
|
|
6
|
+
className?: string;
|
|
7
|
+
/** Semantic variant (preferred). */
|
|
8
|
+
variant?: StatusTagVariant;
|
|
9
|
+
/** Legacy: any css color. Rendered as subtle tint + the color as text. */
|
|
10
|
+
color?: string;
|
|
11
|
+
title?: string;
|
|
12
|
+
icon?: React.ReactNode;
|
|
13
|
+
};
|
|
14
|
+
declare const StatusTag: ({ id, className, variant, color, title, icon, }: StatusTagProps) => React.JSX.Element;
|
|
15
|
+
export { StatusTag };
|
|
16
|
+
export type { StatusTagVariant };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./StatusTag";
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import "./index.css";
|
|
3
|
+
type StatusTagProps = {
|
|
4
|
+
id?: string;
|
|
5
|
+
className?: string;
|
|
6
|
+
currentStepValue?: string;
|
|
7
|
+
steps: {
|
|
8
|
+
value: string;
|
|
9
|
+
title: string;
|
|
10
|
+
subtitle: string;
|
|
11
|
+
position?: string;
|
|
12
|
+
}[];
|
|
13
|
+
};
|
|
14
|
+
declare const Stepper: ({ id, className, currentStepValue, steps, }: StatusTagProps) => React.JSX.Element;
|
|
15
|
+
export { Stepper };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./Stepper";
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import "./index.css";
|
|
3
|
+
type SwitchProps = {
|
|
4
|
+
id?: string;
|
|
5
|
+
className?: string;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
checked?: boolean;
|
|
8
|
+
onCheckedChange?: (checked: boolean) => void;
|
|
9
|
+
};
|
|
10
|
+
declare const Switch: ({ id, className, disabled, checked, onCheckedChange, }: SwitchProps) => React.JSX.Element;
|
|
11
|
+
export { Switch };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./Switch";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import "./index.css";
|
|
3
|
+
type SyncChipProps = {
|
|
4
|
+
id?: string;
|
|
5
|
+
className?: string;
|
|
6
|
+
loading?: boolean;
|
|
7
|
+
date?: string | Date;
|
|
8
|
+
error?: boolean | string;
|
|
9
|
+
verified?: boolean;
|
|
10
|
+
/** Optional override for the error tooltip when error is true. */
|
|
11
|
+
errorTooltip?: string;
|
|
12
|
+
/** Optional override for the tooltip when verified is false. */
|
|
13
|
+
notVerifiedTooltip?: string;
|
|
14
|
+
};
|
|
15
|
+
declare const SyncChip: ({ id, className, loading, date, error, verified, errorTooltip, notVerifiedTooltip, }: SyncChipProps) => React.JSX.Element;
|
|
16
|
+
export { SyncChip };
|
|
17
|
+
export type { SyncChipProps };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./SyncChip";
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import "./index.css";
|
|
3
|
+
type TableColumnProps = {
|
|
4
|
+
key: string;
|
|
5
|
+
header: string;
|
|
6
|
+
render?: (value: any, data: any) => React.ReactNode | string;
|
|
7
|
+
align?: 'left' | 'center' | 'right';
|
|
8
|
+
width?: string | number;
|
|
9
|
+
};
|
|
10
|
+
type TableProps = {
|
|
11
|
+
id?: string;
|
|
12
|
+
className?: string;
|
|
13
|
+
height?: number;
|
|
14
|
+
type?: 'list' | 'card' | 'bordered';
|
|
15
|
+
columns: Array<TableColumnProps>;
|
|
16
|
+
data: Array<any>;
|
|
17
|
+
empty?: {
|
|
18
|
+
icon?: React.ReactNode;
|
|
19
|
+
text?: string;
|
|
20
|
+
};
|
|
21
|
+
headlesss?: boolean;
|
|
22
|
+
onRowClick?: (e: React.MouseEvent<HTMLTableRowElement, MouseEvent>, data: any) => void;
|
|
23
|
+
/** Optional per-row className. Receives the row's data object and its
|
|
24
|
+
* zero-based index. Useful for transient state highlights (e.g. a row
|
|
25
|
+
* that just finished processing in real-time). */
|
|
26
|
+
rowClassName?: (data: any, index: number) => string | undefined;
|
|
27
|
+
};
|
|
28
|
+
declare const Table: ({ id, className, height, type, columns, data, empty, headlesss, onRowClick, rowClassName, }: TableProps) => React.JSX.Element;
|
|
29
|
+
export { Table };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./Table";
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import "./index.css";
|
|
3
|
+
type TabsProps = {
|
|
4
|
+
id?: string;
|
|
5
|
+
className?: string;
|
|
6
|
+
defaultValue?: string;
|
|
7
|
+
value?: string;
|
|
8
|
+
align?: 'start' | 'center' | 'end';
|
|
9
|
+
clickable?: boolean;
|
|
10
|
+
tabs: Array<{
|
|
11
|
+
key: string;
|
|
12
|
+
title: string | React.ReactNode;
|
|
13
|
+
disabled?: boolean;
|
|
14
|
+
hidden?: boolean;
|
|
15
|
+
content: React.ReactNode;
|
|
16
|
+
}>;
|
|
17
|
+
onTabChange?: (tab: any) => void;
|
|
18
|
+
};
|
|
19
|
+
declare const Tabs: ({ id, className, defaultValue, value, align, clickable, tabs, onTabChange, }: TabsProps) => React.JSX.Element;
|
|
20
|
+
export { Tabs };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./Tabs";
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import "./index.css";
|
|
3
|
+
type TagProps = {
|
|
4
|
+
id?: string;
|
|
5
|
+
className?: string;
|
|
6
|
+
icon?: React.ReactNode;
|
|
7
|
+
children?: React.ReactNode | string;
|
|
8
|
+
};
|
|
9
|
+
declare const Tag: React.ForwardRefExoticComponent<TagProps & React.RefAttributes<unknown>>;
|
|
10
|
+
export { Tag };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./Tag";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Toast';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import "./index.css";
|
|
3
|
+
type TooltipProps = {
|
|
4
|
+
id?: string;
|
|
5
|
+
className?: string;
|
|
6
|
+
align?: "start" | "center" | "end";
|
|
7
|
+
side?: "top" | "right" | "bottom" | "left";
|
|
8
|
+
sideOffset?: number;
|
|
9
|
+
visible?: boolean;
|
|
10
|
+
content: string | React.ReactNode;
|
|
11
|
+
width?: string | number;
|
|
12
|
+
delayDuration?: number;
|
|
13
|
+
children?: React.ReactNode;
|
|
14
|
+
};
|
|
15
|
+
declare const Tooltip: ({ id, className, align, side, sideOffset, visible, content, width, delayDuration, children, }: TooltipProps) => React.JSX.Element;
|
|
16
|
+
export { Tooltip };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./Tooltip";
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './index.css';
|
|
3
|
+
export type TourStep = {
|
|
4
|
+
title: string;
|
|
5
|
+
body: string;
|
|
6
|
+
targetSelector: string;
|
|
7
|
+
navSection?: string;
|
|
8
|
+
padding?: number;
|
|
9
|
+
/**
|
|
10
|
+
* Como alinhar o alvo ao rolar. 'center' (padrão para alvos pequenos) é
|
|
11
|
+
* imune à altura de toolbars fixas. 'start' é melhor para seções altas.
|
|
12
|
+
* 'nearest' rola o mínimo possível (bom para elementos flutuantes/portais
|
|
13
|
+
* que já estão visíveis, como dropdowns). Se omitido, decidimos pela altura.
|
|
14
|
+
*/
|
|
15
|
+
scrollBlock?: 'start' | 'center' | 'nearest';
|
|
16
|
+
/**
|
|
17
|
+
* Efeito colateral ao ENTRAR no passo, disparado depois da navegação e do
|
|
18
|
+
* mount da seção (ex.: abrir um dropdown para destacá-lo). Use junto com
|
|
19
|
+
* targetSelector apontando para o conteúdo revelado.
|
|
20
|
+
*/
|
|
21
|
+
onEnter?: () => void;
|
|
22
|
+
/** Limpeza ao SAIR do passo (ex.: fechar o dropdown aberto no onEnter). */
|
|
23
|
+
onLeave?: () => void;
|
|
24
|
+
};
|
|
25
|
+
export type TourGuideProps = {
|
|
26
|
+
steps: TourStep[];
|
|
27
|
+
visible: boolean;
|
|
28
|
+
onClose: () => void;
|
|
29
|
+
onNavigate?: (navSection: string) => void;
|
|
30
|
+
/**
|
|
31
|
+
* Espaço (px) reservado no topo ao rolar alvos altos (block:'start') para que
|
|
32
|
+
* não fiquem atrás de toolbars fixas. Aceita número ou função (recalculada a
|
|
33
|
+
* cada passo) — use a função quando a altura da toolbar varia (wrap/mobile).
|
|
34
|
+
* Alvos pequenos usam block:'center' e ignoram esse valor. Padrão: 0.
|
|
35
|
+
*/
|
|
36
|
+
scrollOffsetTop?: number | (() => number);
|
|
37
|
+
className?: string;
|
|
38
|
+
};
|
|
39
|
+
export declare function TourGuide({ steps, visible, onClose, onNavigate, scrollOffsetTop, className, }: TourGuideProps): React.JSX.Element | null;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './TourGuide';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./Waypoint";
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Preset do email "Análise financeira concluída" enviado quando o gyra-ai
|
|
3
|
+
* finaliza a extração de um balanço (feature Finsights — CU-86aherfzc).
|
|
4
|
+
*
|
|
5
|
+
* Esta é uma **camada fina de mapeamento de domínio** sobre o
|
|
6
|
+
* `buildEmail` genérico: recebe os campos crus que o gyra-ai produz
|
|
7
|
+
* (score, risk, recommendation, xlsxUrl, ...) e monta o `EmailLayoutInput`
|
|
8
|
+
* com as decisões visuais (cor do risco, tom do veredito, textos padrão).
|
|
9
|
+
*
|
|
10
|
+
* Pra criar outro preset (ex: `password-reset`, `report-finalized`,
|
|
11
|
+
* `batch-finalized`), criar uma pasta nova em `src/emails/<name>/` que
|
|
12
|
+
* importe `buildEmail` e exporte uma função `<name>Email(payload)` com a
|
|
13
|
+
* mesma assinatura: `{ subject, html }`.
|
|
14
|
+
*/
|
|
15
|
+
export type BalanceSheetFinalizedPayload = {
|
|
16
|
+
firstName?: string;
|
|
17
|
+
companyName?: string;
|
|
18
|
+
score?: number | string;
|
|
19
|
+
risk?: string;
|
|
20
|
+
recommendation?: string;
|
|
21
|
+
xlsxUrl?: string;
|
|
22
|
+
reportUrl?: string;
|
|
23
|
+
};
|
|
24
|
+
/**
|
|
25
|
+
* Monta `{ subject, html }` do email "Análise financeira concluída" a
|
|
26
|
+
* partir do payload do gyra-ai (score, risco, recomendação, XLS, etc).
|
|
27
|
+
* Usado pelo gyra-communication (envio via SendGrid) e pelo Storybook
|
|
28
|
+
* (preview).
|
|
29
|
+
*/
|
|
30
|
+
export declare function balanceSheetFinalizedEmail(payload: BalanceSheetFinalizedPayload): {
|
|
31
|
+
subject: string;
|
|
32
|
+
html: string;
|
|
33
|
+
};
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Email transacional genérico — Gyra+ design system.
|
|
3
|
+
*
|
|
4
|
+
* **FONTE DA VERDADE** dos layouts de email transacional. Usado por
|
|
5
|
+
* qualquer fluxo que precise mandar email no padrão visual Gyra+:
|
|
6
|
+
* - reset de senha, confirmação de cadastro, alertas internos
|
|
7
|
+
* - finalização de processamento (Finsights, batch-report, etc)
|
|
8
|
+
* - notificações de operação/crédito
|
|
9
|
+
* - convites, mudança de plano, alerts de billing...
|
|
10
|
+
*
|
|
11
|
+
* **TS puro**: sem React, sem DOM, sem browser globals. Apenas funções que
|
|
12
|
+
* retornam string HTML. Funciona igual em qualquer runtime Node (Nest) ou
|
|
13
|
+
* bundle browser (Next).
|
|
14
|
+
*
|
|
15
|
+
* **Email-safe**: tabelas + inline-style (clients ignoram <style> externo,
|
|
16
|
+
* flexbox e Material Symbols). Gradientes têm fallback sólido.
|
|
17
|
+
*
|
|
18
|
+
* Tokens visuais alinhados com gyra-design: azul #1256FF (acao/primary),
|
|
19
|
+
* roxo #7C4EFF (IA/parecer), neutrals Apple-gray, fonte Inter.
|
|
20
|
+
*
|
|
21
|
+
* **Como usar:**
|
|
22
|
+
* ```ts
|
|
23
|
+
* import { buildEmail } from '@gyramais/gyra-design/dist/emails/email';
|
|
24
|
+
*
|
|
25
|
+
* const html = buildEmail({
|
|
26
|
+
* preheader: 'Senha redefinida com sucesso',
|
|
27
|
+
* greeting: 'Olá, Maria',
|
|
28
|
+
* title: 'Sua senha foi redefinida',
|
|
29
|
+
* paragraphs: ['Tudo certo. Você já pode entrar com a nova senha.'],
|
|
30
|
+
* buttons: [{ label: 'Entrar', url: 'https://app.gyramais.com/login' }],
|
|
31
|
+
* footerNote: 'Se não foi você, redefina novamente clicando em "Esqueci minha senha".',
|
|
32
|
+
* });
|
|
33
|
+
* ```
|
|
34
|
+
*
|
|
35
|
+
* Pra emails recorrentes (mesmo conteudo, payload variavel), criar um
|
|
36
|
+
* **preset** em `src/emails/<preset-name>/index.ts` que monta o
|
|
37
|
+
* `EmailLayoutInput` a partir de campos de dominio e delega aqui. Ver
|
|
38
|
+
* `balance-sheet-finalized` como exemplo.
|
|
39
|
+
*/
|
|
40
|
+
export type EmailButton = {
|
|
41
|
+
label: string;
|
|
42
|
+
url: string;
|
|
43
|
+
/** primary = botão azul preenchido, secondary = outline. Default primary. */
|
|
44
|
+
variant?: 'primary' | 'secondary';
|
|
45
|
+
};
|
|
46
|
+
export type EmailHighlight = {
|
|
47
|
+
/** label pequeno em cima (ex: "Score", "Nivel de risco"). */
|
|
48
|
+
label: string;
|
|
49
|
+
/** valor grande em baixo (ex: "820", "Baixo"). */
|
|
50
|
+
value: string;
|
|
51
|
+
/** cor do valor (ex: cor do risco). Default: tinta padrao Apple-gray. */
|
|
52
|
+
color?: string;
|
|
53
|
+
};
|
|
54
|
+
/** Tom semantico do chip de veredito do bloco Parecer GYRA+IA. */
|
|
55
|
+
export type AiParecerTone = 'ok' | 'warn' | 'danger' | 'info';
|
|
56
|
+
export type EmailAiParecer = {
|
|
57
|
+
/** chip de veredito (ex: "Médio", "Consistente"). Opcional. */
|
|
58
|
+
verdict?: string;
|
|
59
|
+
verdictTone?: AiParecerTone;
|
|
60
|
+
/** corpo do parecer. */
|
|
61
|
+
text: string;
|
|
62
|
+
/** rodape do bloco (ex: "GYRA+IA · Confiança 96%"). Opcional. */
|
|
63
|
+
footer?: string;
|
|
64
|
+
};
|
|
65
|
+
export type EmailLayoutInput = {
|
|
66
|
+
/** Texto invisivel no preheader (preview no inbox). */
|
|
67
|
+
preheader?: string;
|
|
68
|
+
/** Linha curta acima do titulo (ex: "Olá, Maria"). */
|
|
69
|
+
greeting?: string;
|
|
70
|
+
/** Titulo principal (H1). */
|
|
71
|
+
title: string;
|
|
72
|
+
/** Paragrafos de corpo (sub-frases). */
|
|
73
|
+
paragraphs?: string[];
|
|
74
|
+
/** Cards lado-a-lado (1 a N). Largura dividida igualmente. */
|
|
75
|
+
highlights?: EmailHighlight[];
|
|
76
|
+
/** Bloco "Parecer GYRA+IA" (faixa roxa com chip + texto + rodape). */
|
|
77
|
+
aiParecer?: EmailAiParecer;
|
|
78
|
+
/** Botoes de acao. Multiplos viram lado-a-lado. */
|
|
79
|
+
buttons?: EmailButton[];
|
|
80
|
+
/** Texto pequeno no rodape do card (disclaimer, instrucoes extras). */
|
|
81
|
+
footerNote?: string;
|
|
82
|
+
};
|
|
83
|
+
/**
|
|
84
|
+
* Monta o HTML completo de um email no padrão Gyra+: logo no topo, card
|
|
85
|
+
* principal com greeting + título + parágrafos + highlights (chips lado a
|
|
86
|
+
* lado) + bloco "Parecer GYRA+IA" + botões, e rodapé padrão.
|
|
87
|
+
*
|
|
88
|
+
* Email-safe (tabelas + inline-style, sem flexbox, sem <style>). Funciona
|
|
89
|
+
* em Gmail, Outlook (Windows/Web/Mac), Apple Mail, Thunderbird, mobile.
|
|
90
|
+
*
|
|
91
|
+
* Todas as seções (greeting, paragraphs, highlights, aiParecer, buttons,
|
|
92
|
+
* footerNote) são **opcionais** — só `title` é obrigatório.
|
|
93
|
+
*/
|
|
94
|
+
export declare function buildEmail(input: EmailLayoutInput): string;
|