@react-fabric/core 1.0.0-beta.6 → 1.0.0-beta.60
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} +52 -47
- package/{src/components/button/Button.module.css → css/components/_button.css} +77 -83
- package/{src/components/card/Card.module.css → css/components/_card.css} +54 -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} +11 -8
- package/{src/components/media/Media.module.css → css/components/_media.css} +17 -17
- package/{src/components/menu/Menu.module.css → css/components/_menu.css} +21 -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} +8 -8
- 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/css/components/_stepper.css +86 -0
- package/{src/components/tabpanel/TabPanel.module.css → css/components/_tabPanel.css} +130 -85
- 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} +26 -18
- package/{src/core/aside/Aside.module.css → css/core/_aside.css} +60 -48
- 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 +56 -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 +541 -0
- package/css/theme/index.css +45 -0
- package/dist/cjs/components/actionLabel/ActionLabel.js +26 -8
- package/dist/cjs/components/animations/Animations.js +110 -23
- package/dist/cjs/components/avatar/Avatar.js +46 -13
- package/dist/cjs/components/avatar/AvatarGroup.js +22 -4
- package/dist/cjs/components/badge/Badge.js +36 -15
- package/dist/cjs/components/breadcrumbs/Breadcrumbs.js +40 -9
- package/dist/cjs/components/button/Button.js +50 -28
- package/dist/cjs/components/button/ButtonGroup.js +30 -3
- package/dist/cjs/components/button/ConfirmButton.js +28 -2
- package/dist/cjs/components/button/ToggleButtonGroup.js +41 -15
- package/dist/cjs/components/callout/Callout.js +44 -4
- package/dist/cjs/components/card/Card.js +60 -18
- package/dist/cjs/components/card/CardCover.js +36 -5
- package/dist/cjs/components/card/FlipContent.js +56 -0
- package/dist/cjs/components/chip/Chip.js +40 -20
- package/dist/cjs/components/collapsable/Collapsable.js +30 -5
- package/dist/cjs/components/divider/Divider.js +30 -7
- package/dist/cjs/components/dropdown/Dropdown.js +48 -9
- package/dist/cjs/components/dropdown/DropdownTool.js +1 -1
- package/dist/cjs/components/empty/EmptyContent.js +37 -7
- package/dist/cjs/components/icon/Icon.js +76 -13
- package/dist/cjs/components/media/Media.js +172 -75
- package/dist/cjs/components/menu/ContextMenu.js +19 -0
- package/dist/cjs/components/menu/Menu.js +76 -21
- package/dist/cjs/components/menu/MenuItem.js +54 -26
- package/dist/cjs/components/meter/Meter.js +26 -3
- package/dist/cjs/components/navigator/Navigator.js +48 -15
- package/dist/cjs/components/panel/Panel.js +53 -22
- package/dist/cjs/components/panel/PanelGroup.js +25 -2
- package/dist/cjs/components/panel/PanelStack.js +31 -2
- package/dist/cjs/components/progress/ProgressBar.js +31 -9
- package/dist/cjs/components/progress/ProgressCircle.js +29 -7
- package/dist/cjs/components/tabpanel/Tab.js +39 -15
- package/dist/cjs/components/tabpanel/TabPanel.js +56 -16
- package/dist/cjs/context/Global.js +28 -1
- package/dist/cjs/context/NotificationCenter.js +3 -3
- package/dist/cjs/core/aside/Aside.js +48 -22
- package/dist/cjs/core/boundary/ErrorBoundary.js +25 -8
- package/dist/cjs/core/boundary/ErrorIcon.js +1 -2
- package/dist/cjs/core/content/Content.js +7 -3
- package/dist/cjs/core/headfoot/HeadFoot.js +48 -22
- package/dist/cjs/core/page/Page.js +40 -39
- package/dist/cjs/core/responsive/Responsive.js +59 -6
- package/dist/cjs/core/section/Section.js +12 -29
- package/dist/cjs/core/theme/ThemeProvider.js +32 -10
- package/dist/cjs/core/viewport/Viewport.js +18 -2
- package/dist/cjs/hooks/useControlledValue.js +12 -0
- package/dist/cjs/hooks/useDebounce.js +14 -1
- package/dist/cjs/hooks/useEffectDebugger.js +54 -2
- package/dist/cjs/hooks/useIsDark.js +8 -0
- package/dist/cjs/hooks/useIsRtl.js +12 -0
- package/dist/cjs/hooks/useNavigator.js +6 -4
- package/dist/cjs/hooks/useOverlayService.js +24 -0
- package/dist/cjs/hooks/usePropToggle.js +16 -5
- package/dist/cjs/hooks/useResize.js +18 -0
- package/dist/cjs/hooks/useResizeObserver.js +20 -1
- package/dist/cjs/hooks/useStepper.js +75 -0
- package/dist/cjs/hooks/useStorage.js +39 -0
- package/dist/cjs/hotkeys/HotKeyLabel.js +1 -1
- package/dist/cjs/hotkeys/HotKeyWrapper.js +3 -1
- package/dist/cjs/index.js +11 -2
- package/dist/cjs/overlays/alert/Alert.js +23 -15
- package/dist/cjs/overlays/flyout/Flyout.js +48 -64
- package/dist/cjs/overlays/message/Message.js +8 -3
- package/dist/cjs/overlays/modal/Modal.js +17 -20
- package/dist/cjs/overlays/toast/Toast.js +20 -10
- package/dist/cjs/overlays/tooltip/Tooltip.js +24 -11
- package/dist/cjs/types/icons.js +17 -4
- package/dist/cjs/typography/Abbr.js +35 -7
- package/dist/cjs/typography/{Link.js → Anchor.js} +23 -5
- package/dist/cjs/typography/Mark.js +25 -5
- package/dist/cjs/typography/Text.js +30 -5
- package/dist/cjs/typography/Title.js +19 -4
- package/dist/cjs/utils/cloneElement.js +47 -0
- package/dist/cjs/utils/getColor.js +1 -18
- package/dist/esm/components/actionLabel/ActionLabel.js +26 -8
- package/dist/esm/components/animations/Animations.js +111 -24
- package/dist/esm/components/avatar/Avatar.js +46 -13
- package/dist/esm/components/avatar/AvatarGroup.js +22 -4
- package/dist/esm/components/badge/Badge.js +38 -17
- package/dist/esm/components/breadcrumbs/Breadcrumbs.js +40 -9
- package/dist/esm/components/button/Button.js +52 -30
- package/dist/esm/components/button/ButtonGroup.js +31 -4
- package/dist/esm/components/button/ConfirmButton.js +28 -2
- package/dist/esm/components/button/ToggleButtonGroup.js +42 -16
- package/dist/esm/components/callout/Callout.js +44 -4
- package/dist/esm/components/card/Card.js +61 -19
- package/dist/esm/components/card/CardCover.js +36 -5
- package/dist/esm/components/card/FlipContent.js +56 -0
- package/dist/esm/components/chip/Chip.js +42 -22
- package/dist/esm/components/collapsable/Collapsable.js +30 -5
- package/dist/esm/components/divider/Divider.js +31 -8
- package/dist/esm/components/dropdown/Dropdown.js +48 -9
- package/dist/esm/components/dropdown/DropdownTool.js +1 -1
- package/dist/esm/components/empty/EmptyContent.js +37 -7
- package/dist/esm/components/icon/Icon.js +78 -16
- package/dist/esm/components/media/Media.js +173 -76
- package/dist/esm/components/menu/ContextMenu.js +19 -0
- package/dist/esm/components/menu/Menu.js +78 -23
- package/dist/esm/components/menu/MenuItem.js +49 -21
- package/dist/esm/components/meter/Meter.js +26 -3
- package/dist/esm/components/navigator/Navigator.js +48 -15
- package/dist/esm/components/panel/Panel.js +54 -23
- package/dist/esm/components/panel/PanelGroup.js +25 -2
- package/dist/esm/components/panel/PanelStack.js +31 -2
- package/dist/esm/components/progress/ProgressBar.js +31 -9
- package/dist/esm/components/progress/ProgressCircle.js +29 -7
- package/dist/esm/components/tabpanel/Tab.js +40 -16
- package/dist/esm/components/tabpanel/TabPanel.js +56 -16
- package/dist/esm/context/Global.js +28 -1
- package/dist/esm/context/NotificationCenter.js +3 -3
- package/dist/esm/core/aside/Aside.js +49 -23
- package/dist/esm/core/boundary/ErrorBoundary.js +25 -8
- package/dist/esm/core/boundary/ErrorIcon.js +1 -2
- package/dist/esm/core/content/Content.js +7 -3
- package/dist/esm/core/headfoot/HeadFoot.js +48 -22
- package/dist/esm/core/page/Page.js +41 -40
- package/dist/esm/core/responsive/Responsive.js +59 -6
- package/dist/esm/core/section/Section.js +12 -29
- package/dist/esm/core/theme/ThemeProvider.js +32 -10
- package/dist/esm/core/viewport/Viewport.js +18 -2
- package/dist/esm/hooks/useControlledValue.js +12 -0
- package/dist/esm/hooks/useDebounce.js +14 -1
- package/dist/esm/hooks/useEffectDebugger.js +54 -2
- package/dist/esm/hooks/useIsDark.js +8 -0
- package/dist/esm/hooks/useIsRtl.js +12 -0
- package/dist/esm/hooks/useNavigator.js +7 -5
- package/dist/esm/hooks/useOverlayService.js +24 -0
- package/dist/esm/hooks/usePropToggle.js +16 -5
- package/dist/esm/hooks/useResize.js +18 -0
- package/dist/esm/hooks/useResizeObserver.js +20 -1
- package/dist/esm/hooks/useStepper.js +75 -0
- package/dist/esm/hooks/useStorage.js +39 -0
- package/dist/esm/hotkeys/HotKeyLabel.js +1 -1
- package/dist/esm/hotkeys/HotKeyWrapper.js +3 -1
- package/dist/esm/index.js +6 -2
- package/dist/esm/overlays/alert/Alert.js +24 -16
- package/dist/esm/overlays/flyout/Flyout.js +52 -68
- package/dist/esm/overlays/message/Message.js +9 -4
- package/dist/esm/overlays/modal/Modal.js +19 -22
- package/dist/esm/overlays/toast/Toast.js +21 -11
- package/dist/esm/overlays/tooltip/Tooltip.js +24 -11
- package/dist/esm/types/icons.js +17 -4
- package/dist/esm/typography/Abbr.js +35 -7
- package/dist/esm/typography/{Link.js → Anchor.js} +24 -6
- package/dist/esm/typography/Mark.js +25 -5
- package/dist/esm/typography/Text.js +31 -6
- package/dist/esm/typography/Title.js +20 -5
- package/dist/esm/utils/cloneElement.js +47 -0
- package/dist/esm/utils/getColor.js +2 -16
- package/dist/types/components/actionLabel/ActionLabel.d.ts +21 -2
- package/dist/types/components/animations/Animations.d.ts +84 -5
- package/dist/types/components/avatar/Avatar.d.ts +34 -6
- package/dist/types/components/avatar/AvatarGroup.d.ts +19 -1
- package/dist/types/components/badge/Badge.d.ts +37 -3
- package/dist/types/components/breadcrumbs/Breadcrumbs.d.ts +31 -2
- package/dist/types/components/button/Button.d.ts +39 -7
- package/dist/types/components/button/ButtonGroup.d.ts +28 -3
- package/dist/types/components/button/ConfirmButton.d.ts +23 -3
- package/dist/types/components/button/ToggleButtonGroup.d.ts +39 -11
- package/dist/types/components/callout/Callout.d.ts +29 -3
- package/dist/types/components/card/Card.d.ts +44 -4
- package/dist/types/components/card/CardCover.d.ts +25 -0
- package/dist/types/components/card/FlipContent.d.ts +28 -0
- package/dist/types/components/chip/Chip.d.ts +34 -5
- package/dist/types/components/collapsable/Collapsable.d.ts +28 -2
- package/dist/types/components/divider/Divider.d.ts +30 -7
- package/dist/types/components/dropdown/Dropdown.d.ts +40 -1
- package/dist/types/components/dropdown/DropdownTool.d.ts +25 -0
- package/dist/types/components/empty/EmptyContent.d.ts +32 -3
- package/dist/types/components/icon/Icon.d.ts +40 -8
- package/dist/types/components/index.d.ts +3 -2
- package/dist/types/components/media/Media.d.ts +54 -0
- package/dist/types/components/menu/ContextMenu.d.ts +19 -1
- package/dist/types/components/menu/Menu.d.ts +29 -0
- package/dist/types/components/menu/MenuItem.d.ts +22 -2
- package/dist/types/components/menu/types.d.ts +9 -3
- package/dist/types/components/meter/Meter.d.ts +24 -0
- package/dist/types/components/navigator/Navigator.d.ts +29 -4
- package/dist/types/components/panel/Panel.d.ts +43 -4
- package/dist/types/components/panel/PanelGroup.d.ts +24 -0
- package/dist/types/components/panel/PanelStack.d.ts +31 -0
- package/dist/types/components/progress/ProgressBar.d.ts +23 -3
- package/dist/types/components/progress/ProgressCircle.d.ts +22 -3
- package/dist/types/components/tabpanel/Tab.d.ts +38 -4
- package/dist/types/components/tabpanel/TabPanel.d.ts +51 -2
- package/dist/types/context/Global.d.ts +24 -1
- package/dist/types/core/aside/Aside.d.ts +45 -6
- package/dist/types/core/boundary/ErrorBoundary.d.ts +18 -2
- package/dist/types/core/content/Content.d.ts +6 -1
- package/dist/types/core/headfoot/HeadFoot.d.ts +41 -9
- package/dist/types/core/page/Page.d.ts +32 -4
- package/dist/types/core/responsive/Responsive.d.ts +58 -3
- package/dist/types/core/section/Section.d.ts +18 -3
- package/dist/types/core/theme/ThemeProvider.d.ts +25 -5
- package/dist/types/core/viewport/Viewport.d.ts +15 -1
- package/dist/types/hooks/useControlledValue.d.ts +13 -2
- package/dist/types/hooks/useDebounce.d.ts +12 -0
- package/dist/types/hooks/useEffectDebugger.d.ts +49 -0
- package/dist/types/hooks/useIsDark.d.ts +8 -0
- package/dist/types/hooks/useIsRtl.d.ts +12 -0
- package/dist/types/hooks/useNavigator.d.ts +18 -1
- package/dist/types/hooks/useOverlayService.d.ts +28 -9
- package/dist/types/hooks/usePropToggle.d.ts +16 -5
- package/dist/types/hooks/useResize.d.ts +19 -1
- package/dist/types/hooks/useResizeObserver.d.ts +20 -1
- package/dist/types/hooks/useStepper.d.ts +14 -0
- package/dist/types/hooks/useStorage.d.ts +38 -0
- package/dist/types/index.d.ts +4 -0
- package/dist/types/overlays/alert/Alert.d.ts +16 -5
- package/dist/types/overlays/flyout/Flyout.d.ts +9 -4
- package/dist/types/overlays/message/Message.d.ts +16 -5
- package/dist/types/overlays/modal/Modal.d.ts +13 -4
- package/dist/types/overlays/toast/Toast.d.ts +16 -5
- package/dist/types/overlays/tooltip/Tooltip.d.ts +2 -2
- package/dist/types/types/icons.d.ts +17 -3
- package/dist/types/types/index.d.ts +20 -22
- package/dist/types/typography/Abbr.d.ts +34 -4
- package/dist/types/typography/Anchor.d.ts +42 -0
- package/dist/types/typography/Copy.d.ts +15 -0
- package/dist/types/typography/Mark.d.ts +22 -4
- package/dist/types/typography/Text.d.ts +27 -1
- package/dist/types/typography/Title.d.ts +16 -1
- package/dist/types/typography/index.d.ts +1 -1
- package/dist/types/utils/cloneElement.d.ts +1 -0
- package/dist/types/utils/getColor.d.ts +1 -4
- package/dist/types/utils/index.d.ts +1 -0
- package/package.json +14 -16
- package/src/components/actionLabel/ActionLabel.tsx +26 -8
- package/src/components/animations/Animations.tsx +115 -36
- package/src/components/avatar/Avatar.tsx +51 -15
- package/src/components/avatar/AvatarGroup.tsx +23 -5
- package/src/components/badge/Badge.tsx +50 -22
- package/src/components/breadcrumbs/Breadcrumbs.tsx +43 -10
- package/src/components/button/Button.tsx +74 -42
- package/src/components/button/ButtonGroup.tsx +33 -7
- package/src/components/button/ConfirmButton.tsx +31 -3
- package/src/components/button/ToggleButtonGroup.tsx +74 -47
- package/src/components/callout/Callout.tsx +55 -12
- package/src/components/card/Card.tsx +84 -25
- package/src/components/card/CardCover.tsx +36 -6
- package/src/components/card/FlipContent.tsx +90 -0
- package/src/components/chip/Chip.tsx +53 -25
- package/src/components/collapsable/Collapsable.tsx +33 -8
- package/src/components/divider/Divider.tsx +42 -16
- package/src/components/dropdown/Dropdown.tsx +47 -12
- package/src/components/dropdown/DropdownTool.tsx +27 -2
- package/src/components/empty/EmptyContent.tsx +49 -8
- package/src/components/icon/Icon.tsx +96 -18
- package/src/components/index.ts +3 -2
- package/src/components/media/Media.tsx +193 -104
- package/src/components/menu/ContextMenu.tsx +19 -0
- package/src/components/menu/Menu.tsx +87 -30
- package/src/components/menu/MenuItem.tsx +44 -19
- package/src/components/menu/types.ts +9 -8
- package/src/components/meter/Meter.tsx +27 -4
- package/src/components/navigator/Navigator.tsx +58 -9
- package/src/components/panel/Panel.tsx +53 -21
- package/src/components/panel/PanelGroup.tsx +25 -2
- package/src/components/panel/PanelStack.tsx +33 -2
- package/src/components/progress/ProgressBar.tsx +33 -14
- package/src/components/progress/ProgressCircle.tsx +29 -13
- package/src/components/tabpanel/Tab.tsx +47 -24
- package/src/components/tabpanel/TabPanel.tsx +79 -13
- package/src/context/Global.tsx +28 -1
- package/src/context/NotificationCenter.tsx +3 -3
- package/src/core/aside/Aside.tsx +56 -34
- package/src/core/boundary/ErrorBoundary.tsx +26 -8
- package/src/core/boundary/ErrorIcon.tsx +1 -2
- package/src/core/content/Content.tsx +7 -3
- package/src/core/headfoot/HeadFoot.tsx +44 -37
- package/src/core/page/Page.tsx +42 -20
- package/src/core/responsive/Responsive.tsx +66 -8
- package/src/core/section/Section.tsx +26 -4
- package/src/core/theme/ThemeProvider.tsx +35 -14
- package/src/core/viewport/Viewport.tsx +16 -3
- package/src/hooks/useControlledValue.tsx +12 -0
- package/src/hooks/useDebounce.ts +13 -1
- package/src/hooks/useEffectDebugger.ts +50 -2
- package/src/hooks/useIsDark.ts +8 -0
- package/src/hooks/useIsRtl.ts +12 -0
- package/src/hooks/useNavigator.tsx +28 -5
- package/src/hooks/useOverlayService.tsx +33 -8
- package/src/hooks/usePropToggle.ts +16 -5
- package/src/hooks/useResize.ts +19 -1
- package/src/hooks/useResizeObserver.ts +32 -9
- package/src/hooks/useStepper.tsx +68 -0
- package/src/hooks/useStorage.ts +38 -0
- package/src/hotkeys/HotKeyLabel.tsx +1 -1
- package/src/hotkeys/HotKeyWrapper.tsx +3 -1
- package/src/index.ts +5 -0
- package/src/overlays/alert/Alert.tsx +50 -34
- package/src/overlays/flyout/Flyout.tsx +73 -97
- package/src/overlays/message/Message.tsx +28 -9
- package/src/overlays/modal/Modal.tsx +36 -30
- package/src/overlays/toast/Toast.tsx +42 -30
- package/src/overlays/tooltip/Tooltip.tsx +43 -18
- package/src/types/global.d.ts +8 -0
- package/src/types/icons.ts +32 -6
- package/src/types/index.ts +261 -45
- package/src/typography/Abbr.tsx +45 -11
- package/src/typography/{Link.tsx → Anchor.tsx} +26 -14
- package/src/typography/Copy.tsx +15 -0
- package/src/typography/Mark.tsx +25 -10
- package/src/typography/Text.tsx +31 -13
- package/src/typography/Title.tsx +18 -7
- 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,11 +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
|
-
.icon {
|
|
24
|
+
@layer components {
|
|
25
|
+
.fabric-icon {
|
|
26
26
|
position: relative;
|
|
27
|
+
|
|
28
|
+
display: inline-block;
|
|
29
|
+
|
|
27
30
|
width: 1em;
|
|
28
31
|
height: 1em;
|
|
32
|
+
|
|
29
33
|
vertical-align: -0.125em;
|
|
30
34
|
|
|
31
35
|
& > i,
|
|
@@ -36,13 +40,12 @@
|
|
|
36
40
|
overflow: hidden;
|
|
37
41
|
display: block;
|
|
38
42
|
|
|
39
|
-
width:
|
|
40
|
-
height:
|
|
43
|
+
width: 100%;
|
|
44
|
+
height: 100%;
|
|
41
45
|
|
|
42
46
|
line-height: 1;
|
|
43
47
|
|
|
44
|
-
object-fit:
|
|
45
|
-
border-radius: inherit;
|
|
48
|
+
object-fit: contain;
|
|
46
49
|
|
|
47
50
|
fill: currentcolor;
|
|
48
51
|
}
|
|
@@ -56,7 +59,7 @@
|
|
|
56
59
|
|
|
57
60
|
&:hover {
|
|
58
61
|
opacity: 0.9;
|
|
59
|
-
background-color:
|
|
62
|
+
background-color: --alpha(var(--text-color-base) / 10%);
|
|
60
63
|
}
|
|
61
64
|
|
|
62
65
|
&:active {
|
|
@@ -65,7 +68,7 @@
|
|
|
65
68
|
}
|
|
66
69
|
}
|
|
67
70
|
|
|
68
|
-
[dir="rtl"] .icon[data-flip="true"] {
|
|
71
|
+
[dir="rtl"] .fabric-icon[data-flip="true"] {
|
|
69
72
|
transform: scaleX(-1);
|
|
70
73
|
}
|
|
71
74
|
}
|
|
@@ -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,27 @@
|
|
|
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));
|
|
73
|
+
border-start-start-radius: 0;
|
|
74
|
+
border-end-start-radius: 0;
|
|
74
75
|
|
|
75
76
|
& > div {
|
|
76
77
|
box-shadow: 4px 0 0 var(--color) inset;
|
|
77
78
|
|
|
78
|
-
|
|
79
|
+
@variant rtl {
|
|
79
80
|
box-shadow: -4px 0 0 var(--color) inset;
|
|
80
81
|
}
|
|
81
82
|
}
|
|
@@ -83,7 +84,7 @@
|
|
|
83
84
|
|
|
84
85
|
&.disabled {
|
|
85
86
|
pointer-events: none;
|
|
86
|
-
color:
|
|
87
|
+
color: var(--text-tint-500);
|
|
87
88
|
opacity: 0.5;
|
|
88
89
|
|
|
89
90
|
& > label ~ * {
|
|
@@ -92,7 +93,7 @@
|
|
|
92
93
|
}
|
|
93
94
|
}
|
|
94
95
|
|
|
95
|
-
.menuIcon {
|
|
96
|
+
.fabric-menuIcon {
|
|
96
97
|
padding: 0.3em;
|
|
97
98
|
font-size: 1.25em;
|
|
98
99
|
|
|
@@ -103,7 +104,7 @@
|
|
|
103
104
|
}
|
|
104
105
|
}
|
|
105
106
|
|
|
106
|
-
|
|
107
|
+
.fabric-menu-list.hide-icons .fabric-menuIcon {
|
|
107
108
|
width: 0.125em;
|
|
108
109
|
}
|
|
109
110
|
}
|
|
@@ -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,13 +21,13 @@
|
|
|
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;
|
|
29
|
-
max-width:
|
|
30
|
-
max-height:
|
|
29
|
+
max-width: 100%;
|
|
30
|
+
max-height: 100%;
|
|
31
31
|
margin-top: -100%;
|
|
32
32
|
|
|
33
33
|
opacity: 0;
|
|
@@ -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
|
}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* React Fabric
|
|
3
|
+
* @version: 1.0.0
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
* The MIT License (MIT)
|
|
7
|
+
* Copyright (c) 2025 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-stepper {
|
|
26
|
+
& .fabric-stepper--pill {
|
|
27
|
+
position: relative;
|
|
28
|
+
|
|
29
|
+
flex: 0 0 auto;
|
|
30
|
+
|
|
31
|
+
color: var(--color-primary-600);
|
|
32
|
+
|
|
33
|
+
background-color: var(--color-primary-50);
|
|
34
|
+
border-radius: var(--radius);
|
|
35
|
+
|
|
36
|
+
& .fabric-icon {
|
|
37
|
+
padding: 0.125rem;
|
|
38
|
+
font-size: 1.5rem;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
& label {
|
|
42
|
+
display: inline-block;
|
|
43
|
+
|
|
44
|
+
padding: 0.125rem 0.5rem;
|
|
45
|
+
|
|
46
|
+
font-size: 0.875rem;
|
|
47
|
+
font-weight: 500;
|
|
48
|
+
line-height: 1.5rem;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
&:not(:last-child) {
|
|
52
|
+
margin-inline-end: 3rem;
|
|
53
|
+
|
|
54
|
+
&::after {
|
|
55
|
+
content: "";
|
|
56
|
+
|
|
57
|
+
position: absolute;
|
|
58
|
+
top: 50%;
|
|
59
|
+
right: calc(-3rem - 1px);
|
|
60
|
+
transform: translateY(-50%);
|
|
61
|
+
|
|
62
|
+
width: 3rem;
|
|
63
|
+
height: 2px;
|
|
64
|
+
|
|
65
|
+
background-color: var(--color-primary-50);
|
|
66
|
+
|
|
67
|
+
transition: background-color 0.3s var(--ease-in-out);
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
&[data-state="active"] {
|
|
72
|
+
color: var(--color-primary-50);
|
|
73
|
+
background-color: var(--color-primary-600);
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
&[data-state="completed"] {
|
|
77
|
+
color: var(--color-primary-50);
|
|
78
|
+
background-color: var(--color-primary-700);
|
|
79
|
+
|
|
80
|
+
&::after {
|
|
81
|
+
background-color: var(--color-primary-700);
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
}
|