@@ -80,7 +80,7 @@ const meta: Meta<typeof Box> = {
80
80
} ,
81
81
borderWidth : {
82
82
control : 'select' ,
83
- options : Object . values ( BorderWidths ) ,
83
+ options : [ ... Object . values ( BorderWidths ) , undefined ] ,
84
84
table : {
85
85
type : {
86
86
summary : 'BorderWidthsDictionaryType' ,
@@ -94,14 +94,15 @@ const meta: Meta<typeof Box> = {
94
94
control : 'select' ,
95
95
options : Object . values ( BorderStyles ) ,
96
96
table : {
97
+ defaultValue : { summary : BorderStyles . SOLID } ,
97
98
type : {
98
99
summary : 'BorderStylesDictionaryType' ,
99
100
} ,
100
101
} ,
101
102
} ,
102
103
borderColor : {
103
104
control : 'select' ,
104
- options : Object . values ( BorderColors ) ,
105
+ options : [ ... Object . values ( BorderColors ) , undefined ] ,
105
106
table : {
106
107
type : {
107
108
summary : 'BorderColorsDictionaryType' ,
@@ -110,7 +111,7 @@ const meta: Meta<typeof Box> = {
110
111
} ,
111
112
backgroundColor : {
112
113
control : 'select' ,
113
- options : Object . values ( BackgroundColors ) ,
114
+ options : [ ... Object . values ( BackgroundColors ) , undefined ] ,
114
115
table : {
115
116
type : {
116
117
summary : 'BackgroundColorsDictionaryType' ,
@@ -119,7 +120,7 @@ const meta: Meta<typeof Box> = {
119
120
} ,
120
121
backgroundGradient : {
121
122
control : 'select' ,
122
- options : Object . values ( BackgroundGradients ) ,
123
+ options : [ ... Object . values ( BackgroundGradients ) , undefined ] ,
123
124
table : {
124
125
type : {
125
126
summary : 'BackgroundGradientsDictionaryType' ,
@@ -137,8 +138,8 @@ const meta: Meta<typeof Box> = {
137
138
tablet : '200' ,
138
139
desktop : '400' ,
139
140
} ,
140
- borderColor : 'basic' ,
141
- backgroundColor : 'primary' ,
141
+ borderColor : undefined ,
142
+ backgroundColor : undefined ,
142
143
} ,
143
144
} ;
144
145
0 commit comments