@carbon/vue 2.45.0 → 3.0.4-alpha.0
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/README.md +34 -264
- package/dist/carbon-vue-3.common.js +27392 -0
- package/dist/carbon-vue-3.common.js.map +1 -0
- package/dist/carbon-vue-3.umd.js +27403 -0
- package/dist/carbon-vue-3.umd.js.map +1 -0
- package/dist/carbon-vue-3.umd.min.js +17 -0
- package/dist/carbon-vue-3.umd.min.js.map +1 -0
- package/dist/demo.html +1 -34
- package/package.json +185 -62
- package/src/components/CvAccordion/CvAccordion.stories.js +54 -0
- package/src/components/CvAccordion/CvAccordion.vue +95 -0
- package/src/components/CvAccordion/CvAccordionItem.vue +101 -0
- package/src/components/{cv-accordion/cv-accordion-skeleton.vue → CvAccordion/CvAccordionSkeleton.vue} +14 -18
- package/src/components/CvAccordion/_CvAccordionItemSkeleton.vue +30 -0
- package/src/components/CvAccordion/consts.js +17 -0
- package/src/components/CvAccordion/index.js +6 -0
- package/src/components/CvAspectRatio/CvAspectRatio.stories.js +56 -0
- package/src/components/CvAspectRatio/CvAspectRatio.stories.scss +4 -0
- package/src/components/CvAspectRatio/CvAspectRatio.vue +33 -0
- package/src/components/CvAspectRatio/consts.js +2 -0
- package/src/components/CvAspectRatio/index.js +4 -0
- package/src/components/CvBreadcrumb/CvBreadcrumb.stories.js +75 -0
- package/src/components/CvBreadcrumb/CvBreadcrumb.vue +37 -0
- package/src/components/CvBreadcrumb/CvBreadcrumbItem.vue +28 -0
- package/src/components/CvBreadcrumb/CvBreadcrumbSkeleton.vue +29 -0
- package/src/components/CvBreadcrumb/CvBreadcrumbSkeletonItem.vue +14 -0
- package/src/components/CvBreadcrumb/index.js +11 -0
- package/src/components/CvButton/CvButton.stories.js +119 -0
- package/src/components/CvButton/CvButton.vue +68 -0
- package/src/components/CvButton/CvButtonCommon.js +75 -0
- package/src/components/CvButton/CvButtonSet.stories.js +36 -0
- package/src/components/CvButton/CvButtonSet.vue +30 -0
- package/src/components/CvButton/CvIconButton.stories.js +139 -0
- package/src/components/CvButton/CvIconButton.vue +88 -0
- package/src/components/CvButton/index.js +7 -0
- package/src/components/CvButton/sbBtnPrefix.js +2 -0
- package/src/components/CvCheckbox/CvCheckbox.stories.js +111 -0
- package/src/components/CvCheckbox/CvCheckbox.vue +73 -0
- package/src/components/CvCheckbox/index.js +3 -0
- package/src/components/CvCodeSnippet/CvCodeSnippet.stories.js +181 -0
- package/src/components/CvCodeSnippet/CvCodeSnippet.stories.scss +4 -0
- package/src/components/CvCodeSnippet/CvCodeSnippet.vue +125 -0
- package/src/components/CvCodeSnippet/CvCodeSnippetSkeleton.vue +43 -0
- package/src/components/CvCodeSnippet/_CviCodeSnippetInline.vue +72 -0
- package/src/components/CvCodeSnippet/_CviCodeSnippetMultiline.vue +199 -0
- package/src/components/CvCodeSnippet/_CviCodeSnippetOneline.vue +106 -0
- package/src/components/CvCodeSnippet/consts.js +2 -0
- package/src/components/CvCodeSnippet/index.js +4 -0
- package/src/components/CvComboBox/CvComboBox.stories.js +174 -0
- package/src/components/CvComboBox/CvComboBox.vue +460 -0
- package/src/components/CvComboBox/index.js +3 -0
- package/src/components/CvContentSwitcher/CvContentSwitcher.stories.mdx +196 -0
- package/src/components/CvContentSwitcher/CvContentSwitcher.vue +64 -0
- package/src/components/CvContentSwitcher/CvContentSwitcherButton.vue +117 -0
- package/src/components/CvContentSwitcher/CvContentSwitcherContent.vue +21 -0
- package/src/components/CvContentSwitcher/cvContentSwitcherStore.js +30 -0
- package/src/components/CvContentSwitcher/index.js +3 -0
- package/src/components/CvCopyButton/CvCopyButton.stories.js +28 -0
- package/src/components/CvCopyButton/CvCopyButton.vue +45 -0
- package/src/components/CvCopyButton/_CviCopyButton.vue +71 -0
- package/src/components/CvCopyButton/index.js +3 -0
- package/src/components/CvDataTable/CvDataTable.stories.mdx +304 -0
- package/src/components/CvDataTable/CvDataTable.vue +648 -0
- package/src/components/CvDataTable/CvDataTableAction.vue +22 -0
- package/src/components/CvDataTable/CvDataTableCell.vue +11 -0
- package/src/components/CvDataTable/CvDataTableHeading.vue +143 -0
- package/src/components/CvDataTable/CvDataTableRow.vue +139 -0
- package/src/components/CvDataTable/CvDataTableSkeleton.vue +48 -0
- package/src/components/CvDataTable/_CvDataTableRowInner.vue +169 -0
- package/src/components/CvDataTable/cvDataTableStore.js +340 -0
- package/src/components/CvDataTable/index.js +3 -0
- package/src/components/CvEmpty/_CvEmpty.vue +22 -0
- package/src/components/CvGrid/CvColumn.vue +85 -0
- package/src/components/CvGrid/CvGrid.vue +42 -0
- package/src/components/{cv-grid/cv-row.vue → CvGrid/CvRow.vue} +8 -12
- package/src/components/CvGrid/GvGrid.stories.mdx +217 -0
- package/src/components/CvGrid/_SbContainer.vue +22 -0
- package/src/components/CvGrid/_cvColumnValidation.js +48 -0
- package/src/components/CvLink/CvLink.stories.js +169 -0
- package/src/components/CvLink/CvLink.vue +38 -0
- package/src/components/CvLink/index.js +4 -0
- package/src/components/CvList/CvList.stories.js +88 -0
- package/src/components/CvList/CvList.vue +50 -0
- package/src/components/CvList/CvListItem.vue +12 -0
- package/src/components/CvList/index.js +4 -0
- package/src/components/CvLoading/CvLoading.stories.js +78 -0
- package/src/components/CvLoading/CvLoading.stories.scss +4 -0
- package/src/components/CvLoading/CvLoading.vue +106 -0
- package/src/components/CvLoading/index.js +4 -0
- package/src/components/CvNotification/CvInlineNotification.stories.js +109 -0
- package/src/components/CvNotification/CvInlineNotification.vue +102 -0
- package/src/components/CvNotification/CvToastNotification.stories.js +108 -0
- package/src/components/CvNotification/CvToastNotification.vue +88 -0
- package/src/components/CvNotification/consts.js +31 -0
- package/src/components/CvNotification/index.js +5 -0
- package/src/components/CvOverflowMenu/CvOverflowMenu.stories.mdx +119 -0
- package/src/components/CvOverflowMenu/CvOverflowMenu.vue +283 -0
- package/src/components/{cv-overflow-menu/cv-overflow-menu-item.vue → CvOverflowMenu/CvOverflowMenuItem.vue} +26 -20
- package/src/components/CvOverflowMenu/index.js +3 -0
- package/src/components/CvPagination/CvPagination.stories.mdx +160 -0
- package/src/components/CvPagination/CvPagination.vue +246 -0
- package/src/components/CvPagination/index.js +3 -0
- package/src/components/CvSelect/CvSelect.stories.mdx +227 -0
- package/src/components/CvSelect/CvSelect.vue +224 -0
- package/src/components/CvSelect/CvSelectOptgroup.vue +9 -0
- package/src/components/CvSelect/CvSelectOption.vue +22 -0
- package/src/components/CvSelect/index.js +3 -0
- package/src/components/CvSkeletonText/CvSkeletonText.stories.js +56 -0
- package/src/components/CvSkeletonText/CvSkeletonText.vue +63 -0
- package/src/components/CvSkeletonText/index.js +3 -0
- package/src/components/CvSvg/_CvSvg.vue +48 -0
- package/src/components/CvSvg/__tests__/_TestIcon.vue +19 -0
- package/src/components/CvSvg/__tests__/test-svg.svg +5 -0
- package/src/components/CvTag/CvTag.stories.js +64 -0
- package/src/components/CvTag/CvTag.vue +105 -0
- package/src/components/CvTag/consts.js +15 -0
- package/src/components/CvTag/index.js +5 -0
- package/src/components/CvUIShell/CvHeader.vue +203 -0
- package/src/components/CvUIShell/CvHeaderGlobalAction.vue +105 -0
- package/src/components/{cv-ui-shell/cv-header-menu.vue → CvUIShell/CvHeaderMenu.vue} +41 -37
- package/src/components/CvUIShell/CvHeaderMenuButton.vue +103 -0
- package/src/components/CvUIShell/CvHeaderMenuItem.vue +38 -0
- package/src/components/CvUIShell/CvHeaderName.vue +25 -0
- package/src/components/CvUIShell/CvHeaderNav.vue +18 -0
- package/src/components/CvUIShell/CvHeaderPanel.vue +106 -0
- package/src/components/CvUIShell/CvSideNav.vue +131 -0
- package/src/components/CvUIShell/CvSideNavIcon.vue +17 -0
- package/src/components/CvUIShell/CvSideNavItems.vue +22 -0
- package/src/components/CvUIShell/CvSideNavLink.vue +47 -0
- package/src/components/CvUIShell/CvSideNavMenu.vue +85 -0
- package/src/components/CvUIShell/CvSideNavMenuDivider.vue +7 -0
- package/src/components/CvUIShell/CvSideNavMenuItem.vue +31 -0
- package/src/components/CvUIShell/CvSkipToContent.vue +20 -0
- package/src/components/CvUIShell/CvSwitcher.vue +9 -0
- package/src/components/CvUIShell/CvSwitcherItem.vue +9 -0
- package/src/components/CvUIShell/CvSwitcherItemLink.vue +26 -0
- package/src/components/CvUIShell/CvUIShell.stories.mdx +454 -0
- package/src/components/{cv-ui-shell/_cv-side-nav-footer.vue → CvUIShell/_CvSideNavFooter.vue} +11 -15
- package/src/components/CvUIShell/_CvSideNavLinkText.vue +9 -0
- package/src/components/CvWrapper/CvWrapper.js +23 -0
- package/src/global/component-utils/event-bus.js +23 -0
- package/src/global/component-utils/validators.js +14 -0
- package/src/global/settings.js +5 -0
- package/src/global/storybook-utils/__tests__/story-source-code.js +162 -0
- package/src/global/storybook-utils/controls-from-props.js +72 -0
- package/src/global/storybook-utils/index.js +5 -0
- package/src/global/storybook-utils/sbCompPrefix.js +1 -0
- package/src/global/storybook-utils/split-slot-args.js +14 -0
- package/src/global/storybook-utils/story-source-code.js +52 -0
- package/src/index.js +13 -83
- package/src/use/components.js +24 -0
- package/src/use/cvCheck.js +94 -0
- package/src/use/cvId.js +57 -0
- package/src/use/cvLink.js +42 -0
- package/src/use/cvTheme.js +30 -0
- package/src/use/index.js +1 -0
- package/src/use/overflow.js +37 -0
- package/dist/carbon-vue.common.js +0 -23411
- package/dist/carbon-vue.common.js.map +0 -1
- package/dist/carbon-vue.umd.js +0 -23421
- package/dist/carbon-vue.umd.js.map +0 -1
- package/dist/carbon-vue.umd.min.js +0 -30
- package/dist/carbon-vue.umd.min.js.map +0 -1
- package/src/assets/images/component-icons.svg +0 -57
- package/src/assets/images/example-icon-svg.js +0 -10
- package/src/assets/images/example-icon.svg +0 -6
- package/src/assets/images/example-icons.svg +0 -6
- package/src/carbon.yml +0 -442
- package/src/components/cv-accordion/_cv-accordion-item-skeleton.vue +0 -29
- package/src/components/cv-accordion/cv-accordion-item.vue +0 -87
- package/src/components/cv-accordion/cv-accordion.vue +0 -59
- package/src/components/cv-accordion/index.js +0 -5
- package/src/components/cv-aspect-ratio/cv-aspect-ratio.vue +0 -28
- package/src/components/cv-aspect-ratio/index.js +0 -2
- package/src/components/cv-breadcrumb/_cv-breadcrumb-item-skeleton.vue +0 -13
- package/src/components/cv-breadcrumb/cv-breadcrumb-item.vue +0 -28
- package/src/components/cv-breadcrumb/cv-breadcrumb-skeleton.vue +0 -30
- package/src/components/cv-breadcrumb/cv-breadcrumb.vue +0 -21
- package/src/components/cv-breadcrumb/index.js +0 -5
- package/src/components/cv-button/button-mixin.js +0 -91
- package/src/components/cv-button/cv-button-set.vue +0 -17
- package/src/components/cv-button/cv-button-skeleton.vue +0 -12
- package/src/components/cv-button/cv-button.vue +0 -19
- package/src/components/cv-button/cv-icon-button.vue +0 -42
- package/src/components/cv-button/index.js +0 -6
- package/src/components/cv-checkbox/cv-checkbox-skeleton.vue +0 -15
- package/src/components/cv-checkbox/cv-checkbox.vue +0 -70
- package/src/components/cv-checkbox/index.js +0 -3
- package/src/components/cv-code-snippet/_cv-code-snippet-inline.vue +0 -39
- package/src/components/cv-code-snippet/_cv-code-snippet-multiline.vue +0 -79
- package/src/components/cv-code-snippet/_cv-code-snippet-oneline.vue +0 -47
- package/src/components/cv-code-snippet/cv-code-snippet-skeleton.vue +0 -30
- package/src/components/cv-code-snippet/cv-code-snippet.vue +0 -83
- package/src/components/cv-code-snippet/index.js +0 -3
- package/src/components/cv-combo-box/cv-combo-box.vue +0 -386
- package/src/components/cv-combo-box/index.js +0 -3
- package/src/components/cv-content-switcher/cv-content-switcher-button.vue +0 -104
- package/src/components/cv-content-switcher/cv-content-switcher-content.vue +0 -26
- package/src/components/cv-content-switcher/cv-content-switcher-store.js +0 -22
- package/src/components/cv-content-switcher/cv-content-switcher.vue +0 -117
- package/src/components/cv-content-switcher/index.js +0 -4
- package/src/components/cv-data-table/_cv-data-table-row-inner.vue +0 -139
- package/src/components/cv-data-table/cv-data-table-action.vue +0 -25
- package/src/components/cv-data-table/cv-data-table-cell.vue +0 -14
- package/src/components/cv-data-table/cv-data-table-heading.vue +0 -109
- package/src/components/cv-data-table/cv-data-table-row.vue +0 -113
- package/src/components/cv-data-table/cv-data-table-skeleton.vue +0 -64
- package/src/components/cv-data-table/cv-data-table.vue +0 -525
- package/src/components/cv-data-table/index.js +0 -8
- package/src/components/cv-date-picker/cv-date-picker.vue +0 -362
- package/src/components/cv-date-picker/index.js +0 -3
- package/src/components/cv-date-picker/plugins/appendToPlugin.js +0 -52
- package/src/components/cv-date-picker/plugins/fixEventsPlugin.js +0 -75
- package/src/components/cv-date-picker/plugins/monthSelectPlugin.js +0 -66
- package/src/components/cv-date-picker/plugins/rangePlugin.js +0 -45
- package/src/components/cv-dropdown/cv-dropdown-item.vue +0 -84
- package/src/components/cv-dropdown/cv-dropdown-skeleton.vue +0 -20
- package/src/components/cv-dropdown/cv-dropdown.vue +0 -373
- package/src/components/cv-dropdown/index.js +0 -5
- package/src/components/cv-feedback-button/_cv-feedback-button.vue +0 -74
- package/src/components/cv-file-uploader/consts.js +0 -12
- package/src/components/cv-file-uploader/cv-file-uploader-skeleton.vue +0 -22
- package/src/components/cv-file-uploader/cv-file-uploader.vue +0 -348
- package/src/components/cv-file-uploader/index.js +0 -5
- package/src/components/cv-form/cv-form-group.vue +0 -32
- package/src/components/cv-form/cv-form-item.vue +0 -13
- package/src/components/cv-form/cv-form.vue +0 -13
- package/src/components/cv-form/index.js +0 -5
- package/src/components/cv-grid/cv-column.vue +0 -77
- package/src/components/cv-grid/cv-grid.vue +0 -32
- package/src/components/cv-grid/index.js +0 -5
- package/src/components/cv-icon/_cv-icon.vue +0 -30
- package/src/components/cv-inline-loading/consts.js +0 -8
- package/src/components/cv-inline-loading/cv-inline-loading.vue +0 -91
- package/src/components/cv-inline-loading/index.js +0 -4
- package/src/components/cv-inline-notification/cv-inline-notification.vue +0 -89
- package/src/components/cv-inline-notification/index.js +0 -3
- package/src/components/cv-link/cv-link.vue +0 -30
- package/src/components/cv-link/index.js +0 -3
- package/src/components/cv-list/cv-list-item.vue +0 -13
- package/src/components/cv-list/cv-list.vue +0 -42
- package/src/components/cv-list/index.js +0 -4
- package/src/components/cv-loading/cv-loading.vue +0 -86
- package/src/components/cv-loading/index.js +0 -3
- package/src/components/cv-modal/cv-modal.vue +0 -295
- package/src/components/cv-modal/index.js +0 -2
- package/src/components/cv-multi-select/cv-multi-select.vue +0 -484
- package/src/components/cv-multi-select/index.js +0 -3
- package/src/components/cv-number-input/cv-number-input-skeleton.vue +0 -14
- package/src/components/cv-number-input/cv-number-input.vue +0 -215
- package/src/components/cv-number-input/index.js +0 -3
- package/src/components/cv-overflow-menu/cv-overflow-menu.vue +0 -253
- package/src/components/cv-overflow-menu/index.js +0 -4
- package/src/components/cv-pagination/cv-pagination.vue +0 -268
- package/src/components/cv-pagination/index.js +0 -2
- package/src/components/cv-progress/cv-progress-step.vue +0 -135
- package/src/components/cv-progress/cv-progress.vue +0 -82
- package/src/components/cv-progress/index.js +0 -4
- package/src/components/cv-radio-button/cv-radio-button.vue +0 -40
- package/src/components/cv-radio-button/cv-radio-group.vue +0 -24
- package/src/components/cv-radio-button/index.js +0 -4
- package/src/components/cv-search/cv-search.vue +0 -194
- package/src/components/cv-search/index.js +0 -2
- package/src/components/cv-select/cv-select-optgroup.vue +0 -14
- package/src/components/cv-select/cv-select-option.vue +0 -14
- package/src/components/cv-select/cv-select.vue +0 -158
- package/src/components/cv-select/index.js +0 -4
- package/src/components/cv-skeleton-text/cv-skeleton-text.vue +0 -64
- package/src/components/cv-skeleton-text/index.js +0 -2
- package/src/components/cv-slider/cv-slider-skeleton.vue +0 -22
- package/src/components/cv-slider/cv-slider.vue +0 -247
- package/src/components/cv-slider/index.js +0 -4
- package/src/components/cv-structured-list/_cv-structured-list-item-selectable.vue +0 -37
- package/src/components/cv-structured-list/_cv-structured-list-item-standard.vue +0 -13
- package/src/components/cv-structured-list/cv-structured-list-data.vue +0 -23
- package/src/components/cv-structured-list/cv-structured-list-heading.vue +0 -13
- package/src/components/cv-structured-list/cv-structured-list-item.vue +0 -46
- package/src/components/cv-structured-list/cv-structured-list.vue +0 -38
- package/src/components/cv-structured-list/index.js +0 -5
- package/src/components/cv-svg/_cv-svg.vue +0 -38
- package/src/components/cv-tabs/cv-tab.vue +0 -68
- package/src/components/cv-tabs/cv-tabs-skeleton.vue +0 -20
- package/src/components/cv-tabs/cv-tabs.vue +0 -410
- package/src/components/cv-tabs/index.js +0 -5
- package/src/components/cv-tag/cv-tag-skeleton.vue +0 -19
- package/src/components/cv-tag/cv-tag.vue +0 -121
- package/src/components/cv-tag/index.js +0 -4
- package/src/components/cv-text-area/cv-text-area.vue +0 -98
- package/src/components/cv-text-area/index.js +0 -2
- package/src/components/cv-text-input/cv-text-input.vue +0 -173
- package/src/components/cv-text-input/index.js +0 -2
- package/src/components/cv-tile/_cv-tile-clickable.vue +0 -22
- package/src/components/cv-tile/_cv-tile-expandable.vue +0 -92
- package/src/components/cv-tile/_cv-tile-selectable.vue +0 -48
- package/src/components/cv-tile/_cv-tile-standard.vue +0 -11
- package/src/components/cv-tile/cv-tile.vue +0 -83
- package/src/components/cv-tile/index.js +0 -2
- package/src/components/cv-time-picker/cv-time-picker.vue +0 -138
- package/src/components/cv-time-picker/index.js +0 -2
- package/src/components/cv-toast-notification/cv-toast-notification.vue +0 -72
- package/src/components/cv-toast-notification/index.js +0 -2
- package/src/components/cv-toggle/cv-toggle-skeleton.vue +0 -25
- package/src/components/cv-toggle/cv-toggle.vue +0 -52
- package/src/components/cv-toggle/index.js +0 -3
- package/src/components/cv-toolbar/cv-toolbar-divider.vue +0 -11
- package/src/components/cv-toolbar/cv-toolbar-option.vue +0 -16
- package/src/components/cv-toolbar/cv-toolbar-search.vue +0 -40
- package/src/components/cv-toolbar/cv-toolbar-title.vue +0 -14
- package/src/components/cv-toolbar/cv-toolbar.vue +0 -13
- package/src/components/cv-toolbar/index.js +0 -6
- package/src/components/cv-tooltip/consts.js +0 -2
- package/src/components/cv-tooltip/cv-definition-tooltip.vue +0 -44
- package/src/components/cv-tooltip/cv-interactive-tooltip.vue +0 -241
- package/src/components/cv-tooltip/cv-tooltip.vue +0 -44
- package/src/components/cv-tooltip/index.js +0 -6
- package/src/components/cv-ui-shell/_cv-side-nav-link-text.vue +0 -13
- package/src/components/cv-ui-shell/cv-content.vue +0 -16
- package/src/components/cv-ui-shell/cv-header-global-action.vue +0 -84
- package/src/components/cv-ui-shell/cv-header-menu-button.vue +0 -80
- package/src/components/cv-ui-shell/cv-header-menu-item.vue +0 -36
- package/src/components/cv-ui-shell/cv-header-name.vue +0 -18
- package/src/components/cv-ui-shell/cv-header-nav.vue +0 -18
- package/src/components/cv-ui-shell/cv-header-panel.vue +0 -72
- package/src/components/cv-ui-shell/cv-header-side-nav-items.vue +0 -21
- package/src/components/cv-ui-shell/cv-header.vue +0 -119
- package/src/components/cv-ui-shell/cv-side-nav-divider.vue +0 -12
- package/src/components/cv-ui-shell/cv-side-nav-icon.vue +0 -16
- package/src/components/cv-ui-shell/cv-side-nav-items.vue +0 -21
- package/src/components/cv-ui-shell/cv-side-nav-link.vue +0 -54
- package/src/components/cv-ui-shell/cv-side-nav-menu-item.vue +0 -30
- package/src/components/cv-ui-shell/cv-side-nav-menu.vue +0 -84
- package/src/components/cv-ui-shell/cv-side-nav.vue +0 -97
- package/src/components/cv-ui-shell/cv-skip-to-content.vue +0 -19
- package/src/components/cv-ui-shell/cv-switcher-item-link.vue +0 -26
- package/src/components/cv-ui-shell/cv-switcher-item.vue +0 -13
- package/src/components/cv-ui-shell/cv-switcher.vue +0 -13
- package/src/components/cv-ui-shell/index.js +0 -45
- package/src/components/cv-wrapper/_cv-wrapper.js +0 -33
- package/src/directives/clickout.js +0 -29
- package/src/index-components-vue.js +0 -5
- package/src/internal/feature-flags.js +0 -22
- package/src/mixins/carbon-prefix-mixin.js +0 -7
- package/src/mixins/check-mixin.js +0 -106
- package/src/mixins/index.js +0 -12
- package/src/mixins/link-mixin.js +0 -23
- package/src/mixins/methods-mixin.js +0 -18
- package/src/mixins/notification-mixin.js +0 -18
- package/src/mixins/radio-mixin.js +0 -36
- package/src/mixins/theme-mixin.js +0 -23
- package/src/mixins/uid-mixin.js +0 -23
- package/src/thumbnails/inline-notification.svg +0 -23
- package/src/thumbnails/skeleton-text.svg +0 -15
- package/src/thumbnails/toast-notification.svg +0 -34
- /package/src/components/{cv-button → CvButton}/consts.js +0 -0
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<component
|
|
3
|
-
:is="tagType"
|
|
4
|
-
v-on="$listeners"
|
|
5
|
-
v-bind="linkProps"
|
|
6
|
-
:class="`cv-skip-to-content ${carbonPrefix}--skip-to-content`"
|
|
7
|
-
>
|
|
8
|
-
<slot>Skip to main content</slot>
|
|
9
|
-
</component>
|
|
10
|
-
</template>
|
|
11
|
-
|
|
12
|
-
<script>
|
|
13
|
-
import { linkMixin, carbonPrefixMixin } from '../../mixins';
|
|
14
|
-
|
|
15
|
-
export default {
|
|
16
|
-
name: 'CvSkipToContent',
|
|
17
|
-
mixins: [linkMixin, carbonPrefixMixin],
|
|
18
|
-
};
|
|
19
|
-
</script>
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<component
|
|
3
|
-
:is="tagType"
|
|
4
|
-
v-on="$listeners"
|
|
5
|
-
v-bind="linkProps"
|
|
6
|
-
:class="[
|
|
7
|
-
`cv-switcher-item-link`,
|
|
8
|
-
`${carbonPrefix}--switcher__item-link`,
|
|
9
|
-
{ [`${carbonPrefix}--switcher__item-link--selected`]: selected },
|
|
10
|
-
]"
|
|
11
|
-
>
|
|
12
|
-
<slot />
|
|
13
|
-
</component>
|
|
14
|
-
</template>
|
|
15
|
-
|
|
16
|
-
<script>
|
|
17
|
-
import { linkMixin, carbonPrefixMixin } from '../../mixins';
|
|
18
|
-
|
|
19
|
-
export default {
|
|
20
|
-
name: 'CvSwitcherItemLink',
|
|
21
|
-
mixins: [linkMixin, carbonPrefixMixin],
|
|
22
|
-
props: {
|
|
23
|
-
selected: Boolean,
|
|
24
|
-
},
|
|
25
|
-
};
|
|
26
|
-
</script>
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<li :class="`cv-switcher-item ${carbonPrefix}--switcher__item`">
|
|
3
|
-
<slot />
|
|
4
|
-
</li>
|
|
5
|
-
</template>
|
|
6
|
-
|
|
7
|
-
<script>
|
|
8
|
-
import { carbonPrefixMixin } from '../../mixins';
|
|
9
|
-
export default {
|
|
10
|
-
name: 'CvSwitcherItem',
|
|
11
|
-
mixins: [carbonPrefixMixin],
|
|
12
|
-
};
|
|
13
|
-
</script>
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<ul :class="`cv-switcher ${carbonPrefix}--switcher__item`">
|
|
3
|
-
<slot />
|
|
4
|
-
</ul>
|
|
5
|
-
</template>
|
|
6
|
-
|
|
7
|
-
<script>
|
|
8
|
-
import { carbonPrefixMixin } from '../../mixins';
|
|
9
|
-
export default {
|
|
10
|
-
name: 'CvSwitcher',
|
|
11
|
-
mixins: [carbonPrefixMixin],
|
|
12
|
-
};
|
|
13
|
-
</script>
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import CvHeaderGlobalAction from './cv-header-global-action';
|
|
2
|
-
import CvHeaderMenuButton from './cv-header-menu-button';
|
|
3
|
-
import CvHeaderMenuItem from './cv-header-menu-item';
|
|
4
|
-
import CvHeaderMenu from './cv-header-menu';
|
|
5
|
-
import CvHeaderName from './cv-header-name';
|
|
6
|
-
import CvHeaderNav from './cv-header-nav';
|
|
7
|
-
import CvHeaderSideNavItems from './cv-header-side-nav-items';
|
|
8
|
-
import CvHeaderPanel from './cv-header-panel';
|
|
9
|
-
import CvHeader from './cv-header';
|
|
10
|
-
import CvSideNavIcon from './cv-side-nav-icon';
|
|
11
|
-
import CvSideNavItems from './cv-side-nav-items';
|
|
12
|
-
import CvSideNavLink from './cv-side-nav-link';
|
|
13
|
-
import CvSideNavMenuItem from './cv-side-nav-menu-item';
|
|
14
|
-
import CvSideNavMenu from './cv-side-nav-menu';
|
|
15
|
-
import CvSideNav from './cv-side-nav';
|
|
16
|
-
import CvSideNavDivider from './cv-side-nav-divider';
|
|
17
|
-
import CvSkipToContent from './cv-skip-to-content';
|
|
18
|
-
import CvSwitcherItemLink from './cv-switcher-item-link';
|
|
19
|
-
import CvSwitcherItem from './cv-switcher-item';
|
|
20
|
-
import CvSwitcher from './cv-switcher';
|
|
21
|
-
import CvContent from './cv-content';
|
|
22
|
-
|
|
23
|
-
export {
|
|
24
|
-
CvContent,
|
|
25
|
-
CvHeaderGlobalAction,
|
|
26
|
-
CvHeaderMenuButton,
|
|
27
|
-
CvHeaderMenuItem,
|
|
28
|
-
CvHeaderMenu,
|
|
29
|
-
CvHeaderName,
|
|
30
|
-
CvHeaderPanel,
|
|
31
|
-
CvHeaderNav,
|
|
32
|
-
CvHeaderSideNavItems,
|
|
33
|
-
CvHeader,
|
|
34
|
-
CvSideNav,
|
|
35
|
-
CvSideNavDivider,
|
|
36
|
-
CvSideNavIcon,
|
|
37
|
-
CvSideNavItems,
|
|
38
|
-
CvSideNavLink,
|
|
39
|
-
CvSideNavMenuItem,
|
|
40
|
-
CvSideNavMenu,
|
|
41
|
-
CvSkipToContent,
|
|
42
|
-
CvSwitcherItemLink,
|
|
43
|
-
CvSwitcherItem,
|
|
44
|
-
CvSwitcher,
|
|
45
|
-
};
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* This component optionally wraps slotted content with the specified tag-type.
|
|
3
|
-
*
|
|
4
|
-
* If no tag-type is supplied then the slotted content is unwrapped.
|
|
5
|
-
*
|
|
6
|
-
* Unwrapped slots do not recieve class, style or attributes attached to the wrapper
|
|
7
|
-
*
|
|
8
|
-
* NOTE: If used at the top level of a component in the unwrapped case your component still needs to have a single root node.
|
|
9
|
-
*
|
|
10
|
-
*/
|
|
11
|
-
export default {
|
|
12
|
-
name: 'CvWrapper',
|
|
13
|
-
functional: true,
|
|
14
|
-
props: {
|
|
15
|
-
tagType: { type: String, default: undefined },
|
|
16
|
-
},
|
|
17
|
-
render(createElement, context) {
|
|
18
|
-
if (context.props.tagType) {
|
|
19
|
-
return createElement(
|
|
20
|
-
context.props.tagType,
|
|
21
|
-
{
|
|
22
|
-
attrs: context.data.attrs,
|
|
23
|
-
class: `${context.data.class || ''} ${context.data.staticClass || ''}`.trim(),
|
|
24
|
-
style: { ...context.data.staticStyle, ...context.data.style },
|
|
25
|
-
on: context.listeners,
|
|
26
|
-
},
|
|
27
|
-
context.slots().default
|
|
28
|
-
);
|
|
29
|
-
} else {
|
|
30
|
-
return context.slots().default;
|
|
31
|
-
}
|
|
32
|
-
},
|
|
33
|
-
};
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
// This directive determines calls the associated method if a click happens outside of el
|
|
2
|
-
|
|
3
|
-
const handlerMap = new WeakMap();
|
|
4
|
-
|
|
5
|
-
export default {
|
|
6
|
-
bind(el, binding, vnode) {
|
|
7
|
-
if (!el.clickOutsideBlur) {
|
|
8
|
-
el.clickOutsideBlur = function() {
|
|
9
|
-
// neither element or child of
|
|
10
|
-
if (!handlerMap.has(el)) {
|
|
11
|
-
handlerMap.set(el, clickoutEv => {
|
|
12
|
-
// neither element or child of
|
|
13
|
-
if (!(el == clickoutEv.target || el.contains(clickoutEv.target))) {
|
|
14
|
-
// call method
|
|
15
|
-
vnode.context[binding.expression](clickoutEv);
|
|
16
|
-
}
|
|
17
|
-
});
|
|
18
|
-
document.body.addEventListener('click', handlerMap.get(el));
|
|
19
|
-
}
|
|
20
|
-
};
|
|
21
|
-
|
|
22
|
-
el.addEventListener('focusout', el.clickOutsideBlur);
|
|
23
|
-
}
|
|
24
|
-
},
|
|
25
|
-
unbind(el) {
|
|
26
|
-
handlerMap.delete(el);
|
|
27
|
-
el.removeEventListener('focusout', el.clickOutsideBlur);
|
|
28
|
-
},
|
|
29
|
-
};
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright IBM Corp. 2016, 2018
|
|
3
|
-
*
|
|
4
|
-
* This source code is licensed under the Apache-2.0 license found in the
|
|
5
|
-
* LICENSE file in the root directory of this source tree.
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
/**
|
|
9
|
-
* This file contains the list of the default values of compile-time feature flags.
|
|
10
|
-
*
|
|
11
|
-
* Build toolchain can replace variable here and/or the references
|
|
12
|
-
* in order to apply non-default values to those feature flags.
|
|
13
|
-
*
|
|
14
|
-
* @example <div v-if="aFeatureFlag">foo</div><div v-else>bar</div>
|
|
15
|
-
* import { aFeatureFlag } from '/path/to/_feagure-flags';
|
|
16
|
-
* ...
|
|
17
|
-
* data() { return { aFeatureFlag } }
|
|
18
|
-
*/
|
|
19
|
-
|
|
20
|
-
export default {
|
|
21
|
-
aFeatureFlag: false,
|
|
22
|
-
};
|
|
@@ -1,106 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Provides common checkbox behaviour
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
export default {
|
|
6
|
-
props: {
|
|
7
|
-
modelValue: { type: [Array, Boolean], default: () => undefined },
|
|
8
|
-
checked: { type: Boolean, default: undefined },
|
|
9
|
-
name: String,
|
|
10
|
-
value: { type: String, required: true },
|
|
11
|
-
},
|
|
12
|
-
model: {
|
|
13
|
-
prop: 'modelValue',
|
|
14
|
-
event: 'modelEvent',
|
|
15
|
-
},
|
|
16
|
-
mounted() {
|
|
17
|
-
if (this.$options.propsData.modelValue === undefined) {
|
|
18
|
-
this.isChecked = this.checked;
|
|
19
|
-
}
|
|
20
|
-
},
|
|
21
|
-
watch: {
|
|
22
|
-
checked(val) {
|
|
23
|
-
if (this.$options.propsData.modelValue === undefined) {
|
|
24
|
-
this.isChecked = val;
|
|
25
|
-
if (!val && this.mixed) {
|
|
26
|
-
this.dataMixed = true;
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
},
|
|
30
|
-
},
|
|
31
|
-
data() {
|
|
32
|
-
return {
|
|
33
|
-
dataChecked: undefined,
|
|
34
|
-
};
|
|
35
|
-
},
|
|
36
|
-
computed: {
|
|
37
|
-
isArrayModel() {
|
|
38
|
-
return Array.isArray(this.modelValue);
|
|
39
|
-
},
|
|
40
|
-
isChecked: {
|
|
41
|
-
get() {
|
|
42
|
-
if (this.$props.modelValue !== undefined) {
|
|
43
|
-
// model value always comes first
|
|
44
|
-
if (this.isArrayModel) {
|
|
45
|
-
if (this.modelValue.includes(this.value)) {
|
|
46
|
-
return true;
|
|
47
|
-
} else {
|
|
48
|
-
return false;
|
|
49
|
-
}
|
|
50
|
-
} else {
|
|
51
|
-
return this.modelValue;
|
|
52
|
-
}
|
|
53
|
-
} else {
|
|
54
|
-
if (this.dataChecked !== undefined) {
|
|
55
|
-
return this.dataChecked;
|
|
56
|
-
} else {
|
|
57
|
-
// if checked defined
|
|
58
|
-
if (this.dataChecked !== undefined) {
|
|
59
|
-
return this.dataChecked;
|
|
60
|
-
}
|
|
61
|
-
if (this.dataMixed) {
|
|
62
|
-
return 'mixed';
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
return false;
|
|
67
|
-
}
|
|
68
|
-
},
|
|
69
|
-
set(checked) {
|
|
70
|
-
if (this.isArrayModel) {
|
|
71
|
-
let modelSet = new Set(this.modelValue);
|
|
72
|
-
|
|
73
|
-
if (!checked) {
|
|
74
|
-
modelSet.delete(this.value);
|
|
75
|
-
} else {
|
|
76
|
-
modelSet.add(this.value);
|
|
77
|
-
}
|
|
78
|
-
this.dataChecked = Array.from(modelSet);
|
|
79
|
-
} else {
|
|
80
|
-
this.dataChecked = checked ? true : undefined; //
|
|
81
|
-
if (this.dataChecked !== undefined) {
|
|
82
|
-
this.dataMixed = false;
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
},
|
|
86
|
-
},
|
|
87
|
-
// Bind listeners at the component level to the embedded input element and
|
|
88
|
-
// add our own input listener to service the v-model. See:
|
|
89
|
-
// https://vuejs.org/v2/guide/components-custom-events.html#Customizing-Component-v-model
|
|
90
|
-
inputListeners() {
|
|
91
|
-
return Object.assign({}, this.$listeners, {
|
|
92
|
-
change: event => this.onChange(event),
|
|
93
|
-
});
|
|
94
|
-
},
|
|
95
|
-
},
|
|
96
|
-
methods: {
|
|
97
|
-
onChangeInner(checked) {
|
|
98
|
-
this.isChecked = checked;
|
|
99
|
-
this.$emit('modelEvent', this.dataChecked || false); // or false in case dataChecked is undefined
|
|
100
|
-
this.$emit('change', checked);
|
|
101
|
-
},
|
|
102
|
-
onChange(ev) {
|
|
103
|
-
this.onChangeInner(ev.target.checked);
|
|
104
|
-
},
|
|
105
|
-
},
|
|
106
|
-
};
|
package/src/mixins/index.js
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
// import mixins
|
|
2
|
-
import carbonPrefixMixin from './carbon-prefix-mixin';
|
|
3
|
-
import checkMixin from './check-mixin';
|
|
4
|
-
import linkMixin from './link-mixin';
|
|
5
|
-
import methodsMixin from './methods-mixin';
|
|
6
|
-
import notificationMixin from './notification-mixin';
|
|
7
|
-
import radioMixin from './radio-mixin';
|
|
8
|
-
import themeMixin from './theme-mixin';
|
|
9
|
-
import uidMixin from './uid-mixin';
|
|
10
|
-
|
|
11
|
-
// export all the mixins
|
|
12
|
-
export { carbonPrefixMixin, checkMixin, linkMixin, methodsMixin, notificationMixin, radioMixin, themeMixin, uidMixin };
|
package/src/mixins/link-mixin.js
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
export default {
|
|
2
|
-
props: {
|
|
3
|
-
disabled: Boolean,
|
|
4
|
-
to: { type: [String, Object] },
|
|
5
|
-
href: String,
|
|
6
|
-
},
|
|
7
|
-
computed: {
|
|
8
|
-
tagType() {
|
|
9
|
-
// if to is used and not href then user wanted a router-link
|
|
10
|
-
return this.to && !this.href ? 'router-link' : 'a';
|
|
11
|
-
},
|
|
12
|
-
linkProps() {
|
|
13
|
-
if (this.disabled) {
|
|
14
|
-
return {
|
|
15
|
-
'aria-disabled': true,
|
|
16
|
-
};
|
|
17
|
-
} else if (this.to && !this.href) {
|
|
18
|
-
return { to: this.to };
|
|
19
|
-
}
|
|
20
|
-
return { href: this.href };
|
|
21
|
-
},
|
|
22
|
-
},
|
|
23
|
-
};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
const methodsMixin = methodDefs => {
|
|
2
|
-
const methods = {};
|
|
3
|
-
const keys = Object.keys(methodDefs);
|
|
4
|
-
|
|
5
|
-
for (let key of keys) {
|
|
6
|
-
for (let method of methodDefs[key]) {
|
|
7
|
-
methods[method] = function(...args) {
|
|
8
|
-
this.$refs[key][method](...args);
|
|
9
|
-
};
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
return {
|
|
14
|
-
methods: methods,
|
|
15
|
-
};
|
|
16
|
-
};
|
|
17
|
-
|
|
18
|
-
export default methodsMixin;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
const kinds = ['error', 'warning', 'info', 'success'];
|
|
2
|
-
|
|
3
|
-
export default {
|
|
4
|
-
props: {
|
|
5
|
-
kind: {
|
|
6
|
-
type: String,
|
|
7
|
-
required: true,
|
|
8
|
-
validator: value => kinds.includes(value),
|
|
9
|
-
},
|
|
10
|
-
title: String,
|
|
11
|
-
subTitle: String,
|
|
12
|
-
},
|
|
13
|
-
computed: {
|
|
14
|
-
isAlert() {
|
|
15
|
-
return kinds.indexOf(this.kind) < 2;
|
|
16
|
-
},
|
|
17
|
-
},
|
|
18
|
-
};
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
export default {
|
|
2
|
-
inheritAttrs: false,
|
|
3
|
-
props: {
|
|
4
|
-
modelValue: String,
|
|
5
|
-
checked: Boolean,
|
|
6
|
-
label: String,
|
|
7
|
-
value: { type: String, required: true },
|
|
8
|
-
},
|
|
9
|
-
model: {
|
|
10
|
-
prop: 'modelValue',
|
|
11
|
-
event: 'change',
|
|
12
|
-
},
|
|
13
|
-
computed: {
|
|
14
|
-
isChecked() {
|
|
15
|
-
if (this.modelValue === undefined) {
|
|
16
|
-
return this.checked;
|
|
17
|
-
} else {
|
|
18
|
-
return this.modelValue === this.value;
|
|
19
|
-
}
|
|
20
|
-
},
|
|
21
|
-
// Bind listeners at the component level to the embedded input element and
|
|
22
|
-
// add our own input listener to service the v-model. See:
|
|
23
|
-
// https://vuejs.org/v2/guide/components-custom-events.html#Customizing-Component-v-model
|
|
24
|
-
inputListeners() {
|
|
25
|
-
return Object.assign({}, this.$listeners, {
|
|
26
|
-
change: event => this.onChange(event),
|
|
27
|
-
});
|
|
28
|
-
},
|
|
29
|
-
},
|
|
30
|
-
methods: {
|
|
31
|
-
onChange() {
|
|
32
|
-
this.$parent.$emit('cv:change', this.value); // emit to parent
|
|
33
|
-
this.$emit('change', this.value);
|
|
34
|
-
},
|
|
35
|
-
},
|
|
36
|
-
};
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
const options = ['light'];
|
|
2
|
-
|
|
3
|
-
export default {
|
|
4
|
-
props: {
|
|
5
|
-
light: Boolean,
|
|
6
|
-
theme: {
|
|
7
|
-
type: String,
|
|
8
|
-
default: undefined,
|
|
9
|
-
validator: value => {
|
|
10
|
-
if (value !== undefined && process.env.NODE_ENV === 'development') {
|
|
11
|
-
console.warn(`theme='light' deprecated in favour of boolean light property.`);
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
return value.length === 0 || options.includes(value);
|
|
15
|
-
},
|
|
16
|
-
},
|
|
17
|
-
},
|
|
18
|
-
computed: {
|
|
19
|
-
isLight() {
|
|
20
|
-
return this.light || this.theme === 'light';
|
|
21
|
-
},
|
|
22
|
-
},
|
|
23
|
-
};
|
package/src/mixins/uid-mixin.js
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
const idGen = {
|
|
2
|
-
newId() {
|
|
3
|
-
// as it is funny gen IDs using b - https://gist.github.com/jed/982883
|
|
4
|
-
const b = a =>
|
|
5
|
-
a
|
|
6
|
-
? (a ^ ((Math.random() * 16) >> (a / 4))).toString(16)
|
|
7
|
-
: ([1e7] + -1e3 + -4e3 + -8e3 + -1e11).replace(/[018]/g, b);
|
|
8
|
-
|
|
9
|
-
return `uid-${b()}`;
|
|
10
|
-
},
|
|
11
|
-
};
|
|
12
|
-
|
|
13
|
-
// define a mixin object
|
|
14
|
-
export default {
|
|
15
|
-
props: {
|
|
16
|
-
id: { type: String, default: undefined },
|
|
17
|
-
},
|
|
18
|
-
computed: {
|
|
19
|
-
uid() {
|
|
20
|
-
return this.id && this.id.length ? this.id : idGen.newId();
|
|
21
|
-
},
|
|
22
|
-
},
|
|
23
|
-
};
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<svg width="320px" height="180px" viewBox="0 0 320 180" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
3
|
-
<title>inline-notification</title>
|
|
4
|
-
<defs>
|
|
5
|
-
<circle id="path-1" cx="5" cy="5" r="4.375"></circle>
|
|
6
|
-
<polygon id="path-3" points="4.375 6.71875 2.8125 5.15625 3.309375 4.6875 4.375 5.734375 6.690625 3.4375 7.1875 3.93125"></polygon>
|
|
7
|
-
</defs>
|
|
8
|
-
<g id="inline-notification" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
9
|
-
<rect id="Rectangle-2-Copy-27" fill="#393939" x="60" y="77" width="200" height="26"></rect>
|
|
10
|
-
<g id="icon/status/checkmark-filled/16" transform="translate(69.000000, 85.000000)">
|
|
11
|
-
<mask id="mask-2" fill="white">
|
|
12
|
-
<use xlink:href="#path-1"></use>
|
|
13
|
-
</mask>
|
|
14
|
-
<use id="icon-color" fill="#24A148" xlink:href="#path-1"></use>
|
|
15
|
-
<mask id="mask-4" fill="white">
|
|
16
|
-
<use xlink:href="#path-3"></use>
|
|
17
|
-
</mask>
|
|
18
|
-
<use id="icon-color" fill="#FFFFFF" xlink:href="#path-3"></use>
|
|
19
|
-
</g>
|
|
20
|
-
<rect id="Path-Copy-2" fill="#24A148" x="60" y="77" width="2" height="26"></rect>
|
|
21
|
-
<rect id="Rectangle-Copy-14" fill="#F4F4F4" x="85" y="88" width="100.088235" height="4"></rect>
|
|
22
|
-
</g>
|
|
23
|
-
</svg>
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<svg width="320px" height="180px" viewBox="0 0 320 180" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
3
|
-
<title>skeleton-text</title>
|
|
4
|
-
<defs>
|
|
5
|
-
<linearGradient x1="-21.9775656%" y1="50%" x2="113.47099%" y2="50%" id="linearGradient-1">
|
|
6
|
-
<stop stop-color="#C6C6C6" stop-opacity="0" offset="0%"></stop>
|
|
7
|
-
<stop stop-color="#C6C6C6" offset="100%"></stop>
|
|
8
|
-
</linearGradient>
|
|
9
|
-
</defs>
|
|
10
|
-
<g id="skeleton-text" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
11
|
-
<rect id="Rectangle" fill="#E0E0E0" x="56" y="82" width="208" height="16"></rect>
|
|
12
|
-
<rect id="Rectangle" fill="#C6C6C6" x="56" y="82" width="156" height="16"></rect>
|
|
13
|
-
<rect id="Rectangle" fill="url(#linearGradient-1)" transform="translate(215.500000, 90.000000) scale(-1, 1) translate(-215.500000, -90.000000) " x="212" y="82" width="7" height="16"></rect>
|
|
14
|
-
</g>
|
|
15
|
-
</svg>
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<svg width="320px" height="180px" viewBox="0 0 320 180" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
3
|
-
<title>toast-notification</title>
|
|
4
|
-
<defs>
|
|
5
|
-
<circle id="path-1" cx="6.125" cy="6.125" r="6.125"></circle>
|
|
6
|
-
<polygon id="path-3" points="3.00668244 -0.342156092 3.99105744 -0.342156092 3.99105744 7.33596891 3.00668244 7.33596891"></polygon>
|
|
7
|
-
</defs>
|
|
8
|
-
<g id="toast-notification" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
9
|
-
<rect id="Rectangle-2-Copy-27" fill="#393939" x="60" y="56" width="200" height="68"></rect>
|
|
10
|
-
<rect id="Path-Copy-2" fill="#DA1E28" x="60" y="56" width="3" height="68"></rect>
|
|
11
|
-
<g id="Group" transform="translate(73.000000, 68.000000)">
|
|
12
|
-
<g id="Group" transform="translate(7.000000, 7.000000) scale(-1, 1) translate(-7.000000, -7.000000) ">
|
|
13
|
-
<g id="error--filled" transform="translate(0.875000, 0.875000)">
|
|
14
|
-
<g id="icon-2">
|
|
15
|
-
<mask id="mask-2" fill="white">
|
|
16
|
-
<use xlink:href="#path-1"></use>
|
|
17
|
-
</mask>
|
|
18
|
-
<use id="icon-color" fill="#DA1E28" xlink:href="#path-1"></use>
|
|
19
|
-
</g>
|
|
20
|
-
<g id="icon-1" transform="translate(2.625000, 2.625000)">
|
|
21
|
-
<mask id="mask-4" fill="white">
|
|
22
|
-
<use xlink:href="#path-3"></use>
|
|
23
|
-
</mask>
|
|
24
|
-
<use id="icon-color" fill="#000000" transform="translate(3.498870, 3.496906) rotate(-45.000000) translate(-3.498870, -3.496906) " xlink:href="#path-3"></use>
|
|
25
|
-
</g>
|
|
26
|
-
</g>
|
|
27
|
-
<rect id="transparent-rectangle" x="0" y="0" width="14" height="14"></rect>
|
|
28
|
-
</g>
|
|
29
|
-
</g>
|
|
30
|
-
<rect id="Rectangle-Copy-14" fill="#F4F4F4" x="95" y="72" width="71.1191279" height="5"></rect>
|
|
31
|
-
<rect id="Rectangle-Copy-23" fill="#E0E0E0" x="95" y="105" width="93.8444444" height="5"></rect>
|
|
32
|
-
<rect id="Rectangle-Copy-24" fill="#E0E0E0" x="95" y="82" width="123" height="5"></rect>
|
|
33
|
-
</g>
|
|
34
|
-
</svg>
|
|
File without changes
|