@react-fabric/core 1.0.0-beta.5 → 1.0.0-beta.51
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/{src/components/actionLabel/ActionLabel.module.css → css/components/_actionLabel.css} +4 -4
- package/{src/overlays/alert/Alert.module.css → css/components/_alert.css} +3 -3
- package/{src/components/animations/Animations.module.css → css/components/_animations.css} +9 -9
- package/{src/components/avatar/Avatar.module.css → css/components/_avatar.css} +11 -11
- package/{src/components/badge/Badge.module.css → css/components/_badge.css} +19 -17
- package/{src/components/breadcrumbs/Breadcrumbs.module.css → css/components/_breadcrumbs.css} +49 -44
- package/{src/components/button/Button.module.css → css/components/_button.css} +69 -79
- package/{src/components/card/Card.module.css → css/components/_card.css} +50 -28
- package/{src/components/chip/Chip.module.css → css/components/_chip.css} +14 -10
- package/{src/components/collapsable/Collapsable.module.css → css/components/_collapsable.css} +3 -3
- package/css/components/_divider.css +38 -0
- package/{src/components/dropdown/Dropdown.module.css → css/components/_dropdown.css} +2 -2
- package/{src/overlays/flyout/Flyout.module.css → css/components/_flyout.css} +6 -6
- package/{src/components/icon/Icon.module.css → css/components/_icon.css} +8 -5
- package/{src/components/media/Media.module.css → css/components/_media.css} +17 -17
- package/{src/components/menu/Menu.module.css → css/components/_menu.css} +19 -20
- package/{src/overlays/message/Message.module.css → css/components/_message.css} +2 -2
- package/{src/components/meter/Meter.module.css → css/components/_meter.css} +10 -10
- package/{src/overlays/modal/Modal.module.css → css/components/_modal.css} +6 -6
- package/{src/components/panel/Panel.module.css → css/components/_panel.css} +17 -17
- package/{src/components/progress/Progress.module.css → css/components/_progress.css} +7 -10
- package/{src/components/tabpanel/TabPanel.module.css → css/components/_tabPanel.css} +73 -84
- package/{src/overlays/toast/Toast.module.css → css/components/_toast.css} +2 -2
- package/css/components/_tooltip.css +29 -0
- package/{src/core/content/Content.module.css → css/components/index.css} +25 -18
- package/{src/core/aside/Aside.module.css → css/core/_aside.css} +56 -42
- package/{src/core/section/Section.module.css → css/core/_content.css} +5 -3
- package/{src/core/boundary/ErrorBoundary.module.css → css/core/_errorboundary.css} +9 -9
- package/{src/core/headfoot/HeadFoot.module.css → css/core/_headfoot.css} +4 -10
- package/{src/core/page/Page.module.css → css/core/_page.css} +10 -14
- package/{src/core/responsive/Responsive.module.css → css/core/_responsive.css} +10 -10
- package/css/core/_section.css +28 -0
- package/{src/core/theme/Theme.module.css → css/core/_theme.css} +3 -3
- package/{src/typography/Typography.module.css → css/core/_typography.css} +14 -12
- package/{src/core/viewport/Viewport.module.css → css/core/_viewport.css} +7 -3
- package/css/core/index.css +33 -0
- package/css/reset/_gradients.css +8 -8
- package/css/reset/_reset.css +42 -224
- package/css/reset/_text.css +14 -29
- package/css/reset/_theme.css +331 -52
- package/css/reset/index.css +4 -4
- package/css/styles.css +7 -6
- package/css/theme/_colors.css +320 -0
- package/css/theme/_utilities.css +530 -0
- package/css/theme/index.css +45 -0
- package/dist/cjs/components/actionLabel/ActionLabel.js +3 -3
- package/dist/cjs/components/animations/Animations.js +29 -18
- package/dist/cjs/components/avatar/Avatar.js +10 -13
- package/dist/cjs/components/avatar/AvatarGroup.js +3 -3
- package/dist/cjs/components/badge/Badge.js +5 -5
- package/dist/cjs/components/breadcrumbs/Breadcrumbs.js +10 -8
- package/dist/cjs/components/button/Button.js +18 -14
- package/dist/cjs/components/button/ButtonGroup.js +4 -3
- package/dist/cjs/components/button/ConfirmButton.js +10 -3
- package/dist/cjs/components/button/ToggleButtonGroup.js +3 -3
- package/dist/cjs/components/callout/Callout.js +16 -4
- package/dist/cjs/components/card/Card.js +14 -10
- package/dist/cjs/components/card/CardCover.js +10 -5
- package/dist/cjs/components/card/FlipContent.js +35 -0
- package/dist/cjs/components/chip/Chip.js +11 -7
- package/dist/cjs/components/collapsable/Collapsable.js +6 -6
- package/dist/cjs/components/divider/Divider.js +11 -7
- package/dist/cjs/components/dropdown/Dropdown.js +6 -9
- package/dist/cjs/components/dropdown/DropdownTool.js +4 -3
- package/dist/cjs/components/empty/EmptyContent.js +8 -5
- package/dist/cjs/components/icon/Icon.js +17 -15
- package/dist/cjs/components/media/Media.js +116 -75
- package/dist/cjs/components/menu/ContextMenu.js +30 -10
- package/dist/cjs/components/menu/Menu.js +44 -21
- package/dist/cjs/components/menu/MenuItem.js +30 -16
- package/dist/cjs/components/meter/Meter.js +2 -3
- package/dist/cjs/components/navigator/Navigator.js +26 -13
- package/dist/cjs/components/panel/Panel.js +10 -9
- package/dist/cjs/components/panel/PanelGroup.js +1 -2
- package/dist/cjs/components/progress/ProgressBar.js +10 -9
- package/dist/cjs/components/progress/ProgressCircle.js +9 -7
- package/dist/cjs/components/tabpanel/Tab.js +58 -38
- package/dist/cjs/components/tabpanel/TabPanel.js +20 -16
- package/dist/cjs/context/Global.js +3 -0
- package/dist/cjs/context/NotificationCenter.js +3 -3
- package/dist/cjs/core/aside/Aside.js +11 -10
- package/dist/cjs/core/boundary/ErrorBoundary.js +6 -7
- package/dist/cjs/core/boundary/ErrorIcon.js +1 -2
- package/dist/cjs/core/content/Content.js +9 -7
- package/dist/cjs/core/headfoot/HeadFoot.js +2 -20
- package/dist/cjs/core/page/Page.js +16 -30
- package/dist/cjs/core/responsive/Responsive.js +5 -5
- package/dist/cjs/core/section/Section.js +1 -2
- package/dist/cjs/core/theme/ThemeProvider.js +11 -9
- package/dist/cjs/core/viewport/Viewport.js +4 -2
- package/dist/cjs/hooks/useDebounce.js +1 -1
- package/dist/cjs/hooks/useEffectDebugger.js +2 -2
- package/dist/cjs/hooks/useNavigator.js +6 -4
- package/dist/cjs/hooks/useResizeObserver.js +1 -1
- package/dist/cjs/hotkeys/HotKeyLabel.js +1 -1
- package/dist/cjs/hotkeys/HotKeyWrapper.js +3 -1
- package/dist/cjs/index.js +8 -2
- package/dist/cjs/overlays/alert/Alert.js +20 -14
- package/dist/cjs/overlays/flyout/Flyout.js +49 -60
- package/dist/cjs/overlays/message/Message.js +6 -3
- package/dist/cjs/overlays/modal/Modal.js +16 -12
- package/dist/cjs/overlays/toast/Toast.js +17 -9
- package/dist/cjs/overlays/tooltip/Tooltip.js +24 -11
- package/dist/cjs/types/icons.js +6 -1
- package/dist/cjs/typography/Abbr.js +4 -5
- package/dist/cjs/typography/{Link.js → Anchor.js} +5 -4
- package/dist/cjs/typography/Mark.js +2 -3
- package/dist/cjs/typography/Text.js +3 -4
- package/dist/cjs/typography/Title.js +3 -3
- package/dist/cjs/utils/cloneElement.js +47 -0
- package/dist/cjs/utils/getColor.js +1 -18
- package/dist/esm/components/actionLabel/ActionLabel.js +3 -3
- package/dist/esm/components/animations/Animations.js +30 -19
- package/dist/esm/components/avatar/Avatar.js +11 -14
- package/dist/esm/components/avatar/AvatarGroup.js +3 -3
- package/dist/esm/components/badge/Badge.js +5 -5
- package/dist/esm/components/breadcrumbs/Breadcrumbs.js +10 -8
- package/dist/esm/components/button/Button.js +18 -14
- package/dist/esm/components/button/ButtonGroup.js +5 -4
- package/dist/esm/components/button/ConfirmButton.js +10 -3
- package/dist/esm/components/button/ToggleButtonGroup.js +4 -4
- package/dist/esm/components/callout/Callout.js +16 -4
- package/dist/esm/components/card/Card.js +15 -11
- package/dist/esm/components/card/CardCover.js +10 -5
- package/dist/esm/components/card/FlipContent.js +35 -0
- package/dist/esm/components/chip/Chip.js +12 -8
- package/dist/esm/components/collapsable/Collapsable.js +6 -6
- package/dist/esm/components/divider/Divider.js +12 -8
- package/dist/esm/components/dropdown/Dropdown.js +6 -9
- package/dist/esm/components/dropdown/DropdownTool.js +4 -3
- package/dist/esm/components/empty/EmptyContent.js +8 -5
- package/dist/esm/components/icon/Icon.js +17 -15
- package/dist/esm/components/media/Media.js +117 -76
- package/dist/esm/components/menu/ContextMenu.js +32 -12
- package/dist/esm/components/menu/Menu.js +46 -23
- package/dist/esm/components/menu/MenuItem.js +24 -10
- package/dist/esm/components/meter/Meter.js +2 -3
- package/dist/esm/components/navigator/Navigator.js +26 -13
- package/dist/esm/components/panel/Panel.js +10 -9
- package/dist/esm/components/panel/PanelGroup.js +1 -2
- package/dist/esm/components/progress/ProgressBar.js +10 -9
- package/dist/esm/components/progress/ProgressCircle.js +9 -7
- package/dist/esm/components/tabpanel/Tab.js +59 -39
- package/dist/esm/components/tabpanel/TabPanel.js +20 -16
- package/dist/esm/context/Global.js +3 -0
- package/dist/esm/context/NotificationCenter.js +3 -3
- package/dist/esm/core/aside/Aside.js +11 -10
- package/dist/esm/core/boundary/ErrorBoundary.js +6 -7
- package/dist/esm/core/boundary/ErrorIcon.js +1 -2
- package/dist/esm/core/content/Content.js +9 -7
- package/dist/esm/core/headfoot/HeadFoot.js +2 -20
- package/dist/esm/core/page/Page.js +16 -30
- package/dist/esm/core/responsive/Responsive.js +5 -5
- package/dist/esm/core/section/Section.js +1 -2
- package/dist/esm/core/theme/ThemeProvider.js +11 -9
- package/dist/esm/core/viewport/Viewport.js +4 -2
- package/dist/esm/hooks/useDebounce.js +1 -1
- package/dist/esm/hooks/useEffectDebugger.js +2 -2
- package/dist/esm/hooks/useNavigator.js +7 -5
- package/dist/esm/hooks/useResizeObserver.js +1 -1
- package/dist/esm/hotkeys/HotKeyLabel.js +1 -1
- package/dist/esm/hotkeys/HotKeyWrapper.js +3 -1
- package/dist/esm/index.js +4 -1
- package/dist/esm/overlays/alert/Alert.js +21 -15
- package/dist/esm/overlays/flyout/Flyout.js +52 -63
- package/dist/esm/overlays/message/Message.js +7 -4
- package/dist/esm/overlays/modal/Modal.js +17 -13
- package/dist/esm/overlays/toast/Toast.js +18 -10
- package/dist/esm/overlays/tooltip/Tooltip.js +24 -11
- package/dist/esm/types/icons.js +6 -1
- package/dist/esm/typography/Abbr.js +4 -5
- package/dist/esm/typography/{Link.js → Anchor.js} +6 -5
- package/dist/esm/typography/Mark.js +2 -3
- package/dist/esm/typography/Text.js +4 -5
- package/dist/esm/typography/Title.js +4 -4
- package/dist/esm/utils/cloneElement.js +47 -0
- package/dist/esm/utils/getColor.js +2 -16
- package/dist/types/components/actionLabel/ActionLabel.d.ts +2 -2
- package/dist/types/components/animations/Animations.d.ts +5 -5
- package/dist/types/components/avatar/Avatar.d.ts +3 -3
- package/dist/types/components/badge/Badge.d.ts +5 -1
- package/dist/types/components/breadcrumbs/Breadcrumbs.d.ts +2 -2
- package/dist/types/components/button/Button.d.ts +7 -5
- package/dist/types/components/button/ButtonGroup.d.ts +2 -2
- package/dist/types/components/button/ConfirmButton.d.ts +6 -1
- package/dist/types/components/callout/Callout.d.ts +4 -3
- package/dist/types/components/card/Card.d.ts +8 -4
- package/dist/types/components/card/FlipContent.d.ts +7 -0
- package/dist/types/components/chip/Chip.d.ts +3 -3
- package/dist/types/components/collapsable/Collapsable.d.ts +7 -3
- package/dist/types/components/divider/Divider.d.ts +11 -7
- package/dist/types/components/dropdown/DropdownTool.d.ts +2 -1
- package/dist/types/components/empty/EmptyContent.d.ts +6 -2
- package/dist/types/components/icon/Icon.d.ts +5 -4
- package/dist/types/components/index.d.ts +2 -1
- package/dist/types/components/media/Media.d.ts +2 -2
- package/dist/types/components/menu/ContextMenu.d.ts +2 -1
- package/dist/types/components/menu/MenuItem.d.ts +1 -1
- package/dist/types/components/menu/types.d.ts +3 -2
- package/dist/types/components/navigator/Navigator.d.ts +7 -4
- package/dist/types/components/panel/Panel.d.ts +0 -1
- package/dist/types/components/progress/ProgressBar.d.ts +3 -3
- package/dist/types/components/progress/ProgressCircle.d.ts +3 -3
- package/dist/types/components/tabpanel/Tab.d.ts +5 -5
- package/dist/types/components/tabpanel/TabPanel.d.ts +10 -1
- package/dist/types/core/boundary/ErrorBoundary.d.ts +1 -1
- package/dist/types/core/content/Content.d.ts +3 -2
- package/dist/types/core/headfoot/HeadFoot.d.ts +1 -9
- package/dist/types/core/page/Page.d.ts +3 -3
- package/dist/types/core/responsive/Responsive.d.ts +6 -2
- package/dist/types/core/theme/ThemeProvider.d.ts +4 -4
- package/dist/types/hooks/useOverlayService.d.ts +3 -5
- package/dist/types/hooks/useResize.d.ts +1 -1
- package/dist/types/hooks/useResizeObserver.d.ts +1 -1
- package/dist/types/index.d.ts +3 -0
- package/dist/types/overlays/alert/Alert.d.ts +2 -3
- package/dist/types/overlays/flyout/Flyout.d.ts +3 -2
- package/dist/types/overlays/message/Message.d.ts +2 -3
- package/dist/types/overlays/modal/Modal.d.ts +12 -3
- package/dist/types/overlays/toast/Toast.d.ts +2 -3
- package/dist/types/overlays/tooltip/Tooltip.d.ts +2 -2
- package/dist/types/types/icons.d.ts +6 -1
- package/dist/types/types/index.d.ts +26 -6
- package/dist/types/typography/Abbr.d.ts +6 -3
- package/dist/types/typography/Anchor.d.ts +25 -0
- package/dist/types/typography/Mark.d.ts +2 -3
- package/dist/types/typography/index.d.ts +1 -1
- package/dist/types/utils/cloneElement.d.ts +2 -0
- package/dist/types/utils/getColor.d.ts +1 -4
- package/dist/types/utils/index.d.ts +1 -0
- package/package.json +11 -13
- package/src/components/actionLabel/ActionLabel.tsx +15 -6
- package/src/components/animations/Animations.tsx +29 -23
- package/src/components/avatar/Avatar.tsx +74 -88
- package/src/components/avatar/AvatarGroup.tsx +4 -4
- package/src/components/badge/Badge.tsx +11 -7
- package/src/components/breadcrumbs/Breadcrumbs.tsx +13 -9
- package/src/components/button/Button.tsx +27 -22
- package/src/components/button/ButtonGroup.tsx +7 -7
- package/src/components/button/ConfirmButton.tsx +19 -6
- package/src/components/button/ToggleButtonGroup.tsx +5 -5
- package/src/components/callout/Callout.tsx +28 -12
- package/src/components/card/Card.tsx +30 -15
- package/src/components/card/CardCover.tsx +11 -6
- package/src/components/card/FlipContent.tsx +69 -0
- package/src/components/chip/Chip.tsx +19 -13
- package/src/components/collapsable/Collapsable.tsx +12 -7
- package/src/components/divider/Divider.tsx +23 -16
- package/src/components/dropdown/Dropdown.tsx +6 -11
- package/src/components/dropdown/DropdownTool.tsx +5 -3
- package/src/components/empty/EmptyContent.tsx +21 -6
- package/src/components/icon/Icon.tsx +58 -67
- package/src/components/index.ts +2 -1
- package/src/components/media/Media.tsx +141 -106
- package/src/components/menu/ContextMenu.tsx +36 -11
- package/src/components/menu/Menu.tsx +56 -30
- package/src/components/menu/MenuItem.tsx +19 -9
- package/src/components/menu/types.ts +3 -2
- package/src/components/meter/Meter.tsx +2 -3
- package/src/components/navigator/Navigator.tsx +36 -7
- package/src/components/panel/Panel.tsx +10 -9
- package/src/components/panel/PanelGroup.tsx +1 -2
- package/src/components/progress/ProgressBar.tsx +13 -14
- package/src/components/progress/ProgressCircle.tsx +10 -13
- package/src/components/tabpanel/Tab.tsx +81 -64
- package/src/components/tabpanel/TabPanel.tsx +34 -12
- package/src/context/Global.tsx +4 -0
- package/src/context/NotificationCenter.tsx +3 -3
- package/src/core/aside/Aside.tsx +11 -10
- package/src/core/boundary/ErrorBoundary.tsx +8 -7
- package/src/core/boundary/ErrorIcon.tsx +1 -2
- package/src/core/content/Content.tsx +17 -12
- package/src/core/headfoot/HeadFoot.tsx +2 -35
- package/src/core/page/Page.tsx +18 -5
- package/src/core/responsive/Responsive.tsx +14 -7
- package/src/core/section/Section.tsx +1 -2
- package/src/core/theme/ThemeProvider.tsx +14 -13
- package/src/core/viewport/Viewport.tsx +1 -2
- package/src/hooks/useDebounce.ts +1 -1
- package/src/hooks/useEffectDebugger.ts +1 -2
- package/src/hooks/useNavigator.tsx +10 -5
- package/src/hooks/useOverlayService.tsx +12 -6
- package/src/hooks/useResize.ts +1 -1
- package/src/hooks/useResizeObserver.ts +13 -9
- package/src/hotkeys/HotKeyLabel.tsx +1 -1
- package/src/hotkeys/HotKeyWrapper.tsx +3 -1
- package/src/index.ts +4 -0
- package/src/overlays/alert/Alert.tsx +28 -32
- package/src/overlays/flyout/Flyout.tsx +71 -84
- package/src/overlays/message/Message.tsx +10 -7
- package/src/overlays/modal/Modal.tsx +37 -15
- package/src/overlays/toast/Toast.tsx +18 -27
- package/src/overlays/tooltip/Tooltip.tsx +43 -18
- package/src/types/icons.ts +13 -2
- package/src/types/index.ts +268 -27
- package/src/typography/Abbr.tsx +16 -10
- package/src/typography/{Link.tsx → Anchor.tsx} +8 -13
- package/src/typography/Mark.tsx +4 -9
- package/src/typography/Text.tsx +4 -12
- package/src/typography/Title.tsx +2 -6
- package/src/typography/index.ts +1 -1
- package/src/{overlays/tooltip/Tooltip.module.css → utils/cloneElement.ts} +21 -27
- package/src/utils/getColor.ts +1 -17
- package/src/utils/index.ts +1 -0
- package/css/index.js +0 -250
- package/css/tailwind/colors.ts +0 -158
- package/dist/cjs/components/actionLabel/ActionLabel.module.css +0 -1
- package/dist/cjs/components/animations/Animations.module.css +0 -1
- package/dist/cjs/components/avatar/Avatar.module.css +0 -1
- package/dist/cjs/components/badge/Badge.module.css +0 -1
- package/dist/cjs/components/breadcrumbs/Breadcrumbs.module.css +0 -1
- package/dist/cjs/components/button/Button.module.css +0 -1
- package/dist/cjs/components/card/Card.module.css +0 -1
- package/dist/cjs/components/chip/Chip.module.css +0 -1
- package/dist/cjs/components/collapsable/Collapsable.module.css +0 -1
- package/dist/cjs/components/dropdown/Dropdown.module.css +0 -1
- package/dist/cjs/components/icon/Icon.module.css +0 -1
- package/dist/cjs/components/media/Media.module.css +0 -1
- package/dist/cjs/components/menu/Menu.module.css +0 -1
- package/dist/cjs/components/meter/Meter.module.css +0 -1
- package/dist/cjs/components/panel/Panel.module.css +0 -1
- package/dist/cjs/components/progress/Progress.module.css +0 -1
- package/dist/cjs/components/tabpanel/TabPanel.module.css +0 -1
- package/dist/cjs/core/aside/Aside.module.css +0 -1
- package/dist/cjs/core/boundary/ErrorBoundary.module.css +0 -1
- package/dist/cjs/core/content/Content.module.css +0 -1
- package/dist/cjs/core/headfoot/HeadFoot.module.css +0 -1
- package/dist/cjs/core/page/Page.module.css +0 -1
- package/dist/cjs/core/responsive/Responsive.module.css +0 -1
- package/dist/cjs/core/section/Section.module.css +0 -1
- package/dist/cjs/core/theme/Theme.module.css +0 -1
- package/dist/cjs/core/viewport/Viewport.module.css +0 -1
- package/dist/cjs/overlays/alert/Alert.module.css +0 -1
- package/dist/cjs/overlays/flyout/Flyout.module.css +0 -1
- package/dist/cjs/overlays/message/Message.module.css +0 -1
- package/dist/cjs/overlays/modal/Modal.module.css +0 -1
- package/dist/cjs/overlays/toast/Toast.module.css +0 -1
- package/dist/cjs/overlays/tooltip/Tooltip.module.css +0 -1
- package/dist/cjs/typography/Typography.module.css +0 -1
- package/dist/esm/components/actionLabel/ActionLabel.module.css +0 -1
- package/dist/esm/components/animations/Animations.module.css +0 -1
- package/dist/esm/components/avatar/Avatar.module.css +0 -1
- package/dist/esm/components/badge/Badge.module.css +0 -1
- package/dist/esm/components/breadcrumbs/Breadcrumbs.module.css +0 -1
- package/dist/esm/components/button/Button.module.css +0 -1
- package/dist/esm/components/card/Card.module.css +0 -1
- package/dist/esm/components/chip/Chip.module.css +0 -1
- package/dist/esm/components/collapsable/Collapsable.module.css +0 -1
- package/dist/esm/components/dropdown/Dropdown.module.css +0 -1
- package/dist/esm/components/icon/Icon.module.css +0 -1
- package/dist/esm/components/media/Media.module.css +0 -1
- package/dist/esm/components/menu/Menu.module.css +0 -1
- package/dist/esm/components/meter/Meter.module.css +0 -1
- package/dist/esm/components/panel/Panel.module.css +0 -1
- package/dist/esm/components/progress/Progress.module.css +0 -1
- package/dist/esm/components/tabpanel/TabPanel.module.css +0 -1
- package/dist/esm/core/aside/Aside.module.css +0 -1
- package/dist/esm/core/boundary/ErrorBoundary.module.css +0 -1
- package/dist/esm/core/content/Content.module.css +0 -1
- package/dist/esm/core/headfoot/HeadFoot.module.css +0 -1
- package/dist/esm/core/page/Page.module.css +0 -1
- package/dist/esm/core/responsive/Responsive.module.css +0 -1
- package/dist/esm/core/section/Section.module.css +0 -1
- package/dist/esm/core/theme/Theme.module.css +0 -1
- package/dist/esm/core/viewport/Viewport.module.css +0 -1
- package/dist/esm/overlays/alert/Alert.module.css +0 -1
- package/dist/esm/overlays/flyout/Flyout.module.css +0 -1
- package/dist/esm/overlays/message/Message.module.css +0 -1
- package/dist/esm/overlays/modal/Modal.module.css +0 -1
- package/dist/esm/overlays/toast/Toast.module.css +0 -1
- package/dist/esm/overlays/tooltip/Tooltip.module.css +0 -1
- package/dist/esm/typography/Typography.module.css +0 -1
- package/dist/types/typography/Link.d.ts +0 -25
package/{src/components/actionLabel/ActionLabel.module.css → css/components/_actionLabel.css}
RENAMED
|
@@ -21,15 +21,15 @@
|
|
|
21
21
|
* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
22
22
|
*/
|
|
23
23
|
|
|
24
|
-
@layer
|
|
25
|
-
.actionLabel {
|
|
26
|
-
& > .actions {
|
|
24
|
+
@layer components {
|
|
25
|
+
.fabric-actionLabel {
|
|
26
|
+
& > .fabric-actions {
|
|
27
27
|
--width: 4rem;
|
|
28
28
|
|
|
29
29
|
width: 0;
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
&:not([data-disabled="true"]):hover > .actions {
|
|
32
|
+
&:not([data-disabled="true"]):hover > .fabric-actions {
|
|
33
33
|
width: var(--width);
|
|
34
34
|
transition: all cubic-bezier(0.215, 0.61, 0.355, 1) 100ms;
|
|
35
35
|
transition-delay: 500ms;
|
|
@@ -21,11 +21,11 @@
|
|
|
21
21
|
* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
22
22
|
*/
|
|
23
23
|
|
|
24
|
-
@layer
|
|
25
|
-
.alert {
|
|
24
|
+
@layer components {
|
|
25
|
+
.fabric-alert {
|
|
26
26
|
z-index: var(--z-overlay);
|
|
27
27
|
|
|
28
|
-
grid-template: "icon title" auto "
|
|
28
|
+
grid-template: "icon title" auto "message message" auto "input input" auto "actions actions" auto / auto 1fr;
|
|
29
29
|
gap: 0.5rem 1rem;
|
|
30
30
|
|
|
31
31
|
margin-top: -100%;
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
22
22
|
*/
|
|
23
23
|
|
|
24
|
-
@layer
|
|
24
|
+
@layer components {
|
|
25
25
|
@keyframes l2 {
|
|
26
26
|
0%,
|
|
27
27
|
25% {
|
|
@@ -118,7 +118,7 @@
|
|
|
118
118
|
}
|
|
119
119
|
}
|
|
120
120
|
|
|
121
|
-
.bars {
|
|
121
|
+
.fabric-bars {
|
|
122
122
|
--c: linear-gradient(currentcolor 0 0);
|
|
123
123
|
--r1: radial-gradient(farthest-side at bottom, currentcolor 93%, #0000);
|
|
124
124
|
--r2: radial-gradient(farthest-side at top, currentcolor 93%, #0000);
|
|
@@ -136,7 +136,7 @@
|
|
|
136
136
|
}
|
|
137
137
|
}
|
|
138
138
|
|
|
139
|
-
.spinner {
|
|
139
|
+
.fabric-spinner {
|
|
140
140
|
--b: 8px;
|
|
141
141
|
|
|
142
142
|
aspect-ratio: 1;
|
|
@@ -171,7 +171,7 @@
|
|
|
171
171
|
}
|
|
172
172
|
}
|
|
173
173
|
|
|
174
|
-
.loader {
|
|
174
|
+
.fabric-loader {
|
|
175
175
|
--multiplier: 1;
|
|
176
176
|
|
|
177
177
|
& > div {
|
|
@@ -182,7 +182,7 @@
|
|
|
182
182
|
}
|
|
183
183
|
}
|
|
184
184
|
|
|
185
|
-
|
|
185
|
+
@variant rtl {
|
|
186
186
|
--multiplier: -1;
|
|
187
187
|
}
|
|
188
188
|
}
|
|
@@ -210,11 +210,11 @@
|
|
|
210
210
|
}
|
|
211
211
|
}
|
|
212
212
|
|
|
213
|
-
.checkAnimation {
|
|
213
|
+
.fabric-checkAnimation {
|
|
214
214
|
width: 1.5em;
|
|
215
215
|
height: 1.5em;
|
|
216
216
|
|
|
217
|
-
color:
|
|
217
|
+
color: var(--color-primary-500);
|
|
218
218
|
|
|
219
219
|
box-shadow: inset 0 0 0 currentcolor;
|
|
220
220
|
|
|
@@ -227,7 +227,7 @@
|
|
|
227
227
|
check-scale 0.3s ease-in-out 0.9s both;
|
|
228
228
|
animation-delay: 0.75s;
|
|
229
229
|
|
|
230
|
-
& .circlePart {
|
|
230
|
+
& .fabric-circlePart {
|
|
231
231
|
fill: transparent;
|
|
232
232
|
stroke: currentcolor;
|
|
233
233
|
stroke-dasharray: 166;
|
|
@@ -239,7 +239,7 @@
|
|
|
239
239
|
animation-delay: 0.25s;
|
|
240
240
|
}
|
|
241
241
|
|
|
242
|
-
& .iconPart {
|
|
242
|
+
& .fabric-iconPart {
|
|
243
243
|
transform-origin: 50% 50%;
|
|
244
244
|
|
|
245
245
|
stroke: currentcolor;
|
|
@@ -21,15 +21,15 @@
|
|
|
21
21
|
* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
22
22
|
*/
|
|
23
23
|
|
|
24
|
-
@layer
|
|
25
|
-
.avatar {
|
|
24
|
+
@layer components {
|
|
25
|
+
.fabric-avatar {
|
|
26
26
|
width: 1em;
|
|
27
27
|
height: 1em;
|
|
28
28
|
|
|
29
29
|
vertical-align: -0.125em;
|
|
30
30
|
|
|
31
31
|
border-radius: var(--rounding);
|
|
32
|
-
box-shadow: 0 0 1px
|
|
32
|
+
box-shadow: 0 0 1px var(--border-color-base);
|
|
33
33
|
|
|
34
34
|
& > i,
|
|
35
35
|
& > svg,
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
line-height: 1;
|
|
46
46
|
|
|
47
47
|
object-fit: cover;
|
|
48
|
-
background-color:
|
|
48
|
+
background-color: var(--bg-color-dimmed);
|
|
49
49
|
border-radius: inherit;
|
|
50
50
|
|
|
51
51
|
fill: currentcolor;
|
|
@@ -60,10 +60,10 @@
|
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
62
|
|
|
63
|
-
.avatarGroup {
|
|
64
|
-
& > .avatar {
|
|
63
|
+
.fabric-avatarGroup {
|
|
64
|
+
& > .fabric-avatar {
|
|
65
65
|
box-shadow:
|
|
66
|
-
0 0 0 1px
|
|
66
|
+
0 0 0 1px var(--border-color-muted),
|
|
67
67
|
0 0 0 0.125em var(--fabric-bg);
|
|
68
68
|
|
|
69
69
|
&:not(:first-child) {
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
}
|
|
72
72
|
}
|
|
73
73
|
|
|
74
|
-
& .avatarGroup--extra {
|
|
74
|
+
& .fabric-avatarGroup--extra {
|
|
75
75
|
width: 1em;
|
|
76
76
|
height: 1em;
|
|
77
77
|
font-size: inherit;
|
|
@@ -80,9 +80,9 @@
|
|
|
80
80
|
}
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
@layer
|
|
84
|
-
.avatarGroup {
|
|
85
|
-
& > .avatar {
|
|
83
|
+
@layer utilities {
|
|
84
|
+
.fabric-avatarGroup {
|
|
85
|
+
& > .fabric-avatar {
|
|
86
86
|
font-size: inherit;
|
|
87
87
|
border-radius: inherit;
|
|
88
88
|
}
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
22
22
|
*/
|
|
23
23
|
|
|
24
|
-
@layer
|
|
24
|
+
@layer components {
|
|
25
25
|
@keyframes pinger {
|
|
26
26
|
0% {
|
|
27
27
|
transform: scale(1);
|
|
@@ -34,13 +34,15 @@
|
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
|
|
37
|
-
.badge {
|
|
37
|
+
.fabric-badge {
|
|
38
38
|
--tw-bg-opacity: 1;
|
|
39
39
|
|
|
40
40
|
box-sizing: content-box;
|
|
41
|
-
color:
|
|
42
|
-
background-color:
|
|
43
|
-
|
|
41
|
+
color: var(--text-color-base);
|
|
42
|
+
background-color: --alpha(
|
|
43
|
+
var(--color-tint-200) / calc(100% * var(--tw-bg-opacity))
|
|
44
|
+
);
|
|
45
|
+
outline: 0.5px solid var(--bg-color-base);
|
|
44
46
|
|
|
45
47
|
& > span {
|
|
46
48
|
font-size: 0.625em;
|
|
@@ -82,11 +84,11 @@
|
|
|
82
84
|
top: 0;
|
|
83
85
|
inset-inline-start: 0;
|
|
84
86
|
|
|
85
|
-
|
|
87
|
+
@variant ltr {
|
|
86
88
|
transform: translate(calc(var(--translate) * -1), -50%);
|
|
87
89
|
}
|
|
88
90
|
|
|
89
|
-
|
|
91
|
+
@variant rtl {
|
|
90
92
|
transform: translate(calc(var(--translate) * 1), -50%);
|
|
91
93
|
}
|
|
92
94
|
}
|
|
@@ -95,11 +97,11 @@
|
|
|
95
97
|
top: 0;
|
|
96
98
|
inset-inline-end: 0;
|
|
97
99
|
|
|
98
|
-
|
|
100
|
+
@variant ltr {
|
|
99
101
|
transform: translate(calc(var(--translate) * 1), -50%);
|
|
100
102
|
}
|
|
101
103
|
|
|
102
|
-
|
|
104
|
+
@variant rtl {
|
|
103
105
|
transform: translate(calc(var(--translate) * -1), -50%);
|
|
104
106
|
}
|
|
105
107
|
}
|
|
@@ -114,11 +116,11 @@
|
|
|
114
116
|
bottom: 0;
|
|
115
117
|
inset-inline-start: 0;
|
|
116
118
|
|
|
117
|
-
|
|
119
|
+
@variant ltr {
|
|
118
120
|
transform: translate(calc(var(--translate) * -1), -50%);
|
|
119
121
|
}
|
|
120
122
|
|
|
121
|
-
|
|
123
|
+
@variant rtl {
|
|
122
124
|
transform: translate(calc(var(--translate) * 1), -50%);
|
|
123
125
|
}
|
|
124
126
|
}
|
|
@@ -127,11 +129,11 @@
|
|
|
127
129
|
bottom: 0;
|
|
128
130
|
inset-inline-end: 0;
|
|
129
131
|
|
|
130
|
-
|
|
132
|
+
@variant ltr {
|
|
131
133
|
transform: translate(calc(var(--translate) * 1), -50%);
|
|
132
134
|
}
|
|
133
135
|
|
|
134
|
-
|
|
136
|
+
@variant rtl {
|
|
135
137
|
transform: translate(calc(var(--translate) * -1), -50%);
|
|
136
138
|
}
|
|
137
139
|
}
|
|
@@ -140,11 +142,11 @@
|
|
|
140
142
|
top: 50%;
|
|
141
143
|
inset-inline-start: 0;
|
|
142
144
|
|
|
143
|
-
|
|
145
|
+
@variant ltr {
|
|
144
146
|
transform: translate(-50%, -50%);
|
|
145
147
|
}
|
|
146
148
|
|
|
147
|
-
|
|
149
|
+
@variant rtl {
|
|
148
150
|
transform: translate(50%, -50%);
|
|
149
151
|
}
|
|
150
152
|
}
|
|
@@ -153,11 +155,11 @@
|
|
|
153
155
|
top: 50%;
|
|
154
156
|
inset-inline-end: 0;
|
|
155
157
|
|
|
156
|
-
|
|
158
|
+
@variant ltr {
|
|
157
159
|
transform: translate(50%, -50%);
|
|
158
160
|
}
|
|
159
161
|
|
|
160
|
-
|
|
162
|
+
@variant rtl {
|
|
161
163
|
transform: translate(-50%, -50%);
|
|
162
164
|
}
|
|
163
165
|
}
|
package/{src/components/breadcrumbs/Breadcrumbs.module.css → css/components/_breadcrumbs.css}
RENAMED
|
@@ -21,64 +21,46 @@
|
|
|
21
21
|
* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
22
22
|
*/
|
|
23
23
|
|
|
24
|
-
@layer
|
|
25
|
-
.breadcrumbs,
|
|
26
|
-
.breadcrumbOverflow {
|
|
27
|
-
--color:
|
|
24
|
+
@layer components {
|
|
25
|
+
.fabric-breadcrumbs,
|
|
26
|
+
.fabric-breadcrumbOverflow {
|
|
27
|
+
--color: var(--color-primary-500);
|
|
28
28
|
|
|
29
29
|
&[data-color="accent"] {
|
|
30
|
-
--color:
|
|
30
|
+
--color: var(--color-accent-500);
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
&[data-color="info"] {
|
|
34
|
-
--color:
|
|
34
|
+
--color: var(--color-info-500);
|
|
35
35
|
}
|
|
36
36
|
|
|
37
37
|
&[data-color="danger"] {
|
|
38
|
-
--color:
|
|
38
|
+
--color: var(--color-danger-500);
|
|
39
39
|
}
|
|
40
40
|
|
|
41
41
|
&[data-color="success"] {
|
|
42
|
-
--color:
|
|
42
|
+
--color: var(--color-success-500);
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
&[data-color="warning"] {
|
|
46
|
-
--color:
|
|
46
|
+
--color: var(--color-warning-500);
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
&
|
|
49
|
+
& .link {
|
|
50
50
|
padding: 0.25em 0.5em;
|
|
51
51
|
text-decoration: none;
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
.
|
|
56
|
-
|
|
57
|
-
& :global(.link) {
|
|
58
|
-
color: color-mix(in lab, var(--color) 90%, var(--fabric-text));
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
& :global(.link):hover {
|
|
62
|
-
color: color-mix(in lab, var(--color) 99%, var(--fabric-text));
|
|
63
|
-
text-decoration: underline;
|
|
64
|
-
background-color: theme(colors.tint.50/50%);
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
& :global(.link):active {
|
|
68
|
-
color: color-mix(in lab, var(--color) 85%, var(--fabric-text));
|
|
69
|
-
background-color: theme(colors.tint.50);
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
.breadcrumbs[data-variant="classic"] {
|
|
74
|
-
& > .breadcrumbLink {
|
|
55
|
+
.fabric-breadcrumbs[data-variant="classic"] {
|
|
56
|
+
& > .fabric-breadcrumbLink {
|
|
75
57
|
list-style: none;
|
|
76
58
|
|
|
77
59
|
&::after {
|
|
78
60
|
content: attr(data-separator);
|
|
79
61
|
display: inline-block;
|
|
80
62
|
margin-inline: 0.125em;
|
|
81
|
-
color:
|
|
63
|
+
color: var(--color-tint-300);
|
|
82
64
|
}
|
|
83
65
|
|
|
84
66
|
&:last-child::after {
|
|
@@ -87,29 +69,32 @@
|
|
|
87
69
|
}
|
|
88
70
|
}
|
|
89
71
|
|
|
90
|
-
[data-ref="viewport"] .breadcrumbs {
|
|
72
|
+
[data-ref="viewport"] .fabric-breadcrumbs {
|
|
91
73
|
grid-area: crumbbar;
|
|
92
74
|
padding: 0 0.25rem;
|
|
93
75
|
}
|
|
94
76
|
}
|
|
95
77
|
|
|
96
|
-
@layer
|
|
97
|
-
.breadcrumbs[data-variant="classic"] {
|
|
98
|
-
& >
|
|
78
|
+
@layer variants {
|
|
79
|
+
.fabric-breadcrumbs[data-variant="classic"] {
|
|
80
|
+
& > .fabric-breadcrumbLink > .link {
|
|
99
81
|
overflow: hidden;
|
|
82
|
+
|
|
100
83
|
max-width: 24rem;
|
|
84
|
+
|
|
85
|
+
text-decoration: none;
|
|
101
86
|
text-overflow: ellipsis;
|
|
102
87
|
white-space: nowrap;
|
|
103
88
|
}
|
|
104
89
|
|
|
105
|
-
& > .breadcrumbLink:last-child >
|
|
90
|
+
& > .fabric-breadcrumbLink:last-child > .link {
|
|
106
91
|
pointer-events: none;
|
|
107
|
-
color:
|
|
92
|
+
color: var(--color-tint-600);
|
|
108
93
|
}
|
|
109
94
|
}
|
|
110
95
|
|
|
111
|
-
.breadcrumbs[data-variant="modern"] {
|
|
112
|
-
& > .breadcrumbLink {
|
|
96
|
+
.fabric-breadcrumbs[data-variant="modern"] {
|
|
97
|
+
& > .fabric-breadcrumbLink {
|
|
113
98
|
--linkcolor: color-mix(in lab, var(--color) 50%, var(--fabric-bg));
|
|
114
99
|
|
|
115
100
|
position: relative;
|
|
@@ -117,17 +102,17 @@
|
|
|
117
102
|
border-radius: var(--rounding);
|
|
118
103
|
|
|
119
104
|
&:last-child {
|
|
120
|
-
--color:
|
|
105
|
+
--color: var(--color-tint-500);
|
|
121
106
|
|
|
122
107
|
pointer-events: none;
|
|
123
108
|
}
|
|
124
109
|
|
|
125
|
-
&:first-child >
|
|
110
|
+
&:first-child > .link {
|
|
126
111
|
border-start-start-radius: var(--rounding);
|
|
127
112
|
border-end-start-radius: var(--rounding);
|
|
128
113
|
}
|
|
129
114
|
|
|
130
|
-
&:last-child >
|
|
115
|
+
&:last-child > .link {
|
|
131
116
|
border-start-end-radius: var(--rounding);
|
|
132
117
|
border-end-end-radius: var(--rounding);
|
|
133
118
|
}
|
|
@@ -147,7 +132,7 @@
|
|
|
147
132
|
border-inline-end-color: var(--linkcolor);
|
|
148
133
|
}
|
|
149
134
|
|
|
150
|
-
& >
|
|
135
|
+
& > .link {
|
|
151
136
|
margin-inline-start: -0.625em;
|
|
152
137
|
}
|
|
153
138
|
}
|
|
@@ -165,13 +150,14 @@
|
|
|
165
150
|
}
|
|
166
151
|
}
|
|
167
152
|
|
|
168
|
-
& >
|
|
153
|
+
& > .link {
|
|
169
154
|
display: inline-block;
|
|
170
155
|
|
|
171
156
|
padding: 0.125em 0.5em;
|
|
172
157
|
|
|
173
158
|
line-height: 1;
|
|
174
159
|
color: color-mix(in lab, var(--color) 50%, var(--fabric-text));
|
|
160
|
+
text-decoration: none;
|
|
175
161
|
vertical-align: middle;
|
|
176
162
|
|
|
177
163
|
background-color: var(--linkcolor);
|
|
@@ -186,4 +172,23 @@
|
|
|
186
172
|
}
|
|
187
173
|
}
|
|
188
174
|
}
|
|
175
|
+
|
|
176
|
+
.fabric-breadcrumbOverflow,
|
|
177
|
+
.fabric-breadcrumbs[data-variant="classic"] {
|
|
178
|
+
& .link {
|
|
179
|
+
color: color-mix(in lab, var(--color) 90%, var(--fabric-text));
|
|
180
|
+
text-decoration: none;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
& .link:hover {
|
|
184
|
+
color: color-mix(in lab, var(--color) 99%, var(--fabric-text));
|
|
185
|
+
text-decoration: underline;
|
|
186
|
+
background-color: --alpha(var(--color-tint-50) / 50%);
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
& .link:active {
|
|
190
|
+
color: color-mix(in lab, var(--color) 85%, var(--fabric-text));
|
|
191
|
+
background-color: var(--color-tint-50);
|
|
192
|
+
}
|
|
193
|
+
}
|
|
189
194
|
}
|