@guardian/stand 0.0.37 → 0.0.39
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{alert-banner.cjs → AlertBanner.cjs} +1 -1
- package/dist/{alert-banner.js → AlertBanner.js} +1 -1
- package/dist/{avatar.cjs → Avatar.cjs} +1 -1
- package/dist/{avatar.js → Avatar.js} +1 -1
- package/dist/AvatarButton.cjs +7 -0
- package/dist/AvatarButton.js +1 -0
- package/dist/AvatarLink.cjs +7 -0
- package/dist/AvatarLink.js +1 -0
- package/dist/{button.cjs → Button.cjs} +1 -1
- package/dist/{button.js → Button.js} +1 -1
- package/dist/{byline.cjs → Byline.cjs} +1 -1
- package/dist/{byline.js → Byline.js} +1 -1
- package/dist/{checkbox.cjs → Checkbox.cjs} +2 -2
- package/dist/Checkbox.js +3 -0
- package/dist/{date-picker.cjs → DatePicker.cjs} +1 -1
- package/dist/{date-picker.js → DatePicker.js} +1 -1
- package/dist/{favicon.cjs → Favicon.cjs} +1 -1
- package/dist/{favicon.js → Favicon.js} +1 -1
- package/dist/{grid.cjs → Grid.cjs} +1 -1
- package/dist/{grid.js → Grid.js} +1 -1
- package/dist/{icon.cjs → Icon.cjs} +1 -1
- package/dist/{icon.js → Icon.js} +1 -1
- package/dist/IconButton.cjs +7 -0
- package/dist/IconButton.js +1 -0
- package/dist/IconLinkButton.cjs +7 -0
- package/dist/IconLinkButton.js +1 -0
- package/dist/{inline-message.cjs → InlineMessage.cjs} +1 -1
- package/dist/{inline-message.js → InlineMessage.js} +1 -1
- package/dist/{intended-audience-signifier.cjs → IntendedAudienceSignifier.cjs} +1 -1
- package/dist/{intended-audience-signifier.js → IntendedAudienceSignifier.js} +1 -1
- package/dist/{layout.cjs → Layout.cjs} +1 -2
- package/dist/{layout.js → Layout.js} +1 -1
- package/dist/{link.cjs → Link.cjs} +1 -1
- package/dist/{link.js → Link.js} +1 -1
- package/dist/LinkButton.cjs +7 -0
- package/dist/LinkButton.js +1 -0
- package/dist/{menu.cjs → Menu.cjs} +1 -1
- package/dist/{menu.js → Menu.js} +1 -1
- package/dist/{radio-group.cjs → RadioGroup.cjs} +1 -1
- package/dist/{radio-group.js → RadioGroup.js} +1 -1
- package/dist/{select.cjs → Select.cjs} +1 -1
- package/dist/{select.js → Select.js} +1 -1
- package/dist/{tag-picker.cjs → TagPicker.cjs} +3 -3
- package/dist/TagPicker.js +5 -0
- package/dist/{text-area.cjs → TextArea.cjs} +1 -1
- package/dist/{text-area.js → TextArea.js} +1 -1
- package/dist/{text-input.cjs → TextInput.cjs} +1 -1
- package/dist/{text-input.js → TextInput.js} +1 -1
- package/dist/TopBar.cjs +6 -6
- package/dist/TopBar.js +5 -5
- package/dist/{typography.cjs → Typography.cjs} +1 -1
- package/dist/{typography.js → Typography.js} +1 -1
- package/dist/{user-menu.cjs → UserMenu.cjs} +1 -1
- package/dist/{user-menu.js → UserMenu.js} +1 -1
- package/dist/components/{alert-banner → AlertBanner}/AlertBanner.cjs +2 -2
- package/dist/components/{alert-banner → AlertBanner}/AlertBanner.js +3 -3
- package/dist/components/{alert-banner → AlertBanner}/styles.cjs +5 -5
- package/dist/components/{alert-banner → AlertBanner}/styles.js +5 -5
- package/dist/components/{avatar → Avatar}/Avatar.js +1 -1
- package/dist/components/{avatar → Avatar}/styles.cjs +7 -7
- package/dist/components/{avatar → Avatar}/styles.js +7 -7
- package/dist/components/{avatar → Avatar}/types.cjs +2 -2
- package/dist/components/{avatar → Avatar}/types.js +2 -2
- package/dist/components/{avatar-button → AvatarButton}/AvatarButton.cjs +1 -1
- package/dist/components/{avatar-button → AvatarButton}/AvatarButton.js +1 -1
- package/dist/components/{avatar-button → AvatarButton}/styles.cjs +5 -5
- package/dist/components/{avatar-button → AvatarButton}/styles.js +5 -5
- package/dist/components/{avatar-link → AvatarLink}/AvatarLink.cjs +1 -1
- package/dist/components/{avatar-link → AvatarLink}/AvatarLink.js +1 -1
- package/dist/components/{avatar-link → AvatarLink}/styles.cjs +5 -5
- package/dist/components/{avatar-link → AvatarLink}/styles.js +5 -5
- package/dist/components/{button → Button}/Button.cjs +1 -1
- package/dist/components/{button → Button}/Button.js +2 -2
- package/dist/components/{button → Button}/styles.cjs +17 -17
- package/dist/components/{button → Button}/styles.js +17 -17
- package/dist/components/{checkbox → Checkbox}/Checkbox.js +1 -1
- package/dist/components/{checkbox → Checkbox}/CheckboxGroup.cjs +1 -1
- package/dist/components/{checkbox → Checkbox}/CheckboxGroup.js +2 -2
- package/dist/components/{checkbox → Checkbox}/styles.cjs +14 -14
- package/dist/components/{checkbox → Checkbox}/styles.js +14 -14
- package/dist/components/{date-picker → DatePicker}/DatePicker.cjs +2 -2
- package/dist/components/{date-picker → DatePicker}/DatePicker.js +3 -3
- package/dist/components/{favicon → Favicon}/Favicon.cjs +1 -1
- package/dist/components/{favicon → Favicon}/Favicon.js +1 -1
- package/dist/components/{favicon → Favicon}/styles.cjs +3 -3
- package/dist/components/{favicon → Favicon}/styles.js +3 -3
- package/dist/components/{form → Form}/Form.cjs +1 -1
- package/dist/components/{form → Form}/Form.js +1 -1
- package/dist/components/{form → Form}/styles.cjs +1 -1
- package/dist/components/{form → Form}/styles.js +1 -1
- package/dist/components/{grid → Grid}/Grid.js +1 -1
- package/dist/components/Grid/styles.cjs +126 -0
- package/dist/components/Grid/styles.js +110 -0
- package/dist/components/{icon → Icon}/Icon.js +1 -1
- package/dist/components/{icon → Icon}/styles.cjs +1 -1
- package/dist/components/{icon → Icon}/styles.js +1 -1
- package/dist/components/{icon-button → IconButton}/IconButton.cjs +1 -1
- package/dist/components/{icon-button → IconButton}/IconButton.js +2 -2
- package/dist/components/{icon-button → IconButton}/styles.cjs +1 -1
- package/dist/components/{icon-button → IconButton}/styles.js +1 -1
- package/dist/components/{icon-link-button → IconLinkButton}/IconLinkButton.cjs +1 -1
- package/dist/components/{icon-link-button → IconLinkButton}/IconLinkButton.js +2 -2
- package/dist/components/{icon-link-button → IconLinkButton}/styles.cjs +1 -1
- package/dist/components/{icon-link-button → IconLinkButton}/styles.js +1 -1
- package/dist/components/{inline-message → InlineMessage}/InlineMessage.cjs +3 -3
- package/dist/components/{inline-message → InlineMessage}/InlineMessage.js +4 -4
- package/dist/components/{inline-message → InlineMessage}/styles.cjs +2 -2
- package/dist/components/{inline-message → InlineMessage}/styles.js +2 -2
- package/dist/components/{intended-audience-signifier → IntendedAudienceSignifier}/IntendedAudienceSignifier.cjs +36 -4
- package/dist/components/IntendedAudienceSignifier/IntendedAudienceSignifier.js +67 -0
- package/dist/components/Layout/Layout.cjs +79 -0
- package/dist/components/Layout/Layout.js +34 -0
- package/dist/components/{layout → Layout}/styles.cjs +5 -3
- package/dist/components/{layout → Layout}/styles.js +5 -4
- package/dist/components/{link → Link}/Link.cjs +6 -6
- package/dist/components/{link → Link}/Link.js +3 -3
- package/dist/components/{link-button → LinkButton}/LinkButton.cjs +1 -1
- package/dist/components/{link-button → LinkButton}/LinkButton.js +2 -2
- package/dist/components/{link-button → LinkButton}/styles.cjs +1 -1
- package/dist/components/{link-button → LinkButton}/styles.js +1 -1
- package/dist/components/{menu → Menu}/Menu.cjs +1 -1
- package/dist/components/{menu → Menu}/Menu.js +2 -2
- package/dist/components/{menu → Menu}/styles.cjs +26 -26
- package/dist/components/{menu → Menu}/styles.js +26 -26
- package/dist/components/{radio-group → RadioGroup}/RadioGroup.cjs +1 -1
- package/dist/components/{radio-group → RadioGroup}/RadioGroup.js +2 -2
- package/dist/components/{select → Select}/Select.cjs +2 -2
- package/dist/components/{select → Select}/Select.js +3 -3
- package/dist/components/{select → Select}/styles.cjs +2 -2
- package/dist/components/{select → Select}/styles.js +2 -2
- package/dist/components/{text-area → TextArea}/TextArea.cjs +1 -1
- package/dist/components/{text-area → TextArea}/TextArea.js +2 -2
- package/dist/components/{text-area → TextArea}/styles.cjs +3 -3
- package/dist/components/{text-area → TextArea}/styles.js +3 -3
- package/dist/components/{text-input → TextInput}/TextInput.cjs +1 -1
- package/dist/components/{text-input → TextInput}/TextInput.js +2 -2
- package/dist/components/{text-input → TextInput}/styles.cjs +3 -3
- package/dist/components/{text-input → TextInput}/styles.js +3 -3
- package/dist/components/{topbar → TopBar}/TopBar.cjs +14 -14
- package/dist/components/{topbar → TopBar}/TopBar.js +15 -15
- package/dist/components/{topbar/topBarItem → TopBar/TopBarItem}/TopBarItem.js +1 -1
- package/dist/components/{topbar/topBarItem → TopBar/TopBarItem}/styles.cjs +3 -3
- package/dist/components/{topbar/topBarItem → TopBar/TopBarItem}/styles.js +3 -3
- package/dist/components/{topbar/topBarNavigation → TopBar/TopBarNavigation}/TopBarNavigation.cjs +2 -2
- package/dist/components/{topbar/topBarNavigation → TopBar/TopBarNavigation}/TopBarNavigation.js +3 -3
- package/dist/components/{topbar/topBarNavigation → TopBar/TopBarNavigation}/styles.cjs +19 -19
- package/dist/components/{topbar/topBarNavigation → TopBar/TopBarNavigation}/styles.js +19 -19
- package/dist/components/{topbar/topBarToolName → TopBar/TopBarToolName}/TopBarToolName.cjs +3 -3
- package/dist/components/{topbar/topBarToolName → TopBar/TopBarToolName}/TopBarToolName.js +4 -4
- package/dist/components/{topbar/topBarToolName → TopBar/TopBarToolName}/styles.cjs +7 -7
- package/dist/components/{topbar/topBarToolName → TopBar/TopBarToolName}/styles.js +7 -7
- package/dist/components/{topbar → TopBar}/styles.cjs +12 -12
- package/dist/components/{topbar → TopBar}/styles.js +11 -11
- package/dist/components/{typography → Typography}/Typography.cjs +1 -1
- package/dist/components/{typography → Typography}/Typography.js +2 -2
- package/dist/components/Typography/styles.cjs +15 -0
- package/dist/components/{user-menu → UserMenu}/UserMenu.cjs +1 -1
- package/dist/components/{user-menu → UserMenu}/UserMenu.js +1 -1
- package/dist/components/{user-menu → UserMenu}/default-options.cjs +16 -16
- package/dist/components/{user-menu → UserMenu}/default-options.js +16 -16
- package/dist/index.cjs +4 -2
- package/dist/index.js +2 -1
- package/dist/styleD/build/css/base/radius.css +6 -6
- package/dist/styleD/build/css/base/sizing.css +20 -20
- package/dist/styleD/build/css/component/grid.css +9 -2
- package/dist/styleD/build/css/component/intendedAudienceSignifier.css +2 -2
- package/dist/styleD/build/css/component/layout.css +4 -4
- package/dist/styleD/build/css/component/{TopBar.css → topBar.css} +2 -2
- package/dist/styleD/build/css/semantic/colors.css +3 -2
- package/dist/styleD/build/css/semantic/grid.css +15 -0
- package/dist/styleD/build/css/semantic/sizing.css +3 -0
- package/dist/styleD/build/css/semantic/typography.css +6 -6
- package/dist/styleD/build/typescript/base/colors.cjs +2 -2
- package/dist/styleD/build/typescript/base/colors.js +2 -2
- package/dist/styleD/build/typescript/base/radius.cjs +6 -6
- package/dist/styleD/build/typescript/base/radius.js +6 -6
- package/dist/styleD/build/typescript/base/sizing.cjs +20 -20
- package/dist/styleD/build/typescript/base/sizing.js +20 -20
- package/dist/styleD/build/typescript/base/spacing.cjs +34 -34
- package/dist/styleD/build/typescript/base/spacing.js +34 -34
- package/dist/styleD/build/typescript/base/typography.cjs +42 -42
- package/dist/styleD/build/typescript/base/typography.js +42 -42
- package/dist/styleD/build/typescript/component/alertBanner.cjs +8 -8
- package/dist/styleD/build/typescript/component/alertBanner.js +8 -8
- package/dist/styleD/build/typescript/component/avatar.cjs +33 -33
- package/dist/styleD/build/typescript/component/avatar.js +33 -33
- package/dist/styleD/build/typescript/component/button.cjs +18 -18
- package/dist/styleD/build/typescript/component/button.js +18 -18
- package/dist/styleD/build/typescript/component/checkbox.cjs +16 -16
- package/dist/styleD/build/typescript/component/checkbox.js +16 -16
- package/dist/styleD/build/typescript/component/favicon.cjs +3 -3
- package/dist/styleD/build/typescript/component/favicon.js +3 -3
- package/dist/styleD/build/typescript/component/form.cjs +1 -1
- package/dist/styleD/build/typescript/component/form.js +1 -1
- package/dist/styleD/build/typescript/component/grid.cjs +15 -2
- package/dist/styleD/build/typescript/component/grid.js +15 -2
- package/dist/styleD/build/typescript/component/icon.cjs +1 -1
- package/dist/styleD/build/typescript/component/icon.js +1 -1
- package/dist/styleD/build/typescript/component/inlineMessage.cjs +2 -2
- package/dist/styleD/build/typescript/component/inlineMessage.js +2 -2
- package/dist/styleD/build/typescript/component/intendedAudienceSignifier.cjs +2 -2
- package/dist/styleD/build/typescript/component/intendedAudienceSignifier.js +2 -2
- package/dist/styleD/build/typescript/component/layout.cjs +7 -5
- package/dist/styleD/build/typescript/component/layout.js +7 -5
- package/dist/styleD/build/typescript/component/menu.cjs +30 -30
- package/dist/styleD/build/typescript/component/menu.js +30 -30
- package/dist/styleD/build/typescript/component/select.cjs +2 -2
- package/dist/styleD/build/typescript/component/select.js +2 -2
- package/dist/styleD/build/typescript/component/textArea.cjs +3 -3
- package/dist/styleD/build/typescript/component/textArea.js +3 -3
- package/dist/styleD/build/typescript/component/textInput.cjs +3 -3
- package/dist/styleD/build/typescript/component/textInput.js +3 -3
- package/dist/styleD/build/typescript/component/{TopBar.cjs → topBar.cjs} +28 -28
- package/dist/styleD/build/typescript/component/{TopBar.js → topBar.js} +28 -28
- package/dist/styleD/build/typescript/semantic/colors.cjs +39 -38
- package/dist/styleD/build/typescript/semantic/colors.js +39 -38
- package/dist/styleD/build/typescript/semantic/grid.cjs +21 -0
- package/dist/styleD/build/typescript/semantic/grid.js +19 -0
- package/dist/styleD/build/typescript/semantic/sizing.cjs +8 -1
- package/dist/styleD/build/typescript/semantic/sizing.js +8 -1
- package/dist/styleD/build/typescript/semantic/typography.cjs +75 -75
- package/dist/styleD/build/typescript/semantic/typography.js +75 -75
- package/dist/types/{alert-banner.d.ts → AlertBanner.d.ts} +3 -3
- package/dist/types/{avatar.d.ts → Avatar.d.ts} +3 -3
- package/dist/types/{avatar-button.d.ts → AvatarButton.d.ts} +3 -3
- package/dist/types/{avatar-link.d.ts → AvatarLink.d.ts} +3 -3
- package/dist/types/{button.d.ts → Button.d.ts} +3 -3
- package/dist/types/{byline.d.ts → Byline.d.ts} +3 -3
- package/dist/types/{checkbox.d.ts → Checkbox.d.ts} +4 -4
- package/dist/types/{date-picker.d.ts → DatePicker.d.ts} +3 -3
- package/dist/types/{favicon.d.ts → Favicon.d.ts} +3 -3
- package/dist/types/{grid.d.ts → Grid.d.ts} +4 -4
- package/dist/types/{icon.d.ts → Icon.d.ts} +3 -3
- package/dist/types/{icon-button.d.ts → IconButton.d.ts} +3 -3
- package/dist/types/{icon-link-button.d.ts → IconLinkButton.d.ts} +3 -3
- package/dist/types/{inline-message.d.ts → InlineMessage.d.ts} +3 -3
- package/dist/types/{intended-audience-signifier.d.ts → IntendedAudienceSignifier.d.ts} +3 -3
- package/dist/types/{layout.d.ts → Layout.d.ts} +3 -3
- package/dist/types/{link.d.ts → Link.d.ts} +3 -3
- package/dist/types/{link-button.d.ts → LinkButton.d.ts} +3 -3
- package/dist/types/{menu.d.ts → Menu.d.ts} +3 -3
- package/dist/types/{radio-group.d.ts → RadioGroup.d.ts} +3 -3
- package/dist/types/{select.d.ts → Select.d.ts} +3 -3
- package/dist/types/{tag-picker.d.ts → TagPicker.d.ts} +3 -3
- package/dist/types/{text-area.d.ts → TextArea.d.ts} +3 -3
- package/dist/types/{text-input.d.ts → TextInput.d.ts} +3 -3
- package/dist/types/TopBar.d.ts +15 -15
- package/dist/types/{typography.d.ts → Typography.d.ts} +3 -3
- package/dist/types/{user-menu.d.ts → UserMenu.d.ts} +1 -1
- package/dist/types/components/{alert-banner → AlertBanner}/sandbox.d.ts +2 -2
- package/dist/types/components/{alert-banner → AlertBanner}/types.d.ts +2 -2
- package/dist/types/components/{avatar → Avatar}/sandbox.d.ts +2 -2
- package/dist/types/components/{avatar-button → AvatarButton}/sandbox.d.ts +1 -1
- package/dist/types/components/{avatar-button → AvatarButton}/styles.d.ts +1 -1
- package/dist/types/components/{avatar-button → AvatarButton}/types.d.ts +1 -1
- package/dist/types/components/{avatar-link → AvatarLink}/sandbox.d.ts +1 -1
- package/dist/types/components/{avatar-link → AvatarLink}/styles.d.ts +1 -1
- package/dist/types/components/{avatar-link → AvatarLink}/types.d.ts +1 -1
- package/dist/types/components/{button → Button}/sandbox.d.ts +2 -2
- package/dist/types/components/{button → Button}/types.d.ts +1 -1
- package/dist/types/components/{checkbox → Checkbox}/CheckboxGroupSandbox.d.ts +2 -2
- package/dist/types/components/{checkbox → Checkbox}/CheckboxSandbox.d.ts +2 -2
- package/dist/types/components/{checkbox → Checkbox}/types.d.ts +1 -1
- package/dist/types/components/DatePicker/sandbox.d.ts +2 -0
- package/dist/types/components/{date-picker → DatePicker}/types.d.ts +1 -1
- package/dist/types/components/{favicon → Favicon}/sandbox.d.ts +2 -2
- package/dist/types/components/{favicon → Favicon}/types.d.ts +1 -1
- package/dist/types/components/Grid/sandbox.d.ts +5 -0
- package/dist/types/components/Icon/sandbox.d.ts +5 -0
- package/dist/types/components/{icon-button → IconButton}/sandbox.d.ts +2 -2
- package/dist/types/components/{icon-button → IconButton}/styles.d.ts +20 -20
- package/dist/types/components/{icon-button → IconButton}/types.d.ts +1 -1
- package/dist/types/components/{icon-link-button → IconLinkButton}/sandbox.d.ts +2 -2
- package/dist/types/components/{icon-link-button → IconLinkButton}/styles.d.ts +20 -20
- package/dist/types/components/{icon-link-button → IconLinkButton}/types.d.ts +1 -1
- package/dist/types/components/InlineMessage/sandbox.d.ts +5 -0
- package/dist/types/components/{inline-message → InlineMessage}/types.d.ts +1 -1
- package/dist/types/components/{intended-audience-signifier → IntendedAudienceSignifier}/sandbox.d.ts +1 -1
- package/dist/types/components/Layout/Layout.d.ts +11 -0
- package/dist/types/components/{layout → Layout}/sandbox.d.ts +1 -1
- package/dist/types/components/{layout → Layout}/styles.d.ts +5 -2
- package/dist/types/components/{layout → Layout}/types.d.ts +13 -3
- package/dist/types/components/{link → Link}/sandbox.d.ts +2 -2
- package/dist/types/components/{link → Link}/types.d.ts +1 -1
- package/dist/types/components/LinkButton/sandbox.d.ts +5 -0
- package/dist/types/components/{link-button → LinkButton}/styles.d.ts +20 -20
- package/dist/types/components/{link-button → LinkButton}/types.d.ts +1 -1
- package/dist/types/components/{menu → Menu}/sandbox.d.ts +2 -2
- package/dist/types/components/{menu → Menu}/types.d.ts +1 -1
- package/dist/types/components/{radio-group → RadioGroup}/sandbox.d.ts +2 -2
- package/dist/types/components/{radio-group → RadioGroup}/types.d.ts +1 -1
- package/dist/types/components/{select → Select}/sandbox.d.ts +2 -2
- package/dist/types/components/{select → Select}/types.d.ts +1 -1
- package/dist/types/components/{text-area → TextArea}/sandbox.d.ts +2 -2
- package/dist/types/components/{text-area → TextArea}/types.d.ts +1 -1
- package/dist/types/components/{text-input → TextInput}/sandbox.d.ts +2 -2
- package/dist/types/components/{text-input → TextInput}/types.d.ts +1 -1
- package/dist/types/components/{topbar/topBarItem → TopBar/TopBarItem}/sandbox.d.ts +2 -2
- package/dist/types/components/{topbar/topBarItem → TopBar/TopBarItem}/styles.d.ts +2 -2
- package/dist/types/components/{topbar/topBarNavigation → TopBar/TopBarNavigation}/sandbox.d.ts +2 -2
- package/dist/types/components/{topbar/topBarNavigation → TopBar/TopBarNavigation}/styles.d.ts +2 -2
- package/dist/types/components/{topbar/topBarNavigation → TopBar/TopBarNavigation}/types.d.ts +1 -1
- package/dist/types/components/{topbar/topBarToolName → TopBar/TopBarToolName}/sandbox.d.ts +2 -2
- package/dist/types/components/{topbar/topBarToolName → TopBar/TopBarToolName}/styles.d.ts +2 -2
- package/dist/types/components/{topbar/topBarToolName → TopBar/TopBarToolName}/types.d.ts +2 -2
- package/dist/types/components/{topbar → TopBar}/sandbox.d.ts +2 -2
- package/dist/types/components/{topbar → TopBar}/styles.d.ts +1 -1
- package/dist/types/components/{typography → Typography}/sandbox.d.ts +2 -2
- package/dist/types/index.d.ts +4 -2
- package/dist/types/styleD/build/typescript/base/colors.d.ts +2 -2
- package/dist/types/styleD/build/typescript/base/radius.d.ts +6 -6
- package/dist/types/styleD/build/typescript/base/sizing.d.ts +20 -20
- package/dist/types/styleD/build/typescript/base/spacing.d.ts +34 -34
- package/dist/types/styleD/build/typescript/base/typography.d.ts +42 -42
- package/dist/types/styleD/build/typescript/component/alertBanner.d.ts +8 -8
- package/dist/types/styleD/build/typescript/component/avatar.d.ts +33 -33
- package/dist/types/styleD/build/typescript/component/button.d.ts +18 -18
- package/dist/types/styleD/build/typescript/component/checkbox.d.ts +16 -16
- package/dist/types/styleD/build/typescript/component/favicon.d.ts +3 -3
- package/dist/types/styleD/build/typescript/component/form.d.ts +1 -1
- package/dist/types/styleD/build/typescript/component/grid.d.ts +15 -2
- package/dist/types/styleD/build/typescript/component/icon.d.ts +1 -1
- package/dist/types/styleD/build/typescript/component/inlineMessage.d.ts +2 -2
- package/dist/types/styleD/build/typescript/component/layout.d.ts +5 -3
- package/dist/types/styleD/build/typescript/component/menu.d.ts +30 -30
- package/dist/types/styleD/build/typescript/component/select.d.ts +2 -2
- package/dist/types/styleD/build/typescript/component/textArea.d.ts +3 -3
- package/dist/types/styleD/build/typescript/component/textInput.d.ts +3 -3
- package/dist/types/styleD/build/typescript/component/{TopBar.d.ts → topBar.d.ts} +26 -26
- package/dist/types/styleD/build/typescript/semantic/colors.d.ts +39 -38
- package/dist/types/styleD/build/typescript/semantic/grid.d.ts +21 -0
- package/dist/types/styleD/build/typescript/semantic/sizing.d.ts +8 -1
- package/dist/types/styleD/build/typescript/semantic/typography.d.ts +75 -75
- package/dist/types/templates/component/sandbox.d.ts +1 -1
- package/package.json +184 -183
- package/dist/avatarButton.cjs +0 -7
- package/dist/avatarButton.js +0 -1
- package/dist/avatarLink.cjs +0 -7
- package/dist/avatarLink.js +0 -1
- package/dist/checkbox.js +0 -3
- package/dist/components/grid/styles.cjs +0 -106
- package/dist/components/grid/styles.js +0 -98
- package/dist/components/intended-audience-signifier/IntendedAudienceSignifier.js +0 -37
- package/dist/components/layout/Layout.cjs +0 -114
- package/dist/components/layout/Layout.js +0 -83
- package/dist/components/typography/styles.cjs +0 -15
- package/dist/icon-button.cjs +0 -7
- package/dist/icon-button.js +0 -1
- package/dist/icon-link-button.cjs +0 -7
- package/dist/icon-link-button.js +0 -1
- package/dist/link-button.cjs +0 -7
- package/dist/link-button.js +0 -1
- package/dist/styleD/build/css/component/topBarItem.css +0 -7
- package/dist/tag-picker.js +0 -5
- package/dist/types/components/date-picker/sandbox.d.ts +0 -2
- package/dist/types/components/grid/sandbox.d.ts +0 -5
- package/dist/types/components/icon/sandbox.d.ts +0 -5
- package/dist/types/components/inline-message/sandbox.d.ts +0 -5
- package/dist/types/components/layout/Layout.d.ts +0 -19
- package/dist/types/components/link-button/sandbox.d.ts +0 -5
- /package/dist/{form.cjs → Form.cjs} +0 -0
- /package/dist/{form.js → Form.js} +0 -0
- /package/dist/components/{avatar → Avatar}/Avatar.cjs +0 -0
- /package/dist/components/{byline → Byline}/Byline.cjs +0 -0
- /package/dist/components/{byline → Byline}/Byline.js +0 -0
- /package/dist/components/{byline → Byline}/Preview.cjs +0 -0
- /package/dist/components/{byline → Byline}/Preview.js +0 -0
- /package/dist/components/{byline → Byline}/lib.cjs +0 -0
- /package/dist/components/{byline → Byline}/lib.js +0 -0
- /package/dist/components/{byline → Byline}/placeholder.cjs +0 -0
- /package/dist/components/{byline → Byline}/placeholder.js +0 -0
- /package/dist/components/{byline → Byline}/plugins.cjs +0 -0
- /package/dist/components/{byline → Byline}/plugins.js +0 -0
- /package/dist/components/{byline → Byline}/schema.cjs +0 -0
- /package/dist/components/{byline → Byline}/schema.js +0 -0
- /package/dist/components/{byline → Byline}/styles.cjs +0 -0
- /package/dist/components/{byline → Byline}/styles.js +0 -0
- /package/dist/components/{checkbox → Checkbox}/Checkbox.cjs +0 -0
- /package/dist/components/{date-picker → DatePicker}/styles.cjs +0 -0
- /package/dist/components/{date-picker → DatePicker}/styles.js +0 -0
- /package/dist/components/{form → Form}/types.cjs +0 -0
- /package/dist/components/{form → Form}/types.js +0 -0
- /package/dist/components/{grid → Grid}/Grid.cjs +0 -0
- /package/dist/components/{icon → Icon}/Icon.cjs +0 -0
- /package/dist/components/{intended-audience-signifier → IntendedAudienceSignifier}/FlagIcons.cjs +0 -0
- /package/dist/components/{intended-audience-signifier → IntendedAudienceSignifier}/FlagIcons.js +0 -0
- /package/dist/components/{intended-audience-signifier → IntendedAudienceSignifier}/styles.cjs +0 -0
- /package/dist/components/{intended-audience-signifier → IntendedAudienceSignifier}/styles.js +0 -0
- /package/dist/components/{link → Link}/styles.cjs +0 -0
- /package/dist/components/{link → Link}/styles.js +0 -0
- /package/dist/components/{radio-group → RadioGroup}/styles.cjs +0 -0
- /package/dist/components/{radio-group → RadioGroup}/styles.js +0 -0
- /package/dist/components/{tag-picker → TagPicker}/Autocomplete.cjs +0 -0
- /package/dist/components/{tag-picker → TagPicker}/Autocomplete.js +0 -0
- /package/dist/components/{tag-picker → TagPicker}/TagAutocomplete.cjs +0 -0
- /package/dist/components/{tag-picker → TagPicker}/TagAutocomplete.js +0 -0
- /package/dist/components/{tag-picker → TagPicker}/TagTable.cjs +0 -0
- /package/dist/components/{tag-picker → TagPicker}/TagTable.js +0 -0
- /package/dist/components/{tag-picker → TagPicker}/styles.cjs +0 -0
- /package/dist/components/{tag-picker → TagPicker}/styles.js +0 -0
- /package/dist/components/{topbar/topBarItem → TopBar/TopBarItem}/TopBarItem.cjs +0 -0
- /package/dist/components/{typography → Typography}/styles.js +0 -0
- /package/dist/components/{user-menu → UserMenu}/PreferenceRadioGroup.cjs +0 -0
- /package/dist/components/{user-menu → UserMenu}/PreferenceRadioGroup.js +0 -0
- /package/dist/components/{TitleText.cjs → UserMenu/TitleText.cjs} +0 -0
- /package/dist/components/{TitleText.js → UserMenu/TitleText.js} +0 -0
- /package/dist/components/{user-menu → UserMenu}/styles.cjs +0 -0
- /package/dist/components/{user-menu → UserMenu}/styles.js +0 -0
- /package/dist/types/{form.d.ts → Form.d.ts} +0 -0
- /package/dist/types/components/{alert-banner → AlertBanner}/AlertBanner.d.ts +0 -0
- /package/dist/types/components/{alert-banner → AlertBanner}/styles.d.ts +0 -0
- /package/dist/types/components/{avatar → Avatar}/Avatar.d.ts +0 -0
- /package/dist/types/components/{avatar → Avatar}/styles.d.ts +0 -0
- /package/dist/types/components/{avatar → Avatar}/types.d.ts +0 -0
- /package/dist/types/components/{avatar-button → AvatarButton}/AvatarButton.d.ts +0 -0
- /package/dist/types/components/{avatar-link → AvatarLink}/AvatarLink.d.ts +0 -0
- /package/dist/types/components/{button → Button}/Button.d.ts +0 -0
- /package/dist/types/components/{button → Button}/styles.d.ts +0 -0
- /package/dist/types/components/{byline → Byline}/Byline.d.ts +0 -0
- /package/dist/types/components/{byline → Byline}/Preview.d.ts +0 -0
- /package/dist/types/components/{byline → Byline}/contributors-fixture.d.ts +0 -0
- /package/dist/types/components/{byline → Byline}/lib.d.ts +0 -0
- /package/dist/types/components/{byline → Byline}/lib.test.d.ts +0 -0
- /package/dist/types/components/{byline → Byline}/placeholder.d.ts +0 -0
- /package/dist/types/components/{byline → Byline}/plugins.d.ts +0 -0
- /package/dist/types/components/{byline → Byline}/schema.d.ts +0 -0
- /package/dist/types/components/{byline → Byline}/styles.d.ts +0 -0
- /package/dist/types/components/{byline → Byline}/theme.d.ts +0 -0
- /package/dist/types/components/{checkbox → Checkbox}/Checkbox.d.ts +0 -0
- /package/dist/types/components/{checkbox → Checkbox}/CheckboxGroup.d.ts +0 -0
- /package/dist/types/components/{checkbox → Checkbox}/styles.d.ts +0 -0
- /package/dist/types/components/{date-picker → DatePicker}/DatePicker.d.ts +0 -0
- /package/dist/types/components/{date-picker → DatePicker}/styles.d.ts +0 -0
- /package/dist/types/components/{favicon → Favicon}/Favicon.d.ts +0 -0
- /package/dist/types/components/{favicon → Favicon}/styles.d.ts +0 -0
- /package/dist/types/components/{form → Form}/Form.d.ts +0 -0
- /package/dist/types/components/{form → Form}/styles.d.ts +0 -0
- /package/dist/types/components/{form → Form}/types.d.ts +0 -0
- /package/dist/types/components/{grid → Grid}/Grid.d.ts +0 -0
- /package/dist/types/components/{grid → Grid}/styles.d.ts +0 -0
- /package/dist/types/components/{grid → Grid}/styles.test.d.ts +0 -0
- /package/dist/types/components/{grid → Grid}/types.d.ts +0 -0
- /package/dist/types/components/{icon → Icon}/Icon.d.ts +0 -0
- /package/dist/types/components/{icon → Icon}/styles.d.ts +0 -0
- /package/dist/types/components/{icon → Icon}/types.d.ts +0 -0
- /package/dist/types/components/{icon-button → IconButton}/IconButton.d.ts +0 -0
- /package/dist/types/components/{icon-link-button → IconLinkButton}/IconLinkButton.d.ts +0 -0
- /package/dist/types/components/{inline-message → InlineMessage}/InlineMessage.d.ts +0 -0
- /package/dist/types/components/{inline-message → InlineMessage}/styles.d.ts +0 -0
- /package/dist/types/components/{intended-audience-signifier → IntendedAudienceSignifier}/FlagIcons.d.ts +0 -0
- /package/dist/types/components/{intended-audience-signifier → IntendedAudienceSignifier}/IntendedAudienceSignifier.d.ts +0 -0
- /package/dist/types/components/{intended-audience-signifier → IntendedAudienceSignifier}/styles.d.ts +0 -0
- /package/dist/types/components/{intended-audience-signifier → IntendedAudienceSignifier}/types.d.ts +0 -0
- /package/dist/types/components/{link → Link}/Link.d.ts +0 -0
- /package/dist/types/components/{link → Link}/styles.d.ts +0 -0
- /package/dist/types/components/{link-button → LinkButton}/LinkButton.d.ts +0 -0
- /package/dist/types/components/{menu → Menu}/Menu.d.ts +0 -0
- /package/dist/types/components/{menu → Menu}/styles.d.ts +0 -0
- /package/dist/types/components/{radio-group → RadioGroup}/RadioGroup.d.ts +0 -0
- /package/dist/types/components/{radio-group → RadioGroup}/styles.d.ts +0 -0
- /package/dist/types/components/{select → Select}/Select.d.ts +0 -0
- /package/dist/types/components/{select → Select}/styles.d.ts +0 -0
- /package/dist/types/components/{tag-picker → TagPicker}/Autocomplete.d.ts +0 -0
- /package/dist/types/components/{tag-picker → TagPicker}/TagAutocomplete.d.ts +0 -0
- /package/dist/types/components/{tag-picker → TagPicker}/TagTable.d.ts +0 -0
- /package/dist/types/components/{tag-picker → TagPicker}/example-tags.d.ts +0 -0
- /package/dist/types/components/{tag-picker → TagPicker}/styles.d.ts +0 -0
- /package/dist/types/components/{tag-picker → TagPicker}/types.d.ts +0 -0
- /package/dist/types/components/{text-area → TextArea}/TextArea.d.ts +0 -0
- /package/dist/types/components/{text-area → TextArea}/styles.d.ts +0 -0
- /package/dist/types/components/{text-input → TextInput}/TextInput.d.ts +0 -0
- /package/dist/types/components/{text-input → TextInput}/styles.d.ts +0 -0
- /package/dist/types/components/{topbar → TopBar}/TopBar.d.ts +0 -0
- /package/dist/types/components/{topbar/topBarItem → TopBar/TopBarItem}/TopBarItem.d.ts +0 -0
- /package/dist/types/components/{topbar/topBarItem → TopBar/TopBarItem}/types.d.ts +0 -0
- /package/dist/types/components/{topbar/topBarNavigation → TopBar/TopBarNavigation}/TopBarNavigation.d.ts +0 -0
- /package/dist/types/components/{topbar/topBarToolName → TopBar/TopBarToolName}/TopBarToolName.d.ts +0 -0
- /package/dist/types/components/{topbar → TopBar}/types.d.ts +0 -0
- /package/dist/types/components/{typography → Typography}/Typography.d.ts +0 -0
- /package/dist/types/components/{typography → Typography}/styles.d.ts +0 -0
- /package/dist/types/components/{typography → Typography}/types.d.ts +0 -0
- /package/dist/types/components/{user-menu → UserMenu}/PreferenceRadioGroup.d.ts +0 -0
- /package/dist/types/components/{TitleText.d.ts → UserMenu/TitleText.d.ts} +0 -0
- /package/dist/types/components/{user-menu → UserMenu}/UserMenu.d.ts +0 -0
- /package/dist/types/components/{user-menu → UserMenu}/default-options.d.ts +0 -0
- /package/dist/types/components/{user-menu → UserMenu}/model.d.ts +0 -0
- /package/dist/types/components/{user-menu → UserMenu}/styles.d.ts +0 -0
- /package/dist/types/components/{user-menu → UserMenu}/theme.d.ts +0 -0
- /package/dist/types/components/{user-menu → UserMenu}/types.d.ts +0 -0
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var react = require('@emotion/react');
|
|
4
|
+
var grid = require('../../styleD/build/typescript/component/grid.cjs');
|
|
5
|
+
var mq = require('../../styleD/utils/semantic/mq.cjs');
|
|
6
|
+
|
|
7
|
+
const defaultGridTheme = grid.componentGrid;
|
|
8
|
+
const isResponsiveGridSize = (size) => typeof size === "object";
|
|
9
|
+
const isResponsiveOffset = (offset) => typeof offset === "object";
|
|
10
|
+
const clampToColumns = (value, columns) => Math.max(0, Math.min(value, columns));
|
|
11
|
+
const numericOffsetMargin = (offset, columns, gap) => `calc(((100% - (${columns} - 1) * ${gap}) * ${offset} / ${columns}) + ${offset} * ${gap})`;
|
|
12
|
+
const numericSizeWidth = (size, columns, gap) => `calc(((100% - (${columns} - 1) * ${gap}) * ${size} / ${columns}) + (${size} - 1) * ${gap})`;
|
|
13
|
+
const fixedSizeStyles = (size, theme, breakpoint) => {
|
|
14
|
+
if (size === "grow") {
|
|
15
|
+
return react.css`
|
|
16
|
+
flex-basis: 0;
|
|
17
|
+
flex-grow: 1;
|
|
18
|
+
max-width: 100%;
|
|
19
|
+
`;
|
|
20
|
+
}
|
|
21
|
+
if (size === "auto") {
|
|
22
|
+
return react.css`
|
|
23
|
+
flex-basis: auto;
|
|
24
|
+
flex-grow: 0;
|
|
25
|
+
flex-shrink: 0;
|
|
26
|
+
width: auto;
|
|
27
|
+
max-width: none;
|
|
28
|
+
`;
|
|
29
|
+
}
|
|
30
|
+
const width = numericSizeWidth(
|
|
31
|
+
clampToColumns(size, theme[breakpoint].columns),
|
|
32
|
+
theme[breakpoint].columns,
|
|
33
|
+
theme[breakpoint].gap
|
|
34
|
+
);
|
|
35
|
+
return react.css`
|
|
36
|
+
flex-grow: 0;
|
|
37
|
+
flex-basis: ${width};
|
|
38
|
+
width: ${width};
|
|
39
|
+
max-width: ${width};
|
|
40
|
+
`;
|
|
41
|
+
};
|
|
42
|
+
const fixedOffsetStyles = (offset, theme, breakpoint) => {
|
|
43
|
+
if (typeof offset === "undefined") {
|
|
44
|
+
return react.css``;
|
|
45
|
+
}
|
|
46
|
+
if (offset === "auto") {
|
|
47
|
+
return react.css`
|
|
48
|
+
margin-left: auto;
|
|
49
|
+
`;
|
|
50
|
+
}
|
|
51
|
+
return react.css`
|
|
52
|
+
margin-left: ${numericOffsetMargin(
|
|
53
|
+
clampToColumns(offset, theme[breakpoint].columns),
|
|
54
|
+
theme[breakpoint].columns,
|
|
55
|
+
theme[breakpoint].gap
|
|
56
|
+
)};
|
|
57
|
+
`;
|
|
58
|
+
};
|
|
59
|
+
const offsetStyles = (offset, theme, breakpoint) => {
|
|
60
|
+
if (!isResponsiveOffset(offset)) {
|
|
61
|
+
return fixedOffsetStyles(offset, theme, breakpoint);
|
|
62
|
+
}
|
|
63
|
+
return fixedOffsetStyles(offset[breakpoint], theme, breakpoint);
|
|
64
|
+
};
|
|
65
|
+
const sizeStyles = (size, theme, breakpoint) => {
|
|
66
|
+
if (typeof size === "undefined") {
|
|
67
|
+
size = theme[breakpoint].columns;
|
|
68
|
+
}
|
|
69
|
+
if (!isResponsiveGridSize(size)) {
|
|
70
|
+
return fixedSizeStyles(size, theme, breakpoint);
|
|
71
|
+
}
|
|
72
|
+
return fixedSizeStyles(
|
|
73
|
+
size[breakpoint] ?? theme[breakpoint].columns,
|
|
74
|
+
theme,
|
|
75
|
+
breakpoint
|
|
76
|
+
);
|
|
77
|
+
};
|
|
78
|
+
const gridStyles = (theme) => {
|
|
79
|
+
return react.css`
|
|
80
|
+
display: ${theme.shared.display};
|
|
81
|
+
width: ${theme.shared.width};
|
|
82
|
+
flex-direction: ${theme.shared.direction};
|
|
83
|
+
flex-wrap: ${theme.shared.wrap};
|
|
84
|
+
justify-content: ${theme.shared.justifyContent};
|
|
85
|
+
align-items: ${theme.shared.alignItems};
|
|
86
|
+
|
|
87
|
+
${mq.from.sm} {
|
|
88
|
+
gap: ${theme.sm.gap};
|
|
89
|
+
padding: 0 ${theme.sm.padding};
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
${mq.from.md} {
|
|
93
|
+
gap: ${theme.md.gap};
|
|
94
|
+
padding: 0 ${theme.md.padding};
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
${mq.from.lg} {
|
|
98
|
+
gap: ${theme.lg.gap};
|
|
99
|
+
padding: 0 ${theme.lg.padding};
|
|
100
|
+
}
|
|
101
|
+
`;
|
|
102
|
+
};
|
|
103
|
+
const itemStyles = (theme, { size, offset }) => {
|
|
104
|
+
return react.css`
|
|
105
|
+
min-width: 0;
|
|
106
|
+
|
|
107
|
+
${mq.from.sm} {
|
|
108
|
+
${sizeStyles(size, theme, "sm")}
|
|
109
|
+
${offsetStyles(offset, theme, "sm")}
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
${mq.from.md} {
|
|
113
|
+
${sizeStyles(size, theme, "md")}
|
|
114
|
+
${offsetStyles(offset, theme, "md")}
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
${mq.from.lg} {
|
|
118
|
+
${sizeStyles(size, theme, "lg")}
|
|
119
|
+
${offsetStyles(offset, theme, "lg")}
|
|
120
|
+
}
|
|
121
|
+
`;
|
|
122
|
+
};
|
|
123
|
+
|
|
124
|
+
exports.defaultGridTheme = defaultGridTheme;
|
|
125
|
+
exports.gridStyles = gridStyles;
|
|
126
|
+
exports.itemStyles = itemStyles;
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
import { css } from '@emotion/react';
|
|
2
|
+
import { componentGrid } from '../../styleD/build/typescript/component/grid.js';
|
|
3
|
+
import { from } from '../../styleD/utils/semantic/mq.js';
|
|
4
|
+
|
|
5
|
+
const defaultGridTheme = componentGrid;
|
|
6
|
+
const isResponsiveGridSize = (size) => typeof size === "object";
|
|
7
|
+
const isResponsiveOffset = (offset) => typeof offset === "object";
|
|
8
|
+
const clampToColumns = (value, columns) => Math.max(0, Math.min(value, columns));
|
|
9
|
+
const numericOffsetMargin = (offset, columns, gap) => `calc(((100% - (${columns} - 1) * ${gap}) * ${offset} / ${columns}) + ${offset} * ${gap})`;
|
|
10
|
+
const numericSizeWidth = (size, columns, gap) => `calc(((100% - (${columns} - 1) * ${gap}) * ${size} / ${columns}) + (${size} - 1) * ${gap})`;
|
|
11
|
+
const fixedSizeStyles = (size, theme, breakpoint) => {
|
|
12
|
+
if (size === "grow") {
|
|
13
|
+
return css`
|
|
14
|
+
flex-basis: 0;
|
|
15
|
+
flex-grow: 1;
|
|
16
|
+
max-width: 100%;
|
|
17
|
+
`;
|
|
18
|
+
}
|
|
19
|
+
if (size === "auto") {
|
|
20
|
+
return css`
|
|
21
|
+
flex-basis: auto;
|
|
22
|
+
flex-grow: 0;
|
|
23
|
+
flex-shrink: 0;
|
|
24
|
+
width: auto;
|
|
25
|
+
max-width: none;
|
|
26
|
+
`;
|
|
27
|
+
}
|
|
28
|
+
const width = numericSizeWidth(clampToColumns(size, theme[breakpoint].columns), theme[breakpoint].columns, theme[breakpoint].gap);
|
|
29
|
+
return css`
|
|
30
|
+
flex-grow: 0;
|
|
31
|
+
flex-basis: ${width};
|
|
32
|
+
width: ${width};
|
|
33
|
+
max-width: ${width};
|
|
34
|
+
`;
|
|
35
|
+
};
|
|
36
|
+
const fixedOffsetStyles = (offset, theme, breakpoint) => {
|
|
37
|
+
if (typeof offset === "undefined") {
|
|
38
|
+
return css``;
|
|
39
|
+
}
|
|
40
|
+
if (offset === "auto") {
|
|
41
|
+
return css`
|
|
42
|
+
margin-left: auto;
|
|
43
|
+
`;
|
|
44
|
+
}
|
|
45
|
+
return css`
|
|
46
|
+
margin-left: ${numericOffsetMargin(clampToColumns(offset, theme[breakpoint].columns), theme[breakpoint].columns, theme[breakpoint].gap)};
|
|
47
|
+
`;
|
|
48
|
+
};
|
|
49
|
+
const offsetStyles = (offset, theme, breakpoint) => {
|
|
50
|
+
if (!isResponsiveOffset(offset)) {
|
|
51
|
+
return fixedOffsetStyles(offset, theme, breakpoint);
|
|
52
|
+
}
|
|
53
|
+
return fixedOffsetStyles(offset[breakpoint], theme, breakpoint);
|
|
54
|
+
};
|
|
55
|
+
const sizeStyles = (size, theme, breakpoint) => {
|
|
56
|
+
if (typeof size === "undefined") {
|
|
57
|
+
size = theme[breakpoint].columns;
|
|
58
|
+
}
|
|
59
|
+
if (!isResponsiveGridSize(size)) {
|
|
60
|
+
return fixedSizeStyles(size, theme, breakpoint);
|
|
61
|
+
}
|
|
62
|
+
return fixedSizeStyles(size[breakpoint] ?? theme[breakpoint].columns, theme, breakpoint);
|
|
63
|
+
};
|
|
64
|
+
const gridStyles = (theme) => {
|
|
65
|
+
return css`
|
|
66
|
+
display: ${theme.shared.display};
|
|
67
|
+
width: ${theme.shared.width};
|
|
68
|
+
flex-direction: ${theme.shared.direction};
|
|
69
|
+
flex-wrap: ${theme.shared.wrap};
|
|
70
|
+
justify-content: ${theme.shared.justifyContent};
|
|
71
|
+
align-items: ${theme.shared.alignItems};
|
|
72
|
+
|
|
73
|
+
${from.sm} {
|
|
74
|
+
gap: ${theme.sm.gap};
|
|
75
|
+
padding: 0 ${theme.sm.padding};
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
${from.md} {
|
|
79
|
+
gap: ${theme.md.gap};
|
|
80
|
+
padding: 0 ${theme.md.padding};
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
${from.lg} {
|
|
84
|
+
gap: ${theme.lg.gap};
|
|
85
|
+
padding: 0 ${theme.lg.padding};
|
|
86
|
+
}
|
|
87
|
+
`;
|
|
88
|
+
};
|
|
89
|
+
const itemStyles = (theme, { size, offset }) => {
|
|
90
|
+
return css`
|
|
91
|
+
min-width: 0;
|
|
92
|
+
|
|
93
|
+
${from.sm} {
|
|
94
|
+
${sizeStyles(size, theme, "sm")}
|
|
95
|
+
${offsetStyles(offset, theme, "sm")}
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
${from.md} {
|
|
99
|
+
${sizeStyles(size, theme, "md")}
|
|
100
|
+
${offsetStyles(offset, theme, "md")}
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
${from.lg} {
|
|
104
|
+
${sizeStyles(size, theme, "lg")}
|
|
105
|
+
${offsetStyles(offset, theme, "lg")}
|
|
106
|
+
}
|
|
107
|
+
`;
|
|
108
|
+
};
|
|
109
|
+
|
|
110
|
+
export { defaultGridTheme, gridStyles, itemStyles };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx } from '@emotion/react/jsx-runtime';
|
|
2
2
|
import { mergeDeep } from '../../util/mergeDeep.js';
|
|
3
|
-
import {
|
|
3
|
+
import { defaultIconTheme, iconStyles } from './styles.js';
|
|
4
4
|
|
|
5
5
|
function Icon({ children, size = "md", fill, alt, symbol, theme = {}, cssOverrides, className }) {
|
|
6
6
|
const mergedTheme = mergeDeep(defaultIconTheme, theme);
|
|
@@ -11,7 +11,7 @@ const iconStyles = (theme, {
|
|
|
11
11
|
}) => react.css`
|
|
12
12
|
display: ${theme.shared.display};
|
|
13
13
|
font-size: ${theme[size].size};
|
|
14
|
-
user-select: ${theme.shared
|
|
14
|
+
user-select: ${theme.shared.userSelect};
|
|
15
15
|
${fill ? `color: ${fill};` : ""}
|
|
16
16
|
|
|
17
17
|
${mode === "svg" ? `
|
|
@@ -5,7 +5,7 @@ const defaultIconTheme = componentIcon;
|
|
|
5
5
|
const iconStyles = (theme, { size, fill, mode }) => css`
|
|
6
6
|
display: ${theme.shared.display};
|
|
7
7
|
font-size: ${theme[size].size};
|
|
8
|
-
user-select: ${theme.shared
|
|
8
|
+
user-select: ${theme.shared.userSelect};
|
|
9
9
|
${fill ? `color: ${fill};` : ""}
|
|
10
10
|
|
|
11
11
|
${mode === "svg" ? `
|
|
@@ -4,7 +4,7 @@ var jsxRuntime = require('@emotion/react/jsx-runtime');
|
|
|
4
4
|
var React = require('react');
|
|
5
5
|
var reactAriaComponents = require('react-aria-components');
|
|
6
6
|
var mergeDeep = require('../../util/mergeDeep.cjs');
|
|
7
|
-
var Icon = require('../
|
|
7
|
+
var Icon = require('../Icon/Icon.cjs');
|
|
8
8
|
var styles = require('./styles.cjs');
|
|
9
9
|
|
|
10
10
|
function IconButton({
|
|
@@ -2,8 +2,8 @@ import { jsx } from '@emotion/react/jsx-runtime';
|
|
|
2
2
|
import { useRef, useEffect } from 'react';
|
|
3
3
|
import { Button, composeRenderProps } from 'react-aria-components';
|
|
4
4
|
import { mergeDeep } from '../../util/mergeDeep.js';
|
|
5
|
-
import { Icon } from '../
|
|
6
|
-
import {
|
|
5
|
+
import { Icon } from '../Icon/Icon.js';
|
|
6
|
+
import { defaultIconButtonTheme, iconButtonStyles } from './styles.js';
|
|
7
7
|
|
|
8
8
|
function IconButton({ variant = "primary", size = "md", symbol, ariaLabel, theme = {}, cssOverrides, ...props }) {
|
|
9
9
|
const mergedTheme = mergeDeep(defaultIconButtonTheme, theme);
|
|
@@ -4,7 +4,7 @@ var jsxRuntime = require('@emotion/react/jsx-runtime');
|
|
|
4
4
|
var React = require('react');
|
|
5
5
|
var reactAriaComponents = require('react-aria-components');
|
|
6
6
|
var mergeDeep = require('../../util/mergeDeep.cjs');
|
|
7
|
-
var Icon = require('../
|
|
7
|
+
var Icon = require('../Icon/Icon.cjs');
|
|
8
8
|
var styles = require('./styles.cjs');
|
|
9
9
|
|
|
10
10
|
function IconLinkButton({
|
|
@@ -2,8 +2,8 @@ import { jsx } from '@emotion/react/jsx-runtime';
|
|
|
2
2
|
import { useRef, useEffect } from 'react';
|
|
3
3
|
import { Link, composeRenderProps } from 'react-aria-components';
|
|
4
4
|
import { mergeDeep } from '../../util/mergeDeep.js';
|
|
5
|
-
import { Icon } from '../
|
|
6
|
-
import {
|
|
5
|
+
import { Icon } from '../Icon/Icon.js';
|
|
6
|
+
import { defaultIconLinkButtonTheme, iconLinkButtonStyles } from './styles.js';
|
|
7
7
|
|
|
8
8
|
function IconLinkButton({ variant = "primary", size = "md", symbol, ariaLabel, theme = {}, cssOverrides, ...props }) {
|
|
9
9
|
const mergedTheme = mergeDeep(defaultIconLinkButtonTheme, theme);
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
var jsxRuntime = require('@emotion/react/jsx-runtime');
|
|
4
4
|
var React = require('react');
|
|
5
5
|
var mergeDeep = require('../../util/mergeDeep.cjs');
|
|
6
|
-
var Icon = require('../
|
|
7
|
-
var Typography = require('../
|
|
6
|
+
var Icon = require('../Icon/Icon.cjs');
|
|
7
|
+
var Typography = require('../Typography/Typography.cjs');
|
|
8
8
|
var styles = require('./styles.cjs');
|
|
9
9
|
|
|
10
10
|
function InlineMessage({
|
|
@@ -51,7 +51,7 @@ function InlineMessage({
|
|
|
51
51
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
52
52
|
Typography.Typography,
|
|
53
53
|
{
|
|
54
|
-
variant: "
|
|
54
|
+
variant: "helpTextFormMd",
|
|
55
55
|
theme: { color: mergedTheme[level].color },
|
|
56
56
|
children
|
|
57
57
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsxs, jsx } from '@emotion/react/jsx-runtime';
|
|
2
2
|
import { useMemo } from 'react';
|
|
3
3
|
import { mergeDeep } from '../../util/mergeDeep.js';
|
|
4
|
-
import { Icon } from '../
|
|
5
|
-
import { Typography } from '../
|
|
6
|
-
import { inlineMessageIconStyles, inlineMessageStyles
|
|
4
|
+
import { Icon } from '../Icon/Icon.js';
|
|
5
|
+
import { Typography } from '../Typography/Typography.js';
|
|
6
|
+
import { defaultInlineMessageTheme, inlineMessageIconStyles, inlineMessageStyles } from './styles.js';
|
|
7
7
|
|
|
8
8
|
function InlineMessage({ children, level, hideIcon = false, icon, theme = {}, cssOverrides, className, ...props }) {
|
|
9
9
|
const mergedTheme = mergeDeep(defaultInlineMessageTheme, theme);
|
|
@@ -21,7 +21,7 @@ function InlineMessage({ children, level, hideIcon = false, icon, theme = {}, cs
|
|
|
21
21
|
return "info";
|
|
22
22
|
}
|
|
23
23
|
}, [icon, level]);
|
|
24
|
-
return jsxs("div", { css: [inlineMessageStyles(mergedTheme, { level }), cssOverrides], className, ...props, children: [!hideIcon && jsx(Icon, { fill: mergedTheme[level].color, cssOverrides: inlineMessageIconStyles(mergedTheme), size: "md", children: determinedIcon }), jsx(Typography, { variant: "
|
|
24
|
+
return jsxs("div", { css: [inlineMessageStyles(mergedTheme, { level }), cssOverrides], className, ...props, children: [!hideIcon && jsx(Icon, { fill: mergedTheme[level].color, cssOverrides: inlineMessageIconStyles(mergedTheme), size: "md", children: determinedIcon }), jsx(Typography, { variant: "helpTextFormMd", theme: { color: mergedTheme[level].color }, children })] });
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
export { InlineMessage };
|
|
@@ -7,14 +7,14 @@ const defaultInlineMessageTheme = inlineMessage.componentInlineMessage;
|
|
|
7
7
|
const inlineMessageStyles = (theme, { level }) => {
|
|
8
8
|
return react.css`
|
|
9
9
|
display: ${theme.shared.display};
|
|
10
|
-
align-items: ${theme.shared
|
|
10
|
+
align-items: ${theme.shared.alignItems};
|
|
11
11
|
gap: ${theme.shared.gap};
|
|
12
12
|
color: ${theme[level].color};
|
|
13
13
|
`;
|
|
14
14
|
};
|
|
15
15
|
const inlineMessageIconStyles = (theme) => {
|
|
16
16
|
return react.css`
|
|
17
|
-
align-self: ${theme.shared.icon
|
|
17
|
+
align-self: ${theme.shared.icon.alignSelf};
|
|
18
18
|
`;
|
|
19
19
|
};
|
|
20
20
|
|
|
@@ -5,14 +5,14 @@ const defaultInlineMessageTheme = componentInlineMessage;
|
|
|
5
5
|
const inlineMessageStyles = (theme, { level }) => {
|
|
6
6
|
return css`
|
|
7
7
|
display: ${theme.shared.display};
|
|
8
|
-
align-items: ${theme.shared
|
|
8
|
+
align-items: ${theme.shared.alignItems};
|
|
9
9
|
gap: ${theme.shared.gap};
|
|
10
10
|
color: ${theme[level].color};
|
|
11
11
|
`;
|
|
12
12
|
};
|
|
13
13
|
const inlineMessageIconStyles = (theme) => {
|
|
14
14
|
return css`
|
|
15
|
-
align-self: ${theme.shared.icon
|
|
15
|
+
align-self: ${theme.shared.icon.alignSelf};
|
|
16
16
|
`;
|
|
17
17
|
};
|
|
18
18
|
|
|
@@ -11,21 +11,50 @@ const sourceIcons = {
|
|
|
11
11
|
AUS: FlagIcons.auFlag,
|
|
12
12
|
Global: FlagIcons.globeIcon
|
|
13
13
|
};
|
|
14
|
-
const getSourceIconElement = (
|
|
14
|
+
const getSourceIconElement = (source, audience) => {
|
|
15
15
|
if (audience === "Global") {
|
|
16
16
|
return FlagIcons.globeIcon;
|
|
17
17
|
}
|
|
18
|
-
return sourceIcons[
|
|
18
|
+
return sourceIcons[source];
|
|
19
19
|
};
|
|
20
|
-
const getIntendedAudienceIconElement = (
|
|
20
|
+
const getIntendedAudienceIconElement = (source, audience) => {
|
|
21
21
|
if (audience === "Domestic for Domestic") {
|
|
22
|
-
return getSourceIconElement(
|
|
22
|
+
return getSourceIconElement(source, audience);
|
|
23
23
|
}
|
|
24
24
|
if (audience === "Global" || audience === "Domestic For Global") {
|
|
25
25
|
return FlagIcons.globeIcon;
|
|
26
26
|
}
|
|
27
27
|
return sourceIcons[audience];
|
|
28
28
|
};
|
|
29
|
+
const getSourceDescription = (source, audience) => {
|
|
30
|
+
switch (audience) {
|
|
31
|
+
case "Global":
|
|
32
|
+
return "Global";
|
|
33
|
+
case "Domestic For Global":
|
|
34
|
+
case "Domestic for Domestic":
|
|
35
|
+
case "UK":
|
|
36
|
+
case "US":
|
|
37
|
+
case "AUS":
|
|
38
|
+
return source;
|
|
39
|
+
}
|
|
40
|
+
};
|
|
41
|
+
const getAudienceDescription = (source, audience) => {
|
|
42
|
+
switch (audience) {
|
|
43
|
+
case "Global":
|
|
44
|
+
case "Domestic For Global":
|
|
45
|
+
return "Global";
|
|
46
|
+
case "Domestic for Domestic":
|
|
47
|
+
return "Domestic";
|
|
48
|
+
case "UK":
|
|
49
|
+
case "US":
|
|
50
|
+
case "AUS":
|
|
51
|
+
return audience === source ? "Domestic" : audience;
|
|
52
|
+
}
|
|
53
|
+
};
|
|
54
|
+
const getSignifierDescription = (source, audience) => {
|
|
55
|
+
return `${getSourceDescription(source, audience)} article for ${getAudienceDescription(source, audience)} audience`;
|
|
56
|
+
};
|
|
57
|
+
const AUDIENCE_NOT_KNOWN_DESCRIPTION = "Intended audience unknown";
|
|
29
58
|
function IntendedAudienceSignifier({
|
|
30
59
|
source,
|
|
31
60
|
intendedAudience,
|
|
@@ -42,18 +71,21 @@ function IntendedAudienceSignifier({
|
|
|
42
71
|
...props,
|
|
43
72
|
className,
|
|
44
73
|
css: [styles.intendedAudienceSignifierStyles(mergedTheme), cssOverrides],
|
|
74
|
+
"aria-label": AUDIENCE_NOT_KNOWN_DESCRIPTION,
|
|
45
75
|
children: /* @__PURE__ */ jsxRuntime.jsx("span", { children: "Don\u2018t know" })
|
|
46
76
|
}
|
|
47
77
|
);
|
|
48
78
|
}
|
|
49
79
|
const iconStyles = styles.intendedAudienceSignifierIconStyles(mergedTheme);
|
|
50
80
|
const chevronIconStyles = styles.intendedAudienceSignifierChevronIconStyles(mergedTheme);
|
|
81
|
+
const description = getSignifierDescription(source, intendedAudience);
|
|
51
82
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
52
83
|
"div",
|
|
53
84
|
{
|
|
54
85
|
...props,
|
|
55
86
|
className,
|
|
56
87
|
css: [styles.intendedAudienceSignifierStyles(mergedTheme), cssOverrides],
|
|
88
|
+
"aria-label": description,
|
|
57
89
|
children: [
|
|
58
90
|
/* @__PURE__ */ jsxRuntime.jsx("div", { css: iconStyles, children: getSourceIconElement(source, intendedAudience) }),
|
|
59
91
|
/* @__PURE__ */ jsxRuntime.jsx("div", { css: chevronIconStyles, children: FlagIcons.DoubleChevronRightSvg }),
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { jsx, jsxs } from '@emotion/react/jsx-runtime';
|
|
2
|
+
import { mergeDeep } from '../../util/mergeDeep.js';
|
|
3
|
+
import { DoubleChevronRightSvg, globeIcon, auFlag, usFlag, ukFlag } from './FlagIcons.js';
|
|
4
|
+
import { defaultIntendedAudienceSignifierTheme, intendedAudienceSignifierStyles, intendedAudienceSignifierIconStyles, intendedAudienceSignifierChevronIconStyles } from './styles.js';
|
|
5
|
+
|
|
6
|
+
const sourceIcons = {
|
|
7
|
+
UK: ukFlag,
|
|
8
|
+
US: usFlag,
|
|
9
|
+
AUS: auFlag,
|
|
10
|
+
Global: globeIcon
|
|
11
|
+
};
|
|
12
|
+
const getSourceIconElement = (source, audience) => {
|
|
13
|
+
if (audience === "Global") {
|
|
14
|
+
return globeIcon;
|
|
15
|
+
}
|
|
16
|
+
return sourceIcons[source];
|
|
17
|
+
};
|
|
18
|
+
const getIntendedAudienceIconElement = (source, audience) => {
|
|
19
|
+
if (audience === "Domestic for Domestic") {
|
|
20
|
+
return getSourceIconElement(source, audience);
|
|
21
|
+
}
|
|
22
|
+
if (audience === "Global" || audience === "Domestic For Global") {
|
|
23
|
+
return globeIcon;
|
|
24
|
+
}
|
|
25
|
+
return sourceIcons[audience];
|
|
26
|
+
};
|
|
27
|
+
const getSourceDescription = (source, audience) => {
|
|
28
|
+
switch (audience) {
|
|
29
|
+
case "Global":
|
|
30
|
+
return "Global";
|
|
31
|
+
case "Domestic For Global":
|
|
32
|
+
case "Domestic for Domestic":
|
|
33
|
+
case "UK":
|
|
34
|
+
case "US":
|
|
35
|
+
case "AUS":
|
|
36
|
+
return source;
|
|
37
|
+
}
|
|
38
|
+
};
|
|
39
|
+
const getAudienceDescription = (source, audience) => {
|
|
40
|
+
switch (audience) {
|
|
41
|
+
case "Global":
|
|
42
|
+
case "Domestic For Global":
|
|
43
|
+
return "Global";
|
|
44
|
+
case "Domestic for Domestic":
|
|
45
|
+
return "Domestic";
|
|
46
|
+
case "UK":
|
|
47
|
+
case "US":
|
|
48
|
+
case "AUS":
|
|
49
|
+
return audience === source ? "Domestic" : audience;
|
|
50
|
+
}
|
|
51
|
+
};
|
|
52
|
+
const getSignifierDescription = (source, audience) => {
|
|
53
|
+
return `${getSourceDescription(source, audience)} article for ${getAudienceDescription(source, audience)} audience`;
|
|
54
|
+
};
|
|
55
|
+
const AUDIENCE_NOT_KNOWN_DESCRIPTION = "Intended audience unknown";
|
|
56
|
+
function IntendedAudienceSignifier({ source, intendedAudience, theme = {}, cssOverrides, className, ...props }) {
|
|
57
|
+
const mergedTheme = mergeDeep(defaultIntendedAudienceSignifierTheme, theme);
|
|
58
|
+
if (intendedAudience === "Don't know") {
|
|
59
|
+
return jsx("div", { ...props, className, css: [intendedAudienceSignifierStyles(mergedTheme), cssOverrides], "aria-label": AUDIENCE_NOT_KNOWN_DESCRIPTION, children: jsx("span", { children: "Don\u2018t know" }) });
|
|
60
|
+
}
|
|
61
|
+
const iconStyles = intendedAudienceSignifierIconStyles(mergedTheme);
|
|
62
|
+
const chevronIconStyles = intendedAudienceSignifierChevronIconStyles(mergedTheme);
|
|
63
|
+
const description = getSignifierDescription(source, intendedAudience);
|
|
64
|
+
return jsxs("div", { ...props, className, css: [intendedAudienceSignifierStyles(mergedTheme), cssOverrides], "aria-label": description, children: [jsx("div", { css: iconStyles, children: getSourceIconElement(source, intendedAudience) }), jsx("div", { css: chevronIconStyles, children: DoubleChevronRightSvg }), jsx("div", { css: iconStyles, children: getIntendedAudienceIconElement(source, intendedAudience) })] });
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export { IntendedAudienceSignifier };
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var jsxRuntime = require('@emotion/react/jsx-runtime');
|
|
4
|
+
var mergeDeep = require('../../util/mergeDeep.cjs');
|
|
5
|
+
var styles = require('./styles.cjs');
|
|
6
|
+
|
|
7
|
+
const LayoutAlertBanner = ({
|
|
8
|
+
as: Component = "aside",
|
|
9
|
+
children,
|
|
10
|
+
cssOverrides,
|
|
11
|
+
...props
|
|
12
|
+
}) => {
|
|
13
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Component, { css: [styles.alertBannerLayoutStyles(), cssOverrides], ...props, children });
|
|
14
|
+
};
|
|
15
|
+
const LayoutTopBar = ({
|
|
16
|
+
as: Component = "nav",
|
|
17
|
+
children,
|
|
18
|
+
cssOverrides,
|
|
19
|
+
...props
|
|
20
|
+
}) => {
|
|
21
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Component, { css: [styles.topBarLayoutStyles(), cssOverrides], ...props, children });
|
|
22
|
+
};
|
|
23
|
+
function LayoutSidebar({
|
|
24
|
+
as: Component = "aside",
|
|
25
|
+
children,
|
|
26
|
+
layoutSmBreakpoint = "hidden",
|
|
27
|
+
theme = {},
|
|
28
|
+
cssOverrides,
|
|
29
|
+
...props
|
|
30
|
+
}) {
|
|
31
|
+
const mergedTheme = mergeDeep.mergeDeep(styles.defaultSidebarTheme, theme);
|
|
32
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
33
|
+
Component,
|
|
34
|
+
{
|
|
35
|
+
css: [
|
|
36
|
+
styles.sidebarLayoutStyles(),
|
|
37
|
+
styles.sidebarStyles(mergedTheme, { layoutSmBreakpoint }),
|
|
38
|
+
cssOverrides
|
|
39
|
+
],
|
|
40
|
+
...props,
|
|
41
|
+
children
|
|
42
|
+
}
|
|
43
|
+
);
|
|
44
|
+
}
|
|
45
|
+
function LayoutMain({
|
|
46
|
+
as: Component = "main",
|
|
47
|
+
children,
|
|
48
|
+
fluid = true,
|
|
49
|
+
theme = {},
|
|
50
|
+
cssOverrides,
|
|
51
|
+
...props
|
|
52
|
+
}) {
|
|
53
|
+
const mergedTheme = mergeDeep.mergeDeep(styles.defaultMainTheme, theme);
|
|
54
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
55
|
+
Component,
|
|
56
|
+
{
|
|
57
|
+
css: [styles.mainLayoutStyles(mergedTheme, { fluid }), cssOverrides],
|
|
58
|
+
...props,
|
|
59
|
+
children
|
|
60
|
+
}
|
|
61
|
+
);
|
|
62
|
+
}
|
|
63
|
+
function LayoutRoot({
|
|
64
|
+
children,
|
|
65
|
+
theme = {},
|
|
66
|
+
cssOverrides,
|
|
67
|
+
...props
|
|
68
|
+
}) {
|
|
69
|
+
const mergedTheme = mergeDeep.mergeDeep(styles.defaultLayoutTheme, theme);
|
|
70
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { css: [styles.layoutStyles(mergedTheme), cssOverrides], ...props, children });
|
|
71
|
+
}
|
|
72
|
+
const Layout = Object.assign(LayoutRoot, {
|
|
73
|
+
AlertBanner: LayoutAlertBanner,
|
|
74
|
+
TopBar: LayoutTopBar,
|
|
75
|
+
Sidebar: LayoutSidebar,
|
|
76
|
+
Main: LayoutMain
|
|
77
|
+
});
|
|
78
|
+
|
|
79
|
+
exports.Layout = Layout;
|