Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit97a6e1a

Browse files
rename notification
1 parent86a8c59 commit97a6e1a

File tree

7 files changed

+13
-13
lines changed

7 files changed

+13
-13
lines changed

‎components/CaNotification/index.js‎

Lines changed: 0 additions & 7 deletions
This file was deleted.

‎components/CaNotification/CaNotification.spec.js‎renamed to ‎components/CaNotificationInline/CaNotification.spec.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import{shallow}from'vue-test-utils';
2-
importCaNotificationfrom'./CaNotification.vue';
2+
importCaNotificationfrom'./CaNotificationInline.vue';
33

44
describe('CaNotification',()=>{
55
test('is a Vue instance',()=>{

‎components/CaNotification/CaNotification.vue‎renamed to ‎components/CaNotificationInline/CaNotificationInline.vue‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
<script>
2222
exportdefault {
23-
name:'ca-notification',
23+
name:'ca-notification-inline',
2424
props: {
2525
error: {
2626
type:Boolean,
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
importCaNotificationInlinefrom'./CaNotificationInline.vue';
2+
3+
CaNotificationInline.install=(Vue)=>{
4+
Vue.component(CaNotificationInline.name,CaNotificationInline);
5+
};
6+
7+
exportdefaultCaNotificationInline;

‎components/CaNotificationToast/CaNotificationToast.vue‎

Whitespace-only changes.

‎components/components.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export { default as CaLink } from './CaLink';
1414
export{defaultasCaList}from'./CaList';
1515
export{defaultasCaLoading}from'./CaLoading';
1616
export{defaultasCaModal}from'./CaModal';
17-
export{defaultasCaNotification}from'./CaNotification';
17+
export{defaultasCaNotificationInline}from'./CaNotificationInline';
1818
export{defaultasCaNumberInput}from'./CaNumberInput';
1919
export{defaultasCaOverflowMenu}from'./CaOverflowMenu';
2020
export{defaultasCaPagination}from'./CaPagination';
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
import{storiesOf}from'@storybook/vue';
22

3-
storiesOf('Notification',module)
3+
storiesOf('Notification/inline',module)
44
.add('Default',()=>({
55
template:`
6-
<ca-notification
6+
<ca-notification-inline
77
title="this is title"
88
subtitle="this is subtitle"
99
info
1010
>
11-
</ca-notification>
11+
</ca-notification-inline>
1212
`,
1313
}));

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp