Skip to content

Commit

Permalink
Docs: New and updated component svgs (#3108)
Browse files Browse the repository at this point in the history
  • Loading branch information
hectoid authored Jul 27, 2023
1 parent 71c6c87 commit 19fc323
Show file tree
Hide file tree
Showing 9 changed files with 232 additions and 10 deletions.
32 changes: 27 additions & 5 deletions docs/docs-components/data/components.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import Layer from '../../graphics/building-blocks/Layer.svg';
import Letterbox from '../../graphics/building-blocks/Letterbox.svg';
import Mask from '../../graphics/building-blocks/Mask.svg';
import Pog from '../../graphics/building-blocks/Pog.svg';
import Popover from '../../graphics/building-blocks/Popover.svg';
import ScrollBoundaryContainer from '../../graphics/building-blocks/ScrollBoundaryContainer.svg';
import SheetMobile from '../../graphics/building-blocks/SheetMobile.svg';
import Sticky from '../../graphics/building-blocks/Sticky.svg';
Expand All @@ -22,6 +21,7 @@ import Button from '../../graphics/general/Button.svg';
import ButtonGroup from '../../graphics/general/ButtonGroup.svg';
import ButtonLink from '../../graphics/general/ButtonLink.svg';
import Callout from '../../graphics/general/Callout.svg';
import Card from '../../graphics/general/Card.svg';
import Checkbox from '../../graphics/general/Checkbox.svg';
import Collage from '../../graphics/general/Collage.svg';
import ComboBox from '../../graphics/general/ComboBox.svg';
Expand All @@ -47,6 +47,8 @@ import Module from '../../graphics/general/Module.svg';
import NumberField from '../../graphics/general/NumberField.svg';
import OverlayPanel from '../../graphics/general/OverlayPanel.svg';
import PageHeader from '../../graphics/general/PageHeader.svg';
import Popover from '../../graphics/general/Popover.svg';
import PopoverEducational from '../../graphics/general/PopoverEducational.svg';
import Pulsar from '../../graphics/general/Pulsar.svg';
import RadioGroup from '../../graphics/general/RadioGroup.svg';
import SearchField from '../../graphics/general/SearchField.svg';
Expand All @@ -70,10 +72,10 @@ import Tooltip from '../../graphics/general/Tooltip.svg';
import Upsell from '../../graphics/general/Upsell.svg';
import Video from '../../graphics/general/Video.svg';
import WashAnimated from '../../graphics/general/WashAnimated.svg';
import GlobalEventsHandlerProvider from '../../graphics/utilities/GlobalEventsHandlerProvider.svg';
import HookFocusVisible from '../../graphics/utilities/hook-focus-visible.svg';
import HookReducedMotion from '../../graphics/utilities/hook-reduced-motion.svg';
import ProviderColorScheme from '../../graphics/utilities/provider-color-scheme.svg';
import ProviderHandlers from '../../graphics/utilities/provider-global-events-handler.svg';

const componentData: $ReadOnlyArray<ComponentData> = [
{
Expand Down Expand Up @@ -471,6 +473,26 @@ const componentData: $ReadOnlyArray<ComponentData> = [
},
},
},
{
id: 'Card',
platform: {
ios: {
name: 'Card',
visual: {
svg: <Card />,
},
path: '/ios/card/card',
alias: ['Entry Card', 'Module', 'Panel', 'Teaser'],
description:
'Card is a semi-modular container used to house Card.Header and a variant of the available preview blocks.',
category: ['Pins and imagery'],
status: {
documentation: 'ready',
status: 'planned',
},
},
},
},
{
id: 'Checkbox',
platform: {
Expand Down Expand Up @@ -869,7 +891,7 @@ const componentData: $ReadOnlyArray<ComponentData> = [
web: {
name: 'GlobalEventsHandlerProvider',
visual: {
svg: <ProviderHandlers />,
svg: <GlobalEventsHandlerProvider />,
},
alias: ['OnLinkNavigationProvider'],
path: '/web/utilities/globaleventshandlerprovider',
Expand Down Expand Up @@ -1539,7 +1561,7 @@ const componentData: $ReadOnlyArray<ComponentData> = [
alias: ['Flyout'],
description:
'Popover is a floating view that contains a task related to the content on screen.',
category: ['Building blocks'],
category: ['Overlays'],
status: {
accessible: {
summary: 'partial',
Expand Down Expand Up @@ -1571,7 +1593,7 @@ const componentData: $ReadOnlyArray<ComponentData> = [
web: {
name: 'PopoverEducational',
visual: {
svg: <Popover />,
svg: <PopoverEducational />,
},
description:
'PopoverEducational is a floating container that introduces users to elements on the screen. Used for education or onboarding experiences.',
Expand Down
1 change: 0 additions & 1 deletion docs/graphics/building-blocks/Popover.svg

This file was deleted.

17 changes: 16 additions & 1 deletion docs/graphics/general/DateField.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
46 changes: 45 additions & 1 deletion docs/graphics/general/DatePicker.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 19fc323

Please sign in to comment.