@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
|
@@ -21,9 +21,9 @@
|
|
|
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
|
-
.mediaContainer {
|
|
26
|
-
&.mediaReel {
|
|
24
|
+
@layer components {
|
|
25
|
+
.fabric-mediaContainer {
|
|
26
|
+
&.fabric-mediaReel {
|
|
27
27
|
&::after,
|
|
28
28
|
&::before {
|
|
29
29
|
content: "";
|
|
@@ -57,54 +57,54 @@
|
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
59
|
|
|
60
|
-
& .mediaPlaceholder {
|
|
60
|
+
& .fabric-mediaPlaceholder {
|
|
61
61
|
/* might add styles later */
|
|
62
62
|
}
|
|
63
63
|
|
|
64
|
-
& .mediaControls {
|
|
64
|
+
& .fabric-mediaControls {
|
|
65
65
|
& [data-ref="button"] {
|
|
66
66
|
margin: 0;
|
|
67
67
|
|
|
68
68
|
& > :first-child {
|
|
69
69
|
color: #fff;
|
|
70
|
-
background-color:
|
|
70
|
+
background-color: --alpha(var(--color-black) / 50%);
|
|
71
71
|
|
|
72
72
|
&:hover {
|
|
73
|
-
color:
|
|
74
|
-
background-color:
|
|
73
|
+
color: var(--color-primary-600);
|
|
74
|
+
background-color: --alpha(var(--color-black) / 80%);
|
|
75
75
|
}
|
|
76
76
|
}
|
|
77
77
|
}
|
|
78
78
|
|
|
79
|
-
& .mediaControlAction > :first-child {
|
|
80
|
-
background-color:
|
|
79
|
+
& .fabric-mediaControlAction > :first-child {
|
|
80
|
+
background-color: --alpha(var(--color-black) / 70%);
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
& .mediaControlPlaceholder {
|
|
83
|
+
& .fabric-mediaControlPlaceholder {
|
|
84
84
|
/* might add styles later */
|
|
85
85
|
}
|
|
86
86
|
|
|
87
|
-
& .mediaControlAction + .mediaControlAction {
|
|
87
|
+
& .fabric-mediaControlAction + .fabric-mediaControlAction {
|
|
88
88
|
margin-top: 8px;
|
|
89
89
|
}
|
|
90
90
|
}
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
.media {
|
|
93
|
+
.fabric-media {
|
|
94
94
|
/* might add styles later */
|
|
95
95
|
}
|
|
96
96
|
}
|
|
97
97
|
|
|
98
|
-
@layer
|
|
99
|
-
& .mediaControls {
|
|
98
|
+
@layer utilities {
|
|
99
|
+
& .fabric-mediaControls {
|
|
100
100
|
&:hover {
|
|
101
|
-
& .mediaControlPlaceholder {
|
|
101
|
+
& .fabric-mediaControlPlaceholder {
|
|
102
102
|
display: none;
|
|
103
103
|
}
|
|
104
104
|
}
|
|
105
105
|
|
|
106
106
|
&:not(:hover) {
|
|
107
|
-
& .mediaControlAction {
|
|
107
|
+
& .fabric-mediaControlAction {
|
|
108
108
|
display: none;
|
|
109
109
|
}
|
|
110
110
|
}
|
|
@@ -21,34 +21,34 @@
|
|
|
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
|
-
.menuItem {
|
|
26
|
-
--color:
|
|
24
|
+
@layer components {
|
|
25
|
+
.fabric-menuItem {
|
|
26
|
+
--color: var(--color-primary-500);
|
|
27
27
|
|
|
28
28
|
&[data-color="accent"] {
|
|
29
|
-
--color:
|
|
29
|
+
--color: var(--color-accent-500);
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
&[data-color="info"] {
|
|
33
|
-
--color:
|
|
33
|
+
--color: var(--color-info-500);
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
&[data-color="danger"] {
|
|
37
|
-
--color:
|
|
37
|
+
--color: var(--color-danger-500);
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
&[data-color="success"] {
|
|
41
|
-
--color:
|
|
41
|
+
--color: var(--color-success-500);
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
&[data-color="warning"] {
|
|
45
|
-
--color:
|
|
45
|
+
--color: var(--color-warning-500);
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
@layer
|
|
51
|
-
.menuItem {
|
|
50
|
+
@layer variants {
|
|
51
|
+
.fabric-menuItem {
|
|
52
52
|
color: color-mix(in lab, var(--color) 80%, var(--fabric-text));
|
|
53
53
|
|
|
54
54
|
> * {
|
|
@@ -56,26 +56,25 @@
|
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
&[data-focus="true"] {
|
|
59
|
-
background-color: color(
|
|
59
|
+
background-color: color-mix(in lab, var(--color) 15%, var(--fabric-bg));
|
|
60
60
|
}
|
|
61
61
|
|
|
62
62
|
&:active {
|
|
63
|
-
background-color: color(
|
|
63
|
+
background-color: color-mix(in lab, var(--color) 35%, var(--fabric-bg));
|
|
64
64
|
}
|
|
65
65
|
|
|
66
66
|
&[data-open="true"] {
|
|
67
|
-
background-color: color(
|
|
67
|
+
background-color: color-mix(in lab, var(--color) 10%, var(--fabric-bg));
|
|
68
68
|
}
|
|
69
69
|
|
|
70
|
-
&.active
|
|
71
|
-
&:global(.active) {
|
|
70
|
+
&.active {
|
|
72
71
|
pointer-events: none;
|
|
73
|
-
background-color: color(
|
|
72
|
+
background-color: color-mix(in lab, var(--color) 20%, var(--fabric-bg));
|
|
74
73
|
|
|
75
74
|
& > div {
|
|
76
75
|
box-shadow: 4px 0 0 var(--color) inset;
|
|
77
76
|
|
|
78
|
-
|
|
77
|
+
@variant rtl {
|
|
79
78
|
box-shadow: -4px 0 0 var(--color) inset;
|
|
80
79
|
}
|
|
81
80
|
}
|
|
@@ -83,7 +82,7 @@
|
|
|
83
82
|
|
|
84
83
|
&.disabled {
|
|
85
84
|
pointer-events: none;
|
|
86
|
-
color:
|
|
85
|
+
color: var(--text-tint-500);
|
|
87
86
|
opacity: 0.5;
|
|
88
87
|
|
|
89
88
|
& > label ~ * {
|
|
@@ -92,7 +91,7 @@
|
|
|
92
91
|
}
|
|
93
92
|
}
|
|
94
93
|
|
|
95
|
-
.menuIcon {
|
|
94
|
+
.fabric-menuIcon {
|
|
96
95
|
padding: 0.3em;
|
|
97
96
|
font-size: 1.25em;
|
|
98
97
|
|
|
@@ -103,7 +102,7 @@
|
|
|
103
102
|
}
|
|
104
103
|
}
|
|
105
104
|
|
|
106
|
-
|
|
105
|
+
.fabric-menu-list.hide-icons .fabric-menuIcon {
|
|
107
106
|
width: 0.125em;
|
|
108
107
|
}
|
|
109
108
|
}
|
|
@@ -21,8 +21,8 @@
|
|
|
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
|
-
.message {
|
|
24
|
+
@layer components {
|
|
25
|
+
.fabric-message {
|
|
26
26
|
margin-top: -100%;
|
|
27
27
|
opacity: 0;
|
|
28
28
|
transition:
|
|
@@ -21,9 +21,9 @@
|
|
|
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
|
-
.meter {
|
|
26
|
-
& .meterBar {
|
|
24
|
+
@layer components {
|
|
25
|
+
.fabric-meter {
|
|
26
|
+
& .fabric-meterBar {
|
|
27
27
|
flex: 1 1 1rem;
|
|
28
28
|
|
|
29
29
|
min-width: 1rem;
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
line-height: 1;
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
& .meterBar[data-active="true"] {
|
|
45
|
+
& .fabric-meterBar[data-active="true"] {
|
|
46
46
|
&:nth-child(1),
|
|
47
47
|
&:nth-child(2),
|
|
48
48
|
&:nth-child(3),
|
|
@@ -80,12 +80,12 @@
|
|
|
80
80
|
}
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
&[class*="text-primary"] .meterBar[data-active="true"],
|
|
84
|
-
&[class*="text-accent"] .meterBar[data-active="true"],
|
|
85
|
-
&[class*="text-info"] .meterBar[data-active="true"],
|
|
86
|
-
&[class*="text-danger"] .meterBar[data-active="true"],
|
|
87
|
-
&[class*="text-success"] .meterBar[data-active="true"],
|
|
88
|
-
&[class*="text-warning"] .meterBar[data-active="true"] {
|
|
83
|
+
&[class*="text-primary"] .fabric-meterBar[data-active="true"],
|
|
84
|
+
&[class*="text-accent"] .fabric-meterBar[data-active="true"],
|
|
85
|
+
&[class*="text-info"] .fabric-meterBar[data-active="true"],
|
|
86
|
+
&[class*="text-danger"] .fabric-meterBar[data-active="true"],
|
|
87
|
+
&[class*="text-success"] .fabric-meterBar[data-active="true"],
|
|
88
|
+
&[class*="text-warning"] .fabric-meterBar[data-active="true"] {
|
|
89
89
|
color: currentColor;
|
|
90
90
|
|
|
91
91
|
&:nth-child(1)::after {
|
|
@@ -21,8 +21,8 @@
|
|
|
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
|
-
.modal {
|
|
24
|
+
@layer components {
|
|
25
|
+
.fabric-modal {
|
|
26
26
|
z-index: var(--z-overlay);
|
|
27
27
|
|
|
28
28
|
width: 32rem;
|
|
@@ -41,12 +41,12 @@
|
|
|
41
41
|
opacity: 1;
|
|
42
42
|
}
|
|
43
43
|
|
|
44
|
-
& .modalHeader {
|
|
45
|
-
background-color:
|
|
46
|
-
border-bottom: 0.5px solid
|
|
44
|
+
& .fabric-modalHeader {
|
|
45
|
+
background-color: var(--bg-color-base);
|
|
46
|
+
border-bottom: 0.5px solid var(--border-color-dimmed);
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
& .modalBody {
|
|
49
|
+
& .fabric-modalBody {
|
|
50
50
|
grid-template: "head head head" auto ". loader ." auto "side-s content side-e" 1fr "foot foot foot" auto / auto 1fr auto;
|
|
51
51
|
}
|
|
52
52
|
}
|
|
@@ -21,36 +21,36 @@
|
|
|
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
|
-
.panel {
|
|
24
|
+
@layer components {
|
|
25
|
+
.fabric-panel {
|
|
26
26
|
grid-template: "head" auto "content" 1fr / 1fr;
|
|
27
|
-
background-color:
|
|
27
|
+
background-color: var(--fabric-bg);
|
|
28
28
|
|
|
29
29
|
& > * {
|
|
30
30
|
background-color: transparent;
|
|
31
31
|
}
|
|
32
32
|
|
|
33
|
-
|
|
34
|
-
box-shadow: 0 0 18px
|
|
33
|
+
&.fixed {
|
|
34
|
+
box-shadow: 0 0 18px var(--fabric-shadow);
|
|
35
35
|
}
|
|
36
36
|
|
|
37
|
-
& .panelHeader {
|
|
38
|
-
background-color:
|
|
37
|
+
& .fabric-panelHeader {
|
|
38
|
+
background-color: var(--bg-color-dimmed);
|
|
39
39
|
}
|
|
40
40
|
|
|
41
|
-
& .panelAction {
|
|
41
|
+
& .fabric-panelAction {
|
|
42
42
|
padding: 0.25rem;
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
& .panelBody {
|
|
45
|
+
& .fabric-panelBody {
|
|
46
46
|
grid-template: "head head head" auto ". loader ." auto "side-s content side-e" 1fr "foot foot foot" auto / auto 1fr auto;
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
@layer
|
|
52
|
-
.panelGroup {
|
|
53
|
-
& > .panel {
|
|
51
|
+
@layer utilities {
|
|
52
|
+
.fabric-panelGroup {
|
|
53
|
+
& > .fabric-panel {
|
|
54
54
|
&[data-collapsed="true"] {
|
|
55
55
|
flex: 0 0 auto;
|
|
56
56
|
}
|
|
@@ -61,25 +61,25 @@
|
|
|
61
61
|
|
|
62
62
|
[data-ref="panelCollapse"] {
|
|
63
63
|
pointer-events: none;
|
|
64
|
-
color: var(--tint);
|
|
64
|
+
color: var(--color-tint);
|
|
65
65
|
opacity: 0.25;
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
68
|
}
|
|
69
69
|
|
|
70
|
-
& > .panel:not(:first-child) {
|
|
70
|
+
& > .fabric-panel:not(:first-child) {
|
|
71
71
|
border-start-start-radius: 0;
|
|
72
72
|
border-start-end-radius: 0;
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
-
& > .panel:not(:last-child) {
|
|
76
|
-
border-bottom: 1px solid
|
|
75
|
+
& > .fabric-panel:not(:last-child) {
|
|
76
|
+
border-bottom: 1px solid var(--bg-color-base);
|
|
77
77
|
border-end-start-radius: 0;
|
|
78
78
|
border-end-end-radius: 0;
|
|
79
79
|
}
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
[data-ref="asideBody"] > .panelGroup > .panel {
|
|
82
|
+
[data-ref="asideBody"] > .fabric-panelGroup > .fabric-panel {
|
|
83
83
|
border-radius: 0;
|
|
84
84
|
outline: 0;
|
|
85
85
|
}
|
|
@@ -21,10 +21,10 @@
|
|
|
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
|
-
.progressbar {
|
|
24
|
+
@layer components {
|
|
25
|
+
.fabric-progressbar {
|
|
26
26
|
height: 1em;
|
|
27
|
-
box-shadow: 0 0 4px 0
|
|
27
|
+
box-shadow: 0 0 4px 0 var(--fabric-shadow) inset;
|
|
28
28
|
|
|
29
29
|
& > div:last-child {
|
|
30
30
|
width: calc(var(--progress) * 1%);
|
|
@@ -41,13 +41,13 @@
|
|
|
41
41
|
|
|
42
42
|
font-size: 0.5em;
|
|
43
43
|
line-height: 0.5em;
|
|
44
|
-
color: var(--white);
|
|
44
|
+
color: var(--color-white);
|
|
45
45
|
text-align: center;
|
|
46
46
|
vertical-align: middle;
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
.progressTrack {
|
|
50
|
+
.fabric-progressTrack {
|
|
51
51
|
width: calc(var(--progress) * 1%);
|
|
52
52
|
transition: width 0.5s;
|
|
53
53
|
}
|
|
@@ -59,12 +59,9 @@
|
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
61
|
|
|
62
|
-
.progressAnimate {
|
|
62
|
+
.fabric-progressAnimate {
|
|
63
63
|
background-image: var(--progress-gradient);
|
|
64
64
|
background-size: 1rem 1rem;
|
|
65
|
-
|
|
66
|
-
& :global {
|
|
67
|
-
animation: progress 750ms linear infinite;
|
|
68
|
-
}
|
|
65
|
+
animation: bgprogress 750ms linear infinite;
|
|
69
66
|
}
|
|
70
67
|
}
|
|
@@ -21,40 +21,81 @@
|
|
|
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
|
-
.tabPanel {
|
|
26
|
-
--color:
|
|
24
|
+
@layer components {
|
|
25
|
+
.fabric-tabPanel {
|
|
26
|
+
--color: var(--color-primary-500);
|
|
27
27
|
|
|
28
|
-
&
|
|
28
|
+
&[data-orientation="top"] {
|
|
29
|
+
grid-template: "tablist" auto "content" 1fr / 1fr;
|
|
30
|
+
|
|
31
|
+
.fabric-tabHeader {
|
|
32
|
+
box-shadow: 0 -1px 0 var(--border-color-dimmed) inset;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
&[data-orientation="bottom"] {
|
|
37
|
+
grid-template: "content" 1fr "tablist" auto / 1fr;
|
|
38
|
+
|
|
39
|
+
.fabric-tabHeader {
|
|
40
|
+
margin-top: 1px;
|
|
41
|
+
box-shadow: 0 1px 0 var(--border-color-dimmed) inset;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
&[data-orientation="start"] {
|
|
46
|
+
grid-template: "tablist content" 1fr / auto 1fr;
|
|
47
|
+
|
|
48
|
+
.fabric-tabHeader {
|
|
49
|
+
box-shadow: -1px 0 0 var(--border-color-dimmed) inset;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
&[data-orientation="end"] {
|
|
54
|
+
grid-template: "content tablist" 1fr / 1fr auto;
|
|
55
|
+
|
|
56
|
+
.fabric-tabHeader {
|
|
57
|
+
box-shadow: 1px 0 0 var(--border-color-dimmed) inset;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
@layer utilities {
|
|
64
|
+
.fabric-tabPanel {
|
|
65
|
+
& .fabric-tabList > .fabric-tabButton.active {
|
|
66
|
+
pointer-events: none;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
& > .fabric-tabHeader {
|
|
29
70
|
grid-area: tablist;
|
|
30
71
|
|
|
31
|
-
& > .tabButton {
|
|
72
|
+
& > .fabric-tabList > .fabric-tabButton {
|
|
32
73
|
&[data-color="accent"] {
|
|
33
|
-
--color:
|
|
74
|
+
--color: var(--color-accent-500);
|
|
34
75
|
}
|
|
35
76
|
|
|
36
77
|
&[data-color="info"] {
|
|
37
|
-
--color:
|
|
78
|
+
--color: var(--color-info-500);
|
|
38
79
|
}
|
|
39
80
|
|
|
40
81
|
&[data-color="danger"] {
|
|
41
|
-
--color:
|
|
82
|
+
--color: var(--color-danger-500);
|
|
42
83
|
}
|
|
43
84
|
|
|
44
85
|
&[data-color="success"] {
|
|
45
|
-
--color:
|
|
86
|
+
--color: var(--color-success-500);
|
|
46
87
|
}
|
|
47
88
|
|
|
48
89
|
&[data-color="warning"] {
|
|
49
|
-
--color:
|
|
90
|
+
--color: var(--color-warning-500);
|
|
50
91
|
}
|
|
51
92
|
|
|
52
|
-
&:not(
|
|
93
|
+
&:not(.active):hover {
|
|
53
94
|
color: color-mix(in lab, var(--color) 65%, var(--fabric-text));
|
|
54
|
-
background-color:
|
|
95
|
+
background-color: --alpha(var(--color-tint-100) / 50%);
|
|
55
96
|
}
|
|
56
97
|
|
|
57
|
-
|
|
98
|
+
&.active {
|
|
58
99
|
--active-color: var(--color);
|
|
59
100
|
|
|
60
101
|
font-weight: 500;
|
|
@@ -64,133 +105,81 @@
|
|
|
64
105
|
}
|
|
65
106
|
|
|
66
107
|
&[data-variant="outline"] {
|
|
67
|
-
&
|
|
68
|
-
--active-color:
|
|
69
|
-
--active-border: 0 0 0 1px
|
|
108
|
+
& .fabric-tabList > .fabric-tabButton.active {
|
|
109
|
+
--active-color: var(--bg-color-base);
|
|
110
|
+
--active-border: 0 0 0 1px var(--border-color-base) inset;
|
|
70
111
|
|
|
71
|
-
background-color:
|
|
112
|
+
background-color: var(--bg-color-base);
|
|
72
113
|
}
|
|
73
114
|
}
|
|
74
115
|
|
|
75
116
|
&[data-variant="solid"] {
|
|
76
|
-
&
|
|
77
|
-
color:
|
|
117
|
+
& .fabric-tabList > .fabric-tabButton.active {
|
|
118
|
+
color: var(--color-white);
|
|
78
119
|
background-color: var(--color);
|
|
79
120
|
}
|
|
80
121
|
}
|
|
81
122
|
|
|
82
123
|
&[data-variant="soft"] {
|
|
83
|
-
&
|
|
124
|
+
& .fabric-tabList > .fabric-tabButton.active {
|
|
84
125
|
background-color: color-mix(in lab, var(--color) 20%, var(--fabric-bg));
|
|
85
126
|
}
|
|
86
127
|
}
|
|
87
128
|
|
|
88
|
-
&[data-orientation="top"] {
|
|
89
|
-
|
|
90
|
-
padding-inline: 2px;
|
|
91
|
-
|
|
92
|
-
&[data-variant="outline"] > .tabList,
|
|
93
|
-
&[data-variant="solid"] > .tabList,
|
|
94
|
-
&[data-variant="soft"] > .tabList {
|
|
95
|
-
box-shadow: 0 -1px 0 theme(borderColor.dimmed) inset;
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
&[data-orientation="bottom"] {
|
|
100
|
-
grid-template: "content" 1fr "tablist" auto / 1fr;
|
|
101
|
-
padding-inline: 2px;
|
|
102
|
-
|
|
103
|
-
&[data-variant="outline"] > .tabList,
|
|
104
|
-
&[data-variant="solid"] > .tabList,
|
|
105
|
-
&[data-variant="soft"] > .tabList {
|
|
106
|
-
box-shadow: 0 1px 0 theme(borderColor.dimmed) inset;
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
&[data-orientation="start"] {
|
|
111
|
-
grid-template: "tablist content" 1fr / auto 1fr;
|
|
112
|
-
padding-block: 2px;
|
|
113
|
-
|
|
114
|
-
&[data-variant="outline"] > .tabList,
|
|
115
|
-
&[data-variant="solid"] > .tabList,
|
|
116
|
-
&[data-variant="soft"] > .tabList {
|
|
117
|
-
box-shadow: -1px 0 0 theme(borderColor.dimmed) inset;
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
&[data-orientation="end"] {
|
|
122
|
-
grid-template: "content tablist" 1fr / 1fr auto;
|
|
123
|
-
padding-block: 2px;
|
|
124
|
-
|
|
125
|
-
&[data-variant="outline"] > .tabList,
|
|
126
|
-
&[data-variant="solid"] > .tabList,
|
|
127
|
-
&[data-variant="soft"] > .tabList {
|
|
128
|
-
box-shadow: 1px 0 0 theme(borderColor.dimmed) inset;
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
@layer util {
|
|
135
|
-
.tabPanel {
|
|
136
|
-
& > .tabList > .tabButton:global(.active) {
|
|
137
|
-
pointer-events: none;
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
&[data-orientation="top"] > .tabList {
|
|
141
|
-
& > .tabButton:global(.active) {
|
|
129
|
+
&[data-orientation="top"] .fabric-tabList {
|
|
130
|
+
& > .fabric-tabButton.active {
|
|
142
131
|
box-shadow:
|
|
143
132
|
0 -2px 0 var(--active-color) inset,
|
|
144
133
|
var(--active-border, 0 0 0 transparent);
|
|
145
134
|
}
|
|
146
135
|
}
|
|
147
136
|
|
|
148
|
-
&[data-orientation="bottom"]
|
|
149
|
-
& > .tabButton
|
|
137
|
+
&[data-orientation="bottom"] .fabric-tabList {
|
|
138
|
+
& > .fabric-tabButton.active {
|
|
150
139
|
box-shadow:
|
|
151
140
|
0 2px 0 var(--active-color) inset,
|
|
152
141
|
var(--active-border, 0 0 0 transparent);
|
|
153
142
|
}
|
|
154
143
|
}
|
|
155
144
|
|
|
156
|
-
&[data-orientation="start"]
|
|
157
|
-
& > .tabButton
|
|
145
|
+
&[data-orientation="start"] .fabric-tabList {
|
|
146
|
+
& > .fabric-tabButton.active {
|
|
158
147
|
box-shadow:
|
|
159
148
|
-2px 0 0 var(--active-color) inset,
|
|
160
149
|
var(--active-border, 0 0 0 transparent);
|
|
161
150
|
}
|
|
162
151
|
}
|
|
163
152
|
|
|
164
|
-
&[data-orientation="end"]
|
|
165
|
-
& > .tabButton
|
|
153
|
+
&[data-orientation="end"] .fabric-tabList {
|
|
154
|
+
& > .fabric-tabButton.active {
|
|
166
155
|
box-shadow:
|
|
167
156
|
2px 0 0 var(--active-color) inset,
|
|
168
157
|
var(--active-border, 0 0 0 transparent);
|
|
169
158
|
}
|
|
170
159
|
}
|
|
171
160
|
|
|
172
|
-
&[data-orientation="top"]
|
|
161
|
+
&[data-orientation="top"] .fabric-tabList > .fabric-tabButton {
|
|
173
162
|
margin-top: 2px;
|
|
174
163
|
margin-inline: 1px;
|
|
175
164
|
border-end-start-radius: 0;
|
|
176
165
|
border-end-end-radius: 0;
|
|
177
166
|
}
|
|
178
167
|
|
|
179
|
-
&[data-orientation="bottom"]
|
|
168
|
+
&[data-orientation="bottom"] .fabric-tabList > .fabric-tabButton {
|
|
180
169
|
margin-bottom: 2px;
|
|
181
170
|
margin-inline: 1px;
|
|
182
171
|
border-start-start-radius: 0;
|
|
183
172
|
border-start-end-radius: 0;
|
|
184
173
|
}
|
|
185
174
|
|
|
186
|
-
&[data-orientation="start"]
|
|
175
|
+
&[data-orientation="start"] .fabric-tabList > .fabric-tabButton {
|
|
187
176
|
margin-block: 1px;
|
|
188
177
|
margin-inline-start: 2px;
|
|
189
178
|
border-start-end-radius: 0;
|
|
190
179
|
border-end-end-radius: 0;
|
|
191
180
|
}
|
|
192
181
|
|
|
193
|
-
&[data-orientation="end"]
|
|
182
|
+
&[data-orientation="end"] .fabric-tabList > .fabric-tabButton {
|
|
194
183
|
margin-block: 1px;
|
|
195
184
|
margin-inline-end: 2px;
|
|
196
185
|
border-start-start-radius: 0;
|
|
@@ -21,8 +21,8 @@
|
|
|
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
|
-
.toast {
|
|
24
|
+
@layer components {
|
|
25
|
+
.fabric-toast {
|
|
26
26
|
margin-bottom: -100%;
|
|
27
27
|
opacity: 0;
|
|
28
28
|
transition:
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* React Fabric
|
|
3
|
+
* @version: 1.0.0
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
* The MIT License (MIT)
|
|
7
|
+
* Copyright (c) 2024 Adarsh Pastakia
|
|
8
|
+
*
|
|
9
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software
|
|
10
|
+
* and associated documentation files (the "Software"), to deal in the Software without restriction,
|
|
11
|
+
* including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
|
12
|
+
* and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so,
|
|
13
|
+
* subject to the following conditions:
|
|
14
|
+
*
|
|
15
|
+
* The above copyright notice and this permission notice shall be included in all copies or substantial
|
|
16
|
+
* portions of the Software.
|
|
17
|
+
*
|
|
18
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
|
|
19
|
+
* TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
|
20
|
+
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
21
|
+
* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
22
|
+
*/
|
|
23
|
+
|
|
24
|
+
@layer components {
|
|
25
|
+
.fabric-tooltip > span.contrast {
|
|
26
|
+
filter: invert(1) grayscale(1) brightness(1.3) contrast(9000);
|
|
27
|
+
mix-blend-mode: luminosity;
|
|
28
|
+
}
|
|
29
|
+
}
|